@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --black:       #000000;
  --black-2:     #0A0A0A;
  --black-3:     #111111;
  --black-4:     #1A1A1A;
  --white:       #FFFFFF;
  --white-dim:   rgba(255,255,255,0.55);
  --white-faint: rgba(255,255,255,0.08);
  --gold:        #FFD700;
  --green:       #22C55E;
  --red:         #E03030;
  --yellow:      #FFD700;
  --radius:      16px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Nav ─────────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  transition: backdrop-filter 0.3s, background 0.3s;
}
nav.scrolled {
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 4px;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white-dim); transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 24px; background: var(--gold); color: var(--black) !important;
  border-radius: 100px; font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 101; position: relative; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,215,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid rgba(255,215,0,0.3); border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px; animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.hero-logo-wrap { display: flex; align-items: center; gap: 20px; justify-content: center; animation: fadeUp 0.8s 0.1s ease both; }
.hero-logo-img { width: 90px; height: 90px; border-radius: 20px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  line-height: 0.9; letter-spacing: 8px; color: var(--white);
}
.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px); font-weight: 300; color: var(--white-dim);
  max-width: 480px; margin: 24px auto 0; animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; margin-top: 48px;
  flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px;
  background: var(--gold); color: var(--black); border-radius: 100px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(255,215,0,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,215,0,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 100px;
  font-size: 15px; font-weight: 500; color: var(--white-dim);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: var(--white); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1s 0.6s ease both;
}
.hero-scroll span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top}
  51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom}
}

/* ── Sections ─────────────────────────────────────────────────────────────────── */
section { padding: 100px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); letter-spacing: 3px; line-height: 1; color: var(--white); margin-bottom: 20px; }
.section-body { font-size: 16px; font-weight: 300; color: var(--white-dim); max-width: 560px; line-height: 1.75; }
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent); }

/* ── Play section ─────────────────────────────────────────────────────────────── */
#play {
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 80px 24px;
}
.play-header { text-align: center; margin-bottom: 48px; }
.play-header .section-body { margin: 0 auto; }

/* ── Game container ───────────────────────────────────────────────────────────── */
#game-container {
  max-width: 600px; margin: 0 auto;
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

/* Top bar */
.game-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.4);
}
.game-balance {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; font-family: var(--font-mono);
}
.game-balance img { width: 18px; height: 18px; }
.game-phase-label {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--white-dim); font-family: var(--font-mono);
}
.game-island-label { font-size: 12px; color: var(--white-dim); font-weight: 500; }

/* Table */
.game-table {
  position: relative; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 28px 20px;
  background-image: url('assets/table_1.png');
  background-size: cover; background-position: center top;
}
.game-table::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.35); pointer-events: none;
}
.game-table > * { position: relative; z-index: 1; }

.dealer-zone, .player-zone {
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%;
}
.zone-label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.cards-row { display: flex; align-items: flex-start; gap: 8px; min-height: 98px; justify-content: center; }
.cards-placeholder { height: 98px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,0.1); }

/* Cards */
.card {
  width: 68px; height: 98px; border-radius: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7px; font-family: var(--font-body); font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  position: relative; overflow: hidden;
}
.card.face-up { background: #F8F4EE; color: #1a1a1a; }
.card.face-down {
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.1);
}
.card.face-down::after {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/clab_diamond.png') center/40% no-repeat;
  opacity: 0.25;
}
.card.red .card-rank,
.card.red .card-suit,
.card.red .card-suit-center { color: #C0392B; }
.card-corner { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.card-rank { font-size: 14px; font-weight: 800; }
.card-suit { font-size: 11px; }
.card-suit-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; opacity: 0.12;
}
.card-corner.bottom { transform: rotate(180deg); position: absolute; bottom: 7px; right: 7px; }
.card.new-card { animation: cardDeal 0.28s ease both; }
@keyframes cardDeal { from{transform:translateY(-18px) scale(.88);opacity:0} to{transform:none;opacity:1} }

/* Score badges */
.score-badge {
  padding: 4px 14px; background: rgba(0,0,0,0.7); border-radius: 100px;
  font-size: 13px; font-weight: 700; color: var(--white);
  border: 1px solid rgba(255,255,255,0.12); font-family: var(--font-mono);
  min-width: 48px; text-align: center; transition: all 0.2s;
}
.score-badge.bust  { color: var(--red);   border-color: rgba(224,48,48,0.4); }
.score-badge.soft  { color: #A8D8EA; }

/* Middle message area */
.game-middle {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; min-height: 40px;
}

/* ── Controls ─────────────────────────────────────────────────────────────────── */
.game-controls {
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

/* Betting zone */
#bet-zone {
  flex-direction: column; gap: 14px; align-items: center;
}
.bet-display {
  display: flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 700; font-family: var(--font-mono);
}
.bet-display img { width: 20px; height: 20px; }
#chips-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* Chip */
.chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; padding: 0;
  transition: transform 0.12s, box-shadow 0.12s; user-select: none;
}
.chip:hover  { transform: scale(1.08); }
.chip:active { transform: scale(0.9); }
.chip svg { position: absolute; inset: 0; }
.chip-label {
  position: relative; z-index: 1;
  font-size: 12px; font-weight: 800; color: white; font-family: var(--font-mono);
  pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.bet-actions { display: flex; gap: 10px; align-items: center; }
.btn-clear {
  padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); color: var(--white-dim); transition: all 0.2s;
}
.btn-clear:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-rebet {
  padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,215,0,0.2); color: rgba(255,215,0,0.6); transition: all 0.2s;
  display: none;
}
.btn-rebet:hover { border-color: rgba(255,215,0,0.5); color: var(--gold); }
.btn-deal {
  padding: 12px 36px; border-radius: 100px; font-size: 14px; font-weight: 700;
  background: var(--gold); color: var(--black);
  box-shadow: 0 0 20px rgba(255,215,0,0.2); transition: all 0.2s;
}
.btn-deal:hover:not(:disabled) { box-shadow: 0 0 32px rgba(255,215,0,0.5); transform: translateY(-1px); }
.btn-deal:disabled { opacity: 0.3; cursor: not-allowed; }

/* Action zone */
#action-zone { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-action {
  padding: 12px 28px; border-radius: 100px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.5px; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.15); color: var(--white);
}
.btn-action:hover:not(:disabled) { transform: translateY(-2px); }
.btn-action:disabled { opacity: 0.25; cursor: not-allowed; }
.btn-hit    { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.3); }
.btn-hit:hover:not(:disabled)    { background: rgba(34,197,94,0.22); border-color: rgba(34,197,94,0.5); }
.btn-stand  { background: rgba(224,48,48,0.12);  border-color: rgba(224,48,48,0.3); }
.btn-stand:hover:not(:disabled)  { background: rgba(224,48,48,0.22); border-color: rgba(224,48,48,0.5); }
.btn-double { background: rgba(255,215,0,0.08);  border-color: rgba(255,215,0,0.25); }
.btn-double:hover:not(:disabled) { background: rgba(255,215,0,0.18); border-color: rgba(255,215,0,0.4); }

/* Insurance zone */
#insurance-zone {
  flex-direction: column; gap: 12px; align-items: center; text-align: center;
}
.insurance-title { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.insurance-cost  { font-size: 12px; color: var(--white-dim); }
.insurance-cost span { color: var(--gold); font-weight: 700; font-family: var(--font-mono); }
.insurance-btns  { display: flex; gap: 10px; }
.btn-ins-accept  {
  padding: 10px 24px; border-radius: 100px; font-size: 13px; font-weight: 700;
  background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.4); color: var(--gold); transition: all 0.2s;
}
.btn-ins-accept:hover { background: rgba(255,215,0,0.25); }
.btn-ins-decline {
  padding: 10px 24px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); color: var(--white-dim); transition: all 0.2s;
}
.btn-ins-decline:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }

/* Dealing zone */
#dealing-zone { justify-content: center; }
.dealing-dots { display: flex; gap: 6px; }
.dealing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: dotPulse 1.2s ease infinite;
}
.dealing-dots span:nth-child(2) { animation-delay: 0.2s; }
.dealing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1)} }

/* Result zone */
#result-zone { flex-direction: column; gap: 0; }
.result-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 12px;
}
.result-title { font-size: 17px; font-weight: 900; line-height: 1; }
.result-net-wrap { display: flex; align-items: center; gap: 4px; }
.result-net { font-size: 17px; font-weight: 900; font-family: var(--font-mono); }
.result-net-diamond { width: 17px; height: 17px; }
.result-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; width: 100%; }
.result-row { display: flex; align-items: center; justify-content: space-between; }
.result-row-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); }
.result-row-value { font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 3px; font-family: var(--font-mono); }
.btn-newround {
  width: 100%; padding: 13px; border-radius: 24px; font-size: 15px; font-weight: 700;
  background: var(--white); color: var(--black);
  box-shadow: 0 0 24px rgba(255,255,255,0.08); transition: all 0.2s;
}
.btn-newround:hover { box-shadow: 0 0 36px rgba(255,255,255,0.2); transform: translateY(-1px); }

/* Broke zone */
#broke-zone { display: none; flex-direction: column; gap: 10px; width: 100%; }
.btn-broke-refill {
  width: 100%; padding: 13px; border-radius: 24px; font-size: 14px; font-weight: 700;
  background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-broke-refill img { width: 14px; height: 14px; }

/* ── Features ─────────────────────────────────────────────────────────────────── */
#features { background: var(--black); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 60px; }
.feature-card {
  background: var(--black-3); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 32px; transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(255,215,0,0.2); transform: translateY(-3px); }
.feature-icon { font-size: 28px; margin-bottom: 20px; display: block; }
.feature-title { font-family: var(--font-display); font-size: 24px; letter-spacing: 2px; margin-bottom: 10px; }
.feature-body { font-size: 14px; font-weight: 300; color: var(--white-dim); line-height: 1.7; }

/* ── Islands ──────────────────────────────────────────────────────────────────── */
#islands { background: var(--black-2); border-top: 1px solid rgba(255,255,255,0.05); }
.islands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 48px; }
.island-card {
  background: var(--black-3); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 20px; transition: border-color 0.2s;
}
.island-card:hover { border-color: rgba(255,215,0,0.2); }
.island-number { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 2px; }
.island-name { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; margin: 6px 0 4px; }
.island-meta { font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); }
.island-locked { display: inline-block; margin-top: 8px; font-size: 10px; padding: 2px 8px; border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; color: rgba(255,255,255,0.25); }
.island-open   { display: inline-block; margin-top: 8px; font-size: 10px; padding: 2px 8px; border: 1px solid rgba(34,197,94,0.3); border-radius: 100px; color: var(--green); }

/* ── Download ─────────────────────────────────────────────────────────────────── */
#download { text-align: center; background: var(--black); position: relative; overflow: hidden; }
#download::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,215,0,0.05), transparent);
  pointer-events: none;
}
.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px;
  background: var(--white); color: var(--black); border-radius: 16px;
  font-size: 15px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(255,255,255,0.1);
}
.app-store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,255,255,0.15); }
.store-icon { font-size: 22px; }
.store-text small { display: block; font-size: 10px; font-weight: 400; opacity: 0.6; letter-spacing: 0.5px; }
.coming-soon-label { display: block; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 2px; text-transform: uppercase; }
.download-title { margin: 0 auto 16px; }
.download-body  { margin: 0 auto 48px; text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────────────────── */
footer { padding: 48px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: 4px; color: rgba(255,255,255,0.3); }
.footer-logo span { color: rgba(255,215,0,0.4); }
.footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.15); letter-spacing: 0.5px; width: 100%; text-align: center; margin-top: 8px; }

/* ── Legal pages ──────────────────────────────────────────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 120px 24px 80px; }
.legal-page h1 { font-family: var(--font-display); font-size: 56px; letter-spacing: 4px; margin-bottom: 8px; }
.legal-meta { font-size: 13px; color: rgba(255,255,255,0.25); margin-bottom: 40px; font-family: var(--font-mono); }
.legal-lang-switch { display: inline-flex; gap: 2px; background: var(--black-3); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 4px; margin-bottom: 48px; }
.legal-lang-switch button { padding: 6px 20px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--white-dim); transition: all 0.2s; }
.legal-lang-switch button.active { background: var(--white); color: var(--black); }
.legal-content h2 { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; margin: 48px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255,215,0,0.3); }
.legal-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); margin: 48px 0; }

/* Support */
.support-page { max-width: 600px; margin: 0 auto; padding: 140px 24px 80px; text-align: center; }
.support-page h1 { font-family: var(--font-display); font-size: 56px; letter-spacing: 4px; margin-bottom: 16px; }
.support-page p { font-size: 16px; font-weight: 300; color: var(--white-dim); margin-bottom: 40px; line-height: 1.7; }
.support-email { display: inline-flex; align-items: center; gap: 12px; padding: 18px 36px; background: var(--black-3); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; font-size: 16px; font-weight: 500; transition: border-color 0.2s, transform 0.2s; }
.support-email:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-2px); }

/* Animations */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Mobile ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: rgba(0,0,0,0.97); justify-content: center; align-items: center; gap: 40px; z-index: 99;
  }
  .nav-links.open a { font-size: 18px; }
  .nav-burger { display: flex; }
  .hero-logo-img { width: 60px; height: 60px; }
  .hero-title { font-size: 80px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  section { padding: 70px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .islands-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  #chips-row { gap: 6px; }
  .chip { width: 50px; height: 50px; }
  .btn-action { padding: 10px 18px; font-size: 13px; }
}
