@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-player: #162032;
    --bg-deep: #0a1020;
    --navy: #0d1b6e;
    --navy-light: #1a2d8a;
    --silver: #94a3b8;
    --silver-border: rgba(148,163,184,0.15);
    --silver-line: rgba(148,163,184,0.25);
    --text: #f1f5f9;
    --text-muted: #64748b;
    --text-dim: #334155;
    --border: rgba(148,163,184,0.08);
    --radius: 8px;
    --radius-lg: 14px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.fp-nav {
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 36px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--silver-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.fp-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.fp-nav-logo { width: 32px; height: 32px; object-fit: contain; }

.fp-nav-links { display: flex; align-items: center; gap: 2px; }

.fp-nav-group { position: relative; }

.fp-nav-group-label {
    font-size: 13px;
    color: var(--silver);
    padding: 7px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    display: block;
    font-weight: 400;
    transition: color 0.15s;
}

.fp-nav-group-label:hover { color: #fff; }

.fp-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1e293b;
    border-radius: var(--radius);
    border: 1px solid var(--silver-border);
    padding: 6px 0;
    min-width: 170px;
    z-index: 200;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.fp-nav-group:hover .fp-nav-dropdown { display: block; }

.fp-nav-dropdown a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--silver);
    transition: color 0.1s;
}

.fp-nav-dropdown a:hover { color: #fff; }

.fp-nav-link {
    font-size: 13px;
    color: var(--silver);
    padding: 7px 14px;
    border-radius: var(--radius);
    display: inline-block;
    transition: color 0.15s;
}

.fp-nav-link:hover { color: #fff; }

.fp-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.fp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0f172a;
}

.fp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 21%;
    opacity: 0.5;
}

.fp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.1) 100%);
}

.fp-hero-silver-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-line), transparent);
}

.fp-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 48px;
    width: 100%;
}

.fp-hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp-hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--silver);
    flex-shrink: 0;
    opacity: 0.5;
}

.fp-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.fp-hero p {
    font-size: 14px;
    color: var(--silver);
    margin-bottom: 28px;
    font-weight: 300;
}

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

.fp-btn-primary {
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.15s;
}

.fp-btn-primary:hover { background: #e2e8f0; }

.fp-btn-secondary {
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--silver-line);
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.15s;
}

.fp-btn-secondary:hover { border-color: var(--silver); }

.fp-btn-navy {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: background 0.15s;
}

.fp-btn-navy:hover { background: var(--navy-light); }

.fp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-card {
    background: var(--bg-card);
    border: 1px solid var(--silver-border);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    position: relative;
    overflow: hidden;
}

.fp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-line), transparent);
}

.fp-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--silver-border), transparent);
}

.fp-section-label-right {
    order: 3;
    margin-left: auto;
    padding-left: 8px;
}

.fp-section-label a {
    font-size: 12px;
    color: var(--silver);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.15s;
}

.fp-section-label a:hover { color: #fff; }

.fp-next-game {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.fp-ng-date {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.fp-ng-sub {
    font-size: 13px;
    color: var(--silver);
    margin-top: 6px;
    font-weight: 300;
}

.fp-ng-vs {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.fp-ng-tourn {
    font-size: 12px;
    color: var(--silver);
    margin-top: 4px;
    text-align: right;
    font-weight: 300;
}

.fp-ng-link {
    font-size: 12px;
    color: var(--silver);
    margin-top: 10px;
    display: block;
    text-align: right;
    transition: color 0.15s;
}

.fp-ng-link:hover { color: #fff; }

.fp-scroll-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fp-scroll-strip::-webkit-scrollbar { display: none; }

.fp-scroll-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 10px;
    text-align: right;
    font-weight: 300;
}

.fp-player-card {
    background: var(--bg-player);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--silver-border);
    flex: 0 0 118px;
    min-width: 118px;
    display: block;
    transition: border-color 0.2s, background 0.2s;
}

.fp-player-card:hover {
    border-color: var(--silver-line);
    background: #1e293b;
}

.fp-player-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--silver-border);
    margin: 0 auto 10px;
    display: block;
}

.fp-player-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    border: 1.5px solid var(--silver-border);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

.fp-player-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-player-pos {
    font-size: 11px;
    color: var(--silver);
    margin-bottom: 8px;
    font-weight: 300;
}

.fp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.fp-badge-open { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); }
.fp-badge-verbal { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.25); }
.fp-badge-committed { background: rgba(34,197,94,0.15); color: #6ee7b7; border: 1px solid rgba(34,197,94,0.25); }

.fp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fp-coach-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.fp-coach-row:last-child { border-bottom: none; }

.fp-coach-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    border: 1px solid var(--silver-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.fp-coach-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--silver-border);
    flex-shrink: 0;
}

.fp-coach-name { font-size: 13px; font-weight: 600; color: #fff; }
.fp-coach-title { font-size: 11px; color: var(--silver); margin-top: 1px; font-weight: 300; }

.fp-ann-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.fp-ann-row:last-child { border-bottom: none; }
.fp-ann-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.fp-ann-body { font-size: 12px; color: var(--silver); font-weight: 300; }

.fp-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}

.fp-schedule-row:last-child { border-bottom: none; }

.fp-profile-header {
    background: var(--bg-card);
    border: 1px solid var(--silver-border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.fp-profile-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-line), transparent);
}

.fp-stat-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0,1fr)); }

.fp-stat-block {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    border: 1px solid var(--silver-border);
}

.fp-stat-block .label {
    font-size: 10px;
    font-weight: 600;
    color: var(--silver);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fp-stat-block .value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.fp-info-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.fp-info-row:last-child { border-bottom: none; }
.fp-info-label { color: var(--silver); font-weight: 300; }
.fp-info-value { color: #fff; font-weight: 500; }
.fp-info-link { color: #93c5fd; }

.fp-video-wrap {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--silver-border);
    transition: border-color 0.15s;
}

.fp-video-wrap:hover { border-color: var(--silver-line); }

.fp-footer {
    background: var(--bg-deep);
    padding: 32px 36px;
    border-top: 1px solid var(--silver-border);
    margin-top: 16px;
}

.fp-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.fp-footer-brand { display: flex; align-items: center; gap: 12px; }
.fp-footer-logo { width: 32px; height: 32px; object-fit: contain; }
.fp-footer-name { font-size: 13px; font-weight: 600; color: var(--silver); }
.fp-footer-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.fp-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.fp-footer-links a { font-size: 12px; color: var(--text-dim); transition: color 0.15s; }
.fp-footer-links a:hover { color: var(--silver); }
.fp-footer-copy { font-size: 11px; color: var(--text-dim); width: 100%; margin-top: 6px; }

.fp-stat-grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.fp-stat-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.fp-batting-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.fp-pitching-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 680px) {
    .fp-nav { padding: 0 16px; }
    .fp-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: #0f172a;
        padding: 12px 16px 16px;
        gap: 2px;
        border-bottom: 1px solid var(--silver-border);
        z-index: 99;
    }
    .fp-nav-links.open { display: flex; }
    .fp-nav-toggle { display: block; }
    .fp-nav-dropdown {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px 0 0 12px;
    }
    .fp-nav-dropdown a { color: var(--silver); padding: 7px 10px; }
    .fp-hero { min-height: 360px; }
    .fp-hero h1 { font-size: 38px; }
    .fp-hero-content { padding: 0 20px 36px; }
    .fp-container { padding: 16px; gap: 12px; }
    .fp-card { padding: 20px 18px; }
    .fp-two-col { grid-template-columns: 1fr; }
    .fp-profile-header { padding: 20px 18px; }
    .fp-footer { padding: 24px 16px; }
    .fp-stat-grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .fp-stat-grid-4 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .fp-batting-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .fp-pitching-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
