@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Rajdhani:wght@400;500;600&display=swap');

:root {
  --bg: #0d0d0d;
  --panel: rgba(16, 16, 16, .86);
  --panel-2: rgba(24, 24, 24, .72);
  --line: rgba(212, 175, 55, .24);
  --gold: #d4af37;
  --gold-2: #b8860b;
  --text: #f4f0e6;
  --muted: #b5b5b5;
  --soft: #777777;
  --red: #ff5f63;
  --green: #28d483;
  --blue: #5fb7ff;
  --radius: 8px;
  --radius-lg: 16px;
  --glass: rgba(8, 11, 14, .68);
  --glass-strong: rgba(8, 10, 13, .84);
  --line-soft: rgba(255, 255, 255, .075);
  --gold-glow: rgba(212, 175, 55, .18);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, .42);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif; font-weight: 400; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.app-body {
  background:
    radial-gradient(circle at 70% -8%, rgba(212,175,55,.14), transparent 32rem),
    linear-gradient(135deg, rgba(184,134,11,.09), transparent 22rem),
    linear-gradient(180deg, #0d0d0d, #050505 70%);
  min-height: 100vh;
}
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.auth-shell { display: block; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 22px 18px;
  background: linear-gradient(180deg, rgba(13,13,13,.96), rgba(8,8,8,.94));
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px;
}
.brand, .top-logo { display: flex; align-items: center; gap: 10px; font-family: Rajdhani, Montserrat, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.brand span, .top-logo span { color: var(--gold); }
.nav { display: grid; gap: 8px; }
.nav a {
  padding: 12px 13px; border-radius: var(--radius); color: #d8d8d8; border: 1px solid transparent;
  background: linear-gradient(90deg, rgba(255,255,255,.026), transparent);
  font-size: 14px; font-weight: 400;
}
.nav a:hover { border-color: var(--line); color: #fff; background: rgba(212,175,55,.08); }
.nav-section { margin: 14px 10px 2px; font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.sidebar-legal { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 12px; background: rgba(212,175,55,.055); }
.sidebar-legal strong { color: var(--gold); }
.logout-link { color: var(--muted); font-size: 14px; }
.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: var(--radius);
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(184,134,11,.045));
  font-weight: 500;
}
.logout-button:before { content: none; }
.logout-button:hover { background: rgba(212,175,55,.14); color: #fff; }
.app-main { min-width: 0; padding: 18px 22px; }
.auth-main { padding: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; gap: 16px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(13,13,13,.84); backdrop-filter: blur(18px); box-shadow: 0 18px 45px rgba(0,0,0,.24);
}
.top-logo img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.top-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); border-radius: var(--radius); padding: 0 12px; }
.top-search input { width: 100%; height: 42px; background: transparent; border: 0; color: var(--text); outline: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(212,175,55,.07); color: var(--gold); cursor: pointer; }
.hamburger { display: none; }
.bell { position: relative; }
.bell small { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; min-width: 18px; border-radius: 20px; font-size: 11px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.user-chip img, .avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.gold-button, .ghost-button, .danger-button {
  border: 0; border-radius: var(--radius); padding: 12px 16px; cursor: pointer; font-weight: 500;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.gold-button { color: #0d0d0d; background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 10px 28px rgba(212,175,55,.16); }
.gold-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ghost-button { border: 1px solid var(--line); color: var(--gold); background: rgba(212,175,55,.06); }
.danger-button { background: rgba(255,95,99,.15); color: #ffb8ba; border: 1px solid rgba(255,95,99,.28); }
.compact { padding: 9px 12px; font-size: 14px; }
.page { padding-top: 20px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 8px 0 18px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 500; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-family: Rajdhani, Montserrat, sans-serif; font-weight: 500; letter-spacing: .015em; }
h1 { font-size: clamp(30px, 4vw, 50px); }
h2 { font-size: 25px; }
h3 { font-size: 19px; }
.muted { color: var(--muted); }
.grid-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.feed, .stack { display: grid; gap: 14px; }
.dashboard-feed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.card, .tip-card, .panel, .stat-card {
  border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21,21,21,.84), rgba(10,10,10,.9));
  box-shadow: 0 18px 48px rgba(0,0,0,.22); backdrop-filter: blur(14px);
}
.card, .panel, .stat-card { padding: 18px; }
.hero-card { overflow: hidden; min-height: 260px; background-size: cover; background-position: center; position: relative; display: flex; align-items: end; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.hero-card:before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(13,13,13,.92), rgba(13,13,13,.35)); }
.hero-card > div { position: relative; max-width: 620px; }
.dashboard-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0d0d;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
.slider-slide {
  position: relative;
  aspect-ratio: 2048 / 547;
  min-height: 220px;
  display: block;
}
.slider-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.slider-slide:after { display: none; }
.slider-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: 34px 38px;
}
.slider-copy p {
  max-width: 560px;
  margin: 12px 0 10px;
  color: #e0e0e0;
}
.slider-copy small {
  display: inline-flex;
  color: var(--gold);
  background: rgba(13,13,13,.62);
  border: 1px solid rgba(212,175,55,.26);
  border-radius: 999px;
  padding: 7px 11px;
}
.slider-dots {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}
.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
}
.slider-dots span.active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}
.slider-note {
  margin: 8px 2px 0;
  color: var(--soft);
  font-size: 12px;
}
.worldcup-page {
  background:
    radial-gradient(circle at 80% 0%, rgba(212,175,55,.13), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 18rem);
}
.worldcup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(13,13,13,.88), rgba(13,13,13,.52)),
    url('/assets/images/login-bg.png') right center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}
.worldcup-hero h1 {
  margin-top: 10px;
  font-size: clamp(38px, 6vw, 74px);
}
.worldcup-hero p {
  max-width: 720px;
  color: #e4e4e4;
  font-size: 18px;
}
.countdown-card {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: var(--radius);
  background: rgba(13,13,13,.7);
}
.countdown-card strong { font-family: Rajdhani, Montserrat, sans-serif; font-size: 25px; font-weight: 500; }
.countdown-card small { color: var(--gold); font-size: 22px; font-family: Rajdhani, Montserrat, sans-serif; }
.worldcup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.worldcup-main { display: grid; gap: 16px; }
.wc-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 14px;
}
.consensus-card {
  background:
    linear-gradient(145deg, rgba(212,175,55,.11), rgba(10,10,10,.9)),
    #0d0d0d;
}
.consensus-card p strong { color: var(--gold); }
.worldcup-matches { display: grid; gap: 16px; }
.wc-match-card {
  padding: 16px;
  border: 1px solid rgba(212,175,55,.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21,21,21,.84), rgba(10,10,10,.92));
}
.wc-match-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}
.wc-match-head h2 { margin-top: 10px; }
.wc-match-stats {
  min-width: 92px;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(212,175,55,.06);
}
.wc-match-stats strong { display: block; color: var(--gold); font-size: 28px; font-family: Rajdhani, Montserrat, sans-serif; }
.wc-match-stats span { color: var(--muted); font-size: 12px; }
.wc-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wc-pass-card {
  background: linear-gradient(145deg, rgba(212,175,55,.13), rgba(9,9,9,.94));
}
.worldcup-side { top: 92px; }
.inline-form { margin-top: 14px; }
.packages-grid { align-items: stretch; }
.package-card { align-content: start; }
.featured-package { border-color: rgba(212,175,55,.42); background: linear-gradient(145deg, rgba(212,175,55,.13), rgba(10,10,10,.92)); }
.package-price { display: block; color: var(--gold); font-family: Rajdhani, Montserrat, sans-serif; font-size: 30px; font-weight: 500; }
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.tip-card .tip-pick-card {
  padding: 14px;
  box-shadow: none;
  background: rgba(255,255,255,.035);
}
.tip-card .tip-pick-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.filters { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--text); border-radius: var(--radius); padding: 11px 12px; outline: 0; font-weight: 400; }
select option { background: #111216; }
label { display: grid; gap: 7px; color: #d7d7d7; font-size: 14px; font-weight: 400; }
.form-grid { display: grid; gap: 14px; }
.form-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tip-card { padding: 16px; display: grid; gap: 13px; }
.tip-top, .tip-bottom, .tipster-line, .meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tip-top { justify-content: space-between; }
.sport-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(212,175,55,.09); border: 1px solid var(--line); }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid rgba(255,255,255,.12); color: #ddd; }
.badge.gold { color: #140d02; background: var(--gold); }
.badge.wc { color: #0d0d0d; background: linear-gradient(135deg, #f4df8d, var(--gold)); border-color: rgba(212,175,55,.45); }
.badge.free { color: #b8ffe0; background: rgba(40,212,131,.13); border-color: rgba(40,212,131,.3); }
.badge.live { color: #001827; background: var(--blue); }
.badge.won { color: #002314; background: var(--green); }
.badge.lost { color: #fff; background: var(--red); }
.badge.push, .badge.upcoming { color: var(--gold); background: rgba(212,175,55,.1); }
.pick-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick-box div { padding: 12px; border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); color: var(--soft); }
.pick-box strong { display: block; color: var(--gold); margin-top: 3px; font-weight: 500; }
.locked { border: 1px dashed rgba(212,175,55,.42); background: rgba(212,175,55,.06); padding: 14px; border-radius: var(--radius); }
.locked-odds-grid { grid-template-columns: 1.15fr .85fr; }
.daily-free-panel {
  border-color: rgba(40,212,131,.34);
  background:
    linear-gradient(145deg, rgba(40,212,131,.08), rgba(212,175,55,.06)),
    linear-gradient(145deg, rgba(21,21,21,.92), rgba(10,10,10,.94));
  box-shadow: 0 18px 55px rgba(0,0,0,.32), inset 0 0 0 1px rgba(40,212,131,.08);
}
.daily-free-panel > .badge {
  margin-bottom: 12px;
  font-size: 13px;
}
.featured-free-tip {
  border-color: rgba(40,212,131,.34);
}
.side-panel { display: grid; gap: 14px; position: sticky; top: 92px; }
.mini-list { display: grid; gap: 12px; }
.mini-item { display: flex; align-items: center; gap: 10px; }
.mini-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.stats-grid, .tipster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card strong { display: block; font-family: Rajdhani, Montserrat, sans-serif; font-size: 28px; font-weight: 500; color: var(--gold); }
.tipster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tipster-card { display: grid; gap: 13px; }
.tipster-head { display: flex; gap: 12px; align-items: center; }
.tipster-head img, .profile-avatar { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-row span { background: rgba(255,255,255,.045); padding: 10px; border-radius: var(--radius); color: var(--muted); font-size: 12px; }
.metric-row strong { color: var(--text); display: block; font-size: 15px; font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; vertical-align: top; }
th { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}
.login-page:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('/assets/images/login-bg.png?v=202604241140') right center / cover no-repeat;
}
.login-page:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(13,13,13,.34), rgba(13,13,13,.06) 22rem, transparent 42rem),
    linear-gradient(90deg, rgba(13,13,13,.22) 0%, rgba(13,13,13,.08) 42%, rgba(13,13,13,0) 100%);
  pointer-events: none;
}
.login-card { position: relative; z-index: 2; width: min(430px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7,7,9,.82); backdrop-filter: blur(16px); box-shadow: 0 25px 90px rgba(0,0,0,.42); }
.login-logo { width: 128px; height: 128px; object-fit: cover; margin: 0 auto 12px; border-radius: 50%; border: 1px solid var(--line); }
.demo-box { display: grid; gap: 6px; margin-top: 16px; padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,.045); color: var(--muted); font-size: 13px; }
.demo-box strong { color: var(--gold); }
.legal, .app-footer { color: var(--muted); font-size: 12px; }
.flash { margin: 14px 0; padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.flash.success { color: #b8ffe0; background: rgba(40,212,131,.12); }
.flash.error { color: #ffd1d2; background: rgba(255,95,99,.12); }
.app-footer { display: flex; gap: 16px; flex-wrap: wrap; padding: 24px 0 6px; }
@media (max-width: 1120px) {
  .grid-dashboard { grid-template-columns: 1fr; }
  .worldcup-layout, .worldcup-hero { grid-template-columns: 1fr; }
  .side-panel { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tipster-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .dashboard-feed { grid-template-columns: 1fr; }
  .wc-feature-grid, .wc-tip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 40; left: 0; transform: translateX(-105%); transition: transform .2s ease; width: min(86vw, 310px); }
  .sidebar-open .sidebar { transform: translateX(0); }
  .mobile-backdrop { display: none; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.55); }
  .sidebar-open .mobile-backdrop { display: block; }
  .hamburger { display: inline-grid; place-items: center; }
  .app-main { padding: 12px; }
  .topbar { grid-template-columns: auto 1fr auto; }
  .top-logo span, .user-chip span, .top-actions .gold-button, .bell { display: none; }
  .top-search { grid-column: 1 / -1; order: 2; }
  .page-head { display: grid; align-items: start; }
  .filters, .form-two, .pick-box, .stats-grid, .tipster-grid, .side-panel { grid-template-columns: 1fr; }
  .hero-card { min-height: 220px; padding: 20px; }
  .slider-slide { min-height: 150px; aspect-ratio: 16 / 5.6; }
  .slider-copy { padding: 24px 20px 54px; }
  .slider-dots { left: 20px; right: auto; }
  .worldcup-hero { padding: 20px; }
  .wc-match-head { display: grid; }
}

/* 2026-04 premium glass refresh */
.app-body {
  background:
    radial-gradient(circle at 86% -6%, rgba(212,175,55,.22), transparent 28rem),
    radial-gradient(circle at 12% 12%, rgba(184,134,11,.09), transparent 24rem),
    linear-gradient(180deg, #0d0d0d 0%, #050505 55%, #020202 100%);
}

.app-shell { grid-template-columns: 280px minmax(0, 1fr); }

.sidebar {
  padding: 28px 18px 20px;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(7,9,11,.93), rgba(4,5,6,.96)),
    radial-gradient(circle at 55% 0%, rgba(212,175,55,.08), transparent 18rem);
  border-right-color: rgba(212,175,55,.16);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.04), 24px 0 70px rgba(0,0,0,.28);
}

.brand {
  padding: 0 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand img {
  width: 58px;
  height: 58px;
  box-shadow: 0 0 0 5px rgba(212,175,55,.035), 0 14px 30px rgba(0,0,0,.34);
}

.nav { gap: 10px; }

.nav a {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  border-color: rgba(255,255,255,.035);
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(255,255,255,.012);
  color: rgba(244,240,230,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nav a:hover {
  color: #fff;
  transform: translateX(2px);
  border-color: rgba(212,175,55,.42);
  background:
    linear-gradient(90deg, rgba(212,175,55,.12), rgba(212,175,55,.025)),
    rgba(255,255,255,.025);
  box-shadow: 0 0 0 1px rgba(212,175,55,.08), inset 0 1px 0 rgba(255,255,255,.06);
}

.nav-section {
  margin-top: 18px;
  color: rgba(212,175,55,.92);
}

.sidebar-legal,
.logout-button {
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(212,175,55,.09), rgba(255,255,255,.02)),
    rgba(7,9,11,.72);
  border-color: rgba(212,175,55,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.logout-button {
  min-height: 46px;
  letter-spacing: .01em;
}

.app-main { padding: 26px 28px; }

.topbar {
  padding: 12px 14px;
  border-radius: 16px;
  border-color: rgba(212,175,55,.18);
  background:
    linear-gradient(135deg, rgba(10,12,15,.78), rgba(5,6,8,.68)),
    rgba(5,7,9,.72);
  backdrop-filter: blur(24px) saturate(125%);
  box-shadow: 0 22px 75px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.055);
}

.top-logo img,
.user-chip img,
.avatar {
  box-shadow: 0 0 0 3px rgba(212,175,55,.05), 0 10px 24px rgba(0,0,0,.34);
}

.top-search {
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

input, select, textarea {
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.027)),
    rgba(5,7,9,.62);
  border-color: rgba(255,255,255,.095);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

input:focus,
select:focus,
textarea:focus,
.top-search:focus-within {
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 0 0 3px rgba(212,175,55,.075), inset 0 1px 0 rgba(255,255,255,.04);
}

.gold-button,
.ghost-button,
.danger-button,
.icon-button {
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.gold-button {
  color: #0b0b0b;
  background: linear-gradient(135deg, #e2bd45, #b8860b);
  box-shadow: 0 12px 34px rgba(212,175,55,.22), inset 0 1px 0 rgba(255,255,255,.24);
}

.ghost-button,
.icon-button {
  background: rgba(212,175,55,.055);
  border: 1px solid rgba(212,175,55,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.ghost-button:hover,
.icon-button:hover {
  border-color: rgba(212,175,55,.42);
  background: rgba(212,175,55,.105);
  transform: translateY(-1px);
}

.page { padding-top: 22px; }

.card,
.tip-card,
.panel,
.stat-card,
.wc-match-card,
.table-wrap,
.login-card {
  border-radius: var(--radius-lg);
  border-color: rgba(212,175,55,.16);
  background:
    linear-gradient(145deg, rgba(14,17,20,.72), rgba(4,5,7,.88)),
    rgba(7,9,11,.72);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(22px) saturate(118%);
}

.card:hover,
.tip-card:hover,
.panel:hover,
.stat-card:hover,
.wc-match-card:hover {
  border-color: rgba(212,175,55,.28);
}

.stat-card {
  min-height: 102px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 88% 0%, rgba(212,175,55,.105), transparent 12rem),
    linear-gradient(145deg, rgba(15,18,21,.74), rgba(5,6,8,.88));
}

.stat-card strong { font-size: 31px; }

.dashboard-slider {
  border-radius: 16px;
  border-color: rgba(212,175,55,.2);
  background: rgba(5,7,9,.78);
  box-shadow: 0 30px 95px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.045);
}

.slider-slide { min-height: 176px; }
.slider-slide img { filter: saturate(.96) contrast(1.02); }
.slider-note { padding-left: 2px; }

.worldcup-hero {
  border-radius: 18px;
  border-color: rgba(212,175,55,.2);
  background:
    linear-gradient(90deg, rgba(5,7,9,.9), rgba(5,7,9,.5) 52%, rgba(5,7,9,.76)),
    radial-gradient(circle at 82% 8%, rgba(212,175,55,.2), transparent 20rem),
    url('/assets/images/login-bg.png') right center / cover no-repeat;
  box-shadow: 0 30px 95px rgba(0,0,0,.43), inset 0 1px 0 rgba(255,255,255,.05);
}

.countdown-card,
.wc-match-stats {
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(212,175,55,.11), rgba(255,255,255,.02)),
    rgba(5,7,9,.66);
  border-color: rgba(212,175,55,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.daily-free-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border-color: rgba(212,175,55,.36);
  background:
    radial-gradient(circle at 12% 0%, rgba(212,175,55,.22), transparent 18rem),
    radial-gradient(circle at 88% 16%, rgba(40,212,131,.12), transparent 17rem),
    linear-gradient(145deg, rgba(18,20,18,.78), rgba(5,7,9,.9));
  box-shadow: 0 30px 95px rgba(0,0,0,.46), 0 0 0 1px rgba(40,212,131,.08), inset 0 1px 0 rgba(255,255,255,.055);
}

.daily-free-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(212,175,55,.08), transparent 35%, rgba(255,255,255,.025));
}

.daily-free-panel > * { position: relative; }

.daily-free-panel > .badge {
  padding: 7px 11px;
  background: rgba(40,212,131,.16);
  border-color: rgba(40,212,131,.44);
  box-shadow: 0 0 0 4px rgba(40,212,131,.035);
}

.tip-card {
  padding: 18px;
  gap: 14px;
  min-height: 0;
}

.tip-card.featured-free-tip {
  border-color: rgba(40,212,131,.34);
  box-shadow: 0 28px 85px rgba(0,0,0,.42), 0 0 0 1px rgba(40,212,131,.065), inset 0 1px 0 rgba(255,255,255,.05);
}

.sport-icon {
  background:
    radial-gradient(circle at 50% 30%, rgba(212,175,55,.2), transparent 62%),
    rgba(212,175,55,.065);
  border-color: rgba(212,175,55,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.badge {
  border-radius: 999px;
  padding: 6px 10px;
  border-color: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.badge.gold,
.badge.wc {
  background: linear-gradient(135deg, #f1d86d, #d4af37);
}

.badge.free {
  color: #caffdf;
  background: rgba(40,212,131,.14);
}

.pick-box div,
.tip-card .tip-pick-card,
.metric-row span {
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.025)),
    rgba(5,7,9,.55);
  border: 1px solid rgba(255,255,255,.085);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.locked {
  border-radius: 14px;
  border-color: rgba(212,175,55,.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(212,175,55,.16), transparent 14rem),
    linear-gradient(145deg, rgba(212,175,55,.075), rgba(8,9,10,.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.side-panel .panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(212,175,55,.1), transparent 12rem),
    linear-gradient(145deg, rgba(14,17,20,.72), rgba(4,5,7,.88));
}

.mini-item {
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}

.mini-item img {
  box-shadow: 0 0 0 3px rgba(212,175,55,.035);
}

.filters {
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.04);
}

th,
td { border-bottom-color: rgba(255,255,255,.055); }

.flash {
  border-radius: 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 46px rgba(0,0,0,.28);
}

.login-card {
  width: min(410px, 100%);
  background:
    linear-gradient(145deg, rgba(7,9,11,.78), rgba(4,5,7,.9)),
    rgba(7,7,9,.76);
}

@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 260px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-main { padding: 14px; }
  .sidebar { width: min(88vw, 320px); }
  .topbar { border-radius: 14px; }
  .slider-slide { min-height: 136px; }
  .daily-free-panel,
  .worldcup-hero { border-radius: 16px; }
  .filters { padding: 8px; }
}

/* VB Pass preregistration */
.prereg-page {
  padding: 22px;
}

.prereg-card {
  width: min(460px, 100%);
}

.prereg-card h1 {
  text-align: center;
  font-size: clamp(30px, 7vw, 42px);
}

.prereg-card > .muted {
  text-align: center;
  margin: 10px 0 18px;
}

.hp-field {
  display: none !important;
}

.privacy-check {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.privacy-check a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prereg-form .gold-button {
  min-height: 48px;
}

.admin-page {
  min-height: 100vh;
}

.admin-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.admin-login-page {
  min-height: 100vh;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-filters {
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 240px) auto;
  align-items: end;
  margin-bottom: 16px;
}

.admin-table {
  background: rgba(7, 9, 11, .78);
}

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-panel {
  width: min(780px, 100%);
}

.legal-panel p {
  line-height: 1.7;
}

@media (max-width: 760px) {
  .prereg-page {
    padding: 16px;
    align-items: center;
  }

  .prereg-card {
    padding: 20px;
  }

  .privacy-check {
    grid-template-columns: 20px minmax(0, 1fr);
    font-size: 13px;
  }

  .admin-wrap {
    width: min(100% - 24px, 1180px);
    padding: 20px 0;
  }

  .admin-actions {
    justify-content: stretch;
  }

  .admin-actions a,
  .admin-filters .gold-button {
    width: 100%;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }
}
/* Premium VB Pass preregistration card frame */
.prereg-page {
  padding: 22px;
}

.prereg-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.52);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.08),
    0 32px 105px rgba(0,0,0,.58),
    0 0 46px rgba(212,175,55,.10),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(22px) saturate(120%);
}

.prereg-card:before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(
      145deg,
      rgba(255,226,116,.92),
      rgba(212,175,55,.12) 22%,
      rgba(255,255,255,.05) 48%,
      rgba(184,134,11,.28) 72%,
      rgba(255,226,116,.72)
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}


.prereg-card > * {
  position: relative;
  z-index: 1;
}

.prereg-card .login-logo {
  width: 118px;
  height: 118px;
  margin-bottom: 12px;
}

.prereg-card h1 {
  text-align: center;
  font-size: clamp(31px, 6vw, 43px);
  line-height: 1.04;
  letter-spacing: .015em;
  color: #f7f2e7;
  text-shadow: 0 12px 34px rgba(0,0,0,.45);
}

.prereg-card h1 strong {
  display: block;
  color: var(--gold);
  font-weight: 500;
}

.prereg-card > .muted {
  max-width: 340px;
  margin: 12px auto 20px;
  text-align: center;
  color: rgba(244,240,230,.68);
  line-height: 1.45;
}

.prereg-form {
  gap: 13px;
}

.prereg-form label {
  color: rgba(244,240,230,.82);
}

.prereg-form input[type="text"],
.prereg-form input[type="email"] {
  min-height: 48px;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
    rgba(4,6,8,.72);
  border-color: rgba(255,255,255,.11);
}

.prereg-form input[type="text"]:focus,
.prereg-form input[type="email"]:focus {
  border-color: rgba(212,175,55,.55);
  box-shadow:
    0 0 0 3px rgba(212,175,55,.085),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.privacy-check {
  margin-top: 2px;
}

.privacy-check span {
  color: rgba(244,240,230,.72);
}

.privacy-check input {
  accent-color: var(--gold);
}

.privacy-check a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prereg-form .gold-button {
  min-height: 54px;
  margin-top: 4px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  background: linear-gradient(135deg, #f0cf59, #bf8707);
  box-shadow:
    0 16px 42px rgba(212,175,55,.26),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.prereg-form .gold-button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow:
    0 20px 52px rgba(212,175,55,.32),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.prereg-card .demo-box {
  margin-top: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(212,175,55,.16);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(7,9,11,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.prereg-card .demo-box strong {
  color: var(--gold);
}

.prereg-card .demo-box span {
  color: rgba(244,240,230,.68);
  line-height: 1.45;
}

.prereg-card .legal {
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(244,240,230,.62);
  line-height: 1.45;
}

@media (max-width: 760px) {
  .prereg-page {
    padding: 16px;
  }

  .prereg-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .prereg-card .login-logo {
    width: 102px;
    height: 102px;
  }

  .prereg-card h1 {
    font-size: clamp(29px, 9vw, 38px);
  }
}