/* ============================================
   JADE JAGUAR TEMPLE UI — DESIGN SYSTEM
   Brand: Zorelistudio | zorelistudio.live
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Backgrounds */
  --bg-primary: #020807;
  --bg-secondary: #052e2b;
  --bg-layer: #0b3f3b;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-blur: 18px;
  --glass-border: rgba(16, 185, 129, 0.15);

  /* Jade Accent */
  --jade-start: #10b981;
  --jade-end: #34d399;
  --jade-gradient: linear-gradient(135deg, #10b981, #34d399);

  /* Gold Accent */
  --gold-start: #f59e0b;
  --gold-end: #fbbf24;
  --gold-gradient: linear-gradient(135deg, #f59e0b, #fbbf24);

  /* Emerald Depth */
  --emerald-start: #065f46;
  --emerald-end: #047857;
  --emerald-gradient: linear-gradient(135deg, #065f46, #047857);

  /* Typography */
  --font-heading: 'Cinzel', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-padding: clamp(16px, 5vw, 40px);
  --section-padding: clamp(40px, 8vw, 120px);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Glow */
  --jade-glow: 0 0 20px rgba(16, 185, 129, 0.15), 0 0 60px rgba(16, 185, 129, 0.05);
  --jade-glow-strong: 0 0 30px rgba(16, 185, 129, 0.25), 0 0 80px rgba(16, 185, 129, 0.1);
  --gold-glow: 0 0 20px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.08);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* --- Layout System --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

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

/* --- Glass Card Mixin --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
  z-index: 1;
}

/* ============================================
   HEADER — STEALTH JAGUAR NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px var(--container-padding);
  width: 100%;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 46, 43, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 10px 24px;
  box-shadow: var(--jade-glow);
  position: relative;
}

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

.logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon .jaguar-face {
  font-size: 28px;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
}

.jaguar-eyes {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.jaguar-eye {
  width: 5px;
  height: 5px;
  background: var(--jade-end);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--jade-start), 0 0 16px var(--jade-start);
  animation: eyeGlow 3s ease-in-out infinite alternate;
}

.jaguar-eye:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes eyeGlow {
  0% { opacity: 0.6; box-shadow: 0 0 4px var(--jade-start); }
  100% { opacity: 1; box-shadow: 0 0 12px var(--jade-start), 0 0 24px var(--jade-end); }
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  background: var(--jade-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 500;
  color: rgba(226, 232, 240, 0.75);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jade-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--jade-end);
}

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

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gold-gradient);
  color: #0c0c0c;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--gold-glow);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35), 0 0 80px rgba(245, 158, 11, 0.15);
}

.btn-cta:active {
  transform: translateY(1px);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--jade-end);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(2, 8, 7, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.mobile-nav .nav-link {
  font-size: 1.3rem;
  color: rgba(226, 232, 240, 0.85);
  padding: 12px 20px;
}

.mobile-nav .btn-cta {
  margin-top: 16px;
  padding: 14px 36px;
  font-size: 1rem;
}

/* ============================================
   HERO — JADE TEMPLE AWAKENS
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) var(--container-padding) clamp(60px, 10vw, 120px);
}

/* Temple Background Layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(16, 185, 129, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(6, 95, 70, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 30%, rgba(245, 158, 11, 0.04), transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 15%, transparent 85%, var(--bg-primary) 100%);
  z-index: 1;
}

/* Fog Layers */
.fog-layer {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}

.fog-layer-1 {
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.15) 20%, transparent 40%, rgba(16, 185, 129, 0.1) 60%, transparent 80%);
  animation: fogDrift 25s linear infinite;
}

.fog-layer-2 {
  background: linear-gradient(90deg, transparent 10%, rgba(52, 211, 153, 0.1) 30%, transparent 50%, rgba(52, 211, 153, 0.08) 70%, transparent 90%);
  animation: fogDrift 35s linear infinite reverse;
  top: 30%;
}

@keyframes fogDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* Fireflies */
.fireflies {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--jade-end);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--jade-start), 0 0 16px var(--jade-end);
  animation: fireflyFloat 8s ease-in-out infinite;
  opacity: 0;
}

.firefly:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.firefly:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; animation-duration: 9s; }
.firefly:nth-child(3) { left: 50%; top: 30%; animation-delay: 3s; animation-duration: 6s; }
.firefly:nth-child(4) { left: 70%; top: 70%; animation-delay: 4.5s; animation-duration: 10s; }
.firefly:nth-child(5) { left: 85%; top: 40%; animation-delay: 2s; animation-duration: 8s; }
.firefly:nth-child(6) { left: 40%; top: 80%; animation-delay: 5s; animation-duration: 11s; }
.firefly:nth-child(7) { left: 60%; top: 15%; animation-delay: 6.5s; animation-duration: 7.5s; }
.firefly:nth-child(8) { left: 15%; top: 50%; animation-delay: 8s; animation-duration: 9.5s; }

@keyframes fireflyFloat {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.8; }
  50% { opacity: 0.4; transform: translate(30px, -20px); }
  80% { opacity: 0.9; }
}

/* Jade Stones Glow */
.jade-stones {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.jade-stone {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--jade-start);
  border-radius: 50%;
  opacity: 0.2;
  box-shadow: 0 0 20px var(--jade-start), 0 0 40px rgba(16, 185, 129, 0.15);
  animation: stoneGlow 4s ease-in-out infinite alternate;
}

.jade-stone:nth-child(1) { left: 5%; top: 85%; animation-delay: 0s; }
.jade-stone:nth-child(2) { left: 15%; top: 90%; animation-delay: 1s; width: 6px; height: 6px; }
.jade-stone:nth-child(3) { right: 10%; top: 80%; animation-delay: 2s; width: 10px; height: 10px; }
.jade-stone:nth-child(4) { right: 20%; top: 88%; animation-delay: 0.5s; }

@keyframes stoneGlow {
  0% { opacity: 0.15; }
  100% { opacity: 0.4; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: var(--jade-end);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .jade-text {
  background: var(--jade-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(226, 232, 240, 0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-jade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--jade-gradient);
  color: #020807;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--jade-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn-jade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
  pointer-events: none;
}

.btn-jade:hover {
  transform: translateY(-2px);
  box-shadow: var(--jade-glow-strong);
}

.btn-jade:active {
  transform: translateY(1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--jade-end);
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-ghost:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   GAME SECTION — MAIN FOCUS
   ============================================ */
.game-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.game-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: var(--jade-end);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: rgba(226, 232, 240, 0.6);
  max-width: 550px;
  margin: 0 auto;
}

/* Game Container */
.game-container {
  max-width: 960px;
  margin: 0 auto;
}

.game-panel {
  background: rgba(5, 46, 43, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--jade-glow);
  position: relative;
}

.game-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  z-index: 2;
}

.game-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
  z-index: 2;
}

.game-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #010504;
  overflow: hidden;
}

.game-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.game-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--emerald-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.game-title-text h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  margin-bottom: 2px;
}

.game-title-text p {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: rgba(226, 232, 240, 0.5);
}

.game-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-body);
}

.btn-sm-jade {
  background: var(--jade-gradient);
  color: #020807;
}

.btn-sm-jade:hover {
  box-shadow: var(--jade-glow);
  transform: translateY(-1px);
}

.btn-sm-ghost {
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--jade-end);
}

.btn-sm-ghost:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}

/* ============================================
   FEATURES — TEMPLE CARDS
   ============================================ */
.features-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(32px, 5vw, 48px);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.25), transparent);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.04), transparent 60%);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--jade-glow);
}

.feature-card:hover::after {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08), transparent 60%);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: clamp(0.85rem, 1.3vw, 0.92rem);
  color: rgba(226, 232, 240, 0.55);
  line-height: 1.6;
  flex: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 48px);
}

.about-visual {
  position: relative;
}

.about-card-visual {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.06), transparent 70%);
}

.about-emblem {
  font-size: clamp(4rem, 10vw, 7rem);
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.2));
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.about-emblem-label {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--jade-end);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.about-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.about-text p {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  background: var(--jade-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: rgba(226, 232, 240, 0.45);
  margin-top: 4px;
}

/* ============================================
   LEGAL / DISCLAIMER
   ============================================ */
.legal-banner {
  padding: clamp(24px, 4vw, 40px) 0;
}

.legal-banner-inner {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}

.legal-banner-inner p {
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  color: rgba(226, 232, 240, 0.65);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.legal-banner-inner strong {
  color: #fbbf24;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

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

.footer-brand p {
  font-size: clamp(0.85rem, 1.3vw, 0.92rem);
  color: rgba(226, 232, 240, 0.45);
  line-height: 1.7;
  max-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  color: var(--jade-end);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: rgba(226, 232, 240, 0.45);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--jade-end);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 185, 129, 0.06);
}

.footer-bottom p {
  font-size: clamp(0.75rem, 1.1vw, 0.82rem);
  color: rgba(226, 232, 240, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: clamp(0.75rem, 1.1vw, 0.82rem);
  color: rgba(226, 232, 240, 0.35);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--jade-end);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  margin-top: clamp(32px, 5vw, 48px);
}

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

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

.form-group label {
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: rgba(226, 232, 240, 0.7);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(5, 46, 43, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.3vw, 0.95rem);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

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

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

/* ============================================
   PAGE CONTENT SECTIONS
   ============================================ */
.page-hero {
  padding: clamp(100px, 15vw, 160px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(16, 185, 129, 0.06), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(226, 232, 240, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: clamp(32px, 6vw, 80px) 0;
}

.content-prose {
  max-width: 760px;
  margin: 0 auto;
}

.content-prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--jade-end);
}

.content-prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-prose p {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-prose ul {
  margin-bottom: 16px;
  padding-left: 0;
}

.content-prose ul li {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.content-prose ul li::before {
  content: '💎';
  position: absolute;
  left: 0;
  font-size: 0.8em;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Animated border */
.animated-border {
  position: relative;
}

.animated-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(16, 185, 129, 0.3) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 6s linear infinite;
  pointer-events: none;
}

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

/* Pulse */
.pulse-jade {
  animation: pulseJade 3s ease-in-out infinite;
}

@keyframes pulseJade {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-jade {
  background: var(--jade-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .header .btn-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero {
    min-height: 80vh;
    min-height: 80dvh;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-jade,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
  .game-info-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }
  .game-actions {
    width: 100%;
  }
  .game-actions .btn-sm {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: clamp(90px, 12vw, 130px) 0 clamp(30px, 5vw, 60px);
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 8px 16px;
  }
  .logo-text {
    font-size: 0.9rem;
  }
  .game-panel {
    border-radius: var(--radius-md);
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}