﻿:root {
    --ink: #0b1220; /* text */
    --bg: #f6f9ff; /* page */
    --muted: #55657e; /* secondary text */
    --primary-900: #0a3b85;
    --primary-700: #1d66d1; /* main */
    --primary-500: #2d7df0;
    --accent: #17b26a; /* sporty green */
    --danger: #e73d3d;
    --card: #ffffff;
    --ring: rgba(45,125,240,0.35);
    --shadow: 0 14px 40px rgba(17, 42, 112, .12);
    --line: #e6ecf5;
}

html, body {
    height: 100%;
}

body {
    background: radial-gradient(900px 600px at 90% -10%, #e8f1ff 0%, transparent 50%), radial-gradient(800px 600px at -10% 110%, #ebfff6 0%, transparent 50%), linear-gradient(180deg, #f8fbff, var(--bg));
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

/* Subtle grid for stadium feel */
.grid-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 95%, #799bd21a 0) 0 0/100% 36px, linear-gradient(90deg, transparent 95%, #799bd21a 0) 0 0/36px 100%;
    mask-image: radial-gradient(1200px 800px at 50% 40%, #000 0%, transparent 70%);
    pointer-events: none;
    animation: pan 30s linear infinite;
}

@keyframes pan {
    to {
        background-position: 0 36px, 36px 0;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.left {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

    .brand .badge-pill {
        background: #ffffff;
        border: 1px solid var(--line);
        color: var(--primary-900);
    }

.headline {
    margin-top: clamp(24px, 4vh, 40px);
}

    .headline h1 {
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: .2px;
        font-size: clamp(34px, 4.6vw, 56px);
        margin-bottom: 10px;
    }

        .headline h1 span {
            color: var(--primary-700);
        }

    .headline p {
        color: var(--muted);
        max-width: 58ch;
    }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.chip {
    border: 1px solid var(--line);
    color: var(--primary-900);
    background: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 2px 0 rgba(17, 42, 112, .06);
}

.auth-card {
    position: relative;
    height: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    border-left: 1px solid var(--line);
}

.card-glass {
    width: min(480px, 92%);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 26px;
}

    .card-glass header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }

        .card-glass header .title {
            font-weight: 800;
        }

    .card-glass .subtitle {
        color: var(--muted);
        font-size: 14px;
    }

.form-floating > label {
    color: #6a7c96;
}

.form-control {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

    .form-control:focus {
        border-color: var(--primary-700);
        box-shadow: 0 0 0 .25rem var(--ring);
    }

.btn-primary {
    --bs-btn-bg: var(--primary-700);
    --bs-btn-border-color: var(--primary-700);
    --bs-btn-hover-bg: #2b86f3;
    --bs-btn-hover-border-color: #2b86f3;
    --bs-btn-focus-shadow-rgb: 45,125,240;
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #08331f;
    font-weight: 700;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5b6f8e;
}

    .divider::before, .divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: var(--line);
    }

.socials .btn {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary-900);
}

    .socials .btn:hover {
        background: #f6f9ff;
    }

.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.spark {
    position: relative;
    isolation: isolate;
}

    .spark::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 14px;
        background: conic-gradient(from 180deg at 50% 50%, #17b26a33, #2d7df033, transparent 40%);
        filter: blur(10px);
        z-index: -1;
        opacity: .55;
    }

.site-footer {
    color: #6d7ea0;
    font-size: 13px;
}

.helper-link {
    color: var(--primary-700);
    text-decoration: none;
}

    .helper-link:hover {
        color: #0a3b85;
    }


/* LEFT visual with image */
.hero-left {
    padding: 0;
    overflow: hidden;
}

.hero-left .left-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-img, url('../images/sports-hero-.jpg'));
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1);
}

.hero-left .left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffffff 0%, #ffffffaa 30%, #ffffff00 60%);
}

.hero-left .left-content {
    position: relative;
    z-index: 2;
    padding: clamp(24px, 4vw, 56px);
    max-width: 700px;
}

.elevate {
    background: linear-gradient(90deg, #1677ff 0%, #2d7df0 45%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.features li {
    color: #2d3b53;
    margin-bottom: 10px;
    font-weight: 600;
}

/* center divider hint */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
    opacity: .7;
}

/* Tabs on card */
.segmented {
    background: #f1f5ff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

    .segmented .seg {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        border-radius: 8px;
        font-weight: 700;
        color: #5b6f8e;
        cursor: pointer;
        user-select: none;
    }

        .segmented .seg.active {
            background: #fff;
            color: var(--primary-900);
            box-shadow: 0 1px 0 rgba(17,42,112,.06);
        }

/* Input with icons */
.icon-input .input-group-text {
    background: #fff;
    border: 1px solid var(--line);
    border-right: 0;
}

.icon-input .form-control {
    border-left: 0;
}

.tos {
    font-size: 14px;
    color: #6b7c97;
}
