@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #f5f5ed;
  --muted: #9da7a0;
  --muted-2: #6d7972;
  --paper: #f2f1e9;
  --dark: #101a18;
  --dark-2: #172521;
  --dark-3: #21312b;
  --line: rgba(231, 238, 222, .13);
  --lime: #d6ee43;
  --coral: #f15d42;
  --gold: #f1b546;
  --shadow: 0 18px 46px rgba(4, 13, 10, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 8% 0%, rgba(64, 112, 83, .16), transparent 26rem), var(--dark); }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(16, 26, 24, .9); backdrop-filter: blur(16px); }
.topbar__inner { max-width: 1160px; margin: 0 auto; height: 74px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { position: relative; display: flex; align-items: flex-end; gap: 3px; width: 27px; height: 28px; transform: skew(-12deg); }
.brand__mark span { display: block; width: 6px; border-radius: 3px 3px 1px 1px; background: var(--lime); }
.brand__mark span:nth-child(1) { height: 16px; opacity: .55; }
.brand__mark span:nth-child(2) { height: 23px; }
.brand__mark span:nth-child(3) { height: 28px; opacity: .8; }
.brand__copy { display: flex; flex-direction: column; line-height: .9; }
.brand__copy strong { font: 700 20px/1 'Space Grotesk', sans-serif; letter-spacing: -.08em; }
.brand__copy small { margin-top: 5px; color: var(--lime); font: 500 7px/1 'DM Mono', monospace; letter-spacing: .16em; }
.icon-button { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: transparent; transition: .2s ease; }
.icon-button:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.notification-dot { position: absolute; top: 8px; right: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--dark); }

main { max-width: 1160px; margin: 0 auto; padding: 0 20px 118px; }
.tab-content { display: none; padding-top: 45px; animation: fade-in .35s ease both; }
.tab-content.active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.page-heading--compact { margin-bottom: 30px; }
.eyebrow { margin: 0 0 11px; color: var(--muted); font: 500 10px/1.4 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font: 600 clamp(40px, 7vw, 72px)/.95 'Space Grotesk', sans-serif; letter-spacing: -.075em; }
h1 em { color: var(--lime); font-style: normal; }
h2 { margin-bottom: 0; font: 600 23px/1.1 'Space Grotesk', sans-serif; letter-spacing: -.045em; }
h3 { font: 700 17px/1.2 'Manrope', sans-serif; letter-spacing: -.03em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--coral); box-shadow: 0 0 0 4px rgba(241, 93, 66, .13); vertical-align: 1px; }
.weather-pill, .people-count { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.weather-pill strong { color: var(--ink); }
.people-count { align-self: center; color: var(--lime); font: 500 11px 'DM Mono', monospace; }

.hero-card { position: relative; isolation: isolate; min-height: 360px; overflow: hidden; padding: 24px 26px 20px; border-radius: 4px 28px 4px 28px; background: linear-gradient(118deg, #a93e2c 0%, #e85c3d 40%, #f1a44e 100%); box-shadow: var(--shadow); }
.hero-card::before, .hero-card::after { position: absolute; z-index: -1; content: ''; border-radius: 50%; border: 1px solid rgba(255, 243, 205, .3); transform: rotate(-23deg); }
.hero-card::before { width: 560px; height: 560px; top: -210px; right: -120px; box-shadow: 0 0 0 24px rgba(255,255,255,.03), 0 0 0 48px rgba(255,255,255,.03), 0 0 0 72px rgba(255,255,255,.03); }
.hero-card::after { width: 280px; height: 280px; bottom: -210px; left: 34%; border-color: rgba(37, 20, 15, .16); }
.hero-card__topline, .hero-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.live-badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 3px; background: var(--lime); color: var(--dark); font: 500 10px 'DM Mono', monospace; letter-spacing: .08em; }
.live-badge .live-dot { width: 5px; height: 5px; margin-right: 6px; background: var(--dark); box-shadow: none; }
.hero-card__meta, .hero-card__footer { color: rgba(38, 24, 18, .65); font: 500 10px 'DM Mono', monospace; letter-spacing: .04em; }
.hero-card__content { display: flex; min-height: 270px; align-items: center; justify-content: space-between; gap: 30px; }
.hero-card__kicker { margin: 0 0 12px; color: rgba(255, 248, 231, .8); font: 500 11px 'DM Mono', monospace; text-transform: uppercase; }
.hero-card h2 { color: #fff8e5; font: 700 clamp(35px, 6vw, 62px)/.92 'Space Grotesk', sans-serif; letter-spacing: -.07em; }
.hero-card h2 span { color: var(--lime); }
.hero-card__description { max-width: 280px; margin: 18px 0 24px; color: rgba(255, 248, 231, .8); font-size: 13px; line-height: 1.55; }
.primary-button { display: inline-flex; align-items: center; gap: 17px; padding: 12px 15px 12px 18px; border: 0; border-radius: 2px; color: var(--dark); background: var(--lime); font-size: 12px; font-weight: 800; transition: .2s ease; }
.primary-button span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--lime); background: var(--dark); font-size: 14px; }
.primary-button:hover { background: #efff89; transform: translateY(-2px); }
.hero-card__visual { position: relative; width: 44%; min-width: 245px; height: 220px; }
.stadium-lights { position: absolute; top: 10px; left: 25px; right: 4px; display: flex; justify-content: space-between; opacity: .6; }
.stadium-lights i { display: block; width: 30px; height: 4px; border-radius: 99px; background: #fff4ca; box-shadow: 0 0 24px 8px rgba(255, 241, 183, .65); transform: rotate(-30deg); }
.field { position: absolute; right: 0; bottom: 8px; width: 95%; height: 150px; overflow: hidden; border: 2px solid rgba(255, 242, 202, .36); background: rgba(28, 85, 63, .36); transform: perspective(380px) rotateX(58deg) rotateZ(-7deg); }
.field::before { position: absolute; content: ''; top: 50%; left: 0; width: 100%; border-top: 2px solid rgba(255, 242, 202, .38); }
.field__line { position: absolute; top: 15%; left: 37%; width: 26%; height: 70%; border: 2px solid rgba(255, 242, 202, .35); border-radius: 50%; }
.field__circle { position: absolute; top: 47%; left: 48%; width: 8px; height: 8px; border-radius: 50%; background: #fff2c7; }
.field__ball { position: absolute; z-index: 2; top: 28%; left: 50%; font-size: 42px; filter: drop-shadow(8px 9px 0 rgba(45, 27, 20, .2)); transform: rotate(-17deg); }
.hero-card__footer { padding-top: 10px; border-top: 1px solid rgba(55, 28, 19, .16); }
.hero-card__footer span:first-child { display: flex; align-items: center; gap: 5px; }
.hero-card__footer i { width: 5px; height: 5px; border-radius: 50%; background: var(--dark); }

.section-block { margin-top: 62px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.text-button, .filter-button { display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; border: 0; color: var(--lime); background: none; font-size: 11px; font-weight: 700; white-space: nowrap; }
.text-button span { font-size: 18px; font-weight: 400; line-height: 0; transition: .2s ease; }
.text-button:hover span { transform: translateX(4px); }
.filter-button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font: 500 10px 'DM Mono', monospace; }
.match-list { display: grid; gap: 10px; }
.match-card { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 4px; background: rgba(33, 49, 43, .55); transition: .2s ease; }
.match-card:hover { border-color: rgba(214, 238, 67, .4); transform: translateX(3px); }
.match-card--featured { border-color: rgba(241, 181, 70, .4); background: linear-gradient(90deg, rgba(64, 78, 44, .46), rgba(33, 49, 43, .5)); }
.match-card__date { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font: 500 9px 'DM Mono', monospace; }
.match-card__date strong { color: var(--lime); font-size: 12px; }
.match-card__teams { display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 12px; }
.match-card__teams > div { display: flex; align-items: center; gap: 8px; }
.match-card__teams > div:last-child { flex-direction: row-reverse; }
.match-card__teams strong { font-size: 12px; }
.versus { padding: 7px 9px; border: 1px solid var(--line); border-radius: 2px; color: var(--gold); font: 500 10px 'DM Mono', monospace; }
.team-badge { display: inline-grid; width: 28px; height: 28px; place-items: center; flex: 0 0 auto; border-radius: 9px 2px 9px 2px; color: #fff; font: 800 12px 'Space Grotesk', sans-serif; }
.team-badge--red { background: #bd493c; }.team-badge--gold { background: #ba8224; }.team-badge--blue { background: #3d6da4; }.team-badge--green { background: #43866b; }.team-badge--purple { background: #7254a1; }.team-badge--orange { background: #d87937; }
.match-card__tag { color: var(--muted-2); font: 500 9px 'DM Mono', monospace; text-align: right; }
.results-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.result-card { padding: 18px; border-radius: 3px; background: var(--paper); color: var(--dark); }
.result-card__league, .result-card__date { color: #718078; font: 500 9px 'DM Mono', monospace; letter-spacing: .04em; }
.result-card__teams { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 20px; font-size: 11px; font-weight: 700; }
.result-card__teams > div { display: flex; align-items: center; gap: 6px; }
.result-card__teams > div:last-child { text-align: right; }
.result-card__teams .team-badge { width: 23px; height: 23px; border-radius: 6px 2px 6px 2px; font-size: 10px; }
.result-card__teams strong { font: 700 18px 'Space Grotesk', sans-serif; letter-spacing: -.06em; white-space: nowrap; }

.channel-strip { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 180px; padding: 28px; overflow: hidden; border-radius: 4px 28px 4px 28px; background: linear-gradient(115deg, #1c493c, #10231f 75%); }
.channel-strip::before { position: absolute; content: ''; width: 350px; height: 350px; top: -140px; right: -70px; border: 1px solid rgba(214, 238, 67, .3); border-radius: 50%; box-shadow: 0 0 0 24px rgba(214,238,67,.04), 0 0 0 48px rgba(214,238,67,.04), 0 0 0 72px rgba(214,238,67,.04); }
.channel-strip h2 { position: relative; margin: 8px 0 8px; color: var(--lime); font-size: 38px; }
.channel-strip p { position: relative; max-width: 280px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.channel-strip__live { position: relative; color: #fff; font: 500 9px 'DM Mono', monospace; letter-spacing: .08em; }
.play-button { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(214,238,67,.6); border-radius: 50%; color: var(--dark); background: var(--lime); font-size: 18px; padding-left: 4px; transition: .2s ease; }
.play-button:hover { transform: scale(1.06); background: #efff89; }
.news-section { margin-top: 53px; }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.news-card { overflow: hidden; border-radius: 3px; background: var(--dark-2); }
.news-card--primary { grid-row: span 2; }
.news-card__image { position: relative; display: flex; height: 130px; align-items: flex-end; justify-content: space-between; padding: 13px; overflow: hidden; }
.news-card--primary .news-card__image { height: 236px; }
.news-card__image::before, .news-card__image::after { position: absolute; content: ''; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); }
.news-card__image::before { width: 260px; height: 260px; top: -120px; right: -60px; }
.news-card__image::after { width: 100px; height: 100px; right: 24%; bottom: -52px; }
.news-card__image--stadium { background: linear-gradient(135deg, #a94432, #e9964b); }
.news-card__image--mic { background: linear-gradient(135deg, #1e4841, #4f8a66); }
.news-card__image--sun { background: linear-gradient(135deg, #66533a, #c69046); }
.news-card__image span { position: relative; z-index: 1; padding: 6px 8px; border-radius: 2px; color: var(--dark); background: var(--lime); font: 500 8px 'DM Mono', monospace; }
.news-card__image b { position: relative; z-index: 1; color: rgba(255, 245, 208, .9); font: 110px/1 'Space Grotesk', sans-serif; transform: rotate(-13deg); }
.news-card__image--mic b { font-size: 105px; }.news-card__image--sun b { font-size: 100px; }
.news-card__content { padding: 17px 18px 19px; }
.news-card__time { color: var(--muted-2); font: 500 9px 'DM Mono', monospace; }
.news-card h3 { margin: 9px 0 12px; font-size: 15px; }
.news-card--primary h3 { font-size: 22px; }
.news-card p { max-width: 420px; margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-note { display: flex; align-items: center; gap: 14px; margin-top: 35px; padding: 17px 18px; border: 1px dashed rgba(214,238,67,.3); color: var(--muted); }
.empty-note > span { color: var(--lime); font-size: 27px; }.empty-note strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 12px; }.empty-note p { margin: 0; font-size: 11px; }.empty-note .icon-button { margin-left: auto; }
.icon-button--light { width: 31px; height: 31px; border: 1px solid rgba(214,238,67,.4); color: var(--lime); font-size: 15px; }

.chat-intro { display: flex; align-items: flex-start; gap: 16px; max-width: 610px; margin-bottom: 24px; padding: 16px 18px; border-left: 2px solid var(--lime); background: linear-gradient(90deg, rgba(214,238,67,.09), transparent); }
.chat-intro__mark { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--dark); background: var(--lime); font-size: 19px; }
.chat-intro strong { font-size: 14px; }.chat-intro p { max-width: 500px; margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.chat-box { display: flex; flex-direction: column; gap: 10px; max-width: 770px; min-height: 200px; max-height: 390px; overflow-y: auto; padding: 6px 2px; scrollbar-color: var(--dark-3) transparent; }
.chat-message { display: flex; align-items: flex-start; gap: 11px; animation: slide-in .25s ease both; }.chat-message--mine { flex-direction: row-reverse; text-align: right; }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--dark); background: var(--lime); font: 800 11px 'Space Grotesk', sans-serif; }.chat-avatar--coral { color: #fff; background: var(--coral); }.chat-avatar--gold { background: var(--gold); }
.chat-bubble { max-width: min(75%, 510px); padding: 10px 13px; border: 1px solid var(--line); border-radius: 2px 13px 13px 13px; background: var(--dark-2); }.chat-message--mine .chat-bubble { border-color: rgba(214,238,67,.3); border-radius: 13px 2px 13px 13px; background: rgba(214,238,67,.09); }
.chat-bubble__meta { display: block; margin-bottom: 4px; color: var(--lime); font: 500 9px 'DM Mono', monospace; }.chat-bubble p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.45; }
.chat-form { display: flex; gap: 8px; max-width: 770px; margin-top: 19px; padding: 6px 6px 6px 15px; border: 1px solid var(--line); border-radius: 2px; background: var(--dark-2); }.chat-form:focus-within { border-color: rgba(214,238,67,.6); }.chat-form input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }.chat-form input::placeholder { color: var(--muted-2); }.chat-form button { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 1px; color: var(--dark); background: var(--lime); font-size: 19px; font-weight: 700; }.chat-helper { max-width: 770px; margin: 9px 0 0; color: var(--muted-2); text-align: right; font: 500 9px 'DM Mono', monospace; }
.prompt-card { display: flex; align-items: center; gap: 12px; max-width: 570px; margin-top: 45px; padding: 16px; border: 1px solid var(--line); background: rgba(33,49,43,.42); }.prompt-card > span { color: var(--lime); font-size: 25px; }.prompt-card strong { font-size: 11px; }.prompt-card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; font-style: italic; }.prompt-card .icon-button { margin-left: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.toast { position: fixed; z-index: 50; right: 20px; bottom: 102px; max-width: calc(100vw - 40px); padding: 12px 15px; border: 1px solid rgba(214,238,67,.35); border-radius: 2px; color: var(--dark); background: var(--lime); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }.toast.show { opacity: 1; transform: none; }
.bottom-nav { position: fixed; z-index: 30; bottom: 0; left: 50%; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 510px); height: 73px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; background: rgba(20, 33, 29, .94); box-shadow: 0 -12px 30px rgba(0,0,0,.15); backdrop-filter: blur(18px); transform: translateX(-50%); }.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: var(--muted-2); background: none; font: 500 10px 'DM Mono', monospace; transition: .2s ease; }.nav-item:hover, .nav-item.active { color: var(--lime); }.nav-item.active::before { position: absolute; top: -8px; content: ''; width: 20px; height: 2px; background: var(--lime); }.nav-icon { font: 21px/1 'Space Grotesk', sans-serif; }.nav-badge { position: absolute; top: 5px; right: 32%; display: grid; min-width: 16px; height: 16px; place-items: center; border-radius: 50%; color: var(--dark); background: var(--coral); font: 800 8px 'Manrope', sans-serif; }

@media (min-width: 720px) { .topbar__inner { padding: 0 38px; }.main { padding-left: 38px; padding-right: 38px; } main { padding-left: 38px; padding-right: 38px; }.hero-card { padding: 28px 34px 20px; }.bottom-nav { bottom: 18px; border-bottom: 1px solid var(--line); border-radius: 20px; } }
@media (max-width: 640px) { .topbar__inner { height: 65px; }.tab-content { padding-top: 32px; }.page-heading { margin-bottom: 25px; }.page-heading--compact { margin-bottom: 24px; } .hero-card { min-height: 430px; padding: 18px 18px 15px; border-radius: 3px 24px 3px 24px; }.hero-card__content { display: block; min-height: 335px; padding-top: 40px; }.hero-card__description { margin: 14px 0 18px; }.hero-card__visual { position: absolute; right: 4px; bottom: 40px; width: 55%; min-width: 180px; height: 145px; opacity: .85; }.field { height: 105px; }.field__ball { font-size: 30px; }.stadium-lights { transform: scale(.7); transform-origin: right; }.hero-card__footer { align-items: flex-start; flex-direction: column; gap: 5px; }.match-card { grid-template-columns: 53px 1fr; gap: 9px; padding: 14px 11px; }.match-card__teams { grid-column: 2; justify-content: flex-start; gap: 8px; flex-wrap: wrap; }.match-card__teams > div { gap: 5px; }.match-card__teams strong { font-size: 10px; }.match-card__tag { grid-column: 2; text-align: left; }.results-row { grid-template-columns: 1fr; }.result-card__teams { margin: 14px 0 17px; }.result-card__teams strong { font-size: 16px; }.news-grid { grid-template-columns: 1fr; }.news-card--primary { grid-row: auto; }.news-card--primary .news-card__image { height: 205px; }.news-card__image b { font-size: 95px; }.channel-strip { min-height: 170px; padding: 23px 20px; }.channel-strip h2 { font-size: 33px; }.empty-note { align-items: flex-start; }.empty-note .icon-button { margin-top: 0; }.people-count { font-size: 9px; padding: 7px 8px; }.chat-bubble { max-width: 80%; } }
@media (max-width: 380px) { main { padding-left: 14px; padding-right: 14px; }.topbar__inner { padding: 0 14px; }.hero-card h2 { font-size: 34px; }.match-card__teams > div strong { max-width: 76px; }.match-card__teams { gap: 5px; }.weather-pill { display: none; } }
