/* VLAD400MAXI
   Direction: neon green night + casino maxi (palette locked to OSMAKE)
   Type: Outfit display, JetBrains Mono utility
   Signature: Vlad coin lockup + 3D flip */

:root {
  --green: #a1f137;
  --green-bright: #b8ff00;
  --green-dim: #6aa318;
  --green-soft: rgba(161, 241, 55, 0.08);
  --green-glow: rgba(161, 241, 55, 0.35);
  --bg: #050505;
  --bg-2: #080808;
  --card: #0b0d0a;
  --card-border: #1c2614;
  --line: #222f16;
  --text: #f0f0f0;
  --muted: #8f8f8f;
  --muted-2: #636363;

  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-md: 0.875rem;
  --fs-base: 0.9375rem;
  --fs-lg: 1.0625rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.5rem;
  --fs-display: clamp(2.75rem, 6.2vw, 4.5rem);

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-body: 1.55;
  --tracking-tight: -0.035em;
  --tracking-wide: 0.14em;

  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-pill: 0;

  --header-h: 64px;
  --ticker-h: 26px;
  --max: 1120px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --flip-ms: 1400ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .coin.is-flipping {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0.005em;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--green);
  color: #000;
  padding: 0.55rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 47, 22, 0.7);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: min(100% - 1.5rem, var(--max));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: #000;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text span {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  color: #bdbdbd;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--green);
  color: var(--green) !important;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--green);
  color: #000 !important;
}

/* Wallet CTA above coin — same footprint as bet-submit / primary buttons */
.wallet-cta {
  width: 100%;
  min-height: 48px;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}

.wallet-cta .wallet-btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.wallet-cta.is-connected {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.wallet-cta.is-connected:hover {
  background: var(--green-soft);
  box-shadow: none;
}

.wallet-cta.is-connected .wallet-btn-dot {
  background: var(--green);
  box-shadow: 0 0 6px var(--green-glow);
}

.wallet-cta.is-wrong-network {
  border-color: #e8a317;
  color: #e8a317;
  background: transparent;
}

.wallet-cta.is-wrong-network:hover {
  background: rgba(232, 163, 23, 0.12);
  box-shadow: none;
}

.wallet-cta.is-wrong-network .wallet-btn-dot {
  background: #e8a317;
}

.wallet-cta:disabled {
  opacity: 0.55;
  cursor: wait;
}

.wallet-btn-bal {
  font-size: 10px;
  opacity: 0.85;
  font-weight: 500;
}

.wallet-cta .wallet-status,
.flip-panel > .wallet-status {
  margin: -0.35rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #e8a317;
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 0 24px var(--green-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--green-dim);
  color: var(--green);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Hero landing ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #050505;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
}

.hero-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.42) 40%, rgba(5, 5, 5, 0.78) 100%),
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(161, 241, 55, 0.08) 0%, transparent 65%),
    linear-gradient(to right, rgba(5, 5, 5, 0.55) 0%, transparent 22%, transparent 78%, rgba(5, 5, 5, 0.55) 100%);
}

.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(161, 241, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 241, 55, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black 20%, transparent 75%);
}

.hero-main {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
  width: 100%;
}

.hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.hero-logo-frame {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(104px, 16vw, 148px);
  height: clamp(104px, 16vw, 148px);
  border: 2px solid var(--green);
  background: #000;
  padding: 4px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(161, 241, 55, 0.15), 0 0 40px rgba(161, 241, 55, 0.18);
}

.hero-logo-coin {
  border-radius: 50%;
  overflow: hidden;
  animation: coin-float 5s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

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

.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.hero-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--green);
}

.hero-titles h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero-titles h1 .accent {
  color: var(--green);
}

.hero-kicker {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.6vw, 0.98rem);
  color: #c8c8c8;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- App chrome: tickers + sticky header ---------- */
.app-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-chrome .site-header {
  position: relative;
  top: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Win marquee — small abbreviated wallets */
.win-ticker {
  height: var(--ticker-h);
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 47, 22, 0.55);
  background: rgba(8, 10, 6, 0.95);
  display: flex;
  align-items: center;
}

.win-ticker-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
  padding-inline: 0.5rem;
  will-change: transform;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.win-item {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.win-addr {
  color: #a8a8a8;
}

.win-verb {
  color: var(--muted-2);
}

.win-amt {
  color: var(--green);
  font-weight: 600;
}

.win-sep {
  color: rgba(106, 163, 24, 0.45);
  font-size: 10px;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .win-ticker-track {
    animation: none;
  }
}

/* ---------- App page ---------- */
.page-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  position: relative;
  flex: 1;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h) - var(--ticker-h) - 72px);
}



.app-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.app-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.app-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.88) 100%),
    radial-gradient(ellipse 55% 50% at 50% 40%, rgba(161, 241, 55, 0.1) 0%, transparent 70%);
}

.app-stage {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.5rem;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.app-stage-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(100% - 2rem, 560px);
  margin-inline: auto;
}

.app-head {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.55rem;
}

.app-head h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

.app-sub {
  margin: 0.55rem 0 0;
  color: #c5c5c5;
  font-size: var(--fs-md);
}

/* Flip panel */
.flip-panel {
  width: 100%;
  padding: 1.75rem 1.25rem 1.5rem;
  background: rgba(8, 10, 6, 0.72);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(161, 241, 55, 0.04), 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.coin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.coin-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.coin-btn:disabled {
  cursor: wait;
}

.coin-scene {
  width: min(72vw, 260px);
  height: min(72vw, 260px);
  perspective: 1000px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 20px rgba(161, 241, 55, 0.15));
}

.coin {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--flip-ms) cubic-bezier(0.22, 0.8, 0.25, 1);
}

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border: 3px solid var(--green);
  box-shadow: inset 0 0 0 2px #000;
}

.coin-heads {
  background: #000;
}

.coin-heads img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  user-select: none;
  pointer-events: none;
}

.coin-tails {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 35% 30%, #1a220f 0%, #0a0c08 55%, #050505 100%);
  display: grid;
  place-items: center;
}

.tails-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--green);
}

.tails-mark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 20px var(--green-glow);
}

.tails-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: 600;
}

.coin-hint {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.flip-result {
  margin: 0;
  min-height: 1.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

.flip-result.is-heads {
  color: var(--green);
}

.flip-result.is-tails {
  color: var(--green-bright);
}

.flip-result.is-spinning {
  color: var(--muted);
}

.flip-controls {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.55rem;
  width: 100%;
}

.flip-controls .btn {
  min-height: 44px;
  padding-inline: 0.5rem;
  font-size: var(--fs-sm);
}

.flip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.app-foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(34, 47, 22, 0.7);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.site-footer-compact {
  padding: 1.1rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--muted-2);
}

.footer-bottom-center {
  justify-content: center;
  text-align: center;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: var(--green);
}

/* ---------- Bet panel (shown when wallet connected) ---------- */
.bet-panel {
  width: 100%;
  padding: 1.25rem 1.1rem 1.15rem;
  background: rgba(8, 10, 6, 0.78);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bet-panel-head {
  text-align: center;
}

.bet-panel-sub {
  margin: 0.35rem 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.bet-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.bet-side {
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.bet-side.is-active {
  border-color: var(--green);
  color: #000;
  background: var(--green);
}

.bet-side:hover:not(.is-active) {
  border-color: var(--green-dim);
  color: var(--green);
}

.bet-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bet-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.bet-input-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.bet-input-row:focus-within {
  border-color: var(--green-dim);
}

.bet-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.bet-input::-webkit-outer-spin-button,
.bet-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bet-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.bet-unit {
  padding: 0 0.85rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--green);
  font-weight: 600;
}

.bet-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.bet-preset {
  min-height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bet-preset:hover {
  border-color: var(--green-dim);
  color: var(--green);
}

.bet-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
}

.bet-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.bet-meta-row strong {
  color: var(--green);
  font-weight: 700;
}

.bet-submit {
  width: 100%;
  min-height: 48px;
}

.flip-result.is-win {
  color: var(--green-bright);
}

.flip-result.is-lose {
  color: #e8a317;
}

@media (max-width: 420px) {
  .bet-presets {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s var(--ease), opacity 0.22s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
  }

  .nav a:hover {
    border-color: var(--line);
    background: var(--green-soft);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .flip-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-text {
    font-size: var(--fs-md);
  }

  .hero-titles h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
}
