/* ============================================
   NIBIFLIPJY — PREMIUM MYSTICAL LIBRARY THEME
   Complete CSS Architecture
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --bg-dark: #05040b;
  --bg-medium: #0c0820;
  --bg-card: rgba(20, 15, 45, 0.75);
  --gold: #e9c46a;
  --gold-dark: #d4af37;
  --purple: #9b6bff;
  --deep-amethyst: #6d28d9;
  --emerald: #2dd4bf;
  --candlelight: #facc15;
  --rose-gold: #ffb7c5;
  --silver: #cbd5e1;
  --parchment: #f2e8d5;
  --text-light: #fefcf0;
  --text-muted: #e2dccd;
  --text-secondary: #a09a8c;
  --transition: all 0.3s ease;
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-full: 100px;
  --container-width: 1400px;
  --blur: 20px;
  --header-height: 88px;
}

/* --- Global Styles --- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-light);
  line-height: 1.2;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(233, 196, 106, 0.3); }
  50% { box-shadow: 0 0 20px rgba(233, 196, 106, 0.5); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes runeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
  50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.8; }
  75% { transform: translateY(-25px) rotate(2deg); opacity: 0.5; }
}

@keyframes particleDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* --- Floating Particles --- */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift linear infinite;
}

.particle-1 { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle-2 { left: 25%; animation-duration: 22s; animation-delay: 3s; }
.particle-3 { left: 45%; animation-duration: 20s; animation-delay: 6s; width: 2px; height: 2px; }
.particle-4 { left: 65%; animation-duration: 25s; animation-delay: 2s; }
.particle-5 { left: 80%; animation-duration: 19s; animation-delay: 8s; width: 2px; height: 2px; }
.particle-6 { left: 92%; animation-duration: 23s; animation-delay: 5s; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 4, 11, 0.85);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(233, 196, 106, 0.2);
  height: var(--header-height);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(5, 4, 11, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 8px rgba(233, 196, 106, 0.3));
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(233, 196, 106, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
}

.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 4, 11, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-overlay-inner {
  text-align: center;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 40px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.mobile-close:hover {
  transform: rotate(90deg);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold);
  background: rgba(233, 196, 106, 0.08);
}

.mobile-cta {
  display: inline-block;
  margin-top: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(233, 196, 106, 0.3);
  color: var(--bg-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-full);
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(233, 196, 106, 0.1);
  color: var(--gold);
}

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

.btn-full {
  width: 100%;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(233, 196, 106, 0.4);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 20px;
  background: rgba(233, 196, 106, 0.05);
}

.badge-icon {
  font-size: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(155, 107, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(233, 196, 106, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(109, 40, 217, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--parchment) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.spellbook-scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spellbook-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(233, 196, 106, 0.2), rgba(155, 107, 255, 0.1), transparent);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}

.book-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.book {
  font-size: 80px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: float 4s ease-in-out infinite;
}

.book-1 { animation-delay: 0s; }
.book-2 { animation-delay: 0.5s; font-size: 70px; }
.book-3 { animation-delay: 1s; font-size: 60px; }

.floating-rune {
  position: absolute;
  font-size: 28px;
  color: var(--gold);
  opacity: 0.6;
  animation: runeFloat 6s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(233, 196, 106, 0.5);
}

.rune-1 { top: 15%; left: 10%; animation-delay: 0s; }
.rune-2 { top: 20%; right: 10%; animation-delay: 1.5s; }
.rune-3 { bottom: 25%; left: 15%; animation-delay: 3s; }
.rune-4 { bottom: 20%; right: 15%; animation-delay: 4.5s; }

.gold-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift 8s linear infinite;
}

.gold-particles span:nth-child(1) { left: 20%; top: 60%; animation-delay: 0s; animation-duration: 6s; }
.gold-particles span:nth-child(2) { left: 40%; top: 70%; animation-delay: 1s; animation-duration: 7s; }
.gold-particles span:nth-child(3) { left: 60%; top: 55%; animation-delay: 2s; animation-duration: 8s; }
.gold-particles span:nth-child(4) { left: 30%; top: 65%; animation-delay: 3s; animation-duration: 5s; }
.gold-particles span:nth-child(5) { left: 70%; top: 60%; animation-delay: 4s; animation-duration: 9s; }
.gold-particles span:nth-child(6) { left: 50%; top: 75%; animation-delay: 1.5s; animation-duration: 6.5s; }
.gold-particles span:nth-child(7) { left: 15%; top: 50%; animation-delay: 2.5s; animation-duration: 7.5s; }
.gold-particles span:nth-child(8) { left: 80%; top: 45%; animation-delay: 3.5s; animation-duration: 8.5s; }

.hero-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 196, 106, 0.1);
  font-size: 13px;
  color: var(--text-secondary);
}

.disclaimer-badge {
  background: rgba(233, 196, 106, 0.15);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(233, 196, 106, 0.3);
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.game-container {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(20, 15, 45, 0.8), rgba(12, 8, 32, 0.9));
  border-radius: 32px;
  padding: 24px;
  border: 1px solid rgba(233, 196, 106, 0.3);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(233, 196, 106, 0.1),
    inset 0 1px 0 rgba(233, 196, 106, 0.1);
  position: relative;
}

.game-ornament {
  position: absolute;
  color: var(--gold);
  font-size: 18px;
  opacity: 0.5;
  z-index: 5;
  text-shadow: 0 0 10px rgba(233, 196, 106, 0.5);
}

.game-ornament-tl { top: 12px; left: 16px; }
.game-ornament-tr { top: 12px; right: 16px; }
.game-ornament-bl { bottom: 12px; left: 16px; }
.game-ornament-br { bottom: 12px; right: 16px; }

.game-frame {
  border-radius: 24px;
  background: var(--bg-medium);
  position: relative;
  overflow: hidden;
}

.game-area {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a0620, var(--bg-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-area iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: rgba(20, 15, 45, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition-smooth);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 196, 106, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(20, 15, 45, 0.7);
}

.feature-icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  text-align: center;
  padding: 20px;
  flex: 1;
  max-width: 340px;
}

.step-number {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  background: rgba(233, 196, 106, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  width: 80px;
  flex-shrink: 0;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(233, 196, 106, 0.1), rgba(233, 196, 106, 0.4), rgba(233, 196, 106, 0.1));
  border-radius: 2px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: var(--container-width);
  height: 100%;
  background: rgba(233, 196, 106, 0.03);
  border-radius: 48px;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: rgba(20, 15, 45, 0.4);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
  transform: translateY(-4px);
}

.testimonial-quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  font-size: 36px;
  width: 48px;
  height: 48px;
  background: rgba(233, 196, 106, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 196, 106, 0.2);
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.author-title {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #03020a;
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(233, 196, 106, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(233, 196, 106, 0.2);
  border-color: rgba(233, 196, 106, 0.4);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.newsletter-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(20, 15, 45, 0.6);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.newsletter-input-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.1);
}

.newsletter-input-group input::placeholder {
  color: var(--text-secondary);
}

.newsletter-btn {
  padding: 12px 20px !important;
  font-size: 14px !important;
  flex-shrink: 0;
}

.newsletter-success {
  color: var(--gold);
  font-size: 14px;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(233, 196, 106, 0.1);
  padding: 32px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.age-badge {
  background: rgba(233, 196, 106, 0.15);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(233, 196, 106, 0.3);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.5;
  opacity: 0.7;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 107, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 70%, rgba(233, 196, 106, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease-out;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   LEGAL CONTENT (Terms, Privacy)
   ============================================ */
.legal-content-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 48px;
  animation: fadeUp 0.5s ease-out both;
}

.legal-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.15);
}

.legal-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-block ul,
.legal-block ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-block ul {
  list-style: none;
}

.legal-block ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-block ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 4px;
}

.legal-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  color: var(--parchment);
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-story-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  margin-bottom: 24px;
}

.story-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.story-visual {
  display: flex;
  justify-content: center;
}

.story-illustration {
  width: 280px;
  height: 280px;
  background: rgba(20, 15, 45, 0.5);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.illustration-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 196, 106, 0.1), transparent);
  animation: glowPulse 4s ease-in-out infinite;
}

.illustration-icon {
  font-size: 72px;
  z-index: 1;
}

.illustration-label {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold);
  margin-top: 12px;
  z-index: 1;
}

/* Timeline */
.timeline-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(233, 196, 106, 0.4), rgba(233, 196, 106, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 20px;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: rgba(233, 196, 106, 0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gold);
}

.timeline-year {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Team */
.team-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 196, 106, 0.3);
}

.team-avatar {
  font-size: 64px;
  margin-bottom: 16px;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.team-role {
  font-size: 14px;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Values */
.values-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(20, 15, 45, 0.3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233, 196, 106, 0.1);
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--gold);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(20, 15, 45, 0.6);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e9c46a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-medium);
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

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

.form-success {
  background: rgba(233, 196, 106, 0.1);
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}

.form-success p {
  color: var(--gold);
  font-size: 15px;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
}

.contact-info-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   RESPONSIBLE GAMING PAGE
   ============================================ */
.responsible-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.responsible-intro {
  margin-bottom: 60px;
}

.responsible-intro-card {
  background: linear-gradient(145deg, rgba(20, 15, 45, 0.6), rgba(12, 8, 32, 0.8));
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.responsible-icon-large {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.responsible-intro-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}

.responsible-intro-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.responsible-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.responsible-card {
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition);
}

.responsible-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
  transform: translateY(-4px);
}

.responsible-card-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.responsible-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.responsible-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.responsible-age-section {
  margin-bottom: 60px;
}

.age-verification-card {
  background: rgba(20, 15, 45, 0.5);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.age-badge-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  background: rgba(233, 196, 106, 0.1);
}

.age-verification-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}

.age-verification-card > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.age-tips {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.age-tips h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.age-tips ul {
  list-style: none;
}

.age-tips li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.age-tips li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 4px;
}

.responsible-resources {
  max-width: 800px;
  margin: 0 auto;
}

.responsible-resources > h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
}

.responsible-resources > p {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.7;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  text-align: center;
}

.resource-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.resource-link {
  color: var(--gold) !important;
  font-weight: 500;
  margin-top: 8px;
}

/* ============================================
   RULES PAGE SPECIFIC
   ============================================ */
.rules-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.rules-content {
  max-width: 900px;
  margin: 0 auto;
}

.rules-block {
  margin-bottom: 60px;
}

.rules-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.15);
}

.rules-block p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.rules-block ol {
  list-style: none;
  counter-reset: steps;
  padding-left: 0;
}

.rules-block ol li {
  counter-increment: steps;
  position: relative;
  padding-left: 36px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rules-block ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: rgba(233, 196, 106, 0.15);
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

/* Symbol Grid */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.symbol-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(233, 196, 106, 0.12);
  transition: var(--transition);
}

.symbol-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
}

.symbol-emoji {
  font-size: 40px;
  flex-shrink: 0;
}

.symbol-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.symbol-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Bonus Grid */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bonus-card {
  background: rgba(20, 15, 45, 0.5);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid rgba(233, 196, 106, 0.15);
  transition: var(--transition);
}

.bonus-card:hover {
  border-color: rgba(233, 196, 106, 0.3);
  transform: translateY(-4px);
}

.bonus-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.bonus-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Paytable */
.paytable {
  overflow-x: auto;
}

.paytable table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.paytable th,
.paytable td {
  padding: 14px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.1);
}

.paytable th {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(233, 196, 106, 0.05);
}

.paytable td {
  color: var(--text-muted);
}

.paytable tbody tr:hover {
  background: rgba(233, 196, 106, 0.03);
}

.paytable-note {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(20, 15, 45, 0.5);
  border: 1px solid rgba(233, 196, 106, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(233, 196, 106, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-arrow {
  font-size: 12px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   RESPONSIVE — TABLET (992px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
  .section-title {
    font-size: 36px;
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

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

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

/* ============================================
   RESPONSIVE — MOBILE (<992px)
   ============================================ */
@media (max-width: 991px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-icon {
    font-size: 24px;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 26px;
  }

  .hero-visual {
    order: -1;
  }

  .spellbook-scene {
    max-width: 300px;
    aspect-ratio: auto;
    height: 300px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Sections */
  .game-section,
  .features-section,
  .how-it-works-section,
  .testimonials-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-desc {
    font-size: 15px;
  }

  /* Game */
  .game-container {
    padding: 16px;
    border-radius: 24px;
  }

  .game-frame {
    border-radius: 16px;
  }

  .game-area {
    border-radius: 14px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Steps */
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    max-width: 400px;
    width: 100%;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Page Hero */
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-title {
    font-size: 36px;
  }

  /* About */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-visual {
    order: -1;
  }

  .story-illustration {
    width: 200px;
    height: 200px;
  }

  .illustration-icon {
    font-size: 52px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Responsible */
  .responsible-grid {
    grid-template-columns: 1fr;
  }

  .responsible-intro-card {
    padding: 32px 24px;
  }

  .age-verification-card {
    padding: 32px 24px;
  }

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

  /* Rules */
  .symbol-grid {
    grid-template-columns: 1fr;
  }

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

  .paytable th,
  .paytable td {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Legal */
  .legal-block h2 {
    font-size: 22px;
  }

  .rules-block h2 {
    font-size: 24px;
  }

  .hero-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (<576px)
   ============================================ */
@media (max-width: 575px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .page-hero-title {
    font-size: 28px;
  }

  .mobile-nav-link {
    font-size: 20px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}