:root {
  --bg: #100c0a;
  --bg-2: #171210;
  --bg-3: #1d1714;
  --surface: #221a16;
  --surface-2: #2d231d;
  --line: #3d2f26;
  --text: #f4ece5;
  --muted: #a89283;
  --muted-2: #6f5d51;
  --brand: #ff7a18;
  --brand-2: #d84f0a;
  --accent: #ffd166;
  --accent-2: #f2a900;
  --live: #ff2e63;
  --win: #4ade80;
  --warn: #f5a524;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 18px 50px -18px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(255,122,24,.35), 0 0 28px -6px rgba(255,122,24,.55);
  --maxw: 1240px;
  --font: "Chakra Petch", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(255,122,24,.18), transparent 60%),
    radial-gradient(800px 500px at 92% 4%, rgba(255,209,102,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 84px 0; position: relative; z-index: 1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
.section h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; }
.section h2 span { color: var(--brand); }
.muted { color: var(--muted); }
.lead { color: var(--muted); max-width: 560px; margin-top: 12px; font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,122,24,.6), 0 14px 34px -10px rgba(255,122,24,.8); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.02); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-live { background: linear-gradient(135deg, var(--live), #c81d4f); color: #fff; }
.btn-live:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255,46,99,.7); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(16,12,10,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }
.brand .logo { width: 34px; height: 34px; }
.brand b { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 96px 0 72px; overflow: hidden; }
.hero-photo { position: absolute; inset: -30px; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(3px) saturate(1.12); transform: scale(1.05);
  opacity: 0; transition: opacity 1s ease; }
.hero-photo.in { opacity: 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,12,10,.92) 0%, rgba(16,12,10,.72) 42%, rgba(16,12,10,.42) 100%),
    linear-gradient(0deg, rgba(16,12,10,.7), transparent 55%); }
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
  background-image: linear-gradient(rgba(255,122,24,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,209,102,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(120% 90% at 50% -10%, #000 30%, transparent 80%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 80% 0%, rgba(255,122,24,.16), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); text-transform: uppercase; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; }
.hero p { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 30px; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

/* Featured live card in hero */
.feature-card {
  position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.feature-card .thumb { position: relative; aspect-ratio: 16/9; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16,12,10,.85)); }
.feature-card .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,122,24,.92); display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 0 0 8px rgba(255,122,24,.18); transition: transform .2s;
}
.feature-card:hover .play { transform: scale(1.08); }
.feature-card .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.feature-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; z-index: 2; }
.feature-card .meta h4 { font-size: 17px; }
.feature-card .meta .row { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; }
.badge-live { background: rgba(255,46,99,.16); color: #ff6f92; }
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,46,99,.7); animation: pulse 1.6s infinite; }
.badge-soon { background: rgba(245,165,36,.14); color: var(--warn); }
.badge-game { background: rgba(255,209,102,.12); color: var(--accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,46,99,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,46,99,0); } 100% { box-shadow: 0 0 0 0 rgba(255,46,99,0); } }
.viewers { display: inline-flex; align-items: center; gap: 6px; }
.viewers svg { width: 14px; height: 14px; fill: currentColor; }

/* Tabs / Streams */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); padding: 6px; border-radius: 12px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  transition: .18s;
}
.tab .ico { width: 18px; height: 18px; object-fit: contain; }
.tab .ico-wide { width: auto; height: 15px; max-width: 84px; }
.tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.tab.active { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--glow); }
.tab .count { font-size: 11px; padding: 1px 7px; border-radius: 20px; background: rgba(255,255,255,.14); }

.stream-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.stream-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .2s, transform .2s; }
.stream-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.player { position: relative; aspect-ratio: 16/9; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .poster { position: absolute; inset: 0; cursor: pointer; background: radial-gradient(circle at 50% 40%, #241b16, #100c0a); display: grid; place-items: center; }
.player .poster .poster-logo { width: 42%; height: 42%; object-fit: contain; opacity: .9; }
.player .poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(16,12,10,.25), rgba(16,12,10,.78)); }
.player .poster .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,122,24,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(255,122,24,.16); transition: transform .2s; }
.player .poster:hover .play { transform: scale(1.08); }
.player .poster .play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.player .corner { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; gap: 8px; }
.player .corner-r { position: absolute; top: 12px; right: 12px; z-index: 3; }
.stream-info { padding: 15px 17px; display: flex; gap: 13px; align-items: center; }
.stream-info .ava { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.stream-info .txt { min-width: 0; flex: 1; }
.stream-info .txt h4 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-info .txt p { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-info .txt .tags { display: flex; gap: 6px; margin-top: 7px; }
.chip { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* Schedule */
.sched-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter { padding: 9px 15px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; transition: .18s; }
.filter:hover { color: var(--text); border-color: var(--brand); }
.filter.active { color: #fff; background: var(--surface-2); border-color: var(--brand); }
.sched-list { display: flex; flex-direction: column; gap: 12px; }
.sched-day { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; display: flex; align-items: center; gap: 12px; }
.sched-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.match {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.match:hover { border-color: var(--brand); background: var(--surface-2); }
.match .time { text-align: center; }
.match .time b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.match .time span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.match .body { min-width: 0; }
.match .tournament { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.match .versus { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.match .team { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.match .team .tlogo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; }
.match .vs { color: var(--muted); font-weight: 700; font-size: 13px; }
.match .stage { font-size: 12px; color: var(--muted); margin-top: 5px; }
.match .act { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* Games strip */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.game-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; }
.game-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.game-card .ico-wrap { aspect-ratio: 16/11; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #241b16, #171210); border-bottom: 1px solid var(--line); }
.game-card img { width: 46%; height: 46%; object-fit: contain; transition: transform .3s; }
.game-card:hover img { transform: scale(1.08); }
.game-card .cap { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-card .cap p { font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 7px; }
.game-card .cap .arrow { color: var(--muted); transition: transform .2s, color .2s; }
.game-card:hover .cap .arrow { color: var(--brand); transform: translateX(3px); }

/* CTA band */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,122,24,.10), rgba(255,209,102,.06)); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); text-transform: uppercase; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 540px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 15px; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); margin: 14px 0 18px; max-width: 320px; font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: .18s; }
.socials a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { position: relative; padding: 72px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,122,24,.08), transparent); }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; margin: 16px 0 14px; }
.page-hero h1 span { color: transparent; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; }
.page-section { padding: 56px 0; position: relative; z-index: 1; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; text-transform: uppercase; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 span { color: var(--brand); }
.prose p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.prose a { color: var(--accent); font-weight: 700; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.info-card .n { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.info-card h3 { font-size: 19px; margin: 10px 0 8px; }
.info-card p { color: var(--muted); font-size: 15px; }
.notice { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; margin: 6px 0 26px; }
.notice .badge { flex: none; }
.notice p { color: var(--muted); font-size: 15px; margin: 0; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; margin-bottom: 14px; }
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card a { color: var(--accent); font-weight: 700; }
.contact-card p { color: var(--muted); font-size: 14px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.status-row .name { font-weight: 700; }
.status-row .state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--win); }
.status-row .state .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--win); }
.status-row.warn .state { color: var(--warn); }
.status-row.warn .state .dot { background: var(--warn); }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

/* Demo badge */
.demo-badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(34,26,22,.9); border: 1px solid var(--line); color: var(--muted); backdrop-filter: blur(8px);
}
.demo-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.demo-badge button { color: var(--muted-2); font-size: 14px; line-height: 1; }

/* Modal */
.modal-root { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-root.open { display: flex; }
.modal-root .backdrop { position: absolute; inset: 0; background: rgba(8,5,4,.72); backdrop-filter: blur(4px); }
.modal {
  position: relative; width: 100%; max-width: 440px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; box-shadow: var(--shadow); animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; transition: .18s; }
.modal .close:hover { color: var(--text); border-color: var(--brand); }
.modal h3 { font-size: 23px; text-transform: uppercase; }
.modal .sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.invite-hint { margin-top: 16px; font-size: 13px; color: var(--muted); }
.invite-hint code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--accent); font-size: 12px; }
.modal form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-size: 15px; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,122,24,.18); }
.field.code input { letter-spacing: .18em; text-transform: uppercase; }
.form-msg { font-size: 13px; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: var(--win); }
.form-msg.err { color: #ff6f92; }
.modal-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.modal-foot a { color: var(--accent); font-weight: 700; }

/* Toast notifications */
.toast-host { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: 90vw; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: rgba(29,23,20,.96); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); backdrop-filter: blur(8px); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.toast.in { opacity: 1; transform: none; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Mobile nav hamburger animation */
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* Responsive */
html { scroll-padding-top: 84px; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 14px 18px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 90;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 52px; }
  .stream-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section-head { margin-bottom: 28px; }
  .match { grid-template-columns: 64px 1fr; grid-template-areas: "time body" "time act"; row-gap: 12px; }
  .match .time { grid-area: time; }
  .match .body { grid-area: body; }
  .match .act { grid-area: act; flex-direction: row; align-items: center; justify-content: flex-start; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 18px; }
  .games-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
  .modal { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Arena Stream signature accents ------------------------------------- */
.site-header { box-shadow: inset 0 3px 0 0 var(--brand); }
.eyebrow::before { width: 10px; height: 10px; background: var(--brand); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.section h2, .hero h1, .page-hero h1 { letter-spacing: .02em; }
.stream-card, .game-card, .match, .info-card, .contact-card { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.feature-card { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }
.hero-stats .stat b { font-family: var(--font); letter-spacing: -.01em; }
.hero-stats .stat { padding-left: 14px; border-left: 2px solid var(--brand); }
.btn { letter-spacing: .09em; }
.tab.active, .filter.active { text-shadow: 0 1px 0 rgba(0,0,0,.25); }
