/* ============================================================
   LaxLab — Player Profile Stylesheet
   Version: 2.0.0
   Mobile-first responsive design
   Option A: Electric Blue + White
   ============================================================ */

/* ==================== VARIABLES ==================== */
:root {
    /* Backgrounds */
    --bg-primary: #0B0F1A;
    --bg-card: #111827;
    --bg-card-hover: #1F2937;
    --bg-stat: #151C2C;
    --bg-input: #1E2536;

    /* Accent — Electric Blue */
    --accent: #3B82F6;
    --accent-bright: #60A5FA;
    --accent-dim: rgba(59, 130, 246, 0.12);
    --accent-glow: rgba(59, 130, 246, 0.25);

    /* Secondary accents */
    --committed: #F59E0B;
    --committed-dim: rgba(245, 158, 11, 0.12);
    --success: #10B981;
    --success-dim: rgba(16, 185, 129, 0.12);
    --danger: #EF4444;

    /* Text */
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --text-inverse: #111827;

    /* Borders */
    --border: #1F2937;
    --border-light: #374151;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Spacing */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;

    /* Typography scale */
    --text-xs: 0.6875rem;   /* 11px */
    --text-sm: 0.75rem;     /* 12px */
    --text-base: 0.875rem;  /* 14px */
    --text-md: 0.9375rem;   /* 15px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 1.75rem;    /* 28px */
    --text-3xl: 2.25rem;    /* 36px */
    --text-4xl: 2.5rem;     /* 40px */

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-size: var(--text-base);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ==================== NAV ==================== */
.nav--header {
    position: sticky;
    top: 0;
    z-index: 110;
    width: 100%;
    padding: 0 clamp(20px, 5vw, 48px);
    background: rgba(11, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
}
.nav__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}
.nav__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.nav__logo span {
    color: var(--accent);
}
.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav__link {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav__link:hover {
    color: var(--text-secondary);
}
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}
.nav__cta:hover {
    background: var(--accent-bright);
    transform: translateY(-1px);
}
.nav__cta svg {
    width: 14px;
    height: 14px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50%      { box-shadow: 0 0 35px var(--accent-glow), 0 0 60px rgba(59,130,246,0.1); }
}

/* Reveal class — applied by IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal.visible .stagger { animation: fadeUp 0.4s ease both; }
.reveal.visible .stagger:nth-child(1) { animation-delay: 0.05s; }
.reveal.visible .stagger:nth-child(2) { animation-delay: 0.10s; }
.reveal.visible .stagger:nth-child(3) { animation-delay: 0.15s; }
.reveal.visible .stagger:nth-child(4) { animation-delay: 0.20s; }
.reveal.visible .stagger:nth-child(5) { animation-delay: 0.25s; }
.reveal.visible .stagger:nth-child(6) { animation-delay: 0.30s; }
.reveal.visible .stagger:nth-child(7) { animation-delay: 0.35s; }
.reveal.visible .stagger:nth-child(8) { animation-delay: 0.40s; }

/* ==================== LOADING STATE ==================== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    gap: var(--sp-4);
}

.loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading__text {
    font-size: var(--text-base);
    color: var(--text-muted);
}

/* ==================== NOT FOUND ==================== */
.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
    text-align: center;
}

.not-found__icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.not-found__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--sp-2);
}

.not-found__text {
    color: var(--text-muted);
    margin-bottom: var(--sp-6);
}

.not-found__link {
    color: var(--accent-bright);
    font-weight: 600;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 56px 20px 28px;
    background: linear-gradient(180deg, #0D1B3E 0%, #0F1629 60%, var(--bg-primary) 100%);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Photo */
.hero__photo-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto var(--sp-5);
    animation: popIn 0.5s ease both;
}

.hero__photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-bright);
    overflow: hidden;
    animation: glowPulse 3s ease-in-out infinite;
}

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

.hero__commit-badge {
    position: absolute;
    bottom: -2px;
    right: -6px;
    background: var(--committed);
    color: var(--text-inverse);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: popIn 0.6s ease 0.3s both;
}

/* Name */
.hero__name {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    line-height: 1.1;
    animation: fadeUp 0.5s ease 0.1s both;
}

/* Hero structured lines */
.hero__status {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 6px;
    animation: fadeUp 0.5s ease 0.15s both;
}

.hero__positions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 6px;
    animation: fadeUp 0.5s ease 0.2s both;
}

.hero__measurables {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--sp-3);
    animation: fadeUp 0.5s ease 0.25s both;
}

/* Meta tags row (legacy — hidden by default now) */
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: var(--sp-3);
    animation: fadeUp 0.5s ease 0.2s both;
}

/* Team & location */
.hero__team {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 2px;
    animation: fadeUp 0.5s ease 0.25s both;
}

.hero__location {
    font-size: var(--text-sm);
    color: var(--text-muted);
    animation: fadeUp 0.5s ease 0.3s both;
}

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-stat);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.tag--position {
    background: var(--accent-dim);
    color: var(--accent-bright);
    border-color: rgba(59, 130, 246, 0.2);
}

.tag--committed {
    background: var(--committed-dim);
    color: var(--committed);
    border-color: rgba(245, 158, 11, 0.2);
}

.tag--grad {
    background: var(--success-dim);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Rank */
.hero__rank {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    background: var(--accent-dim);
    color: var(--accent-bright);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: 10px;
    animation: popIn 0.5s ease 0.35s both;
}

/* Share */
.hero__share {
    display: flex;
    gap: var(--sp-2);
    justify-content: center;
    margin-top: var(--sp-4);
    animation: fadeUp 0.5s ease 0.4s both;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.2s ease;
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
    background: var(--accent-dim);
}

.share-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   STATS BAR (supports Box / Field separation)
   ============================================================ */
.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.stats-bar + .stats-bar {
    border-top: none;
}

.stats-bar__label-header {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 6px 0 2px;
    background: var(--bg-card);
}

.stats-bar__cells {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
}

.stats-bar__cell {
    background: var(--bg-card);
    padding: var(--sp-4) var(--sp-2);
    text-align: center;
}

.stats-bar__value {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-bar__value--accent {
    color: var(--accent-bright);
}

.stats-bar__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Animated counter */
.stats-bar__value[data-target] {
    animation: countUp 0.4s ease both;
}

/* ============================================================
   NAV TABS
   ============================================================ */
.nav--tabs {
    display: flex;
    overflow-x: auto;
    background: rgba(11, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 56px; /* sits below the 56px header nav */
    z-index: 100;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav--tabs::-webkit-scrollbar { display: none; }

/* Fade-edge hints when scrollable */
.nav--fade-left {
    mask-image: linear-gradient(to right, transparent 0%, black 32px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32px);
}
.nav--fade-right {
    mask-image: linear-gradient(to left, transparent 0%, black 32px);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 32px);
}
.nav--fade-left.nav--fade-right {
    mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
}

.nav__tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    min-height: 48px; /* Touch target */
}

.nav__tab svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Hover — subtle lift, only on pointer devices */
@media (hover: hover) {
    .nav__tab:hover:not(.nav__tab--active) {
        color: var(--text-secondary);
        border-bottom-color: rgba(59, 130, 246, 0.3);
    }
}

/* Active tab — strong accent */
.nav__tab--active {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
    background: var(--accent-dim);
}

/* ============================================================
   CONTENT
   ============================================================ */
.content {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
    padding: var(--sp-5) 20px;
    border-bottom: 1px solid var(--border);
}

.section__header {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
}

.section__icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.section__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.section__subtitle {
    margin-left: auto;
    font-size: var(--text-xs, 0.75rem);
    font-weight: 500;
    color: var(--text-3, #64748b);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video__frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--bg-stat);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.video__frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video__placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: var(--sp-3);
}

.video__placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.video__placeholder-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.video__placeholder-text {
    font-size: 13px;
    font-weight: 500;
}

/* Video empty state CTA */
.video__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    background: var(--accent-dim);
    color: var(--accent-bright);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59,130,246,0.2);
    transition: all 0.2s ease;
}

.video__empty-cta:hover {
    background: var(--accent);
    color: white;
}

.video__links {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
    flex-wrap: wrap;
}

.video__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--sp-2) 12px;
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px;
}

.video__link:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
    background: var(--accent-dim);
}

.video__link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ---- Thumbnail strip (multiple videos) ---- */
.video__thumbstrip {
    display: flex;
    gap: 8px;
    margin-top: var(--sp-3);
    padding: 4px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.video__thumbstrip::-webkit-scrollbar {
    height: 4px;
}
.video__thumbstrip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.video__thumb {
    flex: 0 0 auto;
    width: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--bg-stat);
    transition: border-color 0.2s ease, transform 0.15s ease;
    padding: 0;
    position: relative;
}

.video__thumb:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.video__thumb--active {
    border-color: var(--accent);
}

.video__thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.video__thumb-label {
    display: block;
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.video__thumb--active .video__thumb-label {
    color: var(--accent-bright);
}

@media (max-width: 600px) {
    .video__thumb {
        width: 120px;
    }
    .video__thumb-label {
        font-size: 0.65rem;
    }
}

/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-2);
}

.stats-grid__item {
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.stats-grid__item:hover {
    border-color: var(--border-light);
}

.stats-grid__value {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-grid__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Detail rows */
.stats-detail__heading {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--sp-5);
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.stat-row__label {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.stat-row__value {
    font-family: var(--font-mono);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
}

.stat-row__value--accent {
    color: var(--accent-bright);
}

/* ============================================================
   BADGES
   ============================================================ */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
}

.badge--elite {
    background: rgba(239, 68, 68, 0.1);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge--century {
    background: var(--committed-dim);
    color: var(--committed);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge--scorer {
    background: var(--accent-dim);
    color: var(--accent-bright);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge--playmaker {
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ============================================================
   BIO
   ============================================================ */
.bio__text {
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--text-secondary);
}

.placeholder-text {
    font-size: var(--text-base);
    color: var(--text-muted);
    font-style: italic;
}

.empty-state {
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
    background: var(--bg-stat);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}

.empty-state__icon {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--sp-3);
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-state__icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.empty-state__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
}

.empty-state__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--sp-2) var(--sp-4);
    background: var(--accent-dim);
    color: var(--accent-bright);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59,130,246,0.2);
    transition: all 0.2s ease;
}

.empty-state__cta:hover {
    background: var(--accent);
    color: white;
}

/* ============================================================
   MEASURABLES
   ============================================================ */
.measurables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.measurable {
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: border-color 0.2s ease;
}

.measurable:hover {
    border-color: var(--border-light);
}

.measurable__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.measurable__value {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================================
   ACADEMICS
   ============================================================ */
.academics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.academic {
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.academic--full {
    grid-column: 1 / -1;
}

.academic--wide {
    grid-column: span 2;
}

.academic__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.academic__value {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
}

.academic__value--gpa {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    color: var(--accent-bright);
}

/* ============================================================
   RECRUITING PREFERENCES
   ============================================================ */
.recruiting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.recruiting-item {
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.recruiting-item--full {
    grid-column: 1 / -1;
}

.recruiting-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.recruiting-value {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
}

.recruiting-value--notes {
    font-weight: 400;
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

.recruiting-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--text-base);
    font-weight: 700;
    font-family: var(--font-display);
}

.recruiting-status--active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.recruiting-status--active::before { content: '🟢'; }

.recruiting-status--exploring {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
.recruiting-status--exploring::before { content: '🔵'; }

.recruiting-status--committed {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.recruiting-status--committed::before { content: '🟠'; }

.recruiting-status--signed {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.recruiting-status--signed::before { content: '✅'; }

.recruiting-status--inactive {
    background: rgba(107, 114, 128, 0.12);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.25);
}
.recruiting-status--inactive::before { content: '⚪'; }

.recruiting-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recruiting-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--accent-dim);
    color: var(--accent-bright);
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.recruiting-pill--div {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.2);
}

/* Tag for recruiting status in hero meta */
.tag--recruiting {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

@media (max-width: 480px) {
    .recruiting-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   LINK CARDS
   ============================================================ */
.link-card {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 12px 14px;
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    margin-bottom: var(--sp-2);
    min-height: 56px; /* Touch target */
}

.link-card:last-child { margin-bottom: 0; }

.link-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.link-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-card__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.link-card__icon--sr    { background: rgba(59,130,246,0.12); color: #60A5FA; }
.link-card__icon--ncsa  { background: rgba(239,68,68,0.12); color: #F87171; }
.link-card__icon--hudl  { background: rgba(251,146,60,0.12); color: #FB923C; }
.link-card__icon--ig    { background: rgba(168,85,247,0.12); color: #A855F7; }
.link-card__icon--fb    { background: rgba(59,130,246,0.12); color: #3B82F6; }
.link-card__icon--email { background: var(--accent-dim); color: var(--accent-bright); }
.link-card__icon--phone { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.link-card__icon--yt    { background: rgba(239,68,68,0.12); color: #EF4444; }

.link-card__body {
    flex: 1;
    min-width: 0;
}

.link-card__title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
}

.link-card__subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-card__arrow {
    color: var(--text-muted);
    font-size: var(--text-base);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.link-card:hover .link-card__arrow {
    transform: translateX(3px);
    color: var(--accent-bright);
}

/* ============================================================
   TEAM STATS (Multi-Season)
   ============================================================ */
.team-stats-group {
    margin-bottom: var(--sp-6);
}

.team-stats-group:last-child { margin-bottom: 0; }

.team-stats-group__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
}

.season-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: var(--sp-4);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.season-tab {
    padding: 8px 16px;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    min-height: 36px;
}

.season-tab:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
}

.season-tab--active {
    background: var(--accent-dim);
    color: var(--accent-bright);
    border-color: rgba(59, 130, 246, 0.3);
}

.team-stats-block {
    animation: fadeIn 0.3s ease;
}

.team-stats-block--hidden {
    display: none;
}

.team-stats-block__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
    font-weight: 500;
}

.team-stats-block__jersey-inline {
    color: var(--accent-bright);
    font-weight: 700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CAMP CARDS
   ============================================================ */
.camp-card {
    display: flex;
    gap: var(--sp-3);
    padding: 14px 16px;
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-2);
    transition: border-color 0.2s ease;
}

.camp-card:last-child { margin-bottom: 0; }

.camp-card:hover {
    border-color: var(--accent);
}

.camp-card__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.camp-card__body {
    flex: 1;
    min-width: 0;
}

.camp-card__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.camp-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.camp-card__status {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.camp-card__status--selected {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.camp-card__status--invited {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.camp-card__status--attended {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.camp-card__status--default {
    background: var(--bg-stat);
    color: var(--text-muted);
}

.camp-card__notes {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
}

/* ============================================================
   AWARD CARDS
   ============================================================ */
.award-card {
    display: flex;
    gap: var(--sp-3);
    padding: 14px 16px;
    background: var(--bg-stat);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-2);
    transition: border-color 0.2s ease;
}

.award-card:last-child { margin-bottom: 0; }

.award-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
}

.award-card__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.award-card__body {
    flex: 1;
    min-width: 0;
}

.award-card__title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.award-card__meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    padding: 28px 20px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: none;
    min-height: 48px; /* Touch target */
    min-width: 200px;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--primary:hover {
    background: var(--accent-bright);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.btn--secondary {
    background: var(--bg-stat);
    color: var(--text-primary);
    border: 1px solid var(--border);
    margin-top: 10px;
}

.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
}

/* Footer is now in shared.css */

/* ============================================================
   RESPONSIVE — Tablet & Desktop
   ============================================================ */
@media (min-width: 640px) {
    .hero {
        padding: 72px 20px 36px;
    }

    .hero__photo-wrap {
        width: 140px;
        height: 140px;
    }

    .hero__photo {
        width: 140px;
        height: 140px;
        font-size: 52px;
    }

    .hero__name {
        font-size: var(--text-3xl);
    }

    .stats-bar__value {
        font-size: 30px;
    }

    .section {
        padding: var(--sp-6) var(--sp-6);
    }

    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }

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

    .content {
        max-width: 680px;
    }
}

/* Footer legal links → now in shared.css */

/* ============================================================
   QR CODE CARD
   ============================================================ */
.qr-card--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px;
}
.qr-card__code {
    display: flex;
    justify-content: center;
}
.qr-card__label {
    font-size: var(--text-sm);
    color: var(--text-3);
    margin: 0;
}
.qr-card__copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--blue);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.qr-card__copy-btn:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}
.qr-card__copy-btn svg {
    opacity: 0.6;
}
.qr-card__actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* Field team in hero */
.hero__team--field {
    font-size: var(--text-sm);
    color: var(--text-3);
    margin-bottom: 2px;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.photo-gallery__item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.photo-gallery__item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.photo-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    body { background: white; color: black; }
    .nav, .hero__share, .footer__cta, .btn, .cta { display: none; }
    .section { border-bottom: 1px solid #ddd; }
    .hero { background: none; }
    .hero__photo { border-color: #333; box-shadow: none; animation: none; }
}
