/* =============================================
   NIBIBOOSTLOP.ICU — NOIR DETECTIVE CASINO
   CSS Architecture — Premium Dark Luxury UI
   ============================================= */

/* ── CSS Variables ── */
:root {
  --bg-primary: #050b1a;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-deep-navy: #1e293b;
  --shadow-gray: #334155;
  --accent-teal: #14b8a6;
  --accent-teal-dim: rgba(20, 184, 166, 0.15);
  --accent-teal-glow: rgba(20, 184, 166, 0.35);
  --accent-gold: #eab308;
  --accent-gold-dim: rgba(234, 179, 8, 0.15);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --sidebar-width: 76px;
  --sidebar-width-tablet: 62px;
  --border-color: rgba(51, 65, 85, 0.6);
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(20, 184, 166, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(5, 11, 26, 0.6);
  --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.25);
  --shadow-glow-lg: 0 0 40px rgba(20, 184, 166, 0.3);
  --spacing-section: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
}

/* ── CSS Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--text-primary); }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ── Paper Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

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

/* =============================================
   SIDEBAR NAVIGATION
   ============================================= */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: rgba(9, 17, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  border-radius: 0 16px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 4px 0 30px rgba(5, 11, 26, 0.5), 2px 0 0 var(--glass-border);
}

.sidebar-logo {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo svg { width: 36px; height: 36px; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  width: 100%;
  padding: 0 10px;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}
.sidebar-link svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}
.sidebar-link:hover {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.18);
}
.sidebar-link.active {
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.12);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.2);
}

/* Tooltip */
.sidebar-link::after,
.sidebar-play::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-deep-navy);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-card);
  z-index: 9999;
}
.sidebar-link::before,
.sidebar-play::before {
  content: '';
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--bg-deep-navy);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 9999;
}
.sidebar-link:hover::after,
.sidebar-link:hover::before,
.sidebar-play:hover::after,
.sidebar-play:hover::before { opacity: 1; }

/* Sidebar CTA */
.sidebar-cta {
  padding: 0 10px;
  width: 100%;
  flex-shrink: 0;
}
.sidebar-play {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-teal), #0d9488);
  color: var(--bg-primary);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.35);
  transition: var(--transition);
}
.sidebar-play svg { width: 18px; height: 18px; }
.sidebar-play:hover {
  background: linear-gradient(135deg, #0d9488, var(--accent-teal));
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.55);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* ── Content Wrapper ── */
.content-wrapper {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* =============================================
   HAMBURGER & MOBILE OVERLAY
   ============================================= */
.hamburger {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 40px 40px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.open { transform: translateX(0); }

.overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-secondary);
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.overlay-close:hover { color: var(--text-primary); background: var(--accent-teal-dim); }

.overlay-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.overlay-logo svg { width: 36px; height: 36px; }
.overlay-logo span { font-size: 22px; font-weight: 700; color: var(--text-primary); }

.overlay-nav { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-bottom: 36px; }
.overlay-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.overlay-nav a:hover { color: var(--text-primary); background: var(--accent-teal-dim); }

.overlay-play { width: fit-content; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #0d9488 100%);
  color: var(--bg-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary:hover {
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 6px 28px rgba(20, 184, 166, 0.5);
  color: var(--bg-primary);
  background: linear-gradient(135deg, #0d9488 0%, var(--accent-teal) 100%);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--shadow-gray);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.2);
  transform: scale(1.02);
}

/* =============================================
   SECTION LABELS & TITLES
   ============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-teal-dim);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 16px;
}
.section-label svg { width: 14px; height: 14px; flex-shrink: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.text-teal { color: var(--accent-teal); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: grayscale(30%) contrast(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 11, 26, 0.92) 0%,
    rgba(5, 11, 26, 0.7) 50%,
    rgba(5, 11, 26, 0.88) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23g)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-teal);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease both;
}
.hero-badge svg { width: 15px; height: 15px; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 780px;
  animation: fadeSlideUp 0.7s ease 0.1s both;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s ease 0.2s both;
}

.hero-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 32px;
  animation: fadeSlideUp 0.7s ease 0.25s both;
}
.hero-legal-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s ease 0.3s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 0.8s both;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* =============================================
   LEGAL BANNER
   ============================================= */
.legal-banner {
  background: rgba(234, 179, 8, 0.07);
  border-top: 1px solid rgba(234, 179, 8, 0.15);
  border-bottom: 1px solid rgba(234, 179, 8, 0.15);
  padding: 14px 0;
}
.legal-banner .container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-banner svg { width: 18px; height: 18px; flex-shrink: 0; }
.legal-banner p { font-size: 13px; color: var(--accent-gold); line-height: 1.5; }
.legal-banner strong { font-weight: 600; }

/* =============================================
   GAME SECTION
   ============================================= */
.game-section {
  padding: var(--spacing-section) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}
.game-section .section-title,
.game-section .section-sub { text-align: center; }
.game-section .section-sub { margin-left: auto; margin-right: auto; }
.game-section .section-label { margin: 0 auto 16px; }

.game-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.game-frame-container {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.game-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: conic-gradient(
    from 0deg,
    var(--accent-teal),
    rgba(20, 184, 166, 0.3),
    var(--accent-teal),
    rgba(20, 184, 166, 0.1),
    var(--accent-teal)
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
  opacity: 0.6;
}
.game-glow-ring::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: calc(var(--radius-lg) + 1px);
}

.game-iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  box-shadow:
    0 0 0 1px var(--glass-border),
    0 24px 60px rgba(5, 11, 26, 0.7),
    0 0 40px rgba(20, 184, 166, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.game-disclaimer svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  padding: var(--spacing-section) 0;
}
.features-section .section-title { text-align: center; }
.features-section .section-label { margin: 0 auto 16px; }

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-teal-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* =============================================
   HOW IT WORKS SECTION
   ============================================= */
.how-section {
  padding: var(--spacing-section) 0;
  background: var(--bg-secondary);
}
.how-section .section-title { text-align: center; }
.how-section .section-label { margin: 0 auto 16px; }

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  justify-content: center;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  max-width: 280px;
  flex: 1;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.step-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.step-connector {
  flex-shrink: 0;
  padding: 0 8px;
  opacity: 0.5;
}
.step-connector svg { width: 60px; height: 20px; }

.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon svg { width: 36px; height: 36px; }
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* =============================================
   EXPERIENCE SECTION
   ============================================= */
.experience-section { padding: var(--spacing-section) 0; }
.experience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.experience-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.experience-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  filter: grayscale(20%) contrast(1.05);
  opacity: 0.85;
}
.experience-img-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: inset 0 0 40px rgba(20, 184, 166, 0.06);
  pointer-events: none;
}

.experience-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}
.experience-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--accent-teal);
  border-left: 3px solid var(--accent-teal);
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.experience-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.experience-content .btn-primary { margin-top: 8px; }

/* =============================================
   RESPONSIBLE STRIP
   ============================================= */
.responsible-strip {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.responsible-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.responsible-icon { flex-shrink: 0; }
.responsible-icon svg { width: 56px; height: 56px; }
.responsible-content { flex: 1; }
.responsible-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.responsible-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.responsible-content a { color: var(--accent-teal); }

/* =============================================
   PAGE HERO (INNER PAGES)
   ============================================= */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.page-hero-sm { padding: 100px 0 64px; }
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(40%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 12px;
  line-height: 1.15;
}
.page-hero-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   CONTENT SECTION (INNER PAGES)
   ============================================= */
.content-section { padding: var(--spacing-section) 0; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.content-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.content-card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-3px);
}
.content-card.full-width { grid-column: 1 / -1; }
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-teal-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 30px; height: 30px; }
.content-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.content-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.content-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}
.content-card p:last-child { margin-bottom: 0; }

/* =============================================
   LEGAL CONTENT
   ============================================= */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-block {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.legal-block h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.legal-block p, .legal-block li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-block ul { padding-left: 20px; }
.legal-block ul li { list-style: disc; margin-bottom: 8px; }
.legal-block strong { color: var(--text-primary); font-weight: 600; }
.legal-block a { color: var(--accent-teal); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-teal-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 14px; color: var(--text-primary); font-weight: 600; }
.contact-item span { font-size: 13px; color: var(--text-secondary); }

.contact-form-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--shadow-gray);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-secondary); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--shadow-gray);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.8);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-teal);
}
.form-check label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}
.form-check label a { color: var(--accent-teal); }

.form-submit { align-self: flex-start; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 14px;
  color: var(--accent-teal);
}
.form-success.visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================
   RESPONSIBLE GAMING PAGE
   ============================================= */
.responsible-highlight {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--glass-bg);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-glow);
}
.rg-badge {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-badge span {
  position: relative;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-teal);
  z-index: 1;
}
.responsible-highlight h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.responsible-highlight p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.rg-resources { margin-top: 40px; }
.rg-resources h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-top: 10px;
}
.rg-resources > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.75;
}
.resource-list { display: flex; flex-direction: column; gap: 12px; }
.resource-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.resource-item:hover { border-color: rgba(20, 184, 166, 0.25); }
.resource-icon { flex-shrink: 0; }
.resource-icon svg { width: 20px; height: 20px; }
.resource-item strong { color: var(--text-primary); }

/* =============================================
   RULES PAGE
   ============================================= */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.rule-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-teal), rgba(20, 184, 166, 0.2));
}
.rule-card:hover { border-color: rgba(20, 184, 166, 0.25); transform: translateY(-2px); }
.rule-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.rule-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.rule-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.rules-disclaimer {
  background: rgba(234, 179, 8, 0.06) !important;
  border-color: rgba(234, 179, 8, 0.2) !important;
  margin-top: 8px;
}
.rules-disclaimer h2 { color: var(--accent-gold) !important; border-color: rgba(234, 179, 8, 0.15) !important; }
.rules-cta {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 32px; height: 32px; }
.footer-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: 0.06em;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-teal); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 28px;
  text-align: center;
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 860px;
  margin: 0 auto 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: var(--sidebar-width-tablet);
    --spacing-section: var(--spacing-tablet);
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .experience-inner { gap: 40px; }
  .steps-grid { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .step-connector { display: none; }
  .step-card { max-width: 240px; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .content-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .experience-inner { grid-template-columns: 1fr; }
  .experience-img { height: 320px; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
  :root { --spacing-section: var(--spacing-mobile); }

  .sidebar { display: none; }
  .content-wrapper { margin-left: 0; }
  .hamburger { display: flex; }

  .container { padding: 0 20px; }

  .hero-content { padding-top: 100px; padding-left: 20px; padding-right: 20px; }
  .hero-headline { font-size: clamp(30px, 8vw, 48px); }

  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: fit-content; }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps-grid { flex-direction: column; gap: 16px; align-items: center; }

  .game-iframe { height: 480px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { max-width: none; }

  .responsible-inner { flex-direction: column; text-align: center; }
  .responsible-inner .btn-ghost { align-self: center; }

  .page-hero { padding: 90px 0 50px; }
  .page-hero-content h1 { font-size: clamp(28px, 7vw, 42px); }

  .contact-form-wrap { padding: 24px; }

  .legal-banner .container { flex-direction: column; text-align: center; gap: 8px; }
  .responsible-highlight { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .game-iframe { height: 380px; }
  .hero-headline { font-size: clamp(26px, 9vw, 38px); }
  .section-title { font-size: clamp(24px, 7vw, 34px); }
}