/* Root Theme */
:root {
  --primary: #8a2be2; /* Purple */
  --dark: #0d0221; /* Deep Space Blue */
  --light: #e0e0e0; /* Light Gray */
  --accent: #4b0082; /* Indigo */
  --text: #dcdcdc; /* Soft White */
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: url("/images/wallpaper.png");
  background-position: center;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background-size: cover;
  background-attachment: fixed;
}

/*smooth scrolling*/
html {
  scroll-behavior: smooth;
}

/* Header */
header {
  background: url('/images/space-header.jpg') center/cover no-repeat;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--light);
}

header .container {
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  margin: auto;
}
.section {
  background-color: #11111150;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#player {
  margin: 20px;
}
header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.play-button {
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.play-button:hover {
  background-color: var(--accent);
}

/* Navigation */
nav {
  background-color: #1a0033; /* Dark Purple */
  padding: 1rem;
  text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
nav h2{
  margin-right: 30px
}

nav a {
  color: var(--light);
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* Sections */
.section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid white;
  padding-bottom: 0.5rem;
}

.section ul,
.section ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.section li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

/* Reviews */
.review {
  background-color: #2c2f33;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0.5rem;
}

.review h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
    color: #be78ff;
}

/* Footer */
footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  nav a {
    display: inline-block;
    margin: 0.5rem;
  }
}
.logo {
  border-radius: 4px;
  width: 40%;
}
/*center iframe*/
.yt-iframe {
  display: block;
  max-height: 400px;
  /*center*/;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  margin-top: 50px;
}
.play-now {
      margin: 3rem auto 2rem auto;
      padding: 2rem 1.5rem;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 18px;
      text-align: center;
      max-width: 420px;
      }
      .play-now h2 {
      font-size: 2rem;
      color: #ffffff;
      margin-bottom: 1.2rem;
      letter-spacing: 1px;
      font-family: 'Segoe UI', 'Arial', sans-serif;
      }
      .enhanced-play-button {
      display: inline-block;
      padding: 0.9em 2.2em;
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
      background: #4caf50;
      border: none;
      border-radius: 32px;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      cursor: pointer;
      letter-spacing: 0.5px;
      }
      .enhanced-play-button:hover, .enhanced-play-button:focus {
      transform:  scale(1.04);
      box-shadow: 0 6px 24px rgba(255, 255, 255, 0.22);
      }
      .nav-logo {
  height: 100px;
  max-height: 80%;
  @media (max-width: 768px) {
    height: 32px;
  }
      
      }

/* Fullscreen Button */
#fullscreen-btn {
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border: white 2px solid;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
  margin: auto  ;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

#fullscreen-btn:hover {
  background-color: var(--accent);
  scale: 1.05;
  transition: transform 0.2s ease-in-out;
  transform: scale(1.05);

}
/* Ad Banner */
.ad-banner {
  background-image: url("images/blockpost.jpg");
  align-content: flex-start;
    align-items: flex-start;
    background-position: 50%;
    background-size: cover;
    border-radius: 20px;
    display: flex
;
    flex-direction: column;
    flex-wrap: wrap;
    height: 200px;
    justify-content: center;
  
    padding: 30px;
    width: 50vw;

}
.slope-section-blur {
    backdrop-filter: blur(3px);
    border: 3px solid #fff;
    border-radius: 20px;
    bottom: 0;
    height: 100%;
    /* height: 260px; */
    left: 50%;
    /* margin-left: 10px; */
    position: absolute;
    transform: translate(-50%);
    width: calc(50vw);
    z-index: 9;
}



.slope-headline .slope-cta-button {
    z-index: 500;

}
.slope-cta-button {
  background-color: orange;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
  z-index: 1000;
  font-size: .5rem;
}
.slope-cta-button:hover {
  background-color: orange;
  scale: 1.05;
  transition: transform 0.2s ease-in-out;
  transform: scale(1.05);
}
.slope-section-div {
  align-items: center;
  display: flex;
  height: auto;
  justify-content: center;
  margin-bottom: 100px;
  position: relative;
  width: 100%;
  z-index: 10;
}
/*this also includes stuff other than h2*/
.h2-ad {
  z-index: 1000;
  position: relative;
  color: rgb(0, 0, 0);
  font-size: 1rem;
}
.h2-ad-title {
  z-index: 1000;
  position: relative;
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  font-weight: bold;
}

.game-logo {
  display: block;
  max-height: 200px;
  margin: 40px auto;
}

/* Article Image Styling */
.article-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  margin: 1.5rem auto 2rem auto;
  display: block;
  border: 3px solid var(--accent);
  background: #222;
}

/* Article Preview Grid */
.article-previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.article-preview {
  background: #181f1a;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  padding: 1.2rem 1rem 1.5rem 1rem;
  text-decoration: none;
  color: #eaffd0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 2px solid #2c3e2f;
}
.article-preview:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(157,255,92,0.18);
  border-color: var(--primary);
}
.article-preview img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid var(--accent);
  background: #222;
}
.article-preview h3 {
  margin: 0.5rem 0 0.7rem 0;
  color: rgb(255, 108, 238);
  font-size: 1.2rem;
  text-align: center;
}
.article-preview p {
  color: #eaffd0;
  font-size: 1rem;
  text-align: center;
}

/* Article Styles */
.article-container {
  max-width: 900px;
  margin: 2rem auto;
  background: rgba(18, 0, 40, 0.9); /* Space-themed background */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.article-container h1,
.article-container h2,
.article-container h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.article-container p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-container img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-container blockquote {
  background: rgba(75, 0, 130, 0.2); /* Indigo tint */
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: var(--light);
}

.article-container ul,
.article-container ol {
  margin-left: 2rem;
  color: var(--text);
}

.article-author {
  font-size: 0.9rem;
  color: var(--light);
  margin-top: 2rem;
  text-align: right;
}

@media (max-width: 600px) {
  .article-previews-grid {
    grid-template-columns: 1fr;
  }
  .article-image {
    max-width: 100%;
  }
}