:root {
    color-scheme: dark;
    --page: #010304;
    --shell: #05090d;
    --shell-deep: #02070a;
    --surface: #0d1117;
    --card: #101820;
    --card-raised: #151e27;
    --text: #ffffff;
    --muted: #a7b0ba;
    --muted-2: #6b7280;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --green: #84cc16;
    --green-dark: #65a30d;
    --green-bright: #a3e635;
    --green-soft: rgba(132, 204, 22, 0.12);
    --orange: #f59e0b;
    --danger: #fb7185;
    --shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] {
    color-scheme: light;
    --page: #edf3e9;
    --shell: #ffffff;
    --shell-deep: #f4f8f1;
    --surface: #ffffff;
    --card: #f4f8f1;
    --card-raised: #ffffff;
    --text: #0d1117;
    --muted: #4f5c66;
    --muted-2: #69757f;
    --line: rgba(13, 17, 23, 0.12);
    --line-strong: rgba(13, 17, 23, 0.22);
    --green-bright: #65a30d;
    --shadow: 0 30px 80px rgba(25, 45, 18, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 50% -10%, rgba(132, 204, 22, 0.08), transparent 34rem),
        var(--page);
    color: var(--text);
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--green-bright);
    color: #102000;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--green-bright);
    outline-offset: 3px;
}

.site-canvas {
    padding: 16px;
}

.arena-shell {
    position: relative;
    width: min(1500px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(214, 223, 229, 0.55);
    border-radius: 48px;
    background:
        radial-gradient(circle at 75% 12%, rgba(72, 127, 142, 0.11), transparent 28rem),
        linear-gradient(180deg, rgba(10, 17, 23, 0.98), var(--shell-deep) 45%, var(--shell));
    box-shadow:
        inset 0 0 0 6px rgba(103, 120, 129, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        var(--shadow);
}

.arena-shell::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    pointer-events: none;
}

.site-header {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(205px, 1fr) auto minmax(205px, 1fr);
    align-items: center;
    min-height: 96px;
    padding: 20px clamp(32px, 4vw, 64px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
}

.brand-name {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.05;
}

.brand-accent {
    display: block;
    margin-top: 4px;
    color: var(--green-bright);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.7vw, 28px);
}

.nav-link {
    position: relative;
    padding: 12px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    transition: color 200ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--green-bright);
    box-shadow: 0 0 10px rgba(163, 230, 53, 0.65);
    transform: scaleX(0);
    transition: transform 200ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.button,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.button {
    min-height: 46px;
    gap: 9px;
    padding: 0 22px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 750;
}

.button:hover,
.icon-button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border-color: rgba(163, 230, 53, 0.55);
    background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
    color: #0b1800;
    box-shadow: 0 10px 24px rgba(101, 163, 13, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button-primary:hover {
    box-shadow: 0 14px 32px rgba(101, 163, 13, 0.34), 0 0 18px rgba(132, 204, 22, 0.18);
}

.button-secondary,
.button-ghost {
    border-color: var(--line);
    background: rgba(10, 17, 24, 0.55);
    color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
    border-color: rgba(163, 230, 53, 0.45);
    background: var(--green-soft);
}

.icon-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-color: var(--line);
    border-radius: 12px;
    background: rgba(10, 17, 24, 0.48);
    color: var(--muted);
}

.icon-button svg {
    width: 18px;
    height: 18px;
}

.theme-icon--moon {
    display: none;
}

html[data-theme="light"] .theme-icon--sun {
    display: none;
}

html[data-theme="light"] .theme-icon--moon {
    display: block;
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    position: relative;
    z-index: 19;
    display: none;
    margin: -8px 24px 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 14, 19, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mobile-menu[data-open="true"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-menu a {
    min-height: 44px;
    padding: 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.mobile-menu a:hover {
    background: var(--green-soft);
    color: var(--text);
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 520px;
    align-items: center;
    padding: 40px clamp(32px, 5vw, 76px) 134px;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, var(--shell-deep) 0%, rgba(2, 7, 10, 0.96) 27%, rgba(2, 7, 10, 0.34) 52%, rgba(2, 7, 10, 0.05) 100%),
        radial-gradient(circle at 61% 68%, rgba(132, 204, 22, 0.13), transparent 26rem);
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(470px, 39%);
    padding-bottom: 6px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 15px;
    border: 1px solid rgba(132, 204, 22, 0.24);
    border-radius: 999px;
    background: rgba(43, 74, 7, 0.32);
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(48px, 4.4vw, 72px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero h1 span {
    display: block;
}

.hero h1 .headline-accent {
    margin-top: 6px;
    background: linear-gradient(135deg, var(--green-bright), var(--green) 68%, var(--green-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 16px rgba(132, 204, 22, 0.12));
}

.hero-description {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-actions .button {
    min-width: 168px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.avatar-stack {
    display: flex;
    padding-left: 8px;
}

.avatar-stack img {
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border: 2px solid #0a1117;
    border-radius: 50%;
    background: var(--card-raised);
    object-fit: cover;
}

.trust-copy {
    min-width: 0;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 750;
}

.stars {
    color: var(--orange);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.trust-copy p {
    margin: 3px 0 0;
    color: var(--muted-2);
    font-size: 11px;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-arrive 720ms ease both;
}

.hero-art .sa-background-slide {
    background-position: center;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--shell-deep) 0%, rgba(2, 7, 10, 0.52) 17%, transparent 40%),
        linear-gradient(0deg, var(--shell-deep) 0%, transparent 22%),
        linear-gradient(180deg, rgba(2, 7, 10, 0.18), transparent 25%);
    pointer-events: none;
}

@keyframes hero-arrive {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

.content-wrap {
    position: relative;
    z-index: 4;
    padding: 0 clamp(24px, 4vw, 58px) 46px;
}

.search-panel {
    position: relative;
    margin-top: -88px;
    border: 1px solid rgba(132, 204, 22, 0.3);
    border-radius: 20px;
    background: rgba(7, 15, 21, 0.91);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42), 0 0 30px rgba(132, 204, 22, 0.05);
    backdrop-filter: blur(18px);
    animation: search-arrive 560ms 120ms ease both;
}

@keyframes search-arrive {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 720px;
}

.search-tab {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.search-tab:first-child {
    position: relative;
    color: var(--text);
}

.search-tab:first-child::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: -1px;
    left: 20px;
    height: 2px;
    background: var(--green-bright);
    box-shadow: 0 0 10px rgba(163, 230, 53, 0.45);
}

.search-tab svg {
    width: 17px;
    height: 17px;
}

.search-tab:first-child svg {
    color: var(--green);
}

.booking-preview {
    display: grid;
    grid-template-columns: 1.65fr 0.82fr 0.9fr 0.7fr auto;
    gap: 10px;
    padding: 14px;
}

.search-control {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 18, 24, 0.82);
    color: var(--muted);
}

.booking-preview .search-control {
    cursor: not-allowed;
    opacity: 0.78;
}

.search-control:focus-within {
    border-color: rgba(163, 230, 53, 0.75);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.12);
}

.search-control svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: var(--muted-2);
}

.search-control input,
.search-control select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.search-control input::placeholder {
    color: var(--muted-2);
}

.search-control input:disabled,
.search-control select:disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.8;
}

.search-control select {
    appearance: none;
    cursor: pointer;
}

.search-control input[type="date"] {
    color-scheme: dark;
}

.search-submit {
    min-width: 152px;
    min-height: 48px;
    border: 0;
}

.search-note {
    margin: -4px 16px 12px;
    color: var(--muted-2);
    font-size: 11px;
    text-align: right;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 14px;
    margin-top: 14px;
}

.overview-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(105px, 1fr)) minmax(360px, 3.2fr);
    gap: 10px;
}

.panel,
.stat-card,
.promo-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(16, 24, 32, 0.92), rgba(7, 15, 21, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.stat-card {
    min-height: 142px;
    padding: 17px;
    border-color: rgba(132, 204, 22, 0.2);
    border-radius: 17px;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stat-card:hover {
    border-color: rgba(163, 230, 53, 0.52);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 20px rgba(132, 204, 22, 0.05);
    transform: translateY(-3px);
}

.stat-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(132, 204, 22, 0.25);
    border-radius: 11px;
    background: var(--green-soft);
    color: var(--green-bright);
}

.stat-icon svg {
    width: 19px;
    height: 19px;
}

.stat-number {
    display: block;
    margin-top: 15px;
    color: var(--text);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.stat-label {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
}

.popular-panel,
.upcoming-panel {
    border-radius: 17px;
}

.popular-panel {
    min-height: 142px;
    padding: 14px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.panel-heading h2,
.panel-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
}

.panel-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.panel-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sports-grid {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(163, 230, 53, 0.34) transparent;
    scrollbar-width: thin;
}

.sport-card {
    position: relative;
    min-width: 0;
    flex: 0 0 116px;
    min-height: 84px;
    padding: 11px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(10, 18, 24, 0.72);
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    scroll-snap-align: start;
    transition: border-color 200ms ease, transform 200ms ease;
}

.sport-card::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

.sport-card:hover {
    border-color: rgba(163, 230, 53, 0.4);
    transform: translateY(-2px);
}

.sport-card:hover::after,
.sport-card:first-child::after {
    background: var(--green-bright);
    box-shadow: 0 0 8px rgba(163, 230, 53, 0.5);
}

.sport-emoji {
    display: block;
    min-height: 27px;
    color: var(--text);
    font-size: 23px;
    line-height: 1;
}

.sport-card:nth-child(2) .sport-emoji {
    color: var(--orange);
}

.sport-card:nth-child(3) .sport-emoji {
    color: var(--green-bright);
}

.sport-card[data-sport="paintball"] .sport-emoji,
.sport-card[data-sport="dodgeball"] .sport-emoji {
    filter: saturate(1.2);
}

.sport-name {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sport-caption {
    display: block;
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 10px;
}

.upcoming-panel {
    display: flex;
    min-height: 142px;
    flex-direction: column;
    padding: 16px;
}

.empty-match {
    display: grid;
    flex: 1;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 17, 23, 0.62);
}

.empty-match-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green-bright);
}

.empty-match-icon svg {
    width: 19px;
    height: 19px;
}

.empty-match strong {
    display: block;
    font-size: 11px;
}

.empty-match p {
    margin: 4px 0 0;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.45;
}

.upcoming-panel .button {
    width: 100%;
    min-height: 34px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 11px;
}

.utility-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 14px;
    margin-top: 14px;
}

.promo-card {
    position: relative;
    min-height: 188px;
    overflow: hidden;
    border-radius: 18px;
}

.app-promo {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(260px, 0.9fr);
    align-items: center;
    padding: 24px 26px;
}

.promo-copy {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.promo-copy h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.promo-copy h2 span {
    color: var(--green-bright);
}

.promo-copy p {
    max-width: 390px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.store-badge {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(4, 10, 14, 0.8);
    color: var(--text);
    cursor: not-allowed;
    opacity: 0.72;
}

.store-badge svg {
    width: 19px;
    height: 19px;
}

.store-badge small,
.store-badge strong {
    display: block;
}

.store-badge small {
    color: var(--muted-2);
    font-size: 9px;
    text-transform: uppercase;
}

.store-badge strong {
    margin-top: 2px;
    font-size: 11px;
}

.phone-scene {
    position: absolute;
    top: 10px;
    right: 16px;
    bottom: -45px;
    width: min(43%, 330px);
}

.phone {
    position: absolute;
    top: 4px;
    right: 74px;
    width: 118px;
    height: 226px;
    padding: 8px;
    border: 3px solid #52606b;
    border-radius: 26px;
    background: #03070a;
    box-shadow: -18px 20px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(132, 204, 22, 0.08);
    transform: rotate(-8deg);
}

.phone::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 42px;
    height: 8px;
    border-radius: 999px;
    background: #0b1115;
    transform: translateX(-50%);
}

.phone-screen {
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 90%, rgba(132, 204, 22, 0.35), transparent 50%),
        linear-gradient(180deg, #0c151b, #04090d);
}

.phone-bar {
    height: 24px;
    margin: 19px 9px 8px;
    border-radius: 7px;
    background: rgba(163, 230, 53, 0.18);
}

.phone-card {
    height: 46px;
    margin: 7px 9px;
    border: 1px solid rgba(163, 230, 53, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.floating-ball {
    position: absolute;
    top: 46px;
    right: 14px;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #a9b0b4 58%, #333a3e 100%);
    color: #101416;
    font-size: 34px;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45));
    transform: rotate(10deg);
}

.newsletter-card {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(190px, 0.8fr);
    align-items: center;
    padding: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    background: rgba(7, 14, 19, 0.75);
    color: var(--text);
    font-size: 11px;
}

.newsletter-form input:focus {
    border-color: var(--green-bright);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.12);
}

.newsletter-form button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
    color: #102000;
    font-size: 10px;
    font-weight: 800;
    cursor: not-allowed;
    opacity: 0.75;
}

.form-note {
    margin: 7px 0 0;
    color: var(--muted-2);
    font-size: 10px;
}

.stadium-art {
    position: absolute;
    right: -22px;
    bottom: -32px;
    width: 43%;
    min-width: 210px;
    aspect-ratio: 1.8;
    border: 1px solid rgba(163, 230, 53, 0.22);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 50% 42%, #235012 0 23%, #142b12 24% 35%, transparent 36%),
        repeating-radial-gradient(ellipse at 50% 42%, #1b262c 0 8px, #0b1419 9px 18px);
    box-shadow: 0 0 34px rgba(132, 204, 22, 0.18), inset 0 0 24px rgba(163, 230, 53, 0.1);
    transform: perspective(280px) rotateX(48deg);
}

.stadium-art::before {
    content: "";
    position: absolute;
    inset: 19% 22%;
    border: 2px solid rgba(163, 230, 53, 0.62);
    border-radius: 48%;
    box-shadow: 0 0 14px rgba(163, 230, 53, 0.3);
}

.stadium-pin {
    position: absolute;
    right: 17%;
    bottom: 42%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
    color: #142500;
    box-shadow: 0 0 24px rgba(132, 204, 22, 0.45);
    transform: rotate(-45deg);
}

.stadium-pin svg {
    width: 19px;
    height: 19px;
    transform: rotate(45deg);
}

.partner-strip {
    display: grid;
    grid-template-columns: 150px repeat(5, minmax(0, 1fr));
    align-items: center;
    min-height: 76px;
    margin-top: 14px;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 17, 23, 0.62);
}

.partner-strip > span:first-child {
    color: var(--muted-2);
    font-size: 11px;
}

.partner-name {
    color: var(--muted-2);
    font-size: clamp(10px, 0.8vw, 12px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.access-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 14px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(132, 204, 22, 0.08), rgba(9, 17, 23, 0.72));
}

.access-strip p,
.access-strip h2 {
    margin: 0;
}

.access-strip p {
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.access-strip h2 {
    margin-top: 5px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.access-strip .access-detail {
    max-width: 520px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 24px;
    align-items: end;
    padding: 30px 4px 6px;
    color: var(--muted-2);
    font-size: 11px;
}

.footer-about {
    max-width: 620px;
    margin: 7px 0 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a:hover {
    color: var(--text);
}

.login-dialog {
    width: min(470px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(163, 230, 53, 0.35);
    border-radius: 24px;
    background: #0b1218;
    color: #ffffff;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(132, 204, 22, 0.08);
}

.login-dialog::backdrop {
    background: rgba(0, 3, 5, 0.78);
    backdrop-filter: blur(10px);
}

.login-dialog:target:not([open]),
.login-dialog[data-has-error="true"]:not([open]) {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    display: block;
    margin: 0;
    box-shadow: 0 0 0 100vmax rgba(0, 3, 5, 0.82), 0 30px 100px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
}

.dialog-inner {
    position: relative;
    padding: 30px;
}

.dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.dialog-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-right: 48px;
}

.dialog-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.dialog-brand strong,
.dialog-brand span {
    display: block;
}

.dialog-brand strong {
    font-size: 14px;
}

.dialog-brand span {
    margin-top: 3px;
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.dialog-heading {
    margin: 24px 0 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.dialog-subtitle {
    margin: 7px 0 0;
    color: #9ca6ae;
    font-size: 12px;
    line-height: 1.55;
}

.login-error {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    padding: 11px 12px;
    border: 1px solid rgba(251, 113, 133, 0.38);
    border-radius: 11px;
    background: rgba(159, 18, 57, 0.18);
    color: #fecdd3;
    font-size: 11px;
    line-height: 1.45;
}

.login-error svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.login-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.field-group {
    display: grid;
    gap: 7px;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.field-group label {
    color: #b5bec5;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.forgot-link {
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 750;
}

.login-input {
    position: relative;
}

.login-input svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 17px;
    height: 17px;
    color: #7f8a93;
    transform: translateY(-50%);
    pointer-events: none;
}

.login-input input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px 0 43px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    outline: 0;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    font-size: 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.login-input input::placeholder {
    color: #65717a;
}

.login-input input:focus {
    border-color: var(--green-bright);
    background: rgba(132, 204, 22, 0.04);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.12);
}

.login-submit {
    width: 100%;
    margin-top: 2px;
}

.dialog-register {
    margin: 17px 0 0;
    color: #9ca6ae;
    font-size: 11px;
    text-align: center;
}

.dialog-register a {
    color: var(--green-bright);
    font-weight: 800;
}

.dialog-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    color: #71808a;
    font-size: 10px;
}

.dialog-security svg {
    width: 13px;
    height: 13px;
}

@media (max-width: 1310px) {
    .site-header {
        grid-template-columns: minmax(205px, 1fr) auto;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-copy {
        width: min(490px, 44%);
    }

    .overview-row {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

    .popular-panel {
        grid-column: 1 / -1;
    }

    .upcoming-panel {
        min-height: 294px;
    }
}

@media (min-width: 1311px) {
    .mobile-menu[data-open="true"] {
        display: none;
    }
}

@media (max-width: 1060px) {
    .site-canvas {
        padding: 0;
    }

    .arena-shell {
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .arena-shell::before {
        display: none;
    }

    .site-header {
        min-height: 82px;
        padding: 16px 24px;
    }

    .header-actions .login-button,
    .header-actions .signup-button {
        display: none;
    }

    .hero {
        min-height: 700px;
        align-items: flex-start;
        padding: 52px 24px 138px;
    }

    .hero-copy {
        width: min(540px, 62%);
    }

    .hero h1 {
        font-size: clamp(48px, 7vw, 62px);
    }

    .hero-art {
        inset: 0;
    }

    .hero::before {
        background: linear-gradient(90deg, var(--shell-deep) 0%, rgba(2, 7, 10, 0.8) 42%, transparent 80%);
    }

    .content-wrap {
        padding: 0 20px 38px;
    }

    .booking-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-submit {
        grid-column: 1 / -1;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-panel {
        min-height: 180px;
    }

    .utility-grid {
        grid-template-columns: 1fr;
    }

    .app-promo,
    .newsletter-card {
        min-height: 196px;
    }
}

@media (max-width: 760px) {
    .brand-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .brand-name,
    .brand-accent {
        font-size: 14px;
    }

    .header-actions {
        gap: 8px;
    }

    .mobile-menu[data-open="true"] {
        grid-template-columns: 1fr;
    }

    .hero {
        display: block;
        min-height: auto;
        padding: 42px 20px 120px;
    }

    .hero-copy {
        width: 100%;
        max-width: 560px;
    }

    .hero h1 {
        font-size: clamp(42px, 12.5vw, 56px);
    }

    .hero-description {
        max-width: 500px;
    }

    .hero-art {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        margin: 0;
    }

    .hero-art .sa-background-slide {
        background-position: 62% center;
    }

    .hero-art::after {
        background:
            linear-gradient(90deg, rgba(2, 7, 10, 0.7), transparent 28%),
            linear-gradient(0deg, var(--shell-deep), transparent 28%),
            linear-gradient(180deg, var(--shell-deep), transparent 25%);
    }

    .hero::before {
        background: radial-gradient(circle at 50% 65%, rgba(132, 204, 22, 0.11), transparent 24rem);
    }

    .search-panel {
        margin-top: -78px;
    }

    .search-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .search-tab:nth-child(3),
    .search-tab:nth-child(4) {
        border-bottom: 0;
    }

    .booking-preview {
        grid-template-columns: 1fr;
    }

    .search-submit {
        grid-column: auto;
    }

    .search-note {
        text-align: left;
    }

    .overview-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .popular-panel {
        grid-column: 1 / -1;
    }

    .sports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-promo,
    .newsletter-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .app-promo {
        min-height: 390px;
        align-items: start;
    }

    .phone-scene {
        top: auto;
        right: 10px;
        bottom: -42px;
        left: 10px;
        width: auto;
        height: 220px;
    }

    .phone {
        right: 42%;
    }

    .floating-ball {
        right: 24%;
    }

    .newsletter-card {
        min-height: 320px;
        align-items: start;
    }

    .stadium-art {
        width: 68%;
    }

    .stadium-pin {
        right: 28%;
    }

    .partner-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
        padding: 22px 16px;
    }

    .partner-strip > span:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .access-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 14px 16px;
    }

    .brand-copy {
        display: none;
    }

    .hero {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .content-wrap {
        padding-right: 14px;
        padding-left: 14px;
    }

    .search-tab {
        padding: 0 13px;
        font-size: 10px;
    }

    .overview-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        min-height: 132px;
        padding: 14px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .dialog-inner {
        padding: 24px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* The public light palette deliberately keeps the sports artwork vivid while
   moving navigation, controls, cards, and forms onto a bright arena canvas. */
html[data-theme="light"] .arena-shell {
    border-color: rgba(35, 52, 29, 0.2);
    background:
        radial-gradient(circle at 75% 12%, rgba(132, 204, 22, 0.1), transparent 28rem),
        linear-gradient(180deg, #ffffff, var(--shell-deep) 48%, var(--shell));
    box-shadow:
        inset 0 0 0 6px rgba(92, 117, 80, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        var(--shadow);
}

html[data-theme="light"] .arena-shell::before {
    border-color: rgba(13, 17, 23, 0.06);
}

html[data-theme="light"] .hero::before {
    background:
        linear-gradient(90deg, #f8fbf6 0%, rgba(248, 251, 246, 0.98) 30%, rgba(248, 251, 246, 0.66) 49%, rgba(248, 251, 246, 0.05) 76%),
        radial-gradient(circle at 61% 68%, rgba(132, 204, 22, 0.12), transparent 26rem);
}

html[data-theme="light"] .hero-art::after {
    background:
        linear-gradient(90deg, #f8fbf6 0%, rgba(248, 251, 246, 0.62) 20%, transparent 46%),
        linear-gradient(0deg, var(--shell-deep) 0%, transparent 23%);
}

html[data-theme="light"] .eyebrow {
    background: rgba(101, 163, 13, 0.1);
    color: #4d7c0f;
}

html[data-theme="light"] .avatar-stack img {
    border-color: #ffffff;
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button-ghost,
html[data-theme="light"] .icon-button,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .search-control,
html[data-theme="light"] .sport-card,
html[data-theme="light"] .empty-match,
html[data-theme="light"] .store-badge,
html[data-theme="light"] .newsletter-form input,
html[data-theme="light"] .partner-strip {
    background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .icon-button {
    color: #3f4c56;
}

html[data-theme="light"] .mobile-menu {
    box-shadow: 0 16px 40px rgba(25, 45, 18, 0.12);
}

html[data-theme="light"] .search-panel {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 55px rgba(25, 45, 18, 0.15), 0 0 30px rgba(132, 204, 22, 0.07);
}

html[data-theme="light"] .search-control input[type="date"] {
    color-scheme: light;
}

html[data-theme="light"] .panel,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .promo-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 237, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .stat-card:hover {
    box-shadow: 0 14px 34px rgba(25, 45, 18, 0.12), 0 0 20px rgba(132, 204, 22, 0.06);
}

html[data-theme="light"] .access-strip {
    background: linear-gradient(90deg, rgba(132, 204, 22, 0.1), rgba(255, 255, 255, 0.82));
}

html[data-theme="light"] .login-dialog {
    border-color: rgba(101, 163, 13, 0.35);
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 30px 100px rgba(25, 45, 18, 0.22), 0 0 50px rgba(132, 204, 22, 0.08);
}

html[data-theme="light"] .login-dialog::backdrop {
    background: rgba(27, 38, 24, 0.48);
}

html[data-theme="light"] .login-dialog:target:not([open]),
html[data-theme="light"] .login-dialog[data-has-error="true"]:not([open]) {
    box-shadow: 0 0 0 100vmax rgba(27, 38, 24, 0.52), 0 30px 100px rgba(25, 45, 18, 0.24);
}

html[data-theme="light"] .dialog-subtitle,
html[data-theme="light"] .field-group label,
html[data-theme="light"] .dialog-register {
    color: var(--muted);
}

html[data-theme="light"] .login-input input {
    border-color: rgba(13, 17, 23, 0.15);
    background: #f6f8f4;
    color: var(--text);
}

html[data-theme="light"] .login-input input:focus {
    background: #ffffff;
}
