:root {
  --bg: #070704;
  --bg-2: #111006;
  --panel: rgba(18, 16, 9, .78);
  --panel-2: rgba(28, 24, 12, .88);
  --card: rgba(255, 221, 92, .075);
  --text: #fff8db;
  --muted: #d8bd69;
  --muted-2: #9f8748;
  --line: rgba(255, 220, 88, .18);
  --line-2: rgba(255,255,255,.10);
  --gold: #ffd64d;
  --gold-2: #ffb800;
  --gold-3: #ffeaa0;
  --orange: #ff9b21;
  --green: #c8ff5b;
  --red: #ff4f6d;
  --shadow: 0 32px 110px rgba(0,0,0,.48);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(255,214,77,.22), transparent 23rem),
    radial-gradient(circle at 84% 20%, rgba(255,155,33,.18), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(255,214,77,.11), transparent 32rem),
    linear-gradient(180deg, #0a0904 0%, #050503 48%, #0b0904 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,214,77,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,77,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: .38;
  z-index: -3;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: .10;
  z-index: -2;
}
.site-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.suit { position: absolute; color: rgba(255,214,77,.14); font-size: clamp(58px, 9vw, 140px); filter: drop-shadow(0 0 28px rgba(255,184,0,.22)); }
.suit-a { top: 120px; left: 5%; transform: rotate(-14deg); }
.suit-b { top: 170px; right: 9%; transform: rotate(16deg); }
.suit-c { bottom: 25%; left: 11%; transform: rotate(9deg); }
.suit-d { bottom: 16%; right: 7%; transform: rotate(-10deg); }
.suit-e { top: 48%; left: 50%; transform: translate(-50%, -50%) rotate(10deg); opacity: .06; font-size: 280px; }

.shell { width: min(1420px, calc(100% - 28px)); margin: 0 auto; padding: 14px 0 56px; }
.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 10, 5, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 90px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
  position: sticky;
  top: 12px;
  z-index: 80;
}
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 1000; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #161003;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2) 55%, var(--orange));
  box-shadow: 0 0 34px rgba(255,184,0,.45);
  text-transform: lowercase;
  font-size: 28px;
  font-weight: 1000;
}
.brand-text { font-size: clamp(22px, 2vw, 32px); text-transform: none; }
.nav-center { justify-self: center; display: flex; align-items: center; gap: 6px; padding: 7px; border: 1px solid rgba(255,255,255,.06); border-radius: 999px; background: rgba(255,255,255,.035); }
.nav-item { color: #f7e8ae; border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 900; opacity: .82; }
.nav-item:hover, .nav-item.active { color: #1b1303; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); opacity: 1; }
.nav-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,214,77,.34);
  border-radius: 999px;
  background: rgba(255,214,77,.09);
  color: var(--gold-3);
  font-weight: 950;
}
.nav-pill span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.nav-twitch {
  justify-self: end;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255,214,77,.28);
  border-radius: 999px;
  background: rgba(255,214,77,.08);
  color: var(--gold-3);
  font-weight: 1000;
  white-space: nowrap;
}
.nav-twitch:hover { color: #181103; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 26px; align-items: stretch; padding: 74px 0 30px; }
.hero-copy, .deal-card, .promo-panel, .rank-search-card, .leaderboard-controls, .board-card, .faq-panel, .reset-countdown, .legal-card, .partner-page, .footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27,24,13,.78), rgba(10,9,5,.72));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
}
.hero-copy {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(28px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 74% 20%, rgba(255,214,77,.26), transparent 22rem),
    radial-gradient(circle at 18% 80%, rgba(255,155,33,.16), transparent 25rem);
  z-index: -1;
}
.hero-copy::after {
  content: "WantaBonus";
  position: absolute;
  right: -38px;
  bottom: -30px;
  font-size: clamp(86px, 13vw, 188px);
  line-height: .8;
  font-weight: 1000;
  letter-spacing: -.08em;
  color: rgba(255,214,77,.08);
  pointer-events: none;
}
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: 12px; font-weight: 1000; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(52px, 7.6vw, 118px);
  line-height: .9;
  letter-spacing: -.075em;
  text-shadow: 0 0 45px rgba(255,214,77,.17);
}
h2 { margin: 0; font-size: clamp(30px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; }
h3 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.subline { max-width: 700px; margin: 24px 0 0; color: #f6e5a8; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.subline strong { color: var(--gold-3); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 1000;
  text-align: center;
}
.btn-primary { color: #191103; background: linear-gradient(135deg, var(--gold-3), var(--gold-2) 58%, var(--orange)); box-shadow: 0 0 36px rgba(255,184,0,.28); }
.btn-soft { color: var(--gold-3); border-color: rgba(255,214,77,.22); background: rgba(255,214,77,.08); }
.btn-outline { color: var(--text); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.btn:hover, button:hover { transform: translateY(-1px); }

.deal-card { position: relative; border-radius: 36px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; }
.deal-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 12%, rgba(255,214,77,.25), transparent 18rem); pointer-events: none; }
.deal-topline, .bonus-top, .status-line { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.deal-kicker, .deal-status, .partner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(255,214,77,.22);
  border-radius: 999px;
  color: var(--gold-3);
  background: rgba(255,214,77,.08);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.deal-status { color: #171105; background: var(--gold); }
.deal-logo-row { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 52px; }
.deal-avatar, .partner-logo {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #1a1204;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2) 60%, var(--orange));
  box-shadow: 0 0 42px rgba(255,184,0,.42);
  font-size: 44px;
  font-weight: 1000;
}
.deal-logo-row small { display: block; color: var(--muted); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.deal-logo-row strong { display: block; font-size: 42px; line-height: 1; letter-spacing: -.06em; }
.deal-code-box {
  position: relative;
  margin: 34px 0 20px;
  padding: 20px;
  border: 1px solid rgba(255,214,77,.26);
  border-radius: 24px;
  background: rgba(255,214,77,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deal-code-box span { color: var(--muted); font-weight: 900; }
.deal-code-box strong { color: var(--gold-3); font-size: 34px; letter-spacing: .05em; }
.deal-card p { position: relative; color: #e6cf87; line-height: 1.65; }
.deal-actions { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }

.live-chat-card { min-height: 530px; }
.live-chat-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 18px;
}
.live-chat-title small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.live-chat-title strong {
  display: block;
  margin-top: 4px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.06em;
}
.chat-live-pill { gap: 8px; color: #171105; background: var(--gold); }
.chat-live-pill em { font-style: normal; }
.chat-feed-pill {
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  box-shadow: 0 0 24px rgba(255,214,77,.24);
}
.chat-feed {
  position: relative;
  min-height: 285px;
  max-height: 335px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,214,77,.17);
  border-radius: 24px;
  background: rgba(0,0,0,.20);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,214,77,.36) transparent;
}
.chat-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,214,77,.10);
  border-radius: 18px;
  background: rgba(255,214,77,.055);
  animation: chatIn .22s ease both;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.chat-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #171105;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  font-weight: 1000;
}
.chat-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.chat-meta strong { color: var(--gold-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-meta span { color: var(--muted-2); font-size: 12px; font-weight: 850; white-space: nowrap; }
.chat-body p { margin: 4px 0 0; color: #f6e5a8; line-height: 1.4; overflow-wrap: anywhere; }
.chat-empty { min-height: 250px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 22px; }
.chat-note { margin: 14px 0 0; font-size: 14px; color: var(--muted) !important; }

.quick-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 auto 22px; }
.quick-strip article {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,214,77,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.quick-strip span { display: block; color: var(--muted); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .13em; }
.quick-strip strong { display: flex; align-items: center; gap: 9px; margin: 12px 0 6px; font-size: 22px; line-height: 1; }
.quick-strip em { font-style: normal; }
.quick-strip small { color: var(--muted-2); font-weight: 750; }
.stream-status-dot { width: 10px; height: 10px; display: inline-block; border-radius: 999px; background: var(--red); box-shadow: 0 0 16px rgba(255,79,109,.7); }
.stream-status-dot.live { background: var(--green); box-shadow: 0 0 16px rgba(200,255,91,.85); }
.stream-status-dot.offline { background: var(--red); }

.promo-panel { border-radius: 36px; padding: 28px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; margin-top: 18px; }
.promo-intro { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.promo-intro p:not(.eyebrow) { color: #e8d18a; line-height: 1.7; margin: 18px 0 0; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step-card, .bonus-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(255,214,77,.16);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,214,77,.095), rgba(255,255,255,.025));
  overflow: hidden;
}
.step-card::after, .bonus-card::after { content: ""; position: absolute; inset: auto -35% -50% -35%; height: 150px; background: radial-gradient(circle, rgba(255,214,77,.20), transparent 68%); }
.step-card span { color: rgba(255,214,77,.45); font-size: 58px; font-weight: 1000; line-height: 1; letter-spacing: -.08em; }
.step-card h3 { margin-top: 18px; }
.step-card p, .bonus-card p { position: relative; color: #ddc77f; line-height: 1.62; margin: 12px 0 0; }

.reset-countdown { margin: 20px auto 0; border-radius: 30px; padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; }
.reset-countdown-head h2 { font-size: clamp(26px, 3vw, 40px); }
.reset-countdown-grid { display: grid; grid-template-columns: repeat(4, 96px); gap: 10px; }
.reset-box { padding: 15px 10px; text-align: center; border: 1px solid rgba(255,214,77,.16); border-radius: 20px; background: rgba(255,255,255,.035); }
.reset-box strong { display: block; color: var(--gold-3); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.reset-box span { display: block; margin-top: 7px; color: var(--muted-2); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; }

.rank-search-card { margin: 18px auto 0; border-radius: 30px; padding: 22px; display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: center; }
.search-label { display: flex; align-items: center; gap: 14px; }
.search-label > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,214,77,.12); color: var(--gold-3); font-size: 28px; }
.search-label strong { display: block; font-size: 20px; }
.search-label small { display: block; color: var(--muted); margin-top: 3px; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-input { width: 100%; min-height: 52px; color: var(--text); background: rgba(0,0,0,.28); border: 1px solid rgba(255,214,77,.18); border-radius: 999px; padding: 0 18px; outline: none; }
.search-input:focus { border-color: rgba(255,214,77,.55); box-shadow: 0 0 0 5px rgba(255,214,77,.08); }
.search-result { grid-column: 1 / -1; color: #dec982; border: 1px solid rgba(255,214,77,.14); border-radius: 22px; padding: 18px; background: rgba(0,0,0,.18); line-height: 1.6; }
.search-result strong { color: var(--gold-3); }
.search-stats { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.search-stat { padding: 14px; border: 1px solid rgba(255,214,77,.14); border-radius: 18px; background: rgba(255,214,77,.055); }
.search-stat span { color: var(--muted-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.search-stat strong { display: block; margin-top: 5px; font-size: 22px; }

.leaderboard-controls { margin: 22px auto 0; border-radius: 30px; padding: 24px; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.leaderboard-controls h2 { font-size: clamp(30px, 4vw, 50px); }
.period-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.period-custom { position: relative; }
.period-button, .board-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-3);
  border: 1px solid rgba(255,214,77,.23);
  border-radius: 999px;
  background: rgba(255,214,77,.08);
  padding: 0 15px;
  font-weight: 950;
}
.period-button:hover, .period-custom.open .period-button, .board-actions button:hover { background: rgba(255,214,77,.14); border-color: rgba(255,214,77,.45); }
.period-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; max-height: 320px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,9,5,.98); backdrop-filter: blur(18px); box-shadow: var(--shadow); z-index: 90; }
.floating-period-menu { position: fixed; right: auto; z-index: 999; }
.period-option { width: 100%; display: block; text-align: left; border: 0; border-radius: 12px; background: transparent; color: var(--text); padding: 12px 13px; font-weight: 850; }
.period-option:hover, .period-option.active { color: #181103; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); }
.period-option:disabled { color: var(--muted-2); cursor: not-allowed; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin: 18px auto; }
.winner-card { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid rgba(255,214,77,.18); border-radius: 30px; background: linear-gradient(180deg, rgba(255,214,77,.10), rgba(255,255,255,.025)); box-shadow: var(--shadow); overflow: hidden; }
.winner-card.rank-1 { min-height: 310px; border-color: rgba(255,214,77,.48); background: radial-gradient(circle at 50% 0%, rgba(255,214,77,.22), transparent 17rem), linear-gradient(180deg, rgba(255,214,77,.12), rgba(255,255,255,.03)); }
.medal { font-size: 44px; }
.winner-name { margin-top: 16px; font-size: clamp(24px, 3vw, 34px); font-weight: 1000; letter-spacing: -.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.winner-name a, .user a { color: inherit; }
.winner-count, .messages { color: var(--muted); font-variant-numeric: tabular-nums; }
.winner-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.prize-badge, .prize-cell { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; min-height: 34px; padding: 8px 11px; border-radius: 999px; font-size: 13px; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.has-prize { color: #171105; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); }
.no-prize { color: var(--muted-2); border: 1px solid rgba(255,214,77,.13); background: rgba(255,255,255,.035); }

.board-card { border-radius: 34px; padding: 24px; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.board-head h2 { font-size: clamp(30px, 4vw, 50px); }
.trophy { margin-bottom: 6px; }
.board-actions { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.last-update { font-size: 14px; }
.table-head, .row { display: grid; grid-template-columns: 86px minmax(0,1fr) 180px 220px; gap: 14px; align-items: center; }
.table-head { padding: 14px 18px; color: var(--gold-3); border: 1px solid rgba(255,214,77,.14); border-radius: 20px 20px 0 0; background: rgba(255,214,77,.055); font-weight: 950; }
.rows { min-height: 130px; border: 1px solid rgba(255,214,77,.14); border-top: 0; border-radius: 0 0 20px 20px; overflow: hidden; }
.row { padding: 17px 18px; border-top: 1px solid rgba(255,214,77,.10); background: rgba(255,255,255,.014); }
.row:first-child { border-top: 0; }
.row:hover { background: rgba(255,214,77,.065); }
.rank { width: 44px; height: 40px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,214,77,.10); color: var(--gold-3); font-weight: 1000; }
.user { font-size: 18px; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-state { padding: 48px 18px; text-align: center; color: var(--muted); line-height: 1.8; }
.empty-state small { color: var(--muted-2); }

.faq-panel { margin-top: 20px; border-radius: 34px; padding: 28px; display: grid; grid-template-columns: 360px 1fr; gap: 22px; }
.faq-title h2 { font-size: clamp(30px, 4vw, 50px); }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid rgba(255,214,77,.14); border-radius: 22px; background: rgba(255,214,77,.055); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 1000; color: var(--gold-3); }
details p { color: #dec982; margin: 12px 0 0; line-height: 1.65; }

.footer { margin-top: 20px; border-radius: 28px; padding: 22px 24px; display: flex; justify-content: space-between; gap: 18px; align-items: center; color: var(--muted); }
.footer strong { color: var(--text); font-size: 20px; }
.footer p { margin: 5px 0 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--gold-3); font-weight: 850; }

.hero-small { text-align: center; display: block; padding: 76px 0 32px; }
.hero-small h1 span { display: block; color: var(--gold); }
.partner-page, .legal-card { border-radius: 34px; padding: 28px; }
.partner-page-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.centered-head { justify-content: center; text-align: center; }
.centered-head > div { max-width: 820px; margin: 0 auto; }
.centered-head p:not(.eyebrow) { color: #dec982; line-height: 1.6; margin: 12px auto 0; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bonus-card { min-height: 360px; display: flex; flex-direction: column; }
.bonus-card h3 { margin-top: 28px; font-size: 30px; }
.partner-logo { width: 66px; height: 66px; border-radius: 20px; font-size: 24px; }
.bonus-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 18px; padding-top: 22px; }
.bonus-metrics span { padding: 13px; border-radius: 16px; background: rgba(0,0,0,.20); border: 1px solid rgba(255,214,77,.12); }
.bonus-metrics small { display: block; color: var(--muted-2); font-weight: 900; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
.bonus-metrics strong { display: block; margin-top: 4px; }
.partner-button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: #171105; font-weight: 1000; }
.partner-button.disabled { opacity: .5; pointer-events: none; }
.partner-disclaimer { color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.legal-card h2 { margin: 30px 0 10px; font-size: 25px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: #dec982; line-height: 1.75; }
.small-note { font-size: 14px; }
.nav-spacer { min-width: 180px; }

@media (max-width: 1120px) {
  .hero, .promo-panel, .faq-panel { grid-template-columns: 1fr; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .rank-search-card { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .nav { grid-template-columns: 1fr; }
  .nav-center { justify-self: start; width: 100%; overflow-x: auto; justify-content: flex-start; border-radius: 20px; }
  .nav-pill, .nav-twitch { justify-self: start; }
  .nav-spacer { display: none; }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 18px, 1420px); padding-top: 9px; }
  .hero { padding-top: 34px; }
  .hero-copy { min-height: auto; padding: 28px; border-radius: 28px; }
  .deal-card, .promo-panel, .rank-search-card, .leaderboard-controls, .board-card, .faq-panel, .reset-countdown, .footer, .partner-page, .legal-card { border-radius: 24px; padding: 18px; }
  .quick-strip, .step-grid, .podium { grid-template-columns: 1fr; }
  .winner-card.rank-1 { order: -1; min-height: 250px; }
  .reset-countdown { grid-template-columns: 1fr; }
  .reset-countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .leaderboard-controls, .board-head, .footer { flex-direction: column; align-items: flex-start; }
  .period-picker { width: 100%; }
  .period-custom { flex: 1 1 130px; }
  .period-button { width: 100%; justify-content: space-between; }
  .search-form { grid-template-columns: 1fr; }
  .table-head { display: none; }
  .rows { border-top: 1px solid rgba(255,214,77,.14); border-radius: 20px; }
  .row { grid-template-columns: 54px 1fr; }
  .row > .messages, .row > .prize-cell { grid-column: 2; }
  .search-stats { grid-template-columns: 1fr; }
  .deal-actions { grid-template-columns: 1fr; }
  .live-chat-card { min-height: auto; }
  .chat-feed { max-height: 380px; }
  h1 { font-size: clamp(54px, 18vw, 90px); }
}
@media (max-width: 520px) {
  .quick-strip { gap: 9px; }
  .deal-logo-row { margin-top: 32px; }
  .deal-avatar { width: 72px; height: 72px; font-size: 36px; }
  .deal-logo-row strong { font-size: 34px; }
  .nav-item { padding: 9px 12px; }
  .footer-links { justify-content: flex-start; }
}

/* partner hero alignment fix */
.hero-small {
  width: 100%;
  text-align: center;
}
.hero-small .eyebrow,
.hero-small h1,
.hero-small .subline {
  text-align: center;
}
.hero-small h1 {
  width: fit-content;
  max-width: min(100%, 900px);
  margin: 0 auto;
}
.hero-small .subline {
  max-width: 720px;
  margin: 24px auto 0;
}
.partner-hero {
  display: grid;
  justify-items: center;
  padding-left: 0;
  padding-right: 0;
}
.partner-page-head.centered-head {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.partner-page-head.centered-head > div {
  width: min(100%, 840px);
}
@media (max-width: 720px) {
  .hero-small h1 {
    width: 100%;
  }
}
