/* ============================================
   GATOTKACA123 — DESIGN SYSTEM
   "Wayang Modern" — Editorial mythological
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — midnight + royal gold */
  --night-deep: #060814;
  --night: #0b0f24;
  --night-soft: #131836;
  --night-elevated: #1a204a;
  --ink: #f6efde;
  --ink-soft: #c8c2b0;
  --ink-muted: #7a7563;

  --gold: #c9a35a;
  --gold-bright: #e3c074;
  --gold-deep: #8e6c2e;
  --gold-haze: rgba(201, 163, 90, 0.12);

  --crimson: #b34952;
  --jade: #4a8b6b;
  --warning: #d97757;

  /* Type scale */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 780px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--night-deep);
  background-image:
    radial-gradient(ellipse 1200px 600px at 20% -10%, rgba(201, 163, 90, 0.08), transparent 50%),
    radial-gradient(ellipse 800px 500px at 90% 10%, rgba(72, 99, 173, 0.06), transparent 50%),
    radial-gradient(ellipse 1000px 800px at 50% 110%, rgba(201, 163, 90, 0.05), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--gold-bright); }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: var(--space-sm); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: var(--space-xs); font-family: var(--font-body); letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }

p { margin-bottom: var(--space-sm); color: var(--ink-soft); }
p strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 10px;
}

/* ============ Layout containers ============ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-md); position: relative; z-index: 2; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--space-md); position: relative; z-index: 2; }

section { padding: var(--space-xl) 0; position: relative; }
section.tight { padding: var(--space-lg) 0; }

/* Decorative divider — wayang-inspired */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: var(--space-lg) auto;
  max-width: 280px;
  opacity: 0.6;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider svg { width: 28px; height: 28px; color: var(--gold); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 163, 90, 0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  color: var(--night-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  font-style: italic;
}
.brand .num { color: var(--gold); font-weight: 400; font-style: italic; }

.nav-primary {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.nav-primary a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms var(--ease);
  position: relative;
}
.nav-primary a:hover { color: var(--gold); }
.nav-primary a.cta-mini {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--night-deep);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-primary a.cta-mini:hover { color: var(--night-deep); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; color: var(--gold); cursor: pointer; padding: 8px; }

@media (max-width: 880px) {
  .nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--night);
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(201, 163, 90, 0.2);
  }
  .nav-primary.open { display: flex; }
  .nav-primary a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-toggle { display: block; }
}

/* ============ Hero ============ */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(201, 163, 90, 0.18), transparent 60%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(40, 60, 130, 0.25), transparent 60%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (max-width: 880px) { .hero .container { grid-template-columns: 1fr; } }

.hero-content { animation: rise 1s var(--ease) both; }
.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 500; }
.hero .lead { margin-top: var(--space-md); }

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  animation: rise 1s var(--ease) 0.2s both;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--gold-haze), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.hero-visual svg { width: 100%; height: 100%; position: relative; z-index: 1; }

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

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: all 250ms var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--night-deep);
  box-shadow: 0 8px 24px -8px rgba(201, 163, 90, 0.5);
}
.btn-primary:hover {
  color: var(--night-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(201, 163, 90, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(201, 163, 90, 0.4);
}
.btn-ghost:hover { background: var(--gold-haze); color: var(--ink); border-color: var(--gold); }

.btn-large { padding: 18px 36px; font-size: 1rem; }

/* ============ Cards ============ */
.card {
  background: linear-gradient(180deg, var(--night-soft), var(--night));
  border: 1px solid rgba(201, 163, 90, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 300ms var(--ease);
  position: relative;
}
.card:hover {
  border-color: rgba(201, 163, 90, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
}
.card .card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.card .card-desc { color: var(--ink-soft); font-size: 0.95rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

/* Featured stat card */
.stat-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 32, 74, 0.4), rgba(11, 15, 36, 0.4));
  border: 1px solid rgba(201, 163, 90, 0.15);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ============ Trust strip ============ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(201, 163, 90, 0.12);
  border-bottom: 1px solid rgba(201, 163, 90, 0.12);
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.trust-strip .item svg { width: 16px; height: 16px; color: var(--gold); }

/* ============ Tables ============ */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-md) 0;
  font-size: 0.95rem;
}
thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 163, 90, 0.3);
  background: rgba(26, 32, 74, 0.3);
}
tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(201, 163, 90, 0.08);
  color: var(--ink-soft);
}
tbody tr:hover td { background: rgba(201, 163, 90, 0.04); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(201, 163, 90, 0.12); }

/* ============ Author / E-E-A-T ============ */
.author-box {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(26, 32, 74, 0.3);
  border: 1px solid rgba(201, 163, 90, 0.15);
  border-radius: var(--radius);
  margin: var(--space-md) 0;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--night-deep);
}
.author-meta { flex: 1; }
.author-meta .name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.author-meta .role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.author-meta .bio { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

.byline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(201, 163, 90, 0.12);
  font-size: 0.85rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.byline strong { color: var(--ink); font-weight: 500; }
.byline .dot { color: var(--gold); }

/* ============ Breadcrumbs ============ */
.crumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: var(--space-md) 0 0;
}
.crumb a { color: var(--ink-muted); }
.crumb a:hover { color: var(--gold); }
.crumb .sep { margin: 0 0.5rem; color: var(--gold); }
.crumb .current { color: var(--ink); }

/* ============ FAQ ============ */
details {
  border-bottom: 1px solid rgba(201, 163, 90, 0.12);
  padding: var(--space-md) 0;
  cursor: pointer;
}
details summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 300ms var(--ease);
}
details[open] summary::after { content: '−'; }
details .answer { padding-top: var(--space-sm); color: var(--ink-soft); }
details .answer p { margin-bottom: 0.5rem; }

/* ============ Footer ============ */
.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(201, 163, 90, 0.15);
  background: rgba(6, 8, 20, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 740px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}
.footer-col h4 { color: var(--gold); margin-bottom: var(--space-sm); font-size: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.9rem; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(201, 163, 90, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.footer-disclaimer {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-muted);
  max-width: 700px;
  line-height: 1.5;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(201, 163, 90, 0.08);
}

/* ============ Article body ============ */
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.article-body h3 { margin-top: var(--space-md); }
.article-body p { font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--space-sm); color: var(--ink-soft); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: var(--space-md); color: var(--ink-soft); }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  background: rgba(201, 163, 90, 0.05);
}
.article-body strong { color: var(--ink); font-weight: 600; }

/* ============ Step list ============ */
.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--space-md) 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) 64px;
  border-bottom: 1px solid rgba(201, 163, 90, 0.08);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.steps li h4 { margin-bottom: 4px; color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; text-transform: none; letter-spacing: normal; font-weight: 600; }
.steps li p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ============ Util ============ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.italic { font-style: italic; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* Promo card highlight */
.promo-card {
  background: linear-gradient(135deg, rgba(201, 163, 90, 0.12), rgba(26, 32, 74, 0.4));
  border: 1px solid rgba(201, 163, 90, 0.3);
  padding: var(--space-md);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold-haze), transparent 70%);
  border-radius: 50%;
}
.promo-card .promo-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  background: var(--gold);
  color: var(--night-deep);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 700;
}
.promo-card .promo-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin: 4px 0;
}

/* Game category card */
.game-card {
  position: relative;
  padding: var(--space-md);
  background: linear-gradient(180deg, var(--night-soft), var(--night));
  border: 1px solid rgba(201, 163, 90, 0.12);
  border-radius: var(--radius-lg);
  transition: all 300ms var(--ease);
  text-decoration: none;
  color: var(--ink);
  display: block;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--gold-haze), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(201, 163, 90, 0.4); color: var(--ink); }
.game-card:hover::before { opacity: 1; }
.game-card .game-icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}
.game-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.game-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.game-card .arrow {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: var(--space-sm);
  display: inline-block;
  transition: transform 300ms var(--ease);
}
.game-card:hover .arrow { transform: translateX(6px); }

/* Section header pattern */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-lg); }
.section-header.left { text-align: left; margin-left: 0; }

/* RTP display */
.rtp-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.rtp-track { flex: 1; height: 6px; background: rgba(201, 163, 90, 0.15); border-radius: 999px; overflow: hidden; }
.rtp-fill { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); border-radius: 999px; }
.rtp-value { color: var(--gold); font-weight: 500; min-width: 56px; text-align: right; }

/* Live indicator */
.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--jade);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--jade);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Reveal animation on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: all 800ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive helpers */
@media (max-width: 640px) {
  section { padding: var(--space-lg) 0; }
  .hero { padding: var(--space-lg) 0 var(--space-md); }
  .card-grid { grid-template-columns: 1fr; }
}
