:root {
    --bg: #02070b;
    --panel: #07131d;
    --panel-2: #0c1e2a;
    --text: #f4f8fb;
    --muted: #9fb0bd;
    --line: rgba(255, 255, 255, 0.12);
    --lime: #b9ff2f;
    --cyan: #22d3ee;
    --danger: #ff5f5f;
    --radius: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px max(18px, calc((100vw - var(--max)) / 2));
    background: rgba(2, 7, 11, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--lime);
    color: #061008;
}

.nav-toggle {
    justify-self: end;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text);
}

.primary-nav {
    display: none;
    grid-column: 1 / -1;
}

.primary-nav.is-open {
    display: block;
}

.primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
}

.header-actions {
    display: none;
}

.button,
button.button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--lime);
    border-radius: var(--radius);
    background: var(--lime);
    color: #061008;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.button--small {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.button--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.hero {
    display: grid;
    min-height: calc(100vh - 70px);
    gap: 30px;
    align-items: center;
    max-width: var(--max);
    margin: 0 auto;
    padding: 44px 18px;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.profile-summary h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 8vw, 88px);
    line-height: 0.95;
    text-transform: uppercase;
}

.hero p {
    max-width: 520px;
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-search,
.finder-form,
.scoutero-form,
.profile-form {
    display: grid;
    gap: 12px;
}

.hero-search {
    margin: 28px 0 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

select,
input,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #071019;
    color: var(--text);
    padding: 10px 12px;
}

textarea {
    min-height: 100px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
}

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

.hero__visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: radial-gradient(circle at 55% 35%, rgba(185, 255, 47, 0.16), transparent 30%), var(--panel);
}

.pitch-grid {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(185, 255, 47, 0.35);
    background-image: linear-gradient(rgba(185, 255, 47, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 255, 47, 0.12) 1px, transparent 1px);
    background-size: 36px 36px;
    transform: perspective(700px) rotateX(58deg);
    transform-origin: center bottom;
}

.scout-panel {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 2px;
    width: min(280px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 7, 11, 0.78);
}

.scout-panel strong {
    color: var(--lime);
    font-size: 44px;
    line-height: 1;
}

.section,
.content-page,
.finder-page,
.auth-panel,
.dashboard-shell,
.profile-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px 18px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(34px, 6vw, 62px);
}

.player-grid {
    display: grid;
    gap: 16px;
}

.scoutero-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.player-card__image {
    display: block;
    min-height: 220px;
    background: linear-gradient(135deg, #102432, #152e1f);
}

.player-card__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.player-card__body {
    padding: 16px;
}

.player-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.player-card dl,
.profile-list,
.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

dt {
    color: var(--muted);
    font-size: 12px;
}

dd {
    margin: 0;
    font-weight: 800;
}

.split-section,
.dashboard-shell,
.profile-hero {
    display: grid;
    gap: 24px;
}

.steps {
    display: grid;
    gap: 12px;
}

.steps article,
.status-card,
.profile-editor,
.dashboard-nav,
.auth-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 18px;
}

.notice-success {
    border-color: rgba(185, 255, 47, 0.45);
    background: rgba(185, 255, 47, 0.09);
}

.steps strong {
    color: var(--lime);
    font-size: 28px;
}

.dashboard-nav {
    align-self: start;
}

.dashboard-nav a,
.dashboard-nav strong {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.form-grid,
.finder-form {
    grid-template-columns: 1fr;
}

.profile-photo {
    min-height: 300px;
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
}

.profile-cover {
    max-width: var(--max);
    min-height: 220px;
    margin: 28px auto -24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: radial-gradient(circle at 72% 30%, rgba(185, 255, 47, 0.2), transparent 30%), linear-gradient(135deg, #0d2330, #07131d);
    background-position: center;
    background-size: cover;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo__placeholder {
    display: grid;
    min-height: 300px;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
}

.profile-stats span {
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--muted);
}

.profile-stats strong {
    color: var(--text);
    font-size: 24px;
}

.profile-tags,
.profile-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.profile-tags span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}

.profile-metrics span {
    display: grid;
    min-width: 110px;
    padding: 12px;
    border: 1px solid rgba(185, 255, 47, 0.26);
    border-radius: var(--radius);
    background: rgba(185, 255, 47, 0.07);
    color: var(--muted);
}

.profile-metrics strong {
    color: var(--lime);
    font-size: 24px;
}

.video-grid {
    display: grid;
    gap: 14px;
}

.video-card {
    display: grid;
    gap: 10px;
}

.video-card strong {
    color: var(--lime);
    text-transform: uppercase;
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
}

.verified-badge {
    display: inline-flex;
    margin: 8px 0 14px;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: rgba(185, 255, 47, 0.14);
    color: var(--lime);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding: 24px max(18px, calc((100vw - var(--max)) / 2));
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (min-width: 760px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
        grid-column: auto;
    }

    .primary-nav ul {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .header-actions {
        display: flex;
    }

    .hero,
    .split-section,
    .dashboard-shell,
    .profile-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .hero-search,
    .finder-form {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    }

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

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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