:root {
  /* Base Layers */
  --jungle-black: #0a0e08;
  --jungle-deep: #0f1a0c;
  --volcanic-dark: #1a1208;
  --mossy-shadow: #111a0e;
  --stone-dark: #1c1c18;

  /* Natural Surfaces */
  --jungle-green: #2d5a27;
  --jungle-green-mid: #3d7a35;
  --clay-brown: #6b4423;
  --clay-mid: #8a5a32;
  --stone-gray: #4a4840;
  --stone-light: #6b6860;
  --moss-green: #4a6b3a;

  /* Accents */
  --amber-glow: #d4872a;
  --amber-light: #f0a840;
  --amber-warm: #e8952e;
  --lava-orange: #c45a1a;
  --jungle-gold: #c8a840;
  --jungle-gold-light: #e8c860;
  --bio-green: #5aaa60;
  --bio-green-dim: #3a7a40;

  /* Typography */
  --text-primary: #f0e8d0;
  --text-bone: #e8dcc0;
  --text-secondary: #b8aa90;
  --text-muted: #7a8068;
  --text-stone: #9a9688;

  /* Glassmorphism */
  --glass-jungle: rgba(15, 26, 12, 0.75);
  --glass-stone: rgba(28, 28, 24, 0.80);
  --glass-amber: rgba(212, 135, 42, 0.12);
  --glass-border: rgba(200, 168, 64, 0.18);
  --glass-border-stone: rgba(106, 104, 96, 0.30);

  /* Shadows */
  --shadow-earth: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-amber: 0 0 24px rgba(212, 135, 42, 0.25);
  --shadow-deep: 0 16px 48px rgba(0, 0, 0, 0.8);
  --shadow-stone: 0 4px 16px rgba(0, 0, 0, 0.5);

  /* Spacing */
  --section-gap-desktop: 110px;
  --section-gap-mobile: 70px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Max Width */
  --max-width: 1320px;

  /* Transitions */
  --transition-natural: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: var(--jungle-black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45, 90, 39, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 135, 42, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(26, 18, 8, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--amber-glow);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--amber-light);
}

ul, ol {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bone);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-amber { color: var(--amber-glow); }
.text-gold { color: var(--jungle-gold); }
.text-bio { color: var(--bio-green); }
.text-bone { color: var(--text-bone); }
.text-muted { color: var(--text-muted); }

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

.section {
  padding: var(--section-gap-desktop) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-family: 'Georgia', serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-glow);
  background: var(--glass-amber);
  border: 1px solid rgba(212, 135, 42, 0.25);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ===========================
   DIVIDERS & SEPARATORS
=========================== */
.stone-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber-glow), transparent);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* ===========================
   HEADER / NAV
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition-natural);
}

.header-top-bar {
  background: var(--jungle-black);
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border-stone);
  font-family: 'Georgia', serif;
  font-size: 0.75rem;
  color: var(--text-stone);
  transition: var(--transition-natural);
  max-height: 40px;
  overflow: hidden;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header.scrolled .header-top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-inner {
  background: rgba(10, 14, 8, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border-stone);
  padding: 18px 32px;
  transition: var(--transition-natural);
}

.site-header.scrolled .header-inner {
  background: rgba(10, 14, 8, 0.92);
  border-bottom-color: rgba(212, 135, 42, 0.2);
  padding: 14px 32px;
}

.header-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--clay-brown), var(--amber-glow));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-amber);
  border: 1px solid rgba(212, 135, 42, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand-name {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bone);
  letter-spacing: 0.05em;
}

.logo-text .brand-sub {
  font-size: 0.65rem;
  color: var(--amber-glow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-glow), var(--jungle-gold));
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--amber-light);
  background: rgba(212, 135, 42, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--amber-glow);
}

/* CTA Button */
.btn-enter {
  background: linear-gradient(135deg, var(--clay-brown) 0%, var(--amber-warm) 50%, var(--jungle-gold) 100%);
  color: var(--jungle-black);
  font-family: 'Georgia', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 135, 42, 0.3);
  transition: var(--transition-natural);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 135, 42, 0.45);
  color: var(--jungle-black);
  background: linear-gradient(135deg, var(--amber-warm) 0%, var(--jungle-gold-light) 100%);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border-stone);
  color: var(--text-bone);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--amber-glow);
  color: var(--amber-glow);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 8, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.mobile-nav-links a {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  color: var(--text-bone);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--amber-glow);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--glass-border-stone);
  color: var(--text-bone);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.mobile-nav-close:hover {
  border-color: var(--amber-glow);
  color: var(--amber-glow);
}

.mobile-nav-deco {
  position: absolute;
  bottom: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: var(--transition-natural);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clay-brown) 0%, var(--amber-warm) 50%, var(--jungle-gold) 100%);
  color: var(--jungle-black);
  box-shadow: 0 6px 20px rgba(212, 135, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 135, 42, 0.5);
  color: var(--jungle-black);
}

.btn-secondary {
  background: transparent;
  color: var(--text-bone);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--amber-glow);
  color: var(--amber-light);
  background: var(--glass-amber);
  box-shadow: 0 6px 20px rgba(212, 135, 42, 0.15);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 14, 8, 0.95) 0%, rgba(15, 26, 12, 0.85) 40%, rgba(26, 18, 8, 0.90) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(45, 90, 39, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(212, 135, 42, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(196, 90, 26, 0.08) 0%, transparent 40%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 60px 0;
}

/* Hero Left */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 135, 42, 0.12);
  border: 1px solid rgba(212, 135, 42, 0.28);
  padding: 8px 20px;
  border-radius: 24px;
  width: fit-content;
}

.hero-badge span {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--bio-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-bone);
}

.hero-headline .highlight {
  background: linear-gradient(135deg, var(--amber-glow), var(--jungle-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.85;
}

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

.hero-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 440px;
  padding: 12px 16px;
  background: rgba(10, 14, 8, 0.5);
  border: 1px solid rgba(106, 104, 96, 0.2);
  border-radius: var(--radius-sm);
}

/* Hero Right - Game Visual */
.hero-game-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-temple-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, var(--mossy-shadow) 0%, var(--volcanic-dark) 100%);
  border: 1.5px solid rgba(212, 135, 42, 0.2);
  box-shadow:
    0 0 60px rgba(212, 135, 42, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(212, 135, 42, 0.15);
}

.temple-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  position: relative;
}

.temple-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 135, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(90, 170, 96, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.dino-reel-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.reel-slot {
  aspect-ratio: 1;
  background: rgba(26, 18, 8, 0.8);
  border: 1.5px solid rgba(212, 135, 42, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.reel-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(212, 135, 42, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.reel-slot.glow-amber {
  border-color: rgba(212, 135, 42, 0.5);
  box-shadow: 0 0 16px rgba(212, 135, 42, 0.2), inset 0 2px 8px rgba(0,0,0,0.5);
}

.reel-slot.glow-gold {
  border-color: rgba(200, 168, 64, 0.5);
  box-shadow: 0 0 16px rgba(200, 168, 64, 0.2), inset 0 2px 8px rgba(0,0,0,0.5);
}

.temple-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
}

.temple-vines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.vine {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, var(--jungle-green), transparent);
  border-radius: 1px;
  opacity: 0.4;
  animation: vine-sway 6s ease-in-out infinite;
}

.vine:nth-child(1) { left: 8%; top: 0; height: 35%; animation-delay: 0s; }
.vine:nth-child(2) { right: 10%; top: 0; height: 28%; animation-delay: 1.5s; }
.vine:nth-child(3) { left: 20%; top: 0; height: 20%; animation-delay: 3s; }
.vine:nth-child(4) { right: 25%; top: 0; height: 32%; animation-delay: 0.8s; }

@keyframes vine-sway {
  0%, 100% { transform: rotate(0deg); transform-origin: top; }
  33% { transform: rotate(2deg); transform-origin: top; }
  66% { transform: rotate(-1.5deg); transform-origin: top; }
}

/* ===========================
   STONE CARDS (Feature Cards)
=========================== */
.stone-card {
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-natural);
}

.stone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 135, 42, 0.3), transparent);
}

.stone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 135, 42, 0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stone-card:hover {
  border-color: rgba(212, 135, 42, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-earth), var(--shadow-amber);
}

.stone-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 135, 42, 0.15), rgba(200, 168, 64, 0.1));
  border: 1px solid rgba(212, 135, 42, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(212, 135, 42, 0.12);
}

.card-title {
  font-size: 1.15rem;
  color: var(--text-bone);
  margin-bottom: 12px;
  font-family: 'Georgia', serif;
  font-weight: 700;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Moss accent on cards */
.stone-card .moss-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 100% 100%, rgba(45, 90, 39, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ===========================
   GAME SECTION (Temple Core)
=========================== */
.game-section {
  padding: var(--section-gap-desktop) 0;
  position: relative;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-glow), var(--jungle-gold), transparent);
  opacity: 0.4;
}

.game-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-glow), var(--jungle-gold), transparent);
  opacity: 0.4;
}

.game-temple-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.game-temple-outer {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

/* Stone pillar decorations */
.temple-pillar {
  position: absolute;
  top: -20px;
  width: 48px;
  bottom: -20px;
  background: linear-gradient(180deg, var(--stone-dark) 0%, rgba(28,28,24,0.6) 100%);
  border: 1px solid rgba(106, 104, 96, 0.4);
  z-index: 2;
}

.temple-pillar.left { left: -24px; border-radius: 8px 0 0 8px; }
.temple-pillar.right { right: -24px; border-radius: 0 8px 8px 0; }

.temple-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--clay-brown), var(--amber-glow));
  border-radius: 50% 50% 0 0;
  margin-top: -15px;
  box-shadow: 0 0 12px rgba(212, 135, 42, 0.3);
}

.game-iframe-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(212, 135, 42, 0.22);
  box-shadow:
    0 0 0 1px rgba(106, 104, 96, 0.3),
    0 0 60px rgba(212, 135, 42, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.7),
    inset 0 0 60px rgba(0, 0, 0, 0.3);
  background: var(--jungle-black);
}

.game-iframe-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clay-brown), var(--amber-glow), var(--jungle-gold), var(--amber-glow), var(--clay-brown));
  z-index: 2;
  opacity: 0.8;
}

.game-iframe-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clay-brown), var(--amber-glow), var(--jungle-gold), var(--amber-glow), var(--clay-brown));
  z-index: 2;
  opacity: 0.8;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

/* Vine corner overlays */
.vine-overlay {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 3;
}

.vine-overlay.top-left { top: -10px; left: -10px; }
.vine-overlay.top-right { top: -10px; right: -10px; transform: scaleX(-1); }
.vine-overlay.bottom-left { bottom: -10px; left: -10px; transform: scaleY(-1); }
.vine-overlay.bottom-right { bottom: -10px; right: -10px; transform: scale(-1); }

.vine-corner-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.vine-svg-path {
  stroke: var(--jungle-green-mid);
  stroke-width: 2;
  fill: none;
  opacity: 0.5;
}

/* Ambient mist */
.ambient-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(0deg, rgba(15, 26, 12, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* Game meta bar */
.game-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-top: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  backdrop-filter: blur(10px);
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.meta-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bio-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ===========================
   STATS SECTION
=========================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border-stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-stone);
}

.stat-item {
  padding: 36px 24px;
  background: var(--glass-stone);
  text-align: center;
  position: relative;
  transition: var(--transition-natural);
}

.stat-item:hover {
  background: rgba(28, 28, 24, 0.95);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--amber-glow), var(--jungle-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
}

/* ===========================
   FEATURES SECTION
=========================== */
.features-section {
  background: linear-gradient(180deg, transparent, rgba(15, 26, 12, 0.4), transparent);
}

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

/* ===========================
   ABOUT STRIP
=========================== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--mossy-shadow), var(--stone-dark));
  border: 1px solid var(--glass-border-stone);
}

.about-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.about-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 135, 42, 0.1) 0%, transparent 60%);
}

.about-dino-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px rgba(212, 135, 42, 0.4));
  animation: float-gentle 5s ease-in-out infinite;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content h2 {
  margin-bottom: 4px;
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.about-feature-item:hover {
  border-color: rgba(212, 135, 42, 0.22);
}

.feature-icon-sm {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 0.95rem;
  color: var(--text-bone);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================
   RESPONSIBLE GAMING BANNER
=========================== */
.resp-banner {
  background: linear-gradient(135deg, rgba(28, 28, 24, 0.9), rgba(26, 18, 8, 0.9));
  border: 1px solid rgba(90, 170, 96, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.resp-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bio-green-dim), transparent);
  opacity: 0.5;
}

.resp-icon {
  font-size: 3rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(90, 170, 96, 0.4));
}

.resp-content {
  flex: 1;
}

.resp-content h3 {
  color: var(--text-bone);
  margin-bottom: 8px;
}

.resp-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===========================
   PAGE HERO (Inner Pages)
=========================== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 135, 42, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(45, 90, 39, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-glow);
  background: rgba(212, 135, 42, 0.1);
  border: 1px solid rgba(212, 135, 42, 0.22);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 580px;
  margin: 0 auto;
}

/* ===========================
   LEGAL / CONTENT SECTIONS
=========================== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(106, 104, 96, 0.2);
}

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

.legal-section h3 {
  color: var(--amber-glow);
  margin-bottom: 20px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--amber-glow), var(--jungle-gold));
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-section p, .legal-section li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.legal-section ul li::before {
  content: '▸';
  color: var(--amber-glow);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(106, 104, 96, 0.15);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
  margin-bottom: 4px;
  display: block;
}

.contact-info-value {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Georgia', serif;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 14, 8, 0.6);
  border: 1px solid rgba(106, 104, 96, 0.3);
  border-radius: var(--radius-md);
  color: var(--text-bone);
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: rgba(212, 135, 42, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 135, 42, 0.08);
  background: rgba(10, 14, 8, 0.8);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: linear-gradient(180deg, var(--jungle-black) 0%, rgba(8, 10, 6, 1) 100%);
  border-top: 1px solid rgba(106, 104, 96, 0.25);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-glow), var(--jungle-gold), transparent);
  opacity: 0.25;
}

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

.footer-brand .logo-text .brand-name {
  font-size: 1.1rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--text-bone);
}

.footer-links a::before {
  content: '›';
  color: var(--amber-glow);
  opacity: 0.6;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 104, 96, 0.3), transparent);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.footer-legal a {
  color: var(--text-stone);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--amber-glow);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(122, 128, 104, 0.5);
  text-align: center;
  letter-spacing: 0.12em;
}

/* Age badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(200, 168, 64, 0.12);
  border: 1.5px solid rgba(200, 168, 64, 0.3);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--jungle-gold);
  font-family: 'Georgia', serif;
  flex-shrink: 0;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.footer-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(28, 28, 24, 0.8);
  border: 1px solid rgba(106, 104, 96, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ===========================
   PAGE TRANSITIONS
=========================== */
.page-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ===========================
   BACKGROUND DECORATION
=========================== */
.bg-jungle-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(10, 14, 8, 0.8) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.section-bg-variation {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 18, 8, 0.15) 50%, transparent 100%);
}

.section-bg-dark {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 8, 0.6) 50%, transparent 100%);
}

/* ===========================
   ABOUT PAGE SPECIFIC
=========================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--amber-glow), var(--jungle-gold), transparent);
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--amber-glow);
  border-radius: 50%;
  border: 2px solid var(--jungle-black);
  box-shadow: 0 0 8px rgba(212, 135, 42, 0.5);
}

.timeline-item h4 {
  color: var(--amber-glow);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ===========================
   RESPONSIBLE GAMING PAGE
=========================== */
.resp-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resp-tool-card {
  background: var(--glass-stone);
  border: 1px solid var(--glass-border-stone);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-natural);
}

.resp-tool-card:hover {
  border-color: rgba(90, 170, 96, 0.25);
  transform: translateY(-3px);
}

.resp-tool-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(90, 170, 96, 0.3));
}

.resp-tool-title {
  font-size: 1.05rem;
  color: var(--text-bone);
  margin-bottom: 10px;
}

.resp-tool-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   GAME RULES PAGE
=========================== */
.rules-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.rules-table th {
  background: rgba(212, 135, 42, 0.1);
  color: var(--amber-glow);
  font-family: 'Georgia', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(212, 135, 42, 0.2);
}

.rules-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(106, 104, 96, 0.15);
}

.rules-table tr:hover td {
  background: rgba(28, 28, 24, 0.5);
}

.symbol-cell {
  font-size: 1.4rem;
}

/* ===========================
   HIGHLIGHT BOXES
=========================== */
.highlight-box {
  background: linear-gradient(135deg, rgba(212, 135, 42, 0.08), rgba(200, 168, 64, 0.05));
  border: 1px solid rgba(212, 135, 42, 0.2);
  border-left: 3px solid var(--amber-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.warning-box {
  background: linear-gradient(135deg, rgba(90, 170, 96, 0.06), transparent);
  border: 1px solid rgba(90, 170, 96, 0.2);
  border-left: 3px solid var(--bio-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--clay-brown), var(--amber-warm));
  border: none;
  border-radius: 50%;
  color: var(--jungle-black);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 135, 42, 0.35);
  transition: var(--transition-natural);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 135, 42, 0.5);
}

/* ===========================
   UTILITY CLASSES
=========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none; }