@font-face {
    font-family: 'trajanPro';
    src: url('../fonts/TrajanPro-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'clubsolid';
    src: url('../fonts/BaseballClubSolid-E4X69.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette */
    --primary-black: #0c0c0f;
    --secondary-text: #cfd3dc;
    --primary-red: #e33a3a;
    --secondary-white: #f5f7fa;
    --accent-dark: #0a0b0e;
    --accent-light: #171923;

    --glass-border-loading: rgba(255, 255, 255, 0.12);
    --glass-fill-1: rgba(255, 255, 255, 0.10);
    --glass-fill-2: rgba(255, 255, 255, 0.04);

    /* Glass tokens */
    --glass-bg-new: rgba(255, 255, 255, 0.06);
    --glass-bg-new-strong: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-border-strong: rgba(255, 255, 255, 0.28);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --glass-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --glow-red: 0 8px 24px rgba(227, 58, 58, 0.35);
    --glow-soft: 0 10px 40px rgba(120, 140, 170, 0.18);

    /* Gradients */
    --grad-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.02) 100%);
    --grad-surface: radial-gradient(1200px 800px at 20% 0%, rgba(227, 58, 58, 0.20) 0%, rgba(227, 58, 58, 0) 45%),
        radial-gradient(900px 700px at 90% 20%, rgba(80, 120, 255, 0.15) 0%, rgba(80, 120, 255, 0) 40%),
        linear-gradient(180deg, #0b0c10 0%, #0a0a0d 100%);

    /* Motion */
    --transition: all .35s cubic-bezier(.2, .8, .2, 1);

    /* Other */
    --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    --glass-border: rgba(255, 255, 255, .28);
    --glass-highlight: rgba(255, 255, 255, .55);
    --bg-backdrop: rgba(10, 10, 15, .55);
    --txt: #f5f7fb;
    --muted: #c9cfdb;
    --accent: #ff4655;
    --accent-2: #6cc1ff;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
    --radius: 22px;
    --blur: 16px;
    --transition: .25s ease;
}

/* Backdrop */
#app-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.6);
    /* black translucent background */
    transition: opacity .45s ease, visibility .45s ease;
    opacity: 1;
    visibility: visible;
}

#app-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Glass card */
.loader-card {
    position: relative;
    width: min(92vw, 440px);
    padding: 24px 22px;
    border-radius: 20px;
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    background:
        linear-gradient(180deg, var(--glass-fill-1), var(--glass-fill-2)),
        radial-gradient(120% 120% at 10% 0%, rgba(227, 58, 58, 0.18), transparent 55%);
    border: 1px solid var(--glass-border-loading);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    color: var(--secondary-white);
}

/* Subtle glossy sheen */
.loader-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.0) 35% 65%, rgba(255, 255, 255, 0.06));
    mask: linear-gradient(#000 35%, transparent 70%);
    pointer-events: none;
}

.loader-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.loader-title {
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--secondary-white);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Ring spinner (glass + red accent) */
.loader-ring {
    width: 74px;
    height: 74px;
    margin: 6px auto 8px;
    border-radius: 50%;
    background:
        conic-gradient(from 0deg, var(--primary-red) 0 270deg, rgba(255, 255, 255, 0.14) 270deg),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
    -webkit-mask:
        radial-gradient(circle 26px at 50% 50%, transparent 96%, #000 97%);
    mask:
        radial-gradient(circle 26px at 50% 50%, transparent 96%, #000 97%);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.12);
    animation: spin 1.15s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

/* Progress bar */
.loader-progress-track {
    height: 10px;
    border-radius: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 28% 72%, rgba(255, 255, 255, 0.35)),
        linear-gradient(90deg, var(--primary-red), #ff5a5a);
    box-shadow:
        inset 0 -6px 12px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(227, 58, 58, 0.35);
    transition: width .28s ease;
}

.loader-percent {
    align-self: flex-end;
    font-variant-numeric: tabular-nums;
    color: var(--secondary-text);
    font-size: 13px;
    letter-spacing: .2px;
}

/* Optional reduced motion */
@media (prefers-reduced-motion: reduce) {
    .loader-ring {
        animation: none
    }

    #app-loader {
        transition: none
    }

    .loader-progress-bar {
        transition: none
    }
}

/* Trigger button */
.modal-button {
    background: var(--glass-bg);
    color: var(--txt);
    padding: 12px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.modal-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.modal-button:active {
    transform: translateY(0);
}

/* Overlay */
.glass-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: radial-gradient(1200px 800px at 20% 10%, rgba(108, 193, 255, .12), transparent 60%),
        radial-gradient(1000px 700px at 80% 90%, rgba(255, 70, 85, .12), transparent 60%),
        var(--bg-backdrop);
    z-index: 9999;
    animation: fadeIn .25s ease both;
}

.glass-modal-overlay[aria-hidden="false"] {
    display: grid;
}

/* Modal */
.glass-modal {
    width: min(1100px, 94vw);
    height: min(86vh, 900px);
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Glossy highlight strip */
.glass-modal::before {
    content: "";
    position: absolute;
    inset: -40% -40% auto -40%;
    height: 140%;
    background: radial-gradient(ellipse at top left, var(--glass-highlight), transparent 40%);
    opacity: .18;
    transform: rotate(-8deg);
    pointer-events: none;
}

/* Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--txt);
    letter-spacing: .2px;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

/* Button with glossy glass style */
.alert-glass {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    z-index: 9999;
    animation: slideIn 0.4s ease forwards;
}

/* Close button */
.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
    padding: 0;
    user-select: none;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #ff4d4d;
}

/* Slide in from right */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons inside modal */
.glass-btn {
    appearance: none;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--txt);
    padding: 10px 14px;
    border-radius: 12px;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px rgba(0, 0, 0, .25);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .45);
}

.glass-btn:active {
    transform: translateY(0);
}

.glass-btn.ghost {
    border-color: rgba(255, 255, 255, .22);
}

.glass-btn.danger {
    border-color: rgba(255, 255, 255, .22);
}

.glass-btn.danger:hover {
    border-color: rgba(255, 100, 110, .6);
}

/* Body */
.modal-body {
    flex: 1;
    min-height: 0;
}

#pdfFrame {
    width: 100%;
    height: 100%;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
        radial-gradient(900px 600px at 100% 0%, rgba(108, 193, 255, .08), transparent 60%),
        radial-gradient(900px 600px at 0% 100%, rgba(255, 70, 85, .08), transparent 60%);
}

/* Open / close animations */
@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes scaleUp {
    from {
        transform: translateY(12px) scale(.98);
        opacity: .0
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

.glass-modal {
    animation: scaleUp .25s ease both;
}

.closing .glass-modal {
    animation: scaleUp .18s ease reverse both;
}

.closing {
    animation: fadeIn .18s ease reverse both;
}

/* Click-outside affordance */
.glass-modal-overlay:before {
    content: "";
    position: absolute;
    inset: 0;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .modal-header {
        padding: 12px 12px;
    }

    .glass-btn {
        padding: 9px 12px;
        font-size: 14px;
    }

    .glass-modal {
        width: 96vw;
        height: 86vh;
    }
}

/* Optional focus ring for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

/* ====== Glass Tokens (safe fallbacks if your vars aren't set) ====== */
:root {
    --glass-bg-new: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    --glass-stroke: rgba(255, 255, 255, 0.18);
    --glass-highlight-new: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --ring: rgba(255, 255, 255, 0.35);
}

/* ====== Button (glossy, subtle glow, sheen) ====== */
.modal-button {
    --btn-bg: linear-gradient(135deg, color-mix(in srgb, var(--primary-red) 92%, white 8%), color-mix(in srgb, var(--primary-red) 70%, black 30%));
    --btn-stroke: color-mix(in srgb, var(--primary-red) 30%, white 70%);
    background: var(--btn-bg);
    color: var(--secondary-white);
    padding: 12px 22px;
    border: 1px solid var(--btn-stroke);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .35s ease, opacity .25s ease;
    transform: scale(0.80);
    /* kept close to your original 0.75 */
    margin-left: -20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px color-mix(in srgb, var(--primary-red) 28%, black 72%);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.modal-button::before {
    /* glossy sheen */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .55;
}

.modal-button::after {
    /* animated highlight sweep on hover */
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 60%;
    height: 300%;
    transform: rotate(20deg);
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity .35s ease, transform .6s ease;
}

.modal-button:hover {
    transform: translateY(-1px) scale(0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 12px 28px color-mix(in srgb, var(--primary-red) 34%, black 66%);
    filter: saturate(1.05);
}

.modal-button:hover::after {
    opacity: .9;
    transform: rotate(20deg) translateX(120%);
}

.modal-button:active {
    transform: translateY(0) scale(0.79);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.25),
        0 6px 16px color-mix(in srgb, var(--primary-red) 30%, black 70%);
}

.modal-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px var(--ring),
        0 10px 28px color-mix(in srgb, var(--primary-red) 34%, black 66%),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ====== Overlay (blurred backdrop + fade in) ====== */
.modal-overlay {
    display: flex;
    /* allows animation while hidden via visibility */
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: radial-gradient(1200px 800px at 70% 20%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
    justify-content: center;
    align-items: center;
    transition: opacity .28s ease, visibility .28s ease;
    backdrop-filter: blur(8px) saturate(1.15);
    -webkit-backdrop-filter: blur(8px) saturate(1.15);
}

.modal-overlay.active,
.modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

/* ====== Modal (frosted glass card with light edge) ====== */
.modal-content {
    background: var(--glass-bg-new);
    border: 1px solid var(--glass-stroke);
    padding: 28px;
    max-width: 560px;
    width: min(92vw, 560px);
    border-radius: 18px;
    text-align: center;
    position: relative;
    box-shadow: var(--glass-shadow);
    transform: translateY(8px) scale(.98);
    transition: transform .28s ease, box-shadow .28s ease, background .35s ease;
}

.modal-overlay.active .modal-content,
.modal-overlay[aria-hidden="false"] .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content::before {
    /* inner subtle border highlight */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, var(--glass-highlight-new), rgba(255, 255, 255, 0.06));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.modal-content::after {
    /* top glare */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 40%;
    border-radius: 18px 18px 50% 50% / 16px 16px 30% 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    pointer-events: none;
    mix-blend-mode: screen;
}

/* ====== Headings & text inside modal ====== */
.modal-content h3 {
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--secondary-white);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.board-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    text-align: left;
}

.board-list li {
    margin-bottom: 12px;
    font-size: 16px;
    color: color-mix(in srgb, var(--secondary-white) 88%, black 12%);
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
}

.board-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, 0.1) 55%) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15)) border-box;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* ====== Close button (glass pill) ====== */
.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    color: var(--secondary-white);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--glass-stroke);
    border-radius: 999px;
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.close-modal:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    transform: translateY(-1px);
}

.close-modal:active {
    transform: translateY(0);
}

.close-modal:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--ring), 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {

    .modal-button,
    .modal-overlay,
    .modal-content,
    .close-modal {
        transition: none !important;
        animation: none !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
    line-height: 1.6;
    color: var(--secondary-white);
    background: var(--grad-surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* subtle starry shimmer */
    background-attachment: fixed;
}

/* subtle noise */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 15%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 18%),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 20%);
    mix-blend-mode: overlay;
    opacity: .35;
    z-index: -1;
}

body {
    background-image:
        radial-gradient(1000px 700px at 15% -10%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 60%),
        radial-gradient(900px 700px at 95% 10%, rgba(66, 133, 244, .12), rgba(66, 133, 244, 0) 50%),
        linear-gradient(180deg, #0b0c10 0%, #0a0a0d 100%);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: -2px;
    pointer-events: none;
    background: var(--sheen);
    mix-blend-mode: soft-light;
    opacity: .25;
}

body::after {
    background-image: var(--grain);
    background-size: 200px 200px;
    opacity: .45;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* Navigation */
/* ========== Glossy Glass Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    /* glass background */
    background:
        radial-gradient(1200px 120px at 30% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
        linear-gradient(180deg, rgba(18, 18, 20, 0.65), rgba(18, 18, 20, 0.35));
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar::before {
    /* subtle top sheen */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 22%, transparent 40%);
    mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%);
}

.navbar.scrolled {
    background:
        radial-gradient(1200px 120px at 30% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
        linear-gradient(180deg, rgba(15, 15, 17, 0.85), rgba(15, 15, 17, 0.55));
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* keep your layout exactly the same */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo looks crisper on glass */
.logo-img {
    height: 50px;
    margin-top: -5px;
    margin-bottom: -5px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* Links: same underline effect, add soft hover pill */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--secondary-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 10px;
}

.nav-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 100px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link.active::after {
    width: 100%;
}

/* Donate button: glossy pill + shimmer on hover */
.donate-button {
    position: relative;
    display: inline-block;
    padding: 0.45em 1.15em;
    margin-top: -5px;
    margin-left: -10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-white);
    text-decoration: none;
    border: 1.5px solid var(--primary-red);
    border-radius: 999px;
    overflow: hidden;
    transform: scale(0.9);
    background:
        linear-gradient(180deg, rgba(248, 26, 26, 0.329), rgba(255, 47, 47, 0.192));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(199, 30, 30, 0.25);
    transition: color 0.75s ease, transform 0.55s ease, box-shadow 0.35s ease;
}

.donate-button::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    border-radius: 999px;
    transition: width 0.35s ease;
    z-index: -1;
}

.donate-button::before {
    /* diagonal sheen */
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 40%;
    height: 300%;
    transform: rotate(20deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.0));
    transition: transform 0.6s ease;
}

.donate-button:hover::after {
    width: 100%;
}

.donate-button:hover::before {
    transform: rotate(20deg) translateX(260%);
}

.donate-button:hover {
    color: #fff;
    transform: scale(0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 28px rgba(199, 30, 30, 0.45);
}

/* Hamburger: glass chip for mobile */
.hamburger {
    display: none;
    /* your current behavior */
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    backdrop-filter: blur(8px) saturate(130%);
    -webkit-backdrop-filter: blur(8px) saturate(130%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bar {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
    border-radius: 3px;
    transition: var(--transition);
}

/* Motion-safe fallback */
@media (prefers-reduced-motion: reduce) {

    .nav-link,
    .donate-button,
    .navbar,
    .hamburger,
    .bar {
        transition: none !important;
        transform: none !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    background: url('../images/teamPicture.jpg') center top 35% / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.5) 60%, transparent 9100%);
    z-index: 1;
}


@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    margin-left: 25px;
    margin-top: -8px;
    border: 0px solid white;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: visible;
    margin-bottom: -20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-btn .text {
    position: relative;
    font-family: 'trajanPro', sans-serif;
}

.modern-btn .text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.modern-btn .arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.modern-btn:hover .text::after {
    width: 100%;
}

.modern-btn:hover .arrow {
    transform: translateX(6px);
}

.arrow svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.hero-content {
    display: flex;
    width: 100vw;
    z-index: 1;
    margin-bottom: 15px;
    padding-left: 70px;
    padding-right: 70px;
}


.hero-title {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 600;
    font-family: 'trajanPro', sans-serif;
}

.hero-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    line-height: 1rem;
}

.hero-title .sub {
    color: transparent;
    -webkit-text-stroke: 2px var(--secondary-white);
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    color: var(--primary-red);
    margin-left: 5px;
    margin-top: 16px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--secondary-white);
}

.btn-primary:hover {
    background: #a11818;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(199, 30, 30, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-white);
    border: 2px solid var(--secondary-white);
}

.btn-secondary:hover {
    background: var(--secondary-white);
    color: var(--primary-black);
    transform: translateY(-3px);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-stats {
    display: flex;
    gap: 50px;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Section Styles */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 52px;
    font-weight: 800;
    letter-spacing: .2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02)
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start
}

.about-text p {
    font-size: 1.1rem;
    margin: -10px 0 20px;
    opacity: .92
}

.about-image-subtext {
    font-size: 0.75rem;
    margin-top: 5px;
    text-align: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    opacity: .95
}

.feature-item i {
    color: var(--primary-red);
    font-size: 1.35rem;
    text-shadow: 0 8px 22px rgba(227, 58, 58, .35)
}

.about-image img {
    border-radius: 16px;
    border: 1px solid var(--glass-border-strong);
    box-shadow: var(--glass-shadow-lg);
    width: 100%;
    display: block;
    margin-left: auto;
    background: var(--glass-bg-new);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}



/* Team Section */
.team {
    padding: 100px 0;
    background: transparent
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px
}

.team-grid-tiny {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px
}

.team-member {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: var(--glass-bg-new);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(227, 58, 58, .18), var(--glass-shadow);
    border-color: var(--glass-border-strong)
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 4px solid rgba(227, 58, 58, .85);
    box-shadow: var(--glow-red);
}

.coach-title {
    margin-top: -10px;
    font-weight: 700
}

.team-member h3 {
    color: var(--secondary-white);
    margin-bottom: 8px
}

.team-member p {
    color: var(--primary-red);
    opacity: .95
}

/* Sponsors Section */
.sponsors {
    padding: 100px 0;
    background: var(--accent-light);
    overflow: hidden;
}

.sponsors-subtitle {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
}

.sponsors-slider {
    overflow: visible;
    position: relative;
    margin-bottom: -45px;
}

.sponsors-track {
    display: flex;
    /*animation: scroll 23s linear infinite;*/
}

.sponsor-item {
    transition: var(--transition);
}

.sponsor-item:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Footer */
.footer {
    background: var(--accent-dark);
    padding: 30px 0 20px;
    margin-top: 8px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
    margin-top: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-white);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--secondary-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--secondary-white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--accent-light);
    opacity: 0.8;
}

.team-subtitle {
    color: var(--secondary-text);
    margin-top: -50px;
    margin-bottom: 25px;
    text-align: center;
}

.margin-filling-spacer {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 3px 0;
    }

    .modern-btn {
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .modern-btn {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 25px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-content {
        margin-top: -20px;
        margin-bottom: -75px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2.1rem
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sponsorship-buttons {
        display: flex;
        flex-direction: column;
    }

    .margin-filling-spacer {
        margin-right: auto;
        margin-bottom: 15px;
    }

    .margin-filling {
        margin-right: auto;
    }

    .smaller-foundation {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .about-image img {
        display: none;
    }

    .about-image-subtext {
        display: none;
    }

    .sponsors-track {
        display: flex;
        /*animation: scroll 23s linear infinite;*/
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .about-features {
        transform: scale(0.8);
        margin-left: -50px;
        margin-top: -10px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.05rem;
        line-height: 0.6rem;
    }
}