/* ============================================
   Belarivonix Design System
   Magical Flower Garden Slot Experience (21+)
============================================ */

:root {
  --clr-primary: #7c4dff;
  --clr-secondary: #ff6fb5;
  --clr-accent: #ffd21e;
  --clr-teal: #27c1c3;
  --clr-orange: #ff6a00;
  --clr-green: #6edc6b;
  --clr-red: #ff2d55;
  --clr-magenta: #ff3ea5;
  --clr-purple: #a566ff;
  --clr-sky: #c7e8ff;

  --ink-1000: #0b0a14;
  --ink-800: #1e1b2f;
  --ink-600: #3a3657;
  --ink-400: #6b6791;
  --ink-200: #a9a6c6;
  --ink-100: #d8d6ea;
  --paper-0: #ffffff;
  --paper-50: #f7f6ff;

  --gradient-brand: radial-gradient(
    circle at 30% 20%,
    #ff6fb5 0%,
    #7c4dff 55%,
    #1e1b2f 100%
  );
  --gradient-cta: linear-gradient(180deg, #ffd21e 0%, #ff6a00 100%);
  --gradient-chip: linear-gradient(135deg, #a566ff 0%, #ff6fb5 100%);
  --gradient-badge: linear-gradient(135deg, #27c1c3 0%, #6edc6b 100%);

  --font-display: "Luckiest Guy", system-ui, sans-serif;
  --font-heading: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, sans-serif;
  --font-numeric: "Orbitron", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-xxl: 40px;

  --shadow-soft: 0 6px 18px rgba(124, 77, 255, 0.22);
  --shadow-hard: 0 8px 0 #ff6a00, 0 14px 22px rgba(11, 10, 20, 0.35);
  --shadow-glow: 0 0 22px rgba(255, 210, 30, 0.7);

  --container-max: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink-1000);
  color: var(--paper-0);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
}
h2 {
  font-size: clamp(32px, 4.5vw, 44px);
}
h3 {
  font-size: clamp(24px, 3vw, 32px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.container-fluid {
  width: 100%;
  padding-inline: var(--space-xl);
}

/* Magical Header */
.magic-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--clr-orange);
  height: var(--header-height);
}

.magic-header__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 111, 181, 0.1),
    transparent
  );
  pointer-events: none;
}

.magic-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-lg);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--clr-primary);
  text-shadow: 0 2px 0 var(--ink-800);
  transition: transform 0.22s ease;
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.brand-logo__icon {
  filter: drop-shadow(0 2px 6px rgba(124, 77, 255, 0.5));
}

.brand-logo__text {
  letter-spacing: -0.02em;
}

.fairy-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.fairy-nav__link {
  font-weight: 600;
  font-size: 16px;
  color: var(--clr-accent);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
  position: relative;
}

.fairy-nav__link:hover {
  color: var(--paper-0);
  background: rgba(255, 210, 30, 0.1);
}

.fairy-nav__link--special {
  background: var(--gradient-cta);
  color: var(--ink-800);
  font-weight: 700;
  box-shadow: var(--shadow-hard);
}

.fairy-nav__link--special:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #ff6a00, 0 16px 24px rgba(11, 10, 20, 0.4);
}

.btn-play-now {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gradient-cta);
  color: var(--ink-800);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transition: all 0.22s ease;
}

.btn-play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #ff6a00, 0 16px 24px rgba(11, 10, 20, 0.4);
}

.btn-play-now svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--clr-accent);
  border-radius: 2px;
  transition: all 0.22s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-1000) 100%);
  padding: 100px 32px 32px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 10, 20, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu__overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__link {
  font-weight: 600;
  font-size: 18px;
  color: var(--clr-accent);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
  text-decoration: none;
  display: block;
}

.mobile-menu__link:hover {
  color: var(--paper-0);
  background: rgba(255, 210, 30, 0.1);
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(11, 10, 20, 0.8);
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-menu__close:hover {
  background: rgba(255, 210, 30, 0.1);
  color: var(--paper-0);
  transform: scale(1.1);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--gradient-cta);
  color: var(--ink-800);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  width: 100%;
}

/* Enchanted Hero */
.enchanted-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-brand);
  background-image: url("../img/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.enchanted-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 10, 20, 0.7) 0%,
    rgba(30, 27, 47, 0.8) 25%,
    rgba(58, 54, 87, 0.85) 50%,
    rgba(30, 27, 47, 0.8) 75%,
    rgba(11, 10, 20, 0.9) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.enchanted-hero__stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent);
  background-size: 200% 200%;
  animation: sparkle 8s ease-in-out infinite;
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.enchanted-hero__frame {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xxl);
}

.fairy-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(11, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-lg);
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(11, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-lg);
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.showcase-badge span:first-child {
  font-size: 20px;
}

.enchanted-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px);
  margin-bottom: var(--space-lg);
  color: var(--paper-0);
  text-shadow: 3px 3px 0 var(--ink-1000), 0 0 20px rgba(255, 210, 30, 0.8),
    0 0 40px rgba(255, 210, 30, 0.4);
  letter-spacing: -0.02em;
}

.text-shimmer {
  background: linear-gradient(135deg, #ffd21e, #ff6fb5, #7c4dff, #6edc6b);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.enchanted-hero__tagline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--clr-accent);
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 210, 30, 0.4);
}

.enchanted-hero__story {
  background: rgba(11, 10, 20, 0.9);
  backdrop-filter: blur(16px);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.enchanted-hero__story p {
  max-width: 100%;
  font-size: 18px;
  color: var(--paper-0);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.enchanted-hero__actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn-magical {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  transition: all 0.22s ease;
  position: relative;
}

.btn-magical--primary {
  background: var(--gradient-cta);
  color: var(--ink-800);
  box-shadow: var(--shadow-hard);
}

.btn-magical--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 #ff6a00, 0 18px 28px rgba(11, 10, 20, 0.45),
    var(--shadow-glow);
}

.btn-magical--ghost {
  background: transparent;
  color: var(--clr-accent);
  border: 3px solid var(--clr-accent);
}

.btn-magical--ghost:hover {
  background: rgba(255, 210, 30, 0.1);
  transform: translateY(-2px);
}

.btn-magical--large {
  padding: 20px 40px;
  font-size: 18px;
}

.enchanted-hero__notice {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 45, 85, 0.15);
  border: 2px solid var(--clr-red);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-0);
}

.notice-icon {
  font-size: 20px;
}

/* Garden Story */
.garden-story {
  padding: 120px 0;
  background: var(--ink-800);
  position: relative;
}

.story-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.story-label {
  display: inline-block;
  background: var(--gradient-badge);
  color: var(--ink-1000);
  font-weight: 700;
  font-size: 14px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.story-title {
  font-family: var(--font-display);
  color: var(--clr-accent);
  text-shadow: 3px 3px 0 var(--ink-1000);
  margin-bottom: var(--space-lg);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.story-panel {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xxl);
  align-items: center;
  background: rgba(58, 54, 87, 0.3);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl);
}

.story-panel--reverse {
  grid-template-columns: 1.5fr 1fr;
}

.story-panel--reverse .story-panel__visual {
  order: 2;
}

.story-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flower-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.flower-emoji {
  font-size: 80px;
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
}

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

.reel-preview {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--ink-1000);
  border: 3px solid var(--clr-orange);
  border-radius: var(--radius-lg);
}

.reel-symbol {
  font-size: 60px;
  padding: var(--space-md);
  background: rgba(255, 106, 0, 0.1);
  border-radius: var(--radius-sm);
}

.fairy-sprite {
  font-size: 100px;
  animation: bounce 2s ease-in-out infinite;
}

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

.story-panel__text h3 {
  color: var(--clr-secondary);
  margin-bottom: var(--space-md);
}

.story-panel__text p {
  max-width: 100%;
  color: var(--ink-100);
  font-size: 17px;
  line-height: 1.8;
}

/* Behavior Icons */
.behavior-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.behavior-icon--positive {
  background: rgba(34, 197, 94, 0.2);
  border: 3px solid var(--clr-teal);
  color: var(--clr-teal);
}

.behavior-icon--negative {
  background: rgba(239, 68, 68, 0.2);
  border: 3px solid var(--clr-red);
  color: var(--clr-red);
}

.behavior-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Behavior Lists */
.behavior-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.behavior-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(58, 54, 87, 0.3);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.behavior-item:hover {
  background: rgba(58, 54, 87, 0.5);
  transform: translateX(8px);
}

.behavior-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}

.behavior-list--positive .behavior-item__icon {
  background: rgba(34, 197, 94, 0.2);
  color: var(--clr-teal);
}

.behavior-list--negative .behavior-item__icon {
  background: rgba(239, 68, 68, 0.2);
  color: var(--clr-red);
}

.behavior-item__content {
  flex: 1;
  color: var(--ink-100);
  font-size: 16px;
  line-height: 1.6;
}

.behavior-item__content strong {
  color: var(--paper-0);
  font-weight: 600;
}

/* Flower Showcase */
.flower-showcase {
  padding: 120px 0;
  background: var(--ink-1000);
  position: relative;
  overflow: hidden;
}

.flower-showcase__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(124, 77, 255, 0.15),
    transparent 70%
  );
}

.showcase-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-secondary);
  margin-bottom: var(--space-lg);
}

.showcase-badge span:first-child {
  font-size: 36px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  background: linear-gradient(135deg, #ffd21e, #ff6fb5, #a566ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: var(--space-md);
}

.showcase-subtitle {
  font-size: 20px;
  color: var(--ink-200);
}

.game-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.game-display__frame {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink-800);
  border: 4px solid var(--clr-orange);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.game-display__screen {
  width: 100%;
  height: 100%;
  background: var(--ink-1000);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mock-reels {
  display: flex;
  gap: var(--space-md);
}

.mock-reel {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mock-reel span {
  font-size: 48px;
  padding: var(--space-sm);
  background: rgba(124, 77, 255, 0.1);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-sm);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.game-display__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle,
    rgba(255, 111, 181, 0.3),
    transparent 70%
  );
  filter: blur(30px);
  pointer-events: none;
}

.game-features__title {
  color: var(--clr-accent);
  margin-bottom: var(--space-lg);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.feature-item__content strong {
  color: var(--paper-0);
  font-size: 18px;
}

.feature-item__content span {
  color: var(--ink-200);
  font-size: 15px;
}

/* Garden Essence */
.garden-essence {
  padding: 120px 0;
  background: var(--ink-800);
}

.essence-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.essence-label {
  display: inline-block;
  background: var(--gradient-chip);
  color: var(--paper-0);
  font-weight: 700;
  font-size: 14px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.essence-title {
  font-family: var(--font-display);
  color: var(--paper-0);
  text-shadow: 3px 3px 0 var(--ink-1000);
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.essence-card {
  background: rgba(30, 27, 47, 0.5);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
}

.essence-card:hover {
  transform: translateY(-8px);
  border-color: var(--clr-secondary);
  box-shadow: 0 12px 32px rgba(255, 111, 181, 0.3);
}

.essence-card__number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-numeric);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 210, 30, 0.15);
}

.essence-card__icon {
  color: var(--clr-accent);
  margin-bottom: var(--space-lg);
}

.essence-card__title {
  color: var(--clr-secondary);
  margin-bottom: var(--space-md);
}

.essence-card__desc {
  color: var(--ink-100);
  line-height: 1.7;
  font-size: 15px;
}

/* Visitor's Guide */
.visitors-guide {
  padding: 120px 0;
  background: var(--ink-1000);
}

.guide-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.guide-label {
  display: inline-block;
  background: var(--gradient-badge);
  color: var(--ink-1000);
  font-weight: 700;
  font-size: 14px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.guide-title {
  font-family: var(--font-display);
  color: var(--clr-accent);
  text-shadow: 3px 3px 0 var(--ink-800);
}

.guide-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.guide-item {
  background: var(--ink-800);
  border: 2px solid var(--clr-orange);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.guide-item:hover {
  border-color: var(--clr-accent);
}

.guide-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  color: var(--paper-0);
  font-weight: 600;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
}

.guide-item__trigger:hover {
  background: rgba(255, 210, 30, 0.05);
}

.guide-item__question {
  flex: 1;
}

.guide-item__arrow {
  flex-shrink: 0;
  color: var(--clr-accent);
  transition: transform 0.22s ease;
}

.guide-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.guide-item__panel p {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--ink-100);
  line-height: 1.8;
  max-width: 100%;
}

.guide-item.active .guide-item__arrow {
  transform: rotate(180deg);
}

.guide-item.active .guide-item__panel {
  max-height: 500px;
}

/* Magic Footer */
.magic-footer {
  background: var(--ink-800);
  border-top: 3px solid var(--clr-orange);
  padding: var(--space-xxl) 0 var(--space-xl);
  position: relative;
}

.magic-footer__garden {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.1), transparent);
  pointer-events: none;
}

.magic-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-xxl);
  margin-bottom: var(--space-xxl);
}

.magic-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}

.footer-motto {
  color: var(--ink-200);
  font-size: 16px;
  font-style: italic;
}

.footer-age {
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 14px;
}

.magic-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  color: var(--clr-secondary);
  font-size: 18px;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: var(--ink-200);
  font-size: 15px;
  transition: color 0.22s ease;
}

.footer-col a:hover {
  color: var(--clr-accent);
}

.magic-footer__disclaimer {
  background: rgba(30, 27, 47, 0.5);
  border: 2px solid var(--clr-red);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.magic-footer__disclaimer h3 {
  color: var(--clr-accent);
  font-size: 20px;
  margin-bottom: var(--space-md);
  text-align: center;
}

.magic-footer__disclaimer p {
  color: var(--ink-100);
  font-size: 14px;
  line-height: 1.8;
  max-width: 100%;
}

.magic-footer__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.help-logos {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.help-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(58, 54, 87, 0.3);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.help-logo-link:hover {
  background: rgba(58, 54, 87, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.3);
  border-color: var(--clr-accent);
}

.help-logo {
  max-height: 60px;
  max-width: 180px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.help-logo-link:hover .help-logo {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.help-logo-link--age {
  cursor: default;
  pointer-events: none;
}

.help-logo-link--age:hover {
  background: rgba(58, 54, 87, 0.3);
  transform: none;
  box-shadow: none;
  border-color: var(--clr-purple);
}

.help-logo--age {
  max-height: 40px;
  max-width: 80px;
  filter: brightness(1);
}

.help-logo-link--age:hover .help-logo--age {
  filter: brightness(1);
  transform: none;
}

.magic-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--ink-600);
}

.footer-address {
  color: var(--ink-200);
  font-size: 14px;
  font-style: normal;
}

.footer-address a {
  color: var(--clr-teal);
}

.footer-address a:hover {
  color: var(--clr-accent);
}

.footer-copyright {
  color: var(--ink-400);
  font-size: 13px;
}

.footer-copyright a {
  color: var(--ink-200);
}

.footer-copyright a:hover {
  color: var(--clr-accent);
}

/* Responsive Design */
@media (max-width: 968px) {
  .fairy-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-play-now {
    display: none;
  }

  .story-panel,
  .story-panel--reverse {
    grid-template-columns: 1fr;
  }

  .story-panel--reverse .story-panel__visual {
    order: 0;
  }

  .story-panel__visual {
    max-width: 100%;
    margin: 0 auto;
  }

  .game-display {
    grid-template-columns: 1fr;
  }

  .magic-footer__main {
    grid-template-columns: 1fr;
  }

  .magic-footer__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 20px;
    --space-xxl: 32px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-logo {
    font-size: 20px;
  }

  .enchanted-hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    background-attachment: scroll;
  }

  .enchanted-hero__frame {
    padding-left: 0;
    padding-right: 0;
  }

  .enchanted-hero__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .enchanted-hero__tagline {
    font-size: 16px;
  }

  .enchanted-hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-magical {
    width: 100%;
    justify-content: center;
  }

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

  .garden-story {
    padding: 60px 0;
  }

  .story-panel {
    gap: 32px;
  }

  .story-panel__content {
    padding: 24px 0;
  }

  .story-panel__visual {
    padding: 0;
    max-width: 280px;
  }

  .flower-cluster {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .flower-emoji {
    font-size: 48px;
  }

  .reel-preview {
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding: var(--space-md);
  }

  .reel-symbol {
    font-size: 36px;
    padding: var(--space-sm);
  }

  .fairy-sprite {
    font-size: 64px;
  }

  .game-feature {
    padding: 60px 0;
  }

  .guide-section {
    padding: 60px 0;
  }

  .magic-footer {
    padding: 60px 0 32px;
  }
}

/* ===================================
   Legal Content Styles
   =================================== */

.legal-content {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-600) 100%);
  position: relative;
}

.legal-section {
  margin-bottom: var(--space-xxl);
  padding-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(169, 166, 198, 0.2);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-title {
  font-family: var(--font-display);
  color: var(--clr-accent);
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  text-shadow: 2px 2px 0 var(--ink-1000);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.legal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: rgba(124, 77, 255, 0.2);
  border: 2px solid var(--clr-purple);
  border-radius: 50%;
  font-size: 20px;
  font-family: var(--font-numeric);
  color: var(--clr-accent);
}

.legal-subtitle {
  font-family: var(--font-heading);
  color: var(--clr-secondary);
  font-size: 20px;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-text {
  color: var(--ink-100);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-text strong {
  color: var(--paper-0);
  font-weight: 600;
}

.legal-highlight {
  background: rgba(124, 77, 255, 0.1);
  border-left: 4px solid var(--clr-accent);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: var(--space-lg) 0;
}

.legal-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--space-md);
  color: var(--ink-100);
  font-size: 16px;
  line-height: 1.7;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-teal);
  font-weight: bold;
  font-size: 18px;
}

.legal-list li strong {
  color: var(--paper-0);
  font-weight: 600;
}

.legal-contact {
  background: rgba(58, 54, 87, 0.5);
  border: 2px solid var(--clr-purple);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
}

.legal-contact p {
  color: var(--ink-100);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-contact strong {
  color: var(--clr-accent);
  font-size: 18px;
  font-weight: 700;
}

.legal-link {
  color: var(--clr-teal);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-link:hover {
  color: var(--clr-accent);
  border-bottom-color: var(--clr-accent);
}

.legal-navigation {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xxl);
  border-top: 2px solid rgba(169, 166, 198, 0.2);
}

.legal-navigation p {
  margin-bottom: var(--space-md);
}

.legal-nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--clr-accent);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: var(--space-sm) 0;
}

.legal-nav-link:hover {
  color: var(--clr-secondary);
  transform: translateX(8px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: 60px 0 80px;
  }

  .legal-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .legal-title {
    font-size: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .legal-number {
    min-width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .legal-subtitle {
    font-size: 18px;
  }

  .legal-text {
    font-size: 15px;
  }

  .legal-list li {
    font-size: 15px;
    padding-left: 28px;
  }

  .legal-contact {
    padding: var(--space-lg);
  }

  .legal-nav-link {
    font-size: 16px;
  }
}

/* ===================================
   Contact Page Mobile Styles
   =================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xxl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  background: rgba(58, 54, 87, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-card--email {
  border: 2px solid var(--clr-teal);
}

.contact-card--address {
  border: 2px solid var(--clr-green);
}

.contact-card--time {
  border: 2px solid var(--clr-purple);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.contact-card__content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card__content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.contact-card__content a {
  color: var(--paper-0);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-card__content a:hover {
  color: var(--clr-accent);
}

.contact-form {
  position: relative;
  background: rgba(30, 27, 47, 0.6);
  border: 2px solid var(--clr-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl);
}

.contact-form__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-form__icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--clr-secondary);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.contact-form__subtitle {
  color: var(--ink-200);
  font-size: 15px;
}

.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(11, 10, 20, 0.5);
  border: 2px solid var(--ink-600);
  border-radius: var(--radius-md);
  color: var(--paper-0);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.22s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 17px;
  padding: 18px 32px;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 10;
}

.form-submit:active {
  transform: translateY(1px);
}

.form-submit:focus {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.form-success {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 10, 20, 0.95);
  backdrop-filter: blur(8px);
  text-align: center;
  padding: var(--space-xxl);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.form-success__icon {
  font-size: 64px;
  margin-bottom: var(--space-md);
  animation: formSuccessPulse 1.5s ease-in-out infinite;
}

@keyframes formSuccessPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--clr-green);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.form-success__text {
  color: var(--ink-100);
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-card {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .contact-card__icon {
    width: 28px;
    height: 28px;
  }

  .contact-card__content h3 {
    font-size: 15px;
  }

  .contact-card__content p {
    font-size: 14px;
  }

  .contact-form {
    padding: var(--space-xl);
  }

  .contact-form__title {
    font-size: 24px;
  }

  .contact-form__subtitle {
    font-size: 14px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .form-submit {
    font-size: 16px;
    padding: 16px 24px;
  }

  .form-success__title {
    font-size: 24px;
  }

  .form-success__text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .contact-layout {
    gap: var(--space-lg);
  }

  .contact-card {
    padding: var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .contact-form__title {
    font-size: 22px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 14px;
    font-size: 14px;
  }

  .form-submit {
    font-size: 15px;
    padding: 14px 20px;
  }
}

/* ===================================
   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;
  padding: var(--space-lg);
}

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

.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: linear-gradient(135deg, var(--ink-800) 0%, var(--ink-600) 100%);
  border: 3px solid var(--clr-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl);
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 77, 255, 0.3);
  animation: agePopupSlideIn 0.4s ease-out;
}

@keyframes agePopupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.age-popup__header {
  margin-bottom: var(--space-xl);
}

.age-popup__icon {
  font-size: 64px;
  margin-bottom: var(--space-md);
  animation: agePopupPulse 2s ease-in-out infinite;
}

@keyframes agePopupPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.age-popup__title {
  font-family: var(--font-display);
  color: var(--clr-accent);
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 0 var(--ink-1000);
}

.age-popup__body {
  margin-bottom: var(--space-xxl);
}

.age-popup__text {
  color: var(--paper-0);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.age-popup__text strong {
  color: var(--clr-accent);
  font-weight: 700;
}

.age-popup__subtext {
  color: var(--ink-200);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.age-popup__actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.age-popup__btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: 2px solid;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
}

.age-popup__btn--accept {
  background: var(--gradient-cta);
  border-color: var(--clr-accent);
  color: var(--ink-800);
  box-shadow: 0 4px 16px rgba(255, 210, 30, 0.3);
}

.age-popup__btn--accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 210, 30, 0.5);
}

.age-popup__btn--reject {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--clr-red);
  color: var(--clr-red);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.age-popup__btn--reject:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.age-popup__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .age-popup {
    padding: var(--space-md);
  }

  .age-popup__content {
    padding: var(--space-xl);
  }

  .age-popup__icon {
    font-size: 48px;
  }

  .age-popup__title {
    font-size: 24px;
  }

  .age-popup__text {
    font-size: 16px;
  }

  .age-popup__subtext {
    font-size: 13px;
  }

  .age-popup__actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .age-popup__btn {
    width: 100%;
    min-width: auto;
    padding: var(--space-md) var(--space-lg);
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .age-popup__content {
    padding: var(--space-lg);
  }

  .age-popup__icon {
    font-size: 40px;
  }

  .age-popup__title {
    font-size: 22px;
  }

  .age-popup__text {
    font-size: 15px;
  }

  .age-popup__btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
  }
}
