/* ============================================================
   SlotsTrust — component styles
   ============================================================ */

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  display: grid; place-items: center;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--text);
}
.logo-pt {
  color: var(--neon); margin-left: 3px;
  font-weight: 800;
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
  background: rgba(8, 13, 15, 0.96);
  backdrop-filter: blur(12px);
}
.hdr.scrolled {
  background: rgba(6, 10, 12, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -28px rgba(0,0,0,0.9);
}
.hdr.menu-open {
  z-index: 1100;
}
.hdr-top-wrap {
  border-bottom: 1px solid var(--line);
  height: 62px;
  display: flex;
  align-items: center;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr.scrolled .hdr-top-wrap {
  height: 58px;
}
.hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.hdr-logo-link {
  display: inline-flex;
  align-items: center;
}

/* Wide search bar */
.hdr-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  width: 440px;
  max-width: 40%;
  height: 38px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hdr-search-bar:focus-within {
  border-color: rgba(var(--glow-color), 0.5);
  box-shadow: 0 0 12px rgba(var(--glow-color), 0.15);
  background: rgba(255, 255, 255, 0.08);
}
.hdr-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 6px 0;
  width: 100%;
}
.hdr-search-bar input::placeholder {
  color: var(--text-faint);
}
.hdr-search-bar button {
  background: none;
  border: none;
  color: var(--text-dim);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 4px;
}
.hdr-search-bar button:hover {
  color: var(--neon-soft);
}

.hdr-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language selector */
.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.lang-toggle-btn:hover {
  border-color: rgba(var(--glow-color), 0.5);
  color: var(--text);
  background: rgba(var(--glow-color), 0.06);
}

/* Auth Buttons */
.hdr-btn-login {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 0.2s;
}
.hdr-btn-login:hover {
  color: var(--neon-soft);
}
.hdr-btn-register {
  background: transparent;
  border: 1.5px solid var(--neon-soft);
  color: var(--neon-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.hdr-btn-register:hover {
  background: var(--neon);
  color: #042016;
  border-color: var(--neon);
  box-shadow: 0 0 16px rgba(var(--glow-color), 0.4);
}

/* Bottom menu bar */
.hdr-bottom-wrap {
  background: rgba(6, 10, 11, 0.5);
  border-bottom: 1px solid var(--line);
  height: 44px;
  display: flex;
  align-items: center;
  transition: height 0.25s, opacity 0.25s, transform 0.25s;
  opacity: 1;
  transform: none;
}
.hdr.scrolled .hdr-bottom-wrap {
  height: 0;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  overflow: hidden;
  border-bottom-width: 0;
}
.hdr-bottom {
  display: flex;
  align-items: center;
  width: 100%;
}
.hdr-menu-nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for clean layout */
  width: 100%;
  justify-content: center;
}
.hdr-menu-nav::-webkit-scrollbar {
  display: none;
}
.hdr-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 6px 4px;
  transition: color 0.18s;
}
.hdr-menu-link:hover {
  color: var(--text);
}
.hdr-menu-icon {
  color: var(--neon);
  display: inline-flex;
}

.hamb {
  display: none; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--text); width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center;
}

/* Mobile responsive navigation drawer */
.nav-mob {
  display: none; position: fixed; inset: 62px 0 auto; z-index: 1100;
  height: calc(100vh - 62px);
  background: rgba(5, 9, 8, 0.98); backdrop-filter: blur(20px);
  padding: 24px 28px; flex-direction: column; gap: 20px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.28s;
  overflow-y: auto;
}
.hdr.scrolled .nav-mob {
  inset: 58px 0 auto;
  height: calc(100vh - 58px);
}
.nav-mob.open { transform: none; opacity: 1; pointer-events: auto; }
.mob-search {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 8px;
}
.mob-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mob-menu-link:active {
  color: var(--neon-soft);
}
.nav-mob-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mob-auth-btns {
  display: flex;
  gap: 10px;
}
.mob-auth-btns button {
  flex: 1;
}

/* ---------- Hero ---------- */
.hero { padding: 130px 0 32px; }
@media (max-width: 900px) {
  .hero { padding: 90px 0 32px; }
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 12px 0 10px; }
.hero-sub { font-size: 1.02rem; color: var(--text-dim); max-width: 50ch; }
.hero-btns { display: flex; gap: 10px; margin: 20px 0 24px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; }
.hero-stats > div { display: flex; flex-direction: column; }
.hstat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.hstat-lbl { font-size: 0.8rem; color: var(--text-faint); margin-top: 4px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 420px; }
.float-badges { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fbadge {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  padding: 9px 15px; border-radius: var(--r-pill); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card); animation: floaty 5s ease-in-out infinite;
}
.fbadge-safe { top: 4%; right: 2%; background: rgba(var(--glow-color), 0.16); color: var(--neon-soft); border: 1px solid rgba(var(--glow-color), 0.4); }
.fbadge-lic { bottom: 8%; left: -2%; background: rgba(124, 198, 255, 0.14); color: #9fd4ff; border: 1px solid rgba(124,198,255,0.35); animation-delay: -2.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

.hero-card {
  position: relative; padding: 22px; z-index: 2; max-width: 360px; margin-left: auto;
  overflow: hidden;
}
.hcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hcard-score { display: flex; align-items: baseline; }
.hcard-id { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.hcard-bonus { background: rgba(var(--glow-color), 0.07); border: 1px solid rgba(var(--glow-color), 0.18); border-radius: var(--r-md); padding: 13px 15px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 3px; }
.hcard-bonus-text { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--text); }

.hero-rank { position: relative; z-index: 1; margin-top: -28px; margin-right: auto; max-width: 320px; padding: 18px 18px 12px; }
.hero-rank > .micro-label { margin-bottom: 10px; display: block; }
.rank-row {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: none; border: none; padding: 9px 8px; border-radius: 12px; color: var(--text);
  transition: background 0.18s;
}
.rank-row:hover { background: rgba(255,255,255,0.04); }
.rank-pos { font-family: var(--font-display); font-weight: 800; color: var(--neon); width: 16px; }
.rank-name { flex: 1; font-weight: 600; font-size: 0.92rem; }
.rank-score { font-family: var(--font-display); font-weight: 700; color: var(--text-dim); }

.hero-minimal .hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-minimal .float-badges { display: none; }
.hero-minimal .hero-card { margin: 0 auto; max-width: 380px; }
.hero-minimal .hero-rank { margin: -22px auto 0; }

/* ---------- micro label & score ---------- */
.micro-label { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.score-num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--neon-soft); }
.score-den { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--text-faint); margin-left: 1px; }

/* ---------- Casino avatar (logo placeholder) ---------- */
.cavatar { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 18px;
  background:
    radial-gradient(120% 120% at 30% 18%, color-mix(in oklab, var(--c) 42%, #0c1714), #070f0d);
  border: 1px solid color-mix(in oklab, var(--c) 45%, transparent);
  box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--c) 60%, transparent),
              inset 0 1px 0 rgba(255,255,255,0.08);
}
.cavatar::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,0.16), transparent 45%); pointer-events: none; }
.cavatar-ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 22px color-mix(in oklab, var(--c) 34%, transparent); }
.cavatar-text { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; color: color-mix(in oklab, var(--c) 88%, #fff); letter-spacing: -0.03em; text-shadow: 0 2px 10px color-mix(in oklab, var(--c) 60%, transparent); }

/* ---------- Payment tiles ---------- */
.pay-row { display: inline-flex; align-items: center; gap: 8px; }
.ccard-pays .pay-row:has(.pay-name) { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 9px; padding: 5px 11px 5px 6px; }
.pay-name { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); }
.ptile { width: 38px; height: 26px; flex: none; border-radius: 6px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 2px 6px -2px rgba(0,0,0,0.6); }
.ptile-visa { background: #ffffff; }
.pt-visa { color: #1a1f71; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 11px; letter-spacing: -0.5px; }
.ptile-mb { background: linear-gradient(135deg,#2191ff,#0a5fd0); }
.pt-mb { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.02em; }
.ptile-mc { background: #10171a; position: relative; }
.pt-mc { display: block; width: 100%; height: 100%; }
.pt-mc i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateY(-50%); }
.pt-mc i:first-child { left: 6px; background: #eb4b3a; }
.pt-mc i:last-child { right: 6px; background: #f59e0b; mix-blend-mode: hard-light; }
.ptile-crypto { background: linear-gradient(135deg,#f7b733,#f7931a); }
.pt-crypto { color: #fff; font-weight: 800; font-size: 14px; line-height: 1; }
.ptile-more { width: auto; min-width: 32px; padding: 0 8px; background: rgba(255,255,255,0.05); color: var(--text-faint); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; border-style: dashed; }

/* ---------- Custom sort dropdown ---------- */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 9px; background: rgba(0,0,0,0.32); border: 1px solid var(--line); color: var(--text); border-radius: var(--r-pill); padding: 9px 14px; font-family: var(--font-body); font-size: 0.88rem; transition: border-color 0.2s, box-shadow 0.2s; }
.dd-btn:hover { border-color: var(--line-strong); }
.dd.open .dd-btn { border-color: rgba(var(--glow-color), 0.5); box-shadow: 0 0 0 3px rgba(var(--glow-color), 0.1); }
.dd-lbl { color: var(--text-faint); }
.dd-val { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; color: var(--neon-soft); }
.dd-chev { display: inline-flex; color: var(--text-faint); transition: transform 0.24s; }
.dd.open .dd-chev { transform: rotate(180deg); color: var(--neon-soft); }
.dd-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 100; min-width: 230px; padding: 6px; display: flex; flex-direction: column; gap: 2px;
  background: #0b1210; border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; transform-origin: top right; transition: opacity 0.2s, transform 0.2s; }
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: none; color: var(--text-dim); font-family: var(--font-body); font-size: 0.9rem; padding: 11px 12px; border-radius: 11px; transition: background 0.15s, color 0.15s; }
.dd-opt > span:first-of-type { flex: 1; }
.dd-opt:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.dd-opt.sel { color: var(--neon-soft); background: rgba(var(--glow-color), 0.08); font-weight: 600; }
.dd-tick { display: inline-flex; color: var(--neon); }

/* ---------- Hero trust chips ---------- */
.hcard-trust { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 0.76rem; font-weight: 600; color: var(--text-dim); padding: 6px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.tchip svg { color: var(--neon-soft); }

/* ============================================================
   Reviews layout + filters
   ============================================================ */
.reviews-layout { display: grid; grid-template-columns: 248px 1fr; gap: 20px; align-items: start; }

.filters { padding: 16px; position: sticky; top: 72px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filters-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.filters-count { background: var(--neon); color: #042016; font-size: 0.7rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; font-family: var(--font-display); }
.link-clear { background: none; border: none; color: var(--text-faint); font-size: 0.8rem; font-weight: 600; padding: 0; transition: color 0.18s; }
.link-clear:hover:not(:disabled) { color: var(--neon-soft); }
.link-clear:disabled { opacity: 0.4; cursor: default; }

.search { display: flex; align-items: center; gap: 9px; background: rgba(0,0,0,0.32); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; margin-bottom: 14px; color: var(--text-faint); transition: border-color 0.2s, box-shadow 0.2s; }
.search:focus-within { border-color: rgba(var(--glow-color), 0.5); box-shadow: 0 0 0 3px rgba(var(--glow-color), 0.1); }
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; padding: 9px 0; }
.search input::placeholder { color: var(--text-faint); }
.search-x { background: none; border: none; color: var(--text-faint); display: grid; place-items: center; padding: 2px; }
.search-x:hover { color: var(--text); }

.fgroup { padding: 11px 0; border-top: 1px solid var(--line); }
.fgroup-label { font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 9px; }
.fgroup-body { display: flex; flex-direction: column; gap: 3px; }

.check { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 9px; cursor: pointer; transition: background 0.15s; }
.check:hover { background: rgba(255,255,255,0.03); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 17px; height: 17px; flex: none; border-radius: 5px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: #042016; transition: 0.18s; }
.check.on .check-box { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 12px rgba(var(--glow-color), 0.6); }
.check-label { flex: 1; font-size: 0.88rem; color: var(--text-dim); transition: color 0.15s; }
.check.on .check-label { color: var(--text); font-weight: 600; }
.check-count { font-size: 0.72rem; color: var(--text-faint); background: rgba(255,255,255,0.04); padding: 1px 7px; border-radius: 999px; }

.adm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.adm-filter-card { background: #08100e; border: 1px solid var(--line-strong); padding: 16px; }
.adm-filter-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.adm-filter-card-head h3 { margin: 0; font-size: 0.98rem; font-weight: 800; color: var(--text); }
.adm-filter-card-head span { color: #042016; background: var(--neon); border-radius: 999px; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; }
.adm-filter-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.adm-filter-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.adm-filter-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.pay-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chip { font-size: 0.74rem; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.035); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px; transition: 0.16s; }
.pay-chip:hover { border-color: var(--line-strong); color: var(--text); }
.pay-chip.on { background: rgba(var(--glow-color), 0.14); border-color: rgba(var(--glow-color), 0.5); color: var(--neon-soft); }

.filters-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-faint); }

/* ---------- list bar ---------- */
.clist-wrap { min-width: 0; }
.clist-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.clist-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.clist-title span { color: var(--text-faint); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-faint); }
.sort select { background: rgba(0,0,0,0.32); border: 1px solid var(--line); color: var(--text); font-family: var(--font-body); font-size: 0.84rem; padding: 8px 10px; border-radius: 9px; outline: none; cursor: pointer; }
.sort select:focus { border-color: rgba(var(--glow-color), 0.5); }

.cgrid { display: grid; gap: 14px; }
.cgrid.media-banner { grid-template-columns: repeat(2, 1fr); }
.cgrid.media-side { grid-template-columns: 1fr; }

/* ============================================================
   Casino card
   ============================================================ */
.ccard { position: relative; padding: 0; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.28s cubic-bezier(.2,.7,.3,1), border-color 0.28s, box-shadow 0.28s; }
.ccard:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--c) 38%, transparent); box-shadow: var(--shadow-lift); }
.ccard-glow { position: absolute !important; top: -40%; right: -30%; width: 70%; height: 80%; background: radial-gradient(circle, color-mix(in oklab, var(--c) 30%, transparent), transparent 68%); opacity: calc(0.4 + var(--glow) * 0.35); pointer-events: none; filter: blur(8px); z-index: 0 !important; }
.ccard > * { position: relative; z-index: 1; }
.ccard > .badge { align-self: flex-start; }

/* ---- card media (branded banner image) ---- */
.ccard-media { position: relative; overflow: hidden; flex: none; background: #08110e; z-index: 2; }
.ccard-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ccard-media-top { position: absolute; top: 11px; left: 12px; z-index: 2; }
.ccard-media-fade { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ccard-score-float { position: absolute; top: 11px; right: 12px; z-index: 2; display: inline-flex; align-items: baseline; gap: 1px; background: rgba(4,8,7,0.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 5px 12px; box-shadow: 0 6px 16px -8px rgba(0,0,0,0.8); }
.ccard-score-float .score-num { font-size: 1.18rem; }

.ccard-body { display: flex; flex-direction: column; gap: 11px; padding: 15px; flex: 1; }
.ccard-idrow { display: flex; flex-direction: column; gap: 5px; }

/* banner = image full-width on top */
.media-banner .ccard-media { width: 100%; aspect-ratio: 720 / 230; }
.media-banner .ccard-name { display: block; } /* identity is displayed clearly below banner */

/* side = image rectangle on the left */
.cgrid.media-side .ccard { flex-direction: row; align-items: stretch; }
.media-side .ccard-media { width: 190px; align-self: stretch; }
.media-side .ccard-img { object-position: left center; }
.media-side .ccard-media-fade { background: linear-gradient(to right, transparent 48%, rgba(9,15,13,0.6)); }
.media-side .ccard-body { min-width: 0; }

.ccard-top { display: flex; align-items: center; gap: 13px; }
.ccard-id { flex: 1; min-width: 0; }
.ccard-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.ccard-rate { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.ccard-country { font-size: 0.78rem; color: var(--text-faint); }
.ccard-score { display: flex; align-items: baseline; flex: none; }

.ccard-bonus { display: flex; align-items: center; gap: 10px; background: rgba(var(--glow-color), 0.06); border: 1px solid rgba(var(--glow-color), 0.16); border-radius: var(--r-md); padding: 10px 12px; }
.ccard-bonus-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: rgba(var(--glow-color), 0.12); color: var(--neon-soft); }
.ccard-bonus-text { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-top: 1px; }

.ccard-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meta-cell { display: flex; flex-direction: column; gap: 5px; }
.meta-val { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }

.ccard-pays { display: flex; flex-wrap: wrap; gap: 6px; }

.ccard-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 4px; }
.pc-col { display: flex; flex-direction: column; gap: 6px; }
.pc-head { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pc-head.pos { color: var(--neon-soft); }
.pc-head.neg { color: #f08a8a; }
.pc-item { font-size: 0.84rem; color: var(--text-dim); line-height: 1.45; }

.ccard-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.ccard-actions .btn { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
  .cgrid .ccard { animation: cardIn 0.5s both cubic-bezier(.2,.7,.3,1); }
  .cgrid .ccard:nth-child(2) { animation-delay: 0.05s; }
  .cgrid .ccard:nth-child(3) { animation-delay: 0.10s; }
  .cgrid .ccard:nth-child(4) { animation-delay: 0.15s; }
  .cgrid .ccard:nth-child(5) { animation-delay: 0.20s; }
  .cgrid .ccard:nth-child(6) { animation-delay: 0.25s; }
  .cgrid .ccard:nth-child(n+7) { animation-delay: 0.30s; }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- empty ---------- */
.empty { padding: 60px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.04); color: var(--text-faint); margin-bottom: 8px; }
.empty h4 { font-size: 1.2rem; }
.empty p { color: var(--text-dim); margin: 0; }

/* ============================================================
   Top casinos podium
   ============================================================ */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.podium-card { position: relative; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s; }
.podium-card .ccard-img { object-position: center; }
.podium-card .ccard-media { margin: -16px -16px 12px -16px !important; width: calc(100% + 32px) !important; z-index: 2 !important; }
.podium-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.podium-card.rank-1 { border-color: rgba(var(--glow-color), 0.4); }
.podium-card > * { position: relative; z-index: 1; }
.podium-rank { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--neon-soft); }
.podium-card.rank-1 .podium-rank { color: var(--neon); }
.podium-id { display: flex; align-items: center; gap: 10px; }
.podium-id > div:nth-child(2) { flex: 1; min-width: 0; }
.podium-cta-text { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--text-dim); background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 12px; }
.podium-actions { display: flex; gap: 8px; margin-top: auto; }
.podium-actions .btn { flex: 1; }

/* ============================================================
   Evaluation
   ============================================================ */
.eval-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eval-card { position: relative; padding: 20px 18px; overflow: hidden; transition: transform 0.26s, border-color 0.26s; }
.eval-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.eval-num { position: absolute; top: 12px; right: 16px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: rgba(255,255,255,0.045); }
.eval-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(var(--glow-color), 0.1); color: var(--neon-soft); margin-bottom: 12px; box-shadow: inset 0 0 0 1px rgba(var(--glow-color), 0.18); }
.eval-title { font-size: 1.08rem; margin-bottom: 6px; }
.eval-text { color: var(--text-dim); font-size: 0.88rem; margin: 0; line-height: 1.5; }

/* ============================================================
   Advantages
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.adv-card { text-align: center; padding: 18px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,0.018); transition: transform 0.24s, background 0.24s, border-color 0.24s; }
.adv-card:hover { transform: translateY(-5px); background: rgba(var(--glow-color), 0.05); border-color: rgba(var(--glow-color), 0.28); }
.adv-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(var(--glow-color), 0.12); color: var(--neon-soft); margin-bottom: 10px; }
.adv-title { font-size: 0.94rem; margin-bottom: 4px; }
.adv-text { color: var(--text-dim); font-size: 0.8rem; margin: 0; line-height: 1.45; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: rgba(var(--glow-color), 0.32); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; background: none; border: none; text-align: left; padding: 20px 22px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; cursor: pointer; }
.faq-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: rgba(var(--glow-color), 0.1); color: var(--neon-soft); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s cubic-bezier(.2,.7,.3,1); overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--text-dim); line-height: 1.6; min-height: 0; }
.faq-item.open .faq-a > p { padding: 0 22px 22px; }

/* Animated Plus-Minus Icon */
.icon-pm {
  overflow: visible;
}
.icon-pm line {
  stroke: currentColor;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}
.icon-pm.open .pm-vertical {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(8, 35, 27, 0.35)); padding: 48px 0 30px; margin-top: 20px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-tag { color: var(--text-dim); font-size: 0.95rem; max-width: 40ch; margin: 18px 0; }
.foot-resp { display: flex; align-items: center; gap: 11px; font-size: 0.84rem; color: var(--text-faint); }
.age-badge { display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; color: var(--neon); border: 1.5px solid rgba(var(--glow-color), 0.5); border-radius: 8px; padding: 4px 8px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col h4 { font-family: var(--font-display); font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-faint); font-size: 0.92rem; padding: 6px 0; transition: color 0.16s; }
.foot-col a:hover { color: var(--neon-soft); }
.foot-warn { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; margin: 24px 0; color: var(--neon-soft); }
.foot-warn p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.foot-warn strong { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-faint); }
.foot-bottom-links { display: flex; gap: 20px; }
.foot-bottom-links a:hover { color: var(--neon-soft); }

/* ============================================================
   Language toggle
   ============================================================ */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.lang-toggle button { font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-faint); background: none; border: none; padding: 5px 10px; border-radius: var(--r-pill); cursor: pointer; transition: color 0.16s, background 0.16s; line-height: 1; }
.lang-toggle button:hover { color: var(--text-dim); }
.lang-toggle button.on { color: #06150e; background: linear-gradient(120deg, var(--neon-soft), var(--neon)); }
.nav-mob-foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.nav-mob-foot .btn-block { flex: 1; }

/* ============================================================
   Legal page (hash-routed full page)
   ============================================================ */
.legal-page { min-height: 70vh; padding-top: 104px; }
.legal-container { max-width: 760px; }
.legal-back { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; color: var(--text-dim); margin-bottom: 20px; transition: color 0.16s; }
.legal-back:hover { color: var(--neon-soft); }
.legal-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 10px 0 10px; }
.legal-intro { color: var(--text-dim); font-size: 1rem; line-height: 1.6; margin: 0 0 8px; max-width: 60ch; }
.legal-page-body { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-sec { margin-bottom: 22px; }
.legal-sec h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--neon-soft); margin: 0 0 6px; }
.legal-sec p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; margin: 0; }
.legal-updated { margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-faint); }

/* ============================================================
   Review modal
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 5, 0.78); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; animation: fade 0.22s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { position: relative; width: 100%; max-width: 760px; padding: 0; overflow: hidden; animation: pop 0.3s cubic-bezier(.2,.8,.3,1); }
@keyframes pop { from { transform: translateY(18px) scale(0.98); opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 36px; height: 36px; border-radius: 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--line); color: var(--text); display: grid; place-items: center; transition: 0.18s; }
.modal-x:hover { background: rgba(255,255,255,0.08); color: var(--neon-soft); }

.modal-hero { position: relative; height: 140px; overflow: hidden; border-bottom: 1px solid var(--line); }
.modal-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modal-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,11,10,0.94), rgba(6,11,10,0.05) 58%, rgba(6,11,10,0.28)); }
.modal-hero-badge { position: absolute; top: 14px; left: 18px; z-index: 2; }
.modal-hero-foot { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.modal-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.modal-hero-score { display: inline-flex; align-items: baseline; gap: 1px; background: rgba(4,8,7,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 6px 12px; }
.modal-hero-score .score-num { font-size: 1.7rem; }

.modal-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.modal-main { padding: 20px 22px; }
.modal-desc { color: var(--text-dim); font-size: 0.94rem; line-height: 1.56; margin: 0 0 16px; }
.modal-h { font-size: 1.05rem; margin-bottom: 12px; }

.ratings { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.rating-row { display: grid; grid-template-columns: 1fr 90px 32px; align-items: center; gap: 10px; }
.rating-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--text-dim); }
.rating-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.rating-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--neon-deep), var(--neon-soft)); box-shadow: 0 0 10px rgba(var(--glow-color), 0.6); }
.rating-val { font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; text-align: right; color: var(--neon-soft); }

.modal-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.mpc { border-radius: var(--r-md); padding: 12px 14px; border: 1px solid var(--line); }
.mpc.pos { background: rgba(var(--glow-color), 0.05); }
.mpc.neg { background: rgba(240, 138, 138, 0.05); }
.mpc ul { margin: 8px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mpc li { position: relative; padding-left: 18px; font-size: 0.84rem; color: var(--text-dim); line-height: 1.4; }
.mpc.pos li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); }
.mpc.neg li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 2px; border-radius: 2px; background: #f08a8a; }

.modal-conc { background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-left: 3px solid var(--neon); border-radius: var(--r-md); padding: 12px 14px; }
.modal-conc p { margin: 4px 0 0; color: var(--text-dim); line-height: 1.5; font-size: 0.86rem; }
.modal-conc strong { color: var(--neon-soft); }

.modal-side { padding: 20px 22px; background: rgba(0,0,0,0.22); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.side-card { display: flex; flex-direction: column; }
.side-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.side-row:last-child { border-bottom: none; }
.side-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-faint); flex: none; }
.side-val { font-size: 0.86rem; font-weight: 600; text-align: right; color: var(--text); }
.side-pays .micro-label { display: block; margin-bottom: 9px; }
.side-disc { text-align: center; font-size: 0.78rem; color: var(--text-faint); margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; max-width: 440px; }
  .cgrid.media-banner { grid-template-columns: 1fr; }
  .eval-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .nav-desk { display: none; }
  .hamb { display: inline-flex; }
  .nav-mob { display: flex; }
  .hdr-cta { display: none; }
  .reviews-layout { grid-template-columns: 1fr; }
  .filters { position: relative; top: 0; }
  .podium { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-side { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 64px 0; }
  .hero { padding: 110px 0 50px; }
  .hero-stats { gap: 22px; }
  .hero-btns .btn { flex: 1; }
  .eval-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .modal-proscons { grid-template-columns: 1fr; }
  .modal-hero { height: 150px; }
  .cgrid.media-side .ccard { flex-direction: column; }
  .media-side .ccard-media { width: 100%; aspect-ratio: 720 / 230; }
  .media-side .ccard-img { object-position: center; }
  .media-side .ccard-media-fade { background: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Quick Search Bar (Hero) ---------- */
.quick-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 580px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--r-pill);
  background: rgba(10, 18, 16, 0.72);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8),
              0 0 30px -5px rgba(var(--glow-color), 0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 50;
}
.quick-search-bar:focus-within {
  border-color: rgba(var(--glow-color), 0.65);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.85),
              0 0 30px 2px rgba(var(--glow-color), 0.22);
}
.qs-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}
.qs-input { flex: 1.3; min-width: 0; }
.qs-input input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 8px 0;
}
.qs-input input::placeholder { color: var(--text-faint); }
.qs-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
  flex: none;
}
.qs-select {
  flex: 0.9;
  position: relative;
  min-width: 0;
}
.qs-select select {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px 8px 0;
  appearance: none;
  -webkit-appearance: none;
}
.qs-select::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-faint);
  border-bottom: 1.5px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.qs-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  flex: none;
}

@media (max-width: 600px) {
  .quick-search-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--r-md);
    padding: 14px;
    gap: 12px;
  }
  .qs-divider {
    display: none;
  }
  .qs-input, .qs-select {
    flex: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
  .qs-select select {
    padding-right: 20px;
  }
  .qs-select::after {
    right: 8px;
    transform: translateY(-50%) rotate(45deg);
  }
  .qs-btn {
    width: 100%;
  }
}

/* ---------- Guides Section ---------- */
.guides-sec {
  background: linear-gradient(180deg, transparent, rgba(var(--glow-color), 0.02) 50%, transparent);
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--glow-color), 0.45);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8), 
              0 0 20px -2px rgba(var(--glow-color), 0.15);
}
.guide-card:hover .guide-card-img {
  transform: scale(1.06);
}
.guide-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* True 16:9 rectangular banners */
  overflow: hidden;
  background: #08110e;
  border-bottom: 1px solid var(--line);
  /* Round top corners directly: the card uses data-reveal which forces
     overflow:visible, so we cannot rely on the parent clipping. */
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.guide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.guide-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 11, 10, 0.6) 0%, transparent 60%);
  pointer-events: none;
}
.guide-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  /* Round bottom corners directly (parent overflow is forced visible). */
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}
.guide-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}
.guide-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Two-column layout for Guide subpages */
.legal-page {
  padding-top: 130px !important;
}
.guide-page-wrapper {
  padding-top: 130px !important;
}
.guide-page-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.guide-page-content {
  min-width: 0;
}
.guide-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(12, 19, 22, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.btn-back-articles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 8px;
  width: 100%;
  transition: 0.2s;
}
.btn-back-articles:hover {
  background: rgba(var(--glow-color), 0.08);
  border-color: rgba(var(--glow-color), 0.5);
  color: var(--neon-soft);
}
.guide-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guide-sidebar-link {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 10px 12px;
  border-radius: 6px;
  transition: 0.15s;
}
.guide-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.guide-sidebar-link.active {
  background: rgba(var(--glow-color), 0.1);
  color: var(--neon-soft);
  font-weight: 700;
  border-left: 2px solid var(--neon);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.guide-sidebar-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-sidebar-footer-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.btn-important-article {
  display: block;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 30px;
  text-align: center;
  transition: 0.2s;
}
.btn-important-article:hover {
  border-color: var(--neon-soft);
  color: var(--neon-soft);
  background: rgba(var(--glow-color), 0.05);
}

@media (max-width: 1080px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-page-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guide-sidebar {
    position: static;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  /* Mobile adjustments for Header */
  .hdr-search-bar, .hdr-btn-login, .hdr-btn-register, .hdr-bottom-wrap {
    display: none;
  }
  .hamb {
    display: inline-flex;
  }
  .nav-mob {
    display: flex;
  }
}
@media (max-width: 600px) {
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   Custom Flags, Auth Modals, Slots Grid & Demo Slots Modals
   ============================================================ */

/* Language Flag style */
.lang-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: middle;
  border: none;
}

/* Auth Modal Overlay & Box */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 8, 0.85);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.auth-modal {
  width: 100%;
  max-width: 440px;
  background: rgba(16, 26, 24, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  padding: 36px;
  position: relative;
}
.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s, transform 0.2s;
  display: grid;
  place-items: center;
}
.auth-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}
.auth-success-state {
  text-align: center;
  padding: 20px 0;
}
.auth-success-icon {
  color: var(--neon);
  margin-bottom: 20px;
}
.auth-title {
  font-size: 1.58rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text);
}
.btn-google-auth {
  width: 100%;
  height: 48px;
  background: #ffffff;
  color: #1f1f1f;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-google-auth:hover {
  background: #f1f1f1;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-faint);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}
.auth-divider::before {
  margin-right: .5em;
}
.auth-divider::after {
  margin-left: .5em;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field input {
  width: 100%;
  height: 46px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.auth-field input:focus {
  border-color: rgba(var(--glow-color), 0.5);
  background: rgba(0, 0, 0, 0.35);
}
.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}
.auth-checkbox-label input {
  margin-top: 2px;
}
.auth-submit {
  margin-top: 8px;
  height: 46px;
}
.auth-toggle-link {
  text-align: center;
  margin-top: 20px;
}
.auth-toggle-link button {
  background: none;
  border: none;
  color: var(--neon-soft);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}
.auth-toggle-link button:hover {
  text-decoration: underline;
}

/* ---------- Slots Catalog Page ---------- */
.slots-catalog-page {
  padding-top: 130px;
  min-height: 80vh;
}
.slots-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: var(--r-md);
  margin-bottom: 36px;
  flex-wrap: wrap;
  /* Sit above the slot grid so open dropdowns are clickable, not hidden behind cards. */
  position: relative;
  z-index: 30;
}
.slots-studios-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.studio-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.studio-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--line-strong);
}
.studio-tab-btn.active {
  background: var(--neon);
  color: var(--bg-0);
  border-color: var(--neon);
  box-shadow: 0 0 12px rgba(var(--glow-color), 0.3);
}
.slots-search-input {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 16px;
  width: 320px;
  height: 38px;
  max-width: 100%;
}
.slots-search-input svg, .slots-search-input i {
  color: var(--text-faint);
  margin-right: 8px;
}
.slots-search-input input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.84rem;
  outline: none;
  width: 100%;
}
.search-clear-btn {
  background: none;
  border: none;
  color: var(--text-faint);
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-clear-btn:hover {
  color: var(--text);
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.slot-card {
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
}
.slot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--glow-color), 0.3);
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.9), 0 0 20px rgba(var(--glow-color), 0.05);
}
.slot-card-banner {
  height: 140px;
  position: relative;
  overflow: hidden;
  background: #090e0c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Card has data-reveal (overflow forced visible) — round corners directly. */
  border-top-left-radius: var(--r-md);
  border-top-right-radius: var(--r-md);
}
.slot-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.3s ease;
}
.slot-card:hover .slot-card-img {
  transform: scale(1.06);
}
.slot-mesh-glow {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  filter: blur(16px);
  mix-blend-mode: screen;
}
.slot-badge-studio {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
}
.slot-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.48rem;
  text-align: center;
  padding: 0 20px;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
  z-index: 1;
  letter-spacing: -0.02em;
}
.slot-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-bottom-left-radius: var(--r-md);
  border-bottom-right-radius: var(--r-md);
}
.slot-title-text {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.slot-theme-label {
  font-size: 0.76rem;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.slot-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 18px;
  text-align: center;
}
.slot-stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slot-stats-grid span {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.slot-stats-grid strong {
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.slot-card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.slot-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  font-size: 0.82rem;
  gap: 6px;
}
.slot-card-actions .btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Load more ---------- */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.load-more-btn {
  gap: 8px;
}
.load-more-count {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.85em;
}

/* ---------- Slot Play Modal ---------- */
.slot-modal {
  max-width: 1100px;
  width: 100%;
  padding: 30px;
}
.slot-modal-top-actions {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.modal-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.modal-icon-btn:hover {
  color: var(--neon-soft);
  background: rgba(var(--glow-color), 0.08);
  border-color: rgba(var(--glow-color), 0.5);
  transform: translateY(-1px);
}
.slot-modal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slot-modal-header .slot-badge-studio {
  position: static;
  margin: 0;
}
.slot-modal-header::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent, var(--neon));
  box-shadow: 0 0 10px var(--accent, var(--neon));
}
.slot-modal-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.slot-modal-tabs button {
  background: none;
  border: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.slot-modal-tabs button:hover {
  color: var(--text);
}
.slot-modal-tabs button.active {
  color: var(--neon);
}
.slot-modal-tabs button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}
.slot-modal-body {
  display: block;
}
.slot-game-tab {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.play-mode-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
}
.play-mode-tabs button {
  flex: 1;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.play-mode-tabs button.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.slot-iframe-container {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.slot-iframe-container iframe {
  border-radius: 16px;
}
/* When the demo goes fullscreen, fill the screen and drop the rounding */
.slot-iframe-container:fullscreen {
  aspect-ratio: auto;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
}
.slot-iframe-container:fullscreen iframe {
  border-radius: 0;
}
.slot-iframe-overlay-action {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
}
.slot-iframe-overlay-action .btn {
  background: rgba(12, 19, 22, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  padding: 8px 14px;
}
.slot-iframe-overlay-action .btn:hover {
  background: #0c1316;
  border-color: var(--neon-soft);
}

/* ---------- News Page ---------- */
.news-page-container {
  max-width: 1180px;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 4px 0 28px;
}
.news-filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.news-filter-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.news-filter-chip.active {
  background: linear-gradient(180deg, var(--neon-soft), var(--neon-deep));
  border-color: transparent;
  color: #042016;
}
.news-state {
  text-align: center;
  padding: 64px 16px;
  color: var(--text-dim);
  font-weight: 600;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--glow-color), 0.45);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8),
              0 0 20px -2px rgba(var(--glow-color), 0.15);
}
.news-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #08110e;
  border-bottom: 1px solid var(--line);
  /* Card uses data-reveal (overflow forced visible) — round corners directly. */
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.news-card:hover .news-card-media img {
  transform: scale(1.06);
}
.news-card-source {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #04140d;
  background: var(--neon);
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.news-card-noimg,
.news-card-media.no-img::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(var(--glow-color), 0.5);
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--glow-color), 0.12), transparent 70%),
    #08110e;
}
.news-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}
.news-card-body h3 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}
.news-card-body p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 4px;
}
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--neon);
  font-weight: 600;
  font-size: 0.72rem;
}
.news-page .load-more-wrap {
  margin-top: 20px;
}
.news-page .load-more-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  height: 32px;
}
@media (max-width: 920px) {
  .news-grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-grid { gap: 10px; grid-template-columns: 1fr; }
}

/* News Skeleton Loading Shimmer */
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.08) 37%, rgba(255, 255, 255, 0.02) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}
.news-card-skeleton {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.04) !important;
  background: rgba(255, 255, 255, 0.01) !important;
}
.news-card-skeleton .news-card-media {
  background: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.skeleton-line {
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}
.skeleton-line.skeleton-title {
  height: 16px;
  width: 85%;
  margin-bottom: 8px;
}
.skeleton-line.skeleton-text-1 {
  width: 95%;
}
.skeleton-line.skeleton-text-2 {
  width: 70%;
  margin-bottom: 6px;
}
.skeleton-line.skeleton-meta-1 {
  height: 10px;
  width: 25%;
}
.skeleton-line.skeleton-meta-2 {
  height: 10px;
  width: 30%;
}

/* Mock Slot Machine layout */
.mock-slot-machine {
  background: #090e10;
  border: 3px solid var(--accent, var(--neon));
  border-radius: var(--r-md);
  padding: 20px;
  position: relative;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(0, 0, 0, 0.9);
}
.machine-screen-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid var(--line-strong);
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
}
.screen-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.screen-credits {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.screen-credits span { color: var(--text-faint); }
.screen-credits strong { color: var(--neon); }

.machine-win-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(18, 28, 26, 0.95);
  border: 2px solid var(--neon);
  box-shadow: 0 0 30px var(--neon);
  border-radius: 12px;
  padding: 16px 28px;
  color: var(--neon);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  text-align: center;
  z-index: 10;
  animation: pulseWin 1.2s infinite alternate;
  pointer-events: none;
}
@keyframes pulseWin {
  from { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(var(--glow-color), 0.5); }
  to { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 40px rgba(var(--glow-color), 0.9); }
}

.machine-reels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #030506;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--line);
}
.reel-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.reel-cell {
  background: #0e1416;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  overflow: hidden;
}
.reel-emoji {
  font-size: 1.6rem;
}
.reel-sym-name {
  font-size: 0.52rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  50% { transform: translateY(8px); }
  100% { transform: translateY(0); }
}

.machine-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  gap: 12px;
  flex-wrap: wrap;
}
.ctrl-bet-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ctrl-bet-box > span {
  font-size: 0.68rem;
  color: var(--text-faint);
  font-weight: 700;
}
.ctrl-bet-adjuster {
  display: flex;
  align-items: center;
  background: #0d1214;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  height: 32px;
}
.ctrl-bet-adjuster button {
  background: none;
  border: none;
  color: var(--text-dim);
  width: 28px;
  height: 100%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.ctrl-bet-adjuster button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.ctrl-bet-adjuster strong {
  padding: 0 10px;
  font-size: 0.8rem;
  font-family: var(--font-display);
}
.btn-machine-spin {
  flex: 1;
  min-width: 120px;
  height: 36px;
  background: linear-gradient(135deg, var(--neon), var(--neon-deep));
  color: #03150e;
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 14px rgba(var(--glow-color), 0.35);
}
.btn-machine-spin:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(var(--glow-color), 0.55);
}
.btn-machine-spin:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-machine-recharge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  height: 36px;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-machine-recharge:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.slot-details-tab {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.slot-stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
}
@media (max-width: 600px) {
  .slot-stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}
.slot-stats-panel div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slot-stats-panel span {
  font-size: 0.74rem;
  color: var(--text-faint);
}
.slot-stats-panel strong {
  font-size: 0.94rem;
  color: var(--text);
}
.slot-description-box {
  line-height: 1.52;
}
.slot-description-box h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}
.slot-description-box p {
  color: var(--text-dim);
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.slot-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slot-features-tags .tag {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid var(--line);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ---------- Slot Ratings Sidebar & Reviews ---------- */
.slot-ratings-sidebar {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 24px;
  max-height: 520px;
  overflow-y: auto;
}
@media (max-width: 820px) {
  .slot-ratings-sidebar {
    border-left: none;
    padding-left: 0;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}
.slot-ratings-sidebar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.slot-rating-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.rating-stars-input {
  display: flex;
  gap: 4px;
}
.rating-stars-input button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.1s;
}
.rating-stars-input button:hover {
  transform: scale(1.18);
}
.rating-stars-input button.star-on {
  color: var(--gold);
}
.rating-stars-input button.star-off {
  color: var(--text-faint);
}
.slot-rating-form textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  min-height: 70px;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}
.slot-rating-form textarea:focus {
  border-color: rgba(var(--glow-color), 0.4);
}
.slot-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.no-reviews-text {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
}
.slot-review-card {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.slot-review-hdr {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-bottom: 4px;
}
.slot-review-hdr strong {
  color: var(--text);
}
.slot-review-hdr span {
  color: var(--text-faint);
}
.slot-review-stars {
  color: var(--gold);
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.slot-review-text {
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Centering Slot Modal Overlay */
.slot-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-height: 800px) {
  .slot-modal-overlay {
    align-items: flex-start;
  }
}

/* Custom Dropdown Filters for Slots Catalog */
.slots-filter-selects {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Custom filter dropdown (styled like the language selector) ---------- */
.filter-dd {
  position: relative;
}
.filter-dd-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px 0 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.filter-dd-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.filter-dd.open .filter-dd-btn {
  border-color: var(--neon);
  box-shadow: 0 0 8px rgba(var(--glow-color), 0.2);
}
.filter-dd-chev {
  display: inline-flex;
  color: var(--text-faint);
  transition: transform 0.24s;
}
.filter-dd.open .filter-dd-chev {
  transform: rotate(180deg);
  color: var(--neon-soft);
}
.filter-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  z-index: 60;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #0b1210;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.filter-dd.open .filter-dd-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.filter-dd-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.filter-dd-opt:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.filter-dd-opt.sel {
  color: var(--neon);
  background: rgba(var(--glow-color), 0.08);
}
.filter-dd-opt svg {
  color: var(--neon);
  flex-shrink: 0;
}

/* Dedicated Slot Reviews Page Layout */
.slot-reviews-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .slot-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Dashboard Layout ---------- */
.db-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 990px) {
  .db-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.db-sidebar {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(12, 19, 16, 0.4);
}
.db-user-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.db-avatar-container {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  box-shadow: 0 0 16px rgba(var(--glow-color), 0.35);
  overflow: hidden;
  background: #08110e;
  cursor: pointer;
}
.db-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.db-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  opacity: 0;
  transition: opacity 0.2s;
}
.db-avatar-container:hover .db-avatar-overlay {
  opacity: 1;
}
.db-user-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text);
}
.db-user-rank {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.db-user-rank-val {
  color: var(--neon-soft);
}
.db-rank-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.db-rank-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--neon-soft));
  border-radius: 2px;
}

.db-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.db-menu-sec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-menu-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
  padding-left: 12px;
}
.db-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.db-menu-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.db-menu-item.active {
  color: #042016;
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  box-shadow: 0 4px 12px rgba(var(--glow-color), 0.15);
}
.db-menu-item-icon {
  display: inline-flex;
  align-items: center;
}

.db-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.db-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.db-card {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(12, 19, 16, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 4px;
}
.db-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.db-profile-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 600px) {
  .db-profile-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}
.db-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--neon-soft);
  overflow: hidden;
  box-shadow: 0 0 16px rgba(var(--glow-color), 0.2);
}
.db-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.db-profile-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-profile-info-row {
  display: flex;
  font-size: 0.88rem;
  line-height: 1.5;
}
.db-profile-info-lbl {
  color: var(--text-faint);
  width: 180px;
  font-weight: 600;
}
.db-profile-info-val {
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.db-stats-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.db-stats-bar-container {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.db-stats-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-stats-medal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(242, 193, 78, 0.1);
  border: 1px solid #f2c14e;
  display: grid;
  place-items: center;
  color: #f2c14e;
  box-shadow: 0 0 12px rgba(242, 193, 78, 0.25);
}
.db-stats-badge-text h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.db-stats-badge-text span {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.db-stats-bar-wrap {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-stats-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
}
.db-stats-bar-info .current {
  color: var(--neon);
}
.db-stats-bar-info .next {
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.db-stats-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.db-stats-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--neon-soft));
  border-radius: 3px;
}

.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 768px) {
  .db-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .db-stats-grid {
    grid-template-columns: 1fr;
  }
}
.db-stats-box {
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s;
}
.db-stats-box:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--glow-color), 0.25);
}
.db-stats-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.db-stats-box-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

/* Empty placeholder panel styling */
.db-empty-box {
  text-align: center;
  padding: 42px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.db-empty-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 440px;
  line-height: 1.5;
}

/* Tournaments and Tables */
.db-table-responsive {
  width: 100%;
  overflow-x: auto;
}
.db-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}
.db-table th {
  padding: 10px 14px;
  color: var(--text-faint);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.db-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.db-table tr:last-child td {
  border-bottom: none;
}
.db-game-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.db-game-img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  background: #08110e;
}
.db-game-details strong {
  display: block;
  font-weight: 700;
  color: var(--text);
}
.db-game-details span {
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* Rating / Ranks display */
.db-ranks-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
@media (max-width: 680px) {
  .db-ranks-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .db-ranks-showcase {
    grid-template-columns: 1fr;
  }
}
.db-rank-card {
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.db-rank-card.active {
  border-color: rgba(var(--glow-color), 0.4);
  background: rgba(var(--glow-color), 0.03);
}
.db-rank-card-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}
.db-rank-card-pts {
  font-size: 0.74rem;
  color: var(--text-faint);
}
.db-rank-card-fill {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.db-rank-card-fill-inner {
  height: 100%;
  background: var(--neon);
  border-radius: 2px;
}

/* Form Settings Group */
.db-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .db-form-row {
    grid-template-columns: 1fr;
  }
}
.db-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-form-group label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
}
.db-input {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.db-input:focus {
  border-color: var(--neon);
}
.db-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.db-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0;
}
.db-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.db-checkbox input {
  margin-top: 3px;
}
.db-checkbox span {
  line-height: 1.35;
}

.db-avatar-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.db-avatar-opt {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  background: none;
  flex-shrink: 0;
}
.db-avatar-opt:hover {
  transform: scale(1.08);
  border-color: var(--line-strong);
}
.db-avatar-opt.selected {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(var(--glow-color), 0.45);
  transform: scale(1.08);
}
.db-avatar-opt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Google Connected Card */
.db-google-card {
  background: rgba(66, 133, 244, 0.04);
  border: 1px solid rgba(66, 133, 244, 0.2);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.db-google-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-google-icon {
  color: #4285f4;
  display: flex;
}
.db-google-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.db-google-details p {
  font-size: 0.76rem;
  color: var(--text-faint);
  margin: 2px 0 0 0;
}
.db-google-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(47, 232, 132, 0.12);
  color: var(--neon-soft);
  border: 1.5px solid rgba(47, 232, 132, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.db-card > .db-profile-grid,
.db-card > .db-stats-group,
.db-card > .db-table-responsive,
.db-card > .db-ranks-showcase,
.db-card > p,
.db-card > .db-simple-form,
.db-card > .db-profile-actions {
  padding: 24px;
}
.db-empty-box h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}
.db-tabs-row {
  display: flex;
  gap: 24px;
  padding: 22px 24px 0;
  color: var(--text-dim);
  font-weight: 800;
  flex-wrap: wrap;
}
.db-tabs-row span {
  padding-bottom: 10px;
}
.db-tabs-row .active {
  color: var(--text);
  border-bottom: 3px solid var(--neon);
}
.db-empty-plain {
  padding-top: 34px;
}
.db-ranks-showcase {
  margin: 0;
}
.db-profile-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.db-simple-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.db-simple-form .db-input {
  width: 100%;
}
.db-radio-row,
.db-radio-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.db-radio-stack {
  flex-direction: column;
}
.db-radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
}
.db-radio input,
.db-checkbox input {
  accent-color: var(--neon);
}
.db-settings-card {
  padding-bottom: 10px;
}
.db-settings-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 380px);
  gap: 28px;
  align-items: start;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.db-settings-row h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 0 0 4px;
}
.db-settings-row p {
  color: var(--text-dim);
  margin: 0;
  line-height: 1.35;
}
.db-select-look {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.db-select-look:hover,
.db-select-look:focus {
  border-color: var(--neon-soft);
  box-shadow: 0 0 10px rgba(var(--glow-color), 0.12);
}
.db-select-look:active {
  transform: scale(0.99);
}
.db-custom-select {
  position: relative;
  width: 100%;
}
.db-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(8, 17, 14, 0.98);
  box-shadow: var(--shadow-lift);
  padding: 6px;
  backdrop-filter: blur(12px);
}
.db-select-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  text-align: left;
  padding: 9px 12px;
  font: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.db-select-menu button:hover,
.db-select-menu button.active {
  background: rgba(47, 232, 132, 0.12);
  color: var(--text);
  padding-left: 16px;
}
.db-tag-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.db-tag-row span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}
.db-section-label {
  margin: 0 0 -12px;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.db-info-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(37, 132, 255, 0.4);
  border-radius: var(--r-sm);
  background: rgba(37, 132, 255, 0.08);
  color: var(--text);
  font-style: italic;
  backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .db-settings-row {
    grid-template-columns: 1fr;
  }
}

/* Header User Profile Dropdown Menu */
.hdr-user-dropdown {
  position: relative;
  display: inline-block;
}
.hdr-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.2s;
}
.hdr-user-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}
.hdr-user-btn-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
}
.hdr-user-btn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hdr-user-btn-chev {
  color: var(--text-faint);
  display: inline-flex;
  transition: transform 0.2s;
}
.hdr-user-dropdown.open .hdr-user-btn-chev {
  transform: rotate(180deg);
}
.hdr-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  z-index: 200;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #08100e;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transform-origin: top right;
  transition: opacity 0.2s, transform 0.2s;
}
.hdr-user-dropdown.open .hdr-user-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hdr-user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.hdr-user-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.hdr-user-menu-item.logout {
  color: #ff6b6b;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  border-radius: 0 0 6px 6px;
}
.hdr-user-menu-item.logout:hover {
  background: rgba(255, 107, 107, 0.08);
}

/* ============================================================
   Premium Admin Dashboard Styles
   ============================================================ */
.adm-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: #050807;
  color: var(--text);
  font-family: var(--font-body);
}

.adm-sidebar {
  background: #080d0b;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
}

.adm-sidebar-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
}

.adm-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.adm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  color: #050a08;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 0 12px rgba(var(--glow-color), 0.3);
}

.adm-username {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.adm-role {
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-top: 1px;
}

.adm-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.adm-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.adm-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transform: translateX(4px);
}

.adm-sidebar-link.active {
  background: linear-gradient(135deg, rgba(var(--glow-color), 0.12), rgba(var(--glow-color), 0.02));
  border: 1px solid rgba(var(--glow-color), 0.35);
  color: var(--neon-soft);
  box-shadow: 0 4px 24px -6px rgba(var(--glow-color), 0.25);
}

.adm-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.adm-main {
  padding: 48px 56px;
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.adm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.adm-header-title h1 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.adm-header-subtitle {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

.adm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 232, 132, 0.08);
  border: 1px solid rgba(47, 232, 132, 0.2);
  color: var(--neon-soft);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(47, 232, 132, 0.05);
}

.adm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.adm-stat-card {
  padding: 24px;
  border-radius: 16px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.03), transparent), rgba(12, 20, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.adm-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--glow-color), 0.35);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9), 0 0 16px rgba(var(--glow-color), 0.1);
}

.adm-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.adm-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text);
}

.adm-stat-lbl {
  font-size: 0.84rem;
  color: var(--text-dim);
  font-weight: 500;
}

.adm-content-wrapper {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Custom styles for Admin DB components */
.adm-content-wrapper .db-card {
  background: rgba(12, 19, 16, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.8) !important;
  padding: 24px;
}

.adm-content-wrapper .db-table th {
  padding: 16px 18px;
  color: var(--text-dim);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.adm-content-wrapper .db-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
  color: var(--text-dim);
}

.adm-content-wrapper .db-table tbody tr {
  transition: background 0.2s;
}

.adm-content-wrapper .db-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.adm-content-wrapper .db-table tbody tr:hover td {
  color: var(--text);
}

.adm-content-wrapper .db-input {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  padding: 12px 16px !important;
  font-family: var(--font-body);
  font-size: 0.9rem !important;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.adm-content-wrapper .db-input:focus {
  border-color: rgba(var(--glow-color), 0.6) !important;
  box-shadow: 0 0 0 3px rgba(var(--glow-color), 0.12) !important;
  background: rgba(0, 0, 0, 0.45) !important;
}

/* Form structure */
.adm-form-section {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.adm-form-section-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--neon-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

/* Responsive constraints */
@media (max-width: 1024px) {
  .adm-layout {
    grid-template-columns: 1fr;
  }
  .adm-sidebar {
    height: auto;
    position: relative;
    padding: 24px;
  }
  .adm-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .adm-sidebar-link {
    width: auto;
  }
  .adm-main {
    padding: 28px;
  }
  .adm-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   Premium Admin Filter Manager Styles
   ============================================================ */
.adm-filter-manager {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.adm-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.adm-error-banner {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid #ff6b6b;
  color: #ff9b9b;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.adm-filter-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .adm-filter-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.adm-filter-tabs {
  background: rgba(12, 19, 16, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adm-filter-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.adm-filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transform: translateX(4px);
}

.adm-filter-tab-btn.active {
  background: linear-gradient(135deg, rgba(var(--glow-color), 0.1), rgba(var(--glow-color), 0.02));
  border-color: rgba(var(--glow-color), 0.3);
  color: var(--neon-soft);
}

.adm-filter-tab-btn .tab-icon {
  font-size: 1.1rem;
}

.adm-filter-tab-btn .tab-label {
  flex: 1;
}

.adm-filter-tab-btn .tab-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s;
}

.adm-filter-tab-btn.active .tab-count {
  background: rgba(47, 232, 132, 0.15);
  color: var(--neon);
}

.adm-filter-detail {
  background: rgba(12, 19, 16, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
}

@media (max-width: 600px) {
  .adm-filter-detail {
    padding: 20px;
  }
}

.adm-filter-detail .detail-header h3 {
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.adm-filter-detail .detail-header p {
  margin: 0 0 24px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.4;
}

.adm-filter-detail .detail-add-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.adm-filter-detail .detail-list-header h4 {
  margin: 0 0 16px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.adm-filter-detail .detail-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-faint);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.9rem;
}

.adm-filter-detail .detail-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.adm-filter-detail .detail-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 12px;
  transition: border-color 0.2s, background-color 0.2s;
}

.adm-filter-detail .detail-item-row:focus-within {
  border-color: rgba(var(--glow-color), 0.25);
  background: rgba(0, 0, 0, 0.25);
}

.adm-filter-detail .detail-item-row .db-input {
  border: none !important;
  background: transparent !important;
  padding: 8px 10px !important;
  font-size: 0.88rem !important;
  box-shadow: none !important;
}

.btn-danger-ghost {
  background: transparent;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-danger-ghost:hover {
  background: rgba(255, 107, 107, 0.12);
  color: #ff8b8b;
  transform: scale(1.05);
}

.btn-danger-ghost:active {
  transform: scale(0.95);
}

/* Premium Admin Card Layout */
.adm-casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.adm-casino-card {
  background: rgba(12, 19, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.adm-casino-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-soft);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 16px rgba(var(--glow-color), 0.12);
}

.adm-casino-card-banner {
  position: relative;
  height: 140px;
  background: #0b110f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.adm-casino-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adm-casino-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(5, 10, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}

.adm-casino-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.adm-casino-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adm-casino-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adm-casino-card-slug {
  font-family: monospace;
  font-size: 0.76rem;
  color: var(--text-faint);
}

.adm-casino-card-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon-soft);
}

.adm-casino-card-score span {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 500;
}

.adm-casino-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: 10px;
}

.adm-casino-card-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-casino-card-meta-label {
  font-size: 0.65rem;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.adm-casino-card-meta-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-casino-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Huge Button Styles */
.btn-huge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-huge-primary {
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  color: #050a08;
  box-shadow: 0 4px 12px rgba(var(--glow-color), 0.2);
}

.btn-huge-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--glow-color), 0.35);
  filter: brightness(1.05);
}

.btn-huge-primary:active {
  transform: translateY(0);
}

.btn-huge-danger {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: #ff6b6b;
}

.btn-huge-danger:hover {
  background: rgba(255, 107, 107, 0.16);
  border-color: #ff6b6b;
  color: #ff8b8b;
  transform: translateY(-2px);
}

.btn-huge-danger:active {
  transform: translateY(0);
}

.btn-huge-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.btn-huge-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-2px);
}

/* Add New Casino Dashed Card */
.adm-casino-card.add-new {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  cursor: pointer;
  padding: 24px;
}

.adm-casino-card.add-new:hover {
  border-color: var(--neon-soft);
  background: rgba(var(--glow-color), 0.03);
}

.adm-casino-card-add-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  transition: color 0.2s;
  text-align: center;
}

.adm-casino-card-add-content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.adm-casino-card-add-content p {
  margin: 0;
  font-size: 0.8rem;
  max-width: 220px;
}

.adm-casino-card.add-new:hover .adm-casino-card-add-content {
  color: var(--neon-soft);
}


/* =====================================================================
   NA · Novo Admin Compacto (topbar + cards densos + botões compactos)
   ===================================================================== */
.na-app {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(var(--glow-color), 0.07), transparent 60%),
    #060a09;
  color: var(--text);
  font-family: var(--font-body);
}

/* ── Topbar ────────────────────────────────────────────────────────── */
.na-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 56px;
  padding: 0 20px;
  background: rgba(8, 13, 11, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.na-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.na-brand b { color: var(--neon); }

.na-nav {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.na-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.na-nav-btn:hover { color: var(--text); }
.na-nav-btn.active {
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  color: #052016;
  box-shadow: 0 3px 10px rgba(var(--glow-color), 0.25);
}

.na-spacer { flex: 1; }

.na-stats {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.na-stat {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1;
  white-space: nowrap;
}
.na-stat-ico { color: var(--text-faint); flex: none; }
.na-stat-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}
.na-stat-val.accent { color: var(--neon-soft); }
.na-stat-best {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.na-stat-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  font-weight: 700;
}

.na-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
}
.na-iconbtn:hover { color: var(--text); border-color: var(--line-strong); }
.na-iconbtn.danger:hover { color: #ff8b8b; border-color: rgba(255,107,107,0.4); background: rgba(255,107,107,0.08); }

/* ── Main ──────────────────────────────────────────────────────────── */
.na-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px 60px;
}
@media (max-width: 720px) {
  .na-topbar { overflow-x: auto; gap: 12px; padding: 0 14px; }
  .na-brand { font-size: 0.95rem; }
  .na-main { padding: 16px 14px 50px; }
}

.na-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.na-toolbar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}
.na-toolbar p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Compact buttons ───────────────────────────────────────────────── */
.na-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.2,0.8,0.2,1);
  white-space: nowrap;
}
.na-btn-sm { padding: 6px 11px; font-size: 0.78rem; }
.na-btn-primary {
  background: linear-gradient(135deg, var(--neon-soft), var(--neon-deep));
  color: #052016;
  box-shadow: 0 3px 10px rgba(var(--glow-color), 0.2);
}
.na-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 5px 14px rgba(var(--glow-color), 0.3); }
.na-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
}
.na-btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }
.na-btn-danger {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.22);
  color: #ff7b7b;
}
.na-btn-danger:hover { background: rgba(255, 107, 107, 0.15); color: #ff9b9b; }

/* ── Compact casino grid (horizontal dense cards) ──────────────────── */
.na-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}

.na-card {
  display: flex;
  flex-direction: column;
  background: rgba(12, 19, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.na-card:hover {
  border-color: rgba(var(--glow-color), 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.8);
}
.na-card-thumb {
  position: relative;
  height: 96px;
  background: #0b110f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex: none;
}
.na-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.na-card-thumb .na-no-img {
  display: grid; place-items: center; height: 100%;
  color: var(--text-faint); font-size: 0.62rem;
}
.na-card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.na-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.na-card-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.na-card-id { font-family: monospace; font-size: 0.66rem; color: var(--text-faint); }
.na-score-pill {
  flex: none;
  display: inline-flex; align-items: baseline; gap: 2px;
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(var(--glow-color), 0.1);
  color: var(--neon-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
}
.na-score-pill small { font-size: 0.58rem; color: var(--text-faint); font-weight: 600; }

.na-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.na-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
}
.na-chip.gold { color: var(--gold); }
.na-chip.warn { color: #ff8b8b; border-color: rgba(255,107,107,0.25); }
.na-chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.na-card-actions { display: flex; gap: 6px; margin-top: auto; }
.na-card-actions .na-btn { flex: 1; }

.na-card.add {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.012);
  cursor: pointer;
  min-height: 180px;
  text-align: center;
  color: var(--text-faint);
  gap: 6px;
  padding: 14px;
}
.na-card.add:hover { border-color: var(--neon-soft); color: var(--neon-soft); background: rgba(var(--glow-color),0.03); }
.na-card.add .na-add-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.na-card.add b { font-size: 0.9rem; font-weight: 700; }

.na-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text-dim);
}

/* ── Compact filters (tabs on top, items below) ────────────────────── */
.na-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.na-filter-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.na-filter-tab:hover { color: var(--text); border-color: var(--line-strong); }
.na-filter-tab.active {
  background: linear-gradient(135deg, rgba(var(--glow-color),0.14), rgba(var(--glow-color),0.03));
  border-color: rgba(var(--glow-color), 0.4);
  color: var(--neon-soft);
}
.na-filter-tab .cnt {
  font-size: 0.66rem; font-weight: 800;
  padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
}
.na-filter-tab.active .cnt { background: rgba(var(--glow-color),0.18); color: var(--neon); }

.na-panel {
  background: rgba(12, 19, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
}
.na-panel-head { margin-bottom: 14px; }
.na-panel-head h3 { margin: 0 0 3px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }
.na-panel-head p { margin: 0; font-size: 0.78rem; color: var(--text-dim); }

.na-add-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}
.na-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.na-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 9px;
  padding: 3px 4px 3px 6px;
}
.na-item-row .db-input { border: none !important; background: transparent !important; box-shadow: none !important; padding: 7px 6px !important; font-size: 0.82rem !important; }

/* ── Compact form (editor) ─────────────────────────────────────────── */
.na-form {
  background: rgba(10, 16, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px;
}
.na-form-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.na-form-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--neon-soft); }
.na-form-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }
.na-section-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .na-section-grid2 { grid-template-columns: 1fr; } }

/* =====================================================================
   Verificação de idade (18+) · fundo do site desfocado
   ===================================================================== */
.agegate-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 8, 7, 0.62);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  animation: fadeIn 0.3s ease;
}
.agegate {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 34px 30px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
}
.agegate-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.agegate-title svg { color: var(--neon); flex: none; }
.agegate-body { margin: 0 0 22px; color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.agegate-denied { margin: 6px 0 18px; color: #ff9b9b; font-size: 0.95rem; line-height: 1.55; font-weight: 600; }
.agegate-actions { display: flex; gap: 10px; }
.agegate-actions .btn { flex: 1; border-radius: var(--r-sm); padding: 10px 14px; font-size: 0.86rem; }
.agegate-warn { margin: 18px 0 0; font-size: 0.74rem; color: var(--text-faint); font-weight: 600; letter-spacing: 0.02em; }

/* =====================================================================
   Banner de cookies (com personalização)
   ===================================================================== */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  padding: 14px;
  display: flex;
  justify-content: center;
  animation: cookieUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cookieUp { from { transform: translateY(120%); } to { transform: none; } }
.cookie-inner {
  width: 100%;
  max-width: 920px;
  background: rgba(9, 14, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-text { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 240px; }
.cookie-emoji { font-size: 1.5rem; line-height: 1; flex: none; }
.cookie-title { font-family: var(--font-display); font-size: 0.98rem; font-weight: 800; display: block; }
.cookie-body { margin: 4px 0 0; font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { white-space: nowrap; }

.cookie-custom { width: 100%; }
.cookie-cats {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cookie-cat-info { display: flex; flex-direction: column; gap: 2px; }
.cookie-cat-name { font-weight: 700; font-size: 0.86rem; }
.cookie-cat-desc { font-size: 0.76rem; color: var(--text-faint); }
.cookie-locked { font-size: 0.72rem; font-weight: 700; color: var(--neon-soft); white-space: nowrap; }
.cookie-switch {
  flex: none;
  width: 42px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-switch .cookie-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform 0.2s, background 0.2s;
}
.cookie-switch.on { background: rgba(var(--glow-color), 0.25); border-color: rgba(var(--glow-color), 0.6); }
.cookie-switch.on .cookie-knob { transform: translateX(18px); background: var(--neon); }

@media (max-width: 620px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* =====================================================================
   Correção: botão "Visitar casino" no modal de reviews
   (era pill enorme — agora compacto e com cantos suaves)
   ===================================================================== */
.modal-side .btn-block {
  border-radius: var(--r-sm);
  padding: 11px 18px;
  font-size: 0.9rem;
}

/* Botões das cards de casino no site — menos grandes e menos arredondados */
.ccard-actions .btn {
  border-radius: var(--r-sm);
  padding: 8px 13px;
  font-size: 0.84rem;
}
/* Botões do banner de cookies — cantos suaves coerentes */
.cookie-actions .btn { border-radius: var(--r-sm); }

