:root {
  --bg-dark: #070c18;
  --bg-surface: #101a32;
  --bg-surface-alt: #162143;
  --border-color: #273154;

  --primary: #00e5ff;
  --secondary: #7c4dff;
  --highlight: #ffb020;
  --text-primary: #f3f4f6;
  --text-secondary: #b8c1d6;
  --text-muted: #7982a4;

  --gradient-brand: linear-gradient(
    135deg,
    #00e5ff 0%,
    #7c4dff 60%,
    #e646a6 100%
  );
  --gradient-cta: linear-gradient(135deg, #ffb020 0%, #e646a6 100%);

  --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.45);
  --glow-violet: 0 0 28px rgba(124, 77, 255, 0.4);
  --glow-gold: 0 0 20px rgba(255, 176, 32, 0.35);

  --font-display: "Bungee", cursive;
  --font-heading: "Russo One", sans-serif;
  --font-body: "Rubik", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --max-width: 1240px;
  --section-spacing: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% -10%,
      rgba(124, 77, 255, 0.35),
      transparent 55%
    ),
    radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.28), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 44px;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  z-index: 1000;
  margin: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Burger (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: rgba(16, 26, 50, 0.6);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Support existing .burger-menu markup */
.burger-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: rgba(16, 26, 50, 0.6);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}
.burger-menu .icon {
  display: none;
}
.burger-menu .icon-menu {
  display: inline;
}
.burger-menu[aria-expanded="true"] .icon-menu {
  display: none;
}
.burger-menu[aria-expanded="true"] .icon-close {
  display: inline;
}
.burger-menu svg {
  width: 22px;
  height: 22px;
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
}
.nav-toggle-bars::before {
  top: -7px;
}
.nav-toggle-bars::after {
  top: 7px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow-cyan);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  color: var(--primary);
  text-shadow: var(--glow-cyan);
}

.nav-menu .btn-primary {
  color: #000000;
}

.nav-menu .btn-primary:hover {
  color: #000000;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #0b1224;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 24px rgba(230, 70, 166, 0.35);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(255, 176, 32, 0.5),
    0 0 20px rgba(255, 176, 32, 0.3);
}

.btn-secondary {
  background: rgba(23, 34, 71, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--secondary);
  box-shadow: var(--glow-violet);
  transform: translateY(-2px);
  background: rgba(124, 77, 255, 0.1);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
  margin-bottom: 48px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: var(--glow-gold);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 176, 32, 0.6);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero {
  padding: var(--section-spacing) 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url("../img/bg-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 12, 24, 0.9) 0%,
    rgba(16, 26, 50, 0.9) 50%,
    rgba(7, 12, 24, 0.9) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInRight 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
  animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.age-badge {
  display: inline-block;
  background: var(--gradient-cta);
  color: #0b1224;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  animation: pulse 2s ease-in-out infinite, fadeInUp 0.8s ease-out 0.5s both;
  letter-spacing: 0.05em;
}

.placeholder-image {
  background: var(--bg-surface);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  min-height: 300px;
}

.hero-placeholder {
  min-height: 500px;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: -30px -50px;
  background: radial-gradient(
    ellipse 80% 100% at center,
    rgba(0, 229, 255, 0.15) 0%,
    rgba(0, 229, 255, 0.08) 40%,
    transparent 70%
  );
  border-radius: var(--radius-lg);
  animation: float 3s ease-in-out infinite;
  z-index: -1;
  filter: blur(20px);
}

.hero-image-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(0, 229, 255, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
  max-height: 640px;
}

/* Hide inline hero image by default (desktop) */
.hero-image-inline {
  display: none;
}

.hero-image-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 15px 50px rgba(0, 229, 255, 0.4));
}

.about {
  padding: var(--section-spacing) 0;
  background: rgba(16, 26, 50, 0.3);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-text h2 {
  text-align: left;
  margin-bottom: 32px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.game-zone {
  padding: var(--section-spacing) 0;
}

.game-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 48px;
}

.game-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.game-preview {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
}

.game-preview-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
}

.game-preview-img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

/* Decorative gradient edge around preview */
/* removed decorative ::before for cleaner layout */

.game-placeholder {
  min-height: 400px;
}

.game-info {
  animation: fadeInUp 0.8s ease-out 0.3s both;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.game-info h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

.game-info > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.game-features {
  list-style: none;
  margin-bottom: 32px;
}

.game-features li {
  color: var(--text-secondary);
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
}

.game-features li::before {
  content: "⭐";
  position: absolute;
  left: 0;
  color: var(--highlight);
}

/* Subtle divider between feature items */
.game-features li + li {
  border-top: 1px dashed rgba(39, 49, 84, 0.6);
}

/* CTA full width on mobile feel */
.game-info .btn-primary.btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
}

.why-choose {
  padding: var(--section-spacing) 0;
  background: rgba(16, 26, 50, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-surface);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-violet);
  border-color: var(--secondary);
}

.feature-icon {
  margin-bottom: 24px;
}

.icon-placeholder {
  font-size: 48px;
  color: var(--primary);
  filter: drop-shadow(var(--glow-cyan));
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.faq {
  padding: var(--section-spacing) 0;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(0, 229, 255, 0.1));
}

.contact-cta-card {
  background: var(--bg-surface);
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary);
  text-align: center;
  box-shadow: var(--glow-cyan);
  max-width: 900px;
  margin: 0 auto;
}

.contact-cta-card .section-title {
  margin-bottom: 24px;
}

.contact-cta-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-cta-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-cta-card .btn-primary {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-cta-card {
    padding: 48px 32px;
  }

  .contact-cta-text {
    font-size: 16px;
  }

  .contact-cta-subtext {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .contact-cta-card {
    padding: 32px 24px;
  }

  .contact-cta-text {
    font-size: 15px;
  }

  .contact-cta-subtext {
    font-size: 14px;
  }
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  padding: 32px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--glow-violet);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

/* Help logos below footer content */
.help-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0 8px;
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
}

.help-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: rgba(16, 26, 50, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.help-logo-link:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--glow-violet);
}

.help-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
}

.help-logo-no-filter {
  filter: none;
}

.help-logo-no-filter[alt="GambleAware"] {
  filter: invert(1);
}

@media (max-width: 640px) {
  .help-logos {
    flex-wrap: wrap;
    gap: 16px;
  }
  .help-logo {
    height: 24px;
  }
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.age-badge-footer {
  display: inline-block;
  background: var(--gradient-cta);
  color: #0b1224;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  margin-top: 12px;
}

.support-logos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-logo {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--primary);
  text-align: center;
  text-decoration: none;
}

.footer-disclaimer {
  background: rgba(7, 12, 24, 0.5);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  border: 1px solid var(--border-color);
}

.footer-disclaimer h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--highlight);
  margin-bottom: 16px;
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

/* Fixed responsible gaming banner */
.responsible-gaming-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 2px solid var(--primary);
  padding: 8px 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  height: 44px;
  display: flex;
  align-items: center;
}

.responsible-gaming-text {
  text-align: center;
  color: var(--text-primary);
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.responsible-gaming-text a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.responsible-gaming-text a:hover {
  color: var(--highlight);
  text-shadow: var(--glow-cyan);
}

@media (max-width: 640px) {
  html {
    margin-top: 0 !important;
  }

  .responsible-gaming-text {
    font-size: 11px;
    padding: 0 16px;
  }

  .responsible-gaming-banner {
    padding: 6px 0;
    height: 38px;
  }

  .header {
    top: 38px;
    margin: 0;
  }
}

@media (max-width: 968px) {
  .nav-menu {
    gap: 16px;
    font-size: 14px;
  }

  .hero-content,
  .about-content,
  .game-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile menu behavior */
  .nav-toggle,
  .burger-menu {
    display: inline-flex;
  }
  .nav-menu {
    position: absolute;
    top: 76px;
    right: 24px;
    background: rgba(16, 26, 50, 0.98);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 1001;
    min-width: 240px;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    flex-direction: column;
    gap: 12px;
  }

  /* Compact header on small screens */
  .header {
    padding: 12px 0;
    margin: 0;
    top: 38px;
  }
  .logo-img {
    height: 40px;
  }
  .logo-text {
    font-size: 16px;
    letter-spacing: 0.01em;
  }

  .hero {
    padding: 48px 0;
    min-height: auto;
  }

  /* Mobile hero image placement */
  .hero-image {
    display: none;
  }
  .hero-image-inline {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 10px 30px rgba(0, 229, 255, 0.25));
    margin: 12px 0 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  :root {
    --section-spacing: 48px;
  }
}

/* Age verification popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.age-popup.show {
  display: flex;
}

body.popup-open {
  overflow: hidden;
}

.age-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.age-popup-content {
  position: relative;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 229, 255, 0.2);
  z-index: 10001;
  animation: fadeInUp 0.4s ease-out;
}

.age-popup-icon {
  display: inline-block;
  background: var(--gradient-cta);
  color: #0b1224;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: var(--glow-gold);
  animation: pulse 2s ease-in-out infinite;
}

.age-popup-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.age-popup-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.age-popup-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-popup-buttons .btn-primary,
.age-popup-buttons .btn-secondary {
  min-width: 180px;
}

@media (max-width: 640px) {
  .age-popup-content {
    padding: 32px 24px;
  }

  .age-popup-icon {
    font-size: 24px;
    padding: 12px 24px;
  }

  .age-popup-title {
    font-size: 22px;
  }

  .age-popup-buttons {
    flex-direction: column;
  }

  .age-popup-buttons .btn-primary,
  .age-popup-buttons .btn-secondary {
    width: 100%;
  }
}

/* Cookie policy popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: none;
  padding: 24px;
  background: var(--bg-surface);
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-popup-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-popup-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cookie-popup-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  min-width: 300px;
}

.cookie-popup-text a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-popup-text a:hover {
  color: var(--highlight);
  text-decoration: underline;
}

.cookie-popup-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-popup-buttons .btn-primary,
.cookie-popup-buttons .btn-secondary {
  min-width: 120px;
}

@media (max-width: 768px) {
  .cookie-popup {
    padding: 20px;
  }

  .cookie-popup-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-popup-text {
    min-width: auto;
    margin-bottom: 16px;
  }

  .cookie-popup-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-popup-buttons .btn-primary,
  .cookie-popup-buttons .btn-secondary {
    flex: 1;
    min-width: auto;
  }
}
