/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Color Variables ===== */
:root {
  --icy-blue: #00d4ff;
  --gunmetal: #2c3539;
  --neon-cyan: #00ffff;
  --dark-bg: #1a1a2e;
  --darker-bg: #16213e;
  --light-text: #e0e0e0;
  --white: #ffffff;
}

/* ===== Age Verification Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--icy-blue);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.modal-content h2 {
  color: var(--neon-cyan);
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.modal-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--light-text);
}

.modal-subtitle {
  font-size: 1rem !important;
  color: #aaa;
}

.modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--darker-bg) 100%
  );
  padding: 25px;
  z-index: 9999;
  border-top: 3px solid var(--icy-blue);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  color: var(--neon-cyan);
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.cookie-content p {
  color: var(--light-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-content a {
  color: var(--icy-blue);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: var(--neon-cyan);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--icy-blue) 0%,
    var(--neon-cyan) 100%
  );
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--gunmetal);
}

.btn-secondary:hover {
  background: var(--gunmetal);
  border-color: var(--icy-blue);
}

.btn-hero {
  background: linear-gradient(
    135deg,
    var(--neon-cyan) 0%,
    var(--icy-blue) 100%
  );
  color: var(--dark-bg);
  padding: 15px 40px;
  font-size: 1.2rem;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.7);
}

.btn-play {
  background: linear-gradient(
    135deg,
    var(--icy-blue) 0%,
    var(--neon-cyan) 100%
  );
  color: var(--dark-bg);
  padding: 10px 25px;
}

.btn-play-large {
  background: linear-gradient(
    135deg,
    var(--neon-cyan) 0%,
    var(--icy-blue) 100%
  );
  color: var(--dark-bg);
  padding: 18px 50px;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

.btn-play-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.7);
}

/* ===== Header ===== */
.header {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--icy-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:not(.btn):hover {
  color: var(--icy-blue);
}

/* Hide burger menu by default */
.menu-toggle {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--icy-blue);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
  padding: 100px 0;
  text-align: center;
  background-image: url("images/Tundra Rush.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 27, 36, 0.85) 0%,
    rgba(13, 20, 28, 0.9) 50%,
    rgba(37, 47, 58, 0.85) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-description {
  font-size: 1.3rem;
  color: var(--light-text);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-disclaimer {
  font-size: 1.5rem;
  color: var(--neon-cyan);
  font-weight: 700;
  margin: 30px 0;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-free {
  font-size: 1.1rem;
  color: var(--light-text);
  margin: 25px auto;
  max-width: 900px;
  line-height: 1.8;
  background: rgba(0, 212, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--icy-blue);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--neon-cyan);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.section-subtitle {
  text-align: center;
  color: var(--light-text);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--light-text);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-image {
  position: sticky;
  top: 100px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--icy-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--darker-bg) 100%
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--icy-blue);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.image-placeholder::after {
  content: "16:9 Image Placeholder";
  color: var(--icy-blue);
  font-size: 1.2rem;
  opacity: 0.7;
}

/* ===== Leaderboard Section ===== */
.section-leaderboard {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
}

.leaderboard-table {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--icy-blue);
}

.leaderboard-header,
.leaderboard-row {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  padding: 20px;
  align-items: center;
  gap: 20px;
}

.leaderboard-header {
  background: var(--gunmetal);
  font-weight: 700;
  color: var(--neon-cyan);
  border-bottom: 2px solid var(--icy-blue);
}

.leaderboard-row {
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  transition: background 0.3s ease;
}

.leaderboard-row:hover {
  background: rgba(0, 212, 255, 0.1);
}

.leaderboard-row.gold {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 215, 0, 0.05) 100%
  );
}

.leaderboard-row.silver {
  background: linear-gradient(
    135deg,
    rgba(192, 192, 192, 0.2) 0%,
    rgba(192, 192, 192, 0.05) 100%
  );
}

.leaderboard-row.bronze {
  background: linear-gradient(
    135deg,
    rgba(205, 127, 50, 0.2) 0%,
    rgba(205, 127, 50, 0.05) 100%
  );
}

.rank {
  font-weight: 700;
  font-size: 1.2rem;
}

.player {
  font-size: 1.1rem;
}

.score {
  text-align: right;
  font-weight: 700;
  color: var(--icy-blue);
  font-size: 1.1rem;
}

/* ===== Security Section ===== */
.security-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.security-intro p {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.cert-item {
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--darker-bg) 100%
  );
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--icy-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.cert-item h3 {
  color: var(--neon-cyan);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.cert-item p {
  color: var(--light-text);
  line-height: 1.6;
}

/* ===== Guide Section ===== */
.section-guide {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
}

.guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.guide-text h3 {
  color: var(--neon-cyan);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.guide-text h4 {
  color: var(--icy-blue);
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

.guide-text p {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.guide-image {
  position: sticky;
  top: 100px;
}

.guide-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--icy-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ===== Gallery Section ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--icy-blue);
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* ===== FAQ Section ===== */
.section-faq {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 2px solid var(--icy-blue);
}

.faq-item h3 {
  color: var(--neon-cyan);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.faq-item p {
  color: var(--light-text);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ===== Reviews Section ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--darker-bg) 100%
  );
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--icy-blue);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-stars {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.review-text {
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  color: var(--icy-blue);
  font-weight: 600;
  text-align: right;
}

/* ===== Contact Section ===== */
.section-contact {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    var(--gunmetal) 100%
  );
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-email {
  font-size: 1.3rem !important;
  font-weight: 600;
}

.contact-email a {
  color: var(--icy-blue);
  text-decoration: none;
}

.contact-email a:hover {
  color: var(--neon-cyan);
}

.contact-note {
  font-size: 1rem !important;
  color: #aaa;
}

/* ===== Play Section ===== */
.section-play {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  text-align: center;
}

.play-content h2 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 20px;
}

.play-content p {
  color: var(--light-text);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.play-reminder {
  color: var(--icy-blue) !important;
  font-weight: 600;
  margin-bottom: 30px !important;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--darker-bg) 100%
  );
  padding: 50px 0 30px;
  border-top: 2px solid var(--icy-blue);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--neon-cyan);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-section h4 {
  color: var(--icy-blue);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
  color: var(--light-text);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--icy-blue);
}

.footer-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.footer-banners img {
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.footer-banners a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-banners a:hover {
  transform: scale(1.05);
}

.footer-banners a:hover img {
  filter: brightness(1.1);
}

.h-4 {
  height: 1rem;
  width: auto;
}

.h-8 {
  height: 2rem;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-bottom p {
  color: var(--light-text);
  margin-bottom: 10px;
}

.footer-disclaimer {
  font-weight: 700;
  color: var(--icy-blue);
  font-size: 1.1rem;
}

.footer-disclaimer-extended {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 15px !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
  /* Burger Menu */
  .burger-icon {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: linear-gradient(
      135deg,
      var(--gunmetal) 0%,
      var(--darker-bg) 100%
    );
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 999;
  }

  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  /* Animate burger icon */
  .menu-toggle:checked + .burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle:checked + .burger-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-disclaimer {
    font-size: 1.2rem;
  }

  .about-content,
  .guide-content {
    grid-template-columns: 1fr;
  }

  .about-image,
  .guide-image {
    position: static;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 80px 1fr 120px;
    padding: 15px;
    gap: 10px;
    font-size: 0.95rem;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .modal-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .modal-buttons .btn {
    width: 100%;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-disclaimer {
    font-size: 1.1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 100px;
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
