﻿/* Amed Casino — Amedspor: yeşil · beyaz · kırmızı */
:root {
  --navy-950: #070b07;
  --navy-900: #0c140c;
  --navy-800: #132016;
  --navy-700: #1c2f1f;
  --blue-500: #2f8a12;
  --blue-400: #3f9e00;
  --cyan-300: #8fd36a;
  --gold-400: #ff3b3b;
  --gold-300: #ff5a5a;
  --gold-600: #c4000c;
  --foam: #f5f7f4;
  --foam-muted: #a7b5a8;
  --surface: rgba(16, 28, 18, 0.9);
  --line: rgba(143, 211, 106, 0.16);
  --accent: #e30613;
  --danger: #ff3b3b;
  --ok: #3f9e00;
  --radius: 14px;
  --header-h: 78px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--navy-950);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 480px at 50% -18%, rgba(63, 158, 0, 0.18), transparent 58%),
    radial-gradient(620px 340px at 100% 0%, rgba(227, 6, 19, 0.07), transparent 52%),
    linear-gradient(180deg, #0c140c 0%, #070b07 48%, #0c140c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  pointer-events: none;
  background-image: radial-gradient(rgba(143, 211, 106, 0.1) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ——— Top strip ——— */
.top-strip {
  background: rgba(6, 8, 13, 0.92);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--foam-muted);
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}

.top-strip-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 158, 0, 0.28);
  background: rgba(12, 20, 12, 0.75);
}

.lang-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foam-muted);
  background: transparent;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn:hover {
  color: var(--foam);
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #4db30a, #2f8a12);
}

.top-strip strong {
  color: var(--cyan-300);
  font-weight: 600;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(6, 8, 13, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(63, 158, 0, 0.45);
  box-shadow:
    0 0 0 2px rgba(12, 16, 24, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.35);
  background: #0c1018;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-text span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.hero-logo {
  width: min(168px, 42vw);
  height: auto;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  border: 2px solid rgba(63, 158, 0, 0.45);
  box-shadow:
    0 0 0 6px rgba(63, 158, 0, 0.12),
    0 24px 50px rgba(0, 0, 0, 0.45);
  animation: pulseRing 5s ease-in-out infinite;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.5rem;
}

.nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--foam-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--foam);
  background: rgba(63, 158, 0, 0.14);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.balance-pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 31, 61, 0.7);
  font-size: 0.85rem;
}

.balance-pill.is-visible {
  display: inline-flex;
}

.is-auth-hidden,
[hidden] {
  display: none !important;
}

.balance-pill em {
  font-style: normal;
  color: var(--cyan-300);
  font-weight: 700;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--foam);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.96);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--foam-muted);
}

.mobile-nav a:hover {
  background: rgba(63, 158, 0, 0.12);
  color: var(--foam);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 28px rgba(63, 158, 0, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(63, 158, 0, 0.42);
}

.btn-blue {
  background: linear-gradient(135deg, #ff3b3b, #c4000c);
  color: white;
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--foam);
}

.btn-ghost:hover {
  background: rgba(63, 158, 0, 0.1);
}

.btn-sm {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 34px);
  display: grid;
  align-items: end;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-flag {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(4, 11, 24, 0.92) 18%, rgba(4, 11, 24, 0.55) 48%, rgba(4, 11, 24, 0.82) 100%),
    radial-gradient(circle at 70% 40%, rgba(63, 158, 0, 0.35), transparent 42%),
    linear-gradient(160deg, #0a254d, #071428 60%, #040b18);
}

.hero-flag::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 140%;
  right: -8%;
  top: -20%;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 28px,
      rgba(63, 158, 0, 0.07) 28px 30px
    );
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  animation: flagDrift 18s linear infinite;
}

.hero-flag::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  border: 1px solid rgba(63, 158, 0, 0.22);
  box-shadow:
    0 0 0 28px rgba(63, 158, 0, 0.06),
    inset 0 0 80px rgba(63, 158, 0, 0.18);
  animation: pulseRing 5s ease-in-out infinite;
}

@keyframes flagDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.brand-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 12ch;
}

.brand-hero em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-400) 40%, #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 36ch;
  font-size: 1.08rem;
  color: var(--foam-muted);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-meta div span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foam-muted);
}

.hero-meta div strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ——— Sections ——— */
.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--foam-muted);
  max-width: 42ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* ——— Category rail ——— */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.cat-card {
  position: relative;
  min-height: 140px;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(63, 158, 0, 0.16), rgba(12, 31, 61, 0.4)),
    var(--surface);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: block;
}

.cat-card.is-active,
.cat-card.is-slot-filter.is-active {
  border-color: rgba(63, 158, 0, 0.55);
  background:
    linear-gradient(160deg, rgba(63, 158, 0, 0.16), rgba(12, 31, 61, 0.4)),
    var(--surface);
}

.cat-card:hover {
  border-color: rgba(63, 158, 0, 0.4);
  transform: translateY(-3px);
}

.cat-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.cat-card p {
  margin: 0;
  color: var(--foam-muted);
  font-size: 0.88rem;
}

.cat-card .tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(63, 158, 0, 0.12);
  border: 1px solid rgba(63, 158, 0, 0.28);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.cat-card.soon::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(63, 158, 0, 0.08);
}

/* ——— Odds / matches ——— */
.odds-board {
  display: grid;
  gap: 0.75rem;
}

.match-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.match-info {
  min-width: 0;
}

.match-league {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 0.25rem;
}

.match-teams {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.match-time {
  font-size: 0.82rem;
  color: var(--foam-muted);
  margin-top: 0.2rem;
}

.match-time .live {
  color: var(--danger);
  font-weight: 700;
  margin-right: 0.35rem;
}

.odds-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.odd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 58px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 40, 0.7);
  color: var(--foam);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.odd-btn:hover,
.odd-btn.is-selected {
  border-color: rgba(63, 158, 0, 0.55);
  background: rgba(63, 158, 0, 0.1);
  transform: translateY(-1px);
}

.odd-btn small {
  color: var(--foam-muted);
  font-size: 0.7rem;
}

.odd-btn strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-300);
}

/* ——— Coupons / promo ——— */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.promo-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(63, 158, 0, 0.12), transparent 55%),
    var(--surface);
}

.promo-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.promo-card p {
  margin: 0 0 1rem;
  color: var(--foam-muted);
  font-size: 0.9rem;
}

/* ——— Slot game tiles ——— */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.games-grid.pro-games {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.game-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--foam);
  background: #0a162c;
  box-shadow: 0 12px 28px rgba(2, 8, 20, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.game-slot:hover,
.game-slot:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(2, 8, 20, 0.5);
  outline: none;
}

.game-slot-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(63, 158, 0, 0.12), transparent 45%),
    linear-gradient(160deg, var(--g1, #1e6fff), var(--g2, #071428) 70%);
}

.game-slot-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}

.game-slot-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 11, 24, 0.92) 100%);
}

.game-slot-mark {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.game-slot-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.78);
  border: 1px solid rgba(63, 158, 0, 0.35);
  color: var(--cyan-300);
}

.game-slot-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.9rem 0.85rem 1rem;
}

.game-slot-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.game-slot-meta span {
  display: block;
  font-size: 0.76rem;
  color: var(--foam-muted);
}

.game-slot-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -40%);
  opacity: 0;
  pointer-events: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.game-slot:hover .game-slot-play,
.game-slot:focus-visible .game-slot-play {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.api-banner,
.soft-note {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(63, 158, 0, 0.28);
  background: rgba(63, 158, 0, 0.08);
  color: var(--foam-muted);
  font-size: 0.88rem;
}

.api-banner code,
.soft-note code {
  color: var(--gold-300);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84em;
}

.soft-note {
  border-style: dashed;
  background: transparent;
}

/* ——— Auth / wallet forms ——— */
.page-shell {
  padding: 2.5rem 0 4rem;
}

.panel {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel.wide {
  width: min(760px, 100%);
}

.panel h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.panel > p {
  margin: 0 0 1.4rem;
  color: var(--foam-muted);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--foam-muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.75);
  color: var(--foam);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: rgba(61, 139, 255, 0.7);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--foam-muted);
  text-align: center;
}

.form-note a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wallet-card {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(7, 20, 40, 0.55);
}

.wallet-card h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.stat-row:last-child {
  border-bottom: 0;
}

.stat-row strong {
  color: var(--gold-300);
}

/* ——— Slip drawer ——— */
.slip {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(340px, calc(100% - 2rem));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(63, 158, 0, 0.28);
  background: rgba(7, 20, 40, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  z-index: 120;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.slip.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.slip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.slip-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.slip-body {
  padding: 0.85rem 1rem;
  overflow: auto;
  flex: 1;
}

.slip-empty {
  color: var(--foam-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.slip-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.slip-item button {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
}

.slip-foot {
  padding: 0.95rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}

.slip-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 119;
  min-width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(63, 158, 0, 0.4);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: #1a1204;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(63, 158, 0, 0.35);
}

.slip-toggle .count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: #1a1204;
  color: var(--gold-300);
  font-size: 0.75rem;
}

/* ——— Age gate ——— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 6, 14, 0.88);
  backdrop-filter: blur(10px);
}

.age-gate[hidden] {
  display: none;
}

.age-box {
  width: min(420px, 100%);
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--navy-900);
  text-align: center;
}

.age-box h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.age-box p {
  margin: 0 0 1.25rem;
  color: var(--foam-muted);
}

.age-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  background: rgba(4, 11, 24, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--foam-muted);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--foam-muted);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  color: var(--gold-400);
  font-weight: 800;
  font-size: 0.72rem;
  margin-right: 0.45rem;
}

/* ——— Crypto deposit ——— */
.crypto-methods {
  display: grid;
  gap: 0.65rem;
}

.crypto-method {
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.7);
  color: var(--foam);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.crypto-method strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}

.crypto-method span {
  color: var(--foam-muted);
  font-size: 0.82rem;
}

.crypto-method.is-active,
.crypto-method:hover {
  border-color: rgba(63, 158, 0, 0.55);
  background: rgba(63, 158, 0, 0.1);
}

.crypto-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(63, 158, 0, 0.35);
  background:
    linear-gradient(160deg, rgba(63, 158, 0, 0.12), transparent 50%),
    rgba(7, 20, 40, 0.7);
}

.crypto-box-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.crypto-box-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.network-pill {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 158, 0, 0.4);
  color: var(--gold-300);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 0.75rem;
}

.address-row code {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.85);
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--cyan-300);
}

.crypto-hint {
  margin: 0 0 1.1rem;
  color: var(--foam-muted);
  font-size: 0.86rem;
}

.crypto-form {
  max-width: 520px;
}

.deposit-list {
  display: grid;
  gap: 0.75rem;
}

.deposit-item {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.55);
}

.deposit-item.status-pending {
  border-color: rgba(63, 158, 0, 0.35);
}

.deposit-item.status-approved {
  border-color: rgba(61, 214, 140, 0.35);
}

.deposit-item.status-rejected {
  border-color: rgba(255, 92, 108, 0.35);
}

.deposit-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.deposit-meta {
  color: var(--foam-muted);
  font-size: 0.84rem;
  margin-top: 0.2rem;
}

.deposit-meta code {
  color: var(--cyan-300);
  font-size: 0.78rem;
  word-break: break-all;
}

.status-pill {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-300);
  white-space: nowrap;
}

.deposit-actions {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--foam-muted);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-size: 0.82rem;
}

.filter-chip.is-active {
  color: var(--foam);
  border-color: rgba(63, 158, 0, 0.45);
  background: rgba(63, 158, 0, 0.12);
}

@media (max-width: 720px) {
  .deposit-item {
    grid-template-columns: 1fr;
  }

  .address-row {
    flex-direction: column;
  }
}

/* ——— Gamdom-inspired chrome ——— */
.has-bottom-nav {
  padding-bottom: 78px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(4, 11, 24, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.bottom-nav a,
.bottom-nav button {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  border: 0;
  background: transparent;
  color: var(--foam-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
  display: block;
}

.bottom-nav span {
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.bottom-nav a.is-active,
.bottom-nav a:hover,
.bottom-nav button:hover {
  color: var(--gold-300);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  align-items: start;
  padding: 1rem;
}

.search-overlay[hidden] {
  display: none !important;
}

.search-panel {
  width: min(720px, 100%);
  margin: 10vh auto 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--navy-900);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.search-head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.8);
  padding: 0 0.85rem;
  color: var(--foam-muted);
}

.search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-field input,
.search-head input {
  flex: 1;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--foam);
  padding: 0.65rem 0;
  outline: none;
}

.search-results {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.search-results a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--foam);
}

.search-results a em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--gold-300);
}

.search-results a:hover {
  border-color: var(--line);
  background: rgba(63, 158, 0, 0.1);
}

.search-empty {
  margin: 0.5rem 0 0;
  color: var(--foam-muted);
  font-size: 0.9rem;
}

.chat-sub {
  margin: 0.15rem 0 0;
  color: var(--foam-muted);
  font-size: 0.78rem;
}

.chat-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 100%);
  z-index: 170;
  display: flex;
  flex-direction: column;
  background: rgba(4, 11, 24, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.chat-drawer[hidden] {
  display: none !important;
}

.chat-head,
.chat-foot {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.chat-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.chat-foot input {
  flex: 1;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 40, 0.8);
  color: var(--foam);
  padding: 0.45rem 0.7rem;
}

.chat-body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.chat-msg {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(12, 31, 61, 0.7);
  border: 1px solid var(--line);
}

.chat-msg strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-300);
  margin-bottom: 0.2rem;
}

.chat-msg p {
  margin: 0;
  font-size: 0.88rem;
}

.chat-msg.is-system {
  background: rgba(63, 158, 0, 0.12);
}

.home-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.home-card {
  position: relative;
  min-height: 180px;
  border-radius: 18px;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.home-card.casino {
  background:
    radial-gradient(500px 220px at 80% 20%, rgba(63, 158, 0, 0.35), transparent 60%),
    linear-gradient(160deg, #0d274d, #071428);
}

.home-card.sports {
  background:
    radial-gradient(500px 220px at 80% 20%, rgba(63, 158, 0, 0.28), transparent 60%),
    linear-gradient(160deg, #2a1f08, #071428);
}

.home-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.home-card p {
  margin: 0 0 0.9rem;
  color: var(--foam-muted);
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  margin-bottom: 1.25rem;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 31, 61, 0.65);
  color: var(--foam-muted);
  cursor: pointer;
  font: inherit;
}

.search-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.feed-tabs {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.feed-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--foam-muted);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
}

.feed-tabs button.is-active {
  color: var(--foam);
  border-color: rgba(63, 158, 0, 0.45);
  background: rgba(63, 158, 0, 0.12);
}

.live-feed {
  display: grid;
  gap: 0.55rem;
}

.feed-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.88rem;
}

.feed-row strong {
  color: var(--gold-300);
}

.vip-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.vip-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.vip-card.is-current {
  border-color: rgba(63, 158, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(63, 158, 0, 0.2);
}

.vip-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.vip-card p {
  margin: 0;
  color: var(--foam-muted);
  font-size: 0.84rem;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(63, 158, 0, 0.12);
  overflow: hidden;
  margin-top: 0.65rem;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--gold-400));
}

@media (max-width: 800px) {
  .home-dual,
  .vip-levels {
    grid-template-columns: 1fr;
  }

  .feed-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) {
  .bottom-nav {
    display: none;
  }

  .has-bottom-nav {
    padding-bottom: 0;
  }
}

/* ——— Profile ——— */
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(63, 158, 0, 0.16), transparent 55%),
    var(--surface);
}

.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #1a1204;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  border: 2px solid rgba(63, 158, 0, 0.5);
}

.profile-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.profile-email {
  margin: 0.25rem 0 0.85rem;
  color: var(--foam-muted);
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.profile-stats span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam-muted);
}

.profile-stats strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.profile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0.75rem;
}

.profile-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--foam-muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.86rem;
}

.profile-tabs button.is-active {
  color: var(--foam);
  border-color: rgba(63, 158, 0, 0.45);
  background: rgba(63, 158, 0, 0.12);
}

.profile-tab-panel {
  margin-top: 0;
}

@media (max-width: 800px) {
  .profile-hero {
    grid-template-columns: auto 1fr;
  }

  .profile-hero-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

/* ——— Toasts ——— */
.toast-host {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 300;
  display: grid;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 40, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.is-in {
  opacity: 1;
  transform: none;
}

.toast.is-out {
  opacity: 0;
  transform: translateY(-8px);
}

.toast-bar {
  width: 4px;
  min-height: 100%;
  border-radius: 999px;
  background: var(--gold-400);
}

.toast-ok .toast-bar { background: var(--ok); }
.toast-warn .toast-bar { background: var(--gold-400); }
.toast-err .toast-bar { background: var(--danger); }
.toast-info .toast-bar { background: var(--blue-400); }

.toast-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.toast-body p {
  margin: 0;
  color: var(--foam-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.toast-close {
  border: 0;
  background: transparent;
  color: var(--foam-muted);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.15rem;
}

.toast-close:hover {
  color: var(--foam);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .cat-rail,
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr 1fr;
  }

  .match-row {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions [data-auth="login"] {
    display: none !important;
  }

  .cat-rail,
  .promo-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .games-grid.pro-games {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }

  .brand-hero {
    max-width: none;
  }

  .lobby-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .lobby-hero {
    min-height: auto;
    padding: 3rem 0 2.25rem;
  }

  .lobby-hero-bg::after {
    opacity: 0.16;
    width: min(70vw, 280px);
    height: min(70vw, 280px);
    right: -8%;
  }

  .section-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .toolbar {
    flex-direction: column;
  }

  .search-pill {
    width: 100%;
  }
}

/* ——— Professional lobby ——— */
.lobby-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(63, 158, 0, 0.12);
}

.lobby-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(63, 158, 0, 0.26), transparent 58%),
    radial-gradient(520px 280px at 12% 85%, rgba(227, 6, 19, 0.1), transparent 55%),
    linear-gradient(120deg, #0c140c 0%, #132016 48%, #070b07 100%);
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.lobby-hero-bg::after {
  content: "";
  position: absolute;
  right: max(4%, calc(50% - 34rem));
  top: 50%;
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  transform: translateY(-52%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(63, 158, 0, 0.2), transparent 62%),
    url("../assets/logo.png") center / cover no-repeat;
  opacity: 0.26;
  filter: saturate(1.05) contrast(1.05);
  box-shadow: 0 0 80px rgba(63, 158, 0, 0.16);
}

.lobby-hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 8, 13, 0.35) 0%, rgba(6, 8, 13, 0.55) 45%, rgba(6, 8, 13, 0.94) 100%);
}

.lobby-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  animation: heroIn 0.8s var(--ease) both;
}

.brand-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-400);
}

.lobby-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.lobby-title em {
  font-style: normal;
  color: var(--cyan-300);
}

.lobby-lead {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: var(--foam-muted);
  font-size: 1.06rem;
}

.lobby-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
  padding: 0;
}

.trust-pills li {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 158, 0, 0.16);
  background: rgba(7, 20, 40, 0.55);
  color: var(--foam-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.provider-rail {
  border-bottom: 1px solid rgba(63, 158, 0, 0.08);
  background: rgba(7, 20, 40, 0.55);
}

.provider-rail-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.95rem 0;
  color: rgba(155, 176, 208, 0.78);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.home-filters {
  margin: 0 0 1.1rem;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

.lobby-hero-panel,
.stat-chip {
  display: none;
}

.win-ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 135;
  display: flex;
  align-items: stretch;
  min-height: 40px;
  border-top: 1px solid rgba(63, 158, 0, 0.22);
  background: rgba(6, 8, 13, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.has-bottom-nav .win-ticker {
  bottom: calc(62px + env(safe-area-inset-bottom));
}

.has-win-ticker.has-bottom-nav {
  padding-bottom: calc(78px + 40px);
}

.win-ticker-label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1204;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  white-space: nowrap;
}

.win-ticker-mask {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.win-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.7rem 1rem;
  animation: ticker 42s linear infinite;
}

.win-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-size: 0.84rem;
  color: var(--foam-muted);
}

.win-ticker-item strong {
  color: var(--foam);
  font-weight: 700;
}

.win-ticker-game {
  color: var(--cyan-300);
}

.win-ticker-sep {
  opacity: 0.45;
}

.win-ticker-item em {
  font-style: normal;
  color: var(--ok);
  font-weight: 700;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 961px) {
  .has-bottom-nav .win-ticker {
    bottom: 0;
  }

  .has-win-ticker.has-bottom-nav {
    padding-bottom: 48px;
  }
}

.lobby-section {
  padding-top: 1.75rem;
}

.toolbar {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.toolbar .search-pill {
  margin: 0;
  width: min(340px, 100%);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--foam-muted);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(12, 31, 61, 0.45);
}

.chip.is-active,
.chip:hover {
  color: var(--foam);
  border-color: rgba(63, 158, 0, 0.4);
  background: rgba(63, 158, 0, 0.12);
}

.promo-grid.pro-promo {
  grid-template-columns: repeat(3, 1fr);
}

.promo-tile {
  display: block;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(63, 158, 0, 0.12), transparent 55%),
    var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.promo-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 158, 0, 0.4);
}

.promo-tile h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.promo-tile p {
  margin: 0;
  color: var(--foam-muted);
  font-size: 0.9rem;
}

.slot-lobby-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.filter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.filter-rail .chip {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.slot-setup {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(63, 158, 0, 0.28);
  background: rgba(7, 20, 40, 0.55);
}

.slot-setup h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.slot-setup p {
  margin: 0 0 0.75rem;
  color: var(--foam-muted);
  font-size: 0.88rem;
}

.slot-setup pre {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(4, 11, 24, 0.85);
  border: 1px solid var(--line);
  overflow: auto;
  font-size: 0.78rem;
  color: var(--cyan-300);
}

@media (max-width: 960px) {
  .promo-grid.pro-promo {
    grid-template-columns: 1fr;
  }

  .provider-rail-inner {
    justify-content: flex-start;
  }

  .games-grid.pro-games {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .top-strip .container {
    align-items: flex-start;
  }
  .top-strip-end {
    width: 100%;
    justify-content: space-between;
  }
  .lang-btn {
    padding: 0.26rem 0.45rem;
    font-size: 0.68rem;
  }
}
