:root {
  --bg: #030403;
  --surface: #0b0d0b;
  --surface-2: #101310;
  --line: #252a25;
  --green: #20ef00;
  --green-soft: #74ff60;
  --white: #f6f7f6;
  --muted: #a5aba5;
  --danger: #ff4b3e;
  --radius: 14px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 60% -10%, rgba(32,239,0,.07), transparent 28%), var(--bg); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(3,4,3,.88); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 30px; }
.brand { width: 330px; flex: 0 1 330px; }
.brand img { width: 100%; max-height: 64px; object-fit: contain; object-position: left center; }
.primary-navigation { margin-left: auto; }
.site-menu { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.site-menu a { color: var(--white); font-weight: 650; padding: 30px 0 27px; border-bottom: 2px solid transparent; }
.site-menu a:hover, .site-menu .current-menu-item a { color: var(--green); border-color: var(--green); }
.profile-button { width: 42px; height: 42px; border: 1px solid #3b403b; border-radius: 50%; display: grid; place-items: center; color: var(--green); }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--green); border-radius: 9px; padding: 10px 12px; font-size: 20px; }
.hero { min-height: 410px; padding-block: 40px 34px; display: grid; grid-template-columns: .8fr 1.7fr; gap: 54px; align-items: center; }
.hero-logo-wrap { min-width: 0; padding-right: 44px; border-right: 1px solid var(--line); }
.hero-logo { width: 100%; max-height: 315px; object-fit: contain; }
.eyebrow, .card-label { margin: 0 0 12px; color: var(--green); font-size: .87rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--green); font-size: clamp(3.3rem, 7vw, 6.2rem); line-height: .95; font-style: italic; }
.hero-subtitle { margin: 18px 0 26px; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 800; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 30px; }
.feature-strip div { display: grid; gap: 5px; }
.feature-strip strong { font-size: 1rem; }
.feature-strip span { color: var(--muted); font-size: .9rem; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 28px; border-radius: 9px; font-weight: 900; }
.button-primary { border: 1px solid var(--green); color: var(--green); }
.button-primary:hover { background: var(--green); color: #061006; }
.button-filled { background: var(--green); color: #071107; width: 100%; }
.dashboard { display: grid; grid-template-columns: .9fr 1.6fr 1fr 1fr; gap: 20px; padding-bottom: 20px; }
.card { background: linear-gradient(135deg, rgba(18,21,18,.96), rgba(8,10,8,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h2 { margin: 0 0 14px; font-size: 1.55rem; }
.card p { line-height: 1.55; }
.muted { color: var(--muted); }
.card-head, .section-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.card-head a, .card > a, .section-head > a { color: var(--green); font-weight: 750; }
.standings { display: grid; gap: 0; }
.standing-row { display: grid; grid-template-columns: 40px 1fr 65px 65px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.standing-row.heading { color: var(--muted); font-size: .84rem; }
.duel-card { text-align: center; }
.duel-card .card-label { text-align: left; }
.duel-players { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 30px 0 20px; }
.duel-players b { color: var(--green); }
.duel-score { display: flex; justify-content: center; gap: 12px; align-items: center; font-size: 2rem; }
.duel-score strong { color: var(--green); }
.cash-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.success { color: var(--green); }
.danger { color: var(--danger); }
.news { margin-block: 0 90px; }
.section-head { align-items: end; margin: 8px 0 18px; }
.section-head h2 { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.news-item { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 26px; border-right: 1px solid var(--line); }
.news-item:last-child { border-right: 0; }
.news-item > span { color: var(--green); font-size: 1.8rem; }
.news-item time { color: var(--muted); font-size: .82rem; }
.news-item h3 { margin: 6px 0; }
.news-item p { margin: 0; color: var(--muted); line-height: 1.5; }
.page-shell { padding-block: 48px 100px; }
.content-card { max-width: 980px; margin: auto; }
.content-card h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-top: 0; color: var(--green); }
.entry-content { color: #dce0dc; line-height: 1.75; }
.ta-page-placeholder { padding: 20px 0; }
.site-footer { border-top: 1px solid var(--line); padding: 25px 0; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: var(--green); }
.mobile-bottom-nav { display: none; }
@media (max-width: 1100px) {
  .brand { width: 260px; flex-basis: 260px; }
  .site-menu { gap: 17px; }
  .dashboard { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-logo-wrap { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 28px; }
  .hero-logo { max-height: 220px; }
}
@media (max-width: 820px) {
  body { padding-bottom: 76px; }
  .shell { width: min(100% - 28px, 720px); }
  .site-header { position: relative; }
  .header-inner { min-height: 74px; }
  .brand { width: 225px; flex-basis: 225px; }
  .menu-toggle { display: block; }
  .profile-button { display: none; }
  .primary-navigation { display: none; position: absolute; top: 74px; left: 14px; right: 14px; background: #090b09; border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; }
  .primary-navigation.is-open { display: block; }
  .site-menu { display: grid; gap: 0; }
  .site-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 25px; gap: 28px; }
  .hero-logo-wrap { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .dashboard, .news-grid { grid-template-columns: 1fr; }
  .news-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .news-item:last-child { border-bottom: 0; }
  .mobile-bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(5, 1fr); bottom: 0; left: 0; right: 0; z-index: 70; background: rgba(6,8,6,.97); border-top: 1px solid var(--line); padding: 8px 4px max(8px, env(safe-area-inset-bottom)); }
  .mobile-bottom-nav a { color: var(--muted); display: grid; place-items: center; gap: 3px; font-size: 1rem; font-weight: 850; }
  .mobile-bottom-nav span { font-size: .66rem; }
  .mobile-bottom-nav a:hover { color: var(--green); }
}
@media (max-width: 520px) {
  .brand { width: 195px; flex-basis: 195px; }
  .feature-strip { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
