:root {
    /* Botswana Color Palette - Inspired by Flag (Blue, Black, White) */
    --primary: #6BA3D8; /* Botswana Sky Blue */
    --primary-dark: #4A8BC2; /* Darker Botswana Blue */
    --primary-light: #8BB8E5; /* Lighter Botswana Blue */
    --secondary: #2C3E50; /* Deep Charcoal (represents people) */
    --success: #27AE60; /* African Green */
    --warning: #E67E22; /* Kalahari Sunset Orange */
    --danger: #E74C3C; /* Alert Red */
    --info: #3498DB; /* Okavango Delta Blue */
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-secondary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    font-size: 0.9375rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-landing {
    background: radial-gradient(circle at 10% 20%, #1a2a3a 0, #020617 55%, #020617 100%);
    color: #e5e7eb;
}

.landing-main {
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.app-shell main.container {
    max-width: 1280px;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* ============================================
   NAVIGATION - Social Media Style
   ============================================ */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-social {
    background: #ffffff !important;
}

.navbar-brand-social {
    color: var(--gray-800) !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand-social:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

.navbar-nav-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav-social .nav-item {
    list-style: none;
}

.navbar-nav-social .nav-link {
    color: #65676b !important;
    font-weight: 500;
    padding: 0.625rem 1rem !important;
    margin: 0 0.125rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    font-size: 0.9375rem;
}

.navbar-nav-social .nav-link:hover {
    background: var(--gray-50);
    color: #050505 !important;
}

.navbar-nav-social .nav-link.active {
    color: var(--primary) !important;
    background: transparent;
    font-weight: 600;
}

.navbar-nav-social .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.navbar-nav-social .nav-link i {
    font-size: 1.25rem;
}

.navbar-user-social {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-user-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: #050505;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
}

.nav-user-toggle:hover {
    background: var(--gray-50);
    color: #050505;
}

.user-avatar-nav {
    flex-shrink: 0;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid var(--gray-100);
}

.user-name-nav {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #050505;
}

.navbar-toggler-social {
    border: none;
    background: transparent;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.navbar-toggler-social span {
    width: 22px;
    height: 2px;
    background: #65676b;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler-social:focus {
    box-shadow: none;
}

.dropdown-menu-social,
.dropdown-menu.dropdown-menu-social {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 240px;
    background: white;
}

.dropdown-header-social {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.user-info-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-dropdown {
    flex-shrink: 0;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gray-100);
}

.user-name-dropdown {
    font-weight: 600;
    color: #050505;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.user-role-dropdown {
    font-size: 0.8125rem;
    color: #65676b;
    text-transform: capitalize;
}

.dropdown-item-social,
.dropdown-menu-social .dropdown-item {
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    color: #050505;
    text-decoration: none;
    font-size: 0.9375rem;
    border: none;
    background: transparent;
    width: 100%;
}

.dropdown-item-social:hover,
.dropdown-menu-social .dropdown-item:hover {
    background: var(--gray-50);
    color: #050505;
}

.dropdown-item-social i,
.dropdown-menu-social .dropdown-item i {
    width: 1.25rem;
    color: #65676b;
    font-size: 1rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid var(--gray-100);
}

/* Legacy support for navbar-dark */
.navbar-dark {
    background: #ffffff !important;
}

.navbar-dark .navbar-brand {
    color: var(--primary) !important;
}

.navbar-dark .nav-link {
    color: #65676b !important;
}

.navbar-dark .nav-link:hover {
    background: var(--gray-50);
    color: #050505 !important;
}

.navbar-dark .nav-link.active {
    color: var(--primary) !important;
    background: transparent;
}

/* Landing page guest nav */
.navbar-landing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.75rem 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-landing .container {
    max-width: 100%;
    padding-inline: 1.5rem;
}

.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0;
    width: 100%;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.landing-nav-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.9);
    white-space: nowrap;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.landing-nav-links .nav-item {
    list-style: none;
}

.landing-nav-cta {
    margin-left: 1rem;
}

.landing-nav-links .nav-link-landing {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-nav-cta {
    margin-left: 1rem;
}

.nav-link-landing {
    color: rgba(226, 232, 240, 0.9) !important;
    font-weight: 500;
    padding: 0.45rem 0.9rem !important;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link-landing:hover {
    color: #f9fafb !important;
    background: rgba(148, 163, 184, 0.2);
}

.btn-landing-primary {
    background: #22c55e !important;
    color: #0b1120 !important;
    border: none !important;
    font-weight: 700;
    padding: 0.5rem 1.4rem !important;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-landing-primary:hover {
    background: #16a34a !important;
    color: #f9fafb !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
}

.btn-landing-ghost,
.btn-landing-nav-outline {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.45rem 1.5rem !important;
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-landing-ghost:hover {
    background: rgba(22, 163, 74, 0.12);
    color: #ecfdf3 !important;
    transform: translateY(-1px);
}

/* When main content has background (e.g. dashboard), landing nav needs dark style */
body:not(.page-landing) .navbar-landing {
    position: relative;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body:not(.page-landing) .navbar-brand-landing {
    color: #0f172a !important;
}

body:not(.page-landing) .navbar-brand-landing:hover {
    color: #0f172a !important;
}

body:not(.page-landing) .nav-link-landing {
    color: #475569 !important;
}

body:not(.page-landing) .nav-link-landing:hover {
    color: #0f172a !important;
}

/* Landing with light hero: dark nav text */
.page-landing.page-landing-light .navbar-brand-landing {
    color: #2d2a26 !important;
}
.page-landing.page-landing-light .navbar-brand-landing:hover {
    color: #2d2a26 !important;
}
.page-landing.page-landing-light .navbar-brand-landing i {
    color: #8b7355;
}
.page-landing.page-landing-light .nav-link-landing {
    color: #5c554d !important;
}
.page-landing.page-landing-light .nav-link-landing:hover {
    color: #2d2a26 !important;
}
.page-landing.page-landing-light .btn-landing-primary {
    background: #8b7355 !important;
    color: #fff !important;
}
.page-landing.page-landing-light .btn-landing-primary:hover {
    background: #7a6449 !important;
    color: #fff !important;
}

/* Doc theme: blue accent for nav */
.page-landing.page-landing-doc .navbar-brand-landing i {
    color: #0066cc;
}
.page-landing.page-landing-doc .btn-landing-primary {
    background: #0066cc !important;
    color: #fff !important;
}
.page-landing.page-landing-doc .btn-landing-primary:hover {
    background: #004499 !important;
    color: #fff !important;
}

/* Scroll theme: blue accent, white nav (dark first screen) */
.page-landing.page-landing-scroll .navbar-brand-landing i {
    color: #1d9bf0;
}
.page-landing.page-landing-scroll .btn-landing-primary {
    background: #1d9bf0 !important;
    color: #fff !important;
}
.page-landing.page-landing-scroll .btn-landing-primary:hover {
    background: #1a8cd8 !important;
    color: #fff !important;
}

/* Home theme: green accent #22c55e (ref) */
.page-landing.page-landing-home .navbar-brand-landing i {
    color: #22c55e;
}
.page-landing.page-landing-home .btn-landing-primary {
    background: #22c55e !important;
    color: #fff !important;
}
.page-landing.page-landing-home .btn-landing-primary:hover {
    background: #16a34a !important;
    color: #fff !important;
}

/* ============================================
   LANDING PAGE (ref: pixel-perfect)
   Green #22c55e, glassmorphism, rounded, soft shadows
   ============================================ */

/* --- 1. HERO (content above stats bar, buttons never obscured) --- */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/soccer-players-action-professional-stadium.jpg-a6ec4b09-ab4d-4ec8-affe-1db8ba8f0808.png');
    background-size: cover;
    background-position: center top;
}

/* Dark overlay: stronger top/left, fades to reveal stadium and players on right/bottom */
.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
}

/* Content area flexes to fill space; content aligned to bottom with clear gap above stats bar */
.landing-hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem 2rem;
}

.landing-hero-text {
    max-width: 560px;
}

.landing-hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.landing-hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
    max-width: 30rem;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-hero {
    padding: 0.6rem 1.4rem !important;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-landing-primary.btn-hero {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-landing-outline.btn-hero {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-landing-outline {
    background: transparent !important;
    border: 1.5px solid rgba(148, 163, 184, 0.85) !important;
    color: #e5e7eb !important;
}

.btn-landing-outline:hover {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #f9fafb !important;
}

/* Nav hero: LOGIN solid green with subtle shadow */
.btn-nav-hero {
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Stats bar: in flow below content, semi-transparent green at very bottom */
.landing-hero-stats-bar {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding: 0 1.5rem 1.5rem;
}

.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 1.8rem;
    border-radius: 999px;
    max-width: 1100px;
    margin: 0 auto;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.5), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.8);
    overflow: hidden;
    position: relative;
}

/* Subtle faded pattern (soccer-ball feel) */
.stats-bar-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23fff' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-bar-inner span {
    position: relative;
    z-index: 1;
}

.stats-sep {
    opacity: 0.85;
    user-select: none;
}

.stats-bar-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 260px;
}

.stats-bar-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #bbf7d0;
}

.stats-bar-tagline {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.95);
}

.stats-bar-metrics {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-metric {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
    position: relative;
    z-index: 1;
}

.stat-metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0%, #22c55e, #16a34a);
    color: #022c22;
    font-size: 1.1rem;
}

.stat-metric-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.stat-metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.stat-metric-label {
    margin-top: 0.05rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* --- 2. WHO IT'S FOR (blob cards like reference) --- */
.landing-who-for {
    position: relative;
    padding: 5rem 1.5rem;
    min-height: 100vh;
}

.landing-who-for-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/ChatGPT_Image_Mar_10__2026_at_11_20_37_AM__1_-ca441c28-7e57-471c-b5fb-d48b61939e0c.png');
    background-size: cover;
    background-position: center;
}

.landing-who-for-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75));
}

.landing-who-for .landing-section-inner {
    position: relative;
    z-index: 1;
}

.landing-who-for .landing-section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    letter-spacing: 0.12em;
}

.who-for-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.who-for-card {
    padding: 2.5rem 2rem 2.25rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
}

.who-for-card-players {
    border-radius: 32px;
    background: rgba(34, 197, 94, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.who-for-card-players:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.who-for-card-scouts {
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f172a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.who-for-card-scouts:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.who-for-card-scouts .who-for-card-title,
.who-for-card-scouts .who-for-card-text {
    color: #0f172a;
}

/* Header: icon on top center, then title */
.who-for-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.who-for-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.who-for-icon-player {
    color: rgba(15, 23, 42, 0.85);
}

.who-for-icon-scout {
    color: rgba(15, 23, 42, 0.85);
}

.who-for-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.who-for-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
}

.who-for-card-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 0.85rem;
    opacity: 0.95;
}

.who-for-card-text:last-child {
    margin-bottom: 0;
}

.who-for-card-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

.who-for-card-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Players: solid green button, white text */
.btn-who-for-player {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: #15803d;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-who-for-player:hover {
    background: #166534;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Scouts: white background, green border, green text */
.btn-who-for-scout {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    border: 2px solid #22c55e;
    background: #fff;
    color: #22c55e !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-who-for-scout:hover {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a !important;
    transform: translateY(-1px);
}

.btn-landing-outline-invert {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-landing-outline-invert:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-landing-scout {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #166534;
    color: #166534;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

.btn-landing-scout:hover {
    background: rgba(22, 101, 52, 0.15);
    color: #15803d;
}

/* --- 3. HOW IT WORKS --- */
.landing-how-it-works {
    position: relative;
    padding: 5rem 1.5rem;
    min-height: 50vh;
}

.landing-how-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/close-up-athlete-playing-soccer.jpg-57b76162-e0a7-4892-b728-3fad93523c82.png');
    background-size: cover;
    background-position: center;
}

.landing-how-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
}

.landing-how-it-works .landing-section-inner {
    position: relative;
    z-index: 1;
}

.landing-how-it-works .landing-section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.how-step {
    text-align: left;
}

.how-step-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.how-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.how-step-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.5;
}

/* --- 4. FEATURE CARDS STRIP --- */
.landing-features {
    position: relative;
    padding: 4rem 1.5rem;
}

.landing-features-bg {
    position: absolute;
    inset: 0;
    background: #0f172a;
}

.landing-features .landing-section-inner {
    position: relative;
    z-index: 1;
}

.feature-cards-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-tile {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.feature-tile-icon {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 0.75rem;
}

.feature-tile-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

/* --- 5. CTA --- */
.landing-cta {
    position: relative;
    padding: 6rem 1.5rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/soccer-game-concept.jpg-329a6471-8d25-46d4-9d6f-cb2ba35f3990.png');
    background-size: cover;
    background-position: center;
}

.landing-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.landing-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.landing-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.landing-cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.btn-cta-large {
    display: inline-block;
    padding: 1rem 2.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.5);
}

.landing-cta-login {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.landing-cta-login a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-cta-login a:hover {
    color: #86efac;
}

/* Shared section */
.landing-section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.landing-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Nav: LOGIN solid green, SIGN UP green outline (hero design) */
.btn-landing-nav-outline {
    background: transparent !important;
    border: 2px solid #22c55e !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 1rem !important;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-landing-nav-outline:hover {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #fff !important;
}

.landing-nav-toggler {
    border: none;
    background: transparent;
    padding: 0.35rem 0.4rem;
    margin-left: auto;
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.landing-nav-toggler span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    transition: var(--transition);
}

.landing-nav-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.5);
}

@media (max-width: 991px) {
    .landing-nav-inner {
        padding-inline: 1rem;
    }

    .landing-nav-toggler {
        display: flex;
    }

    .landing-nav-links {
        flex-direction: column;
        align-items: flex-start;
        margin: 1rem 0 0;
        width: 100%;
    }

    .landing-nav-cta {
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 0.75rem;
        width: 100%;
    }

    .landing-nav-cta .btn-nav-hero {
        width: auto;
    }
}

@media (max-width: 991px) {
    .who-for-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .who-for-card {
        padding: 2rem 1.5rem 1.75rem;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-cards-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .landing-hero-content {
        padding-inline: 1rem;
        padding-top: 5rem;
    }

    .stats-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1rem 1.25rem;
        border-radius: 1.25rem;
    }

    .stats-bar-left {
        max-width: 100%;
    }

    .stats-bar-metrics {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .stat-metric {
        padding-inline: 0.75rem;
    }

    .feature-cards-strip {
        grid-template-columns: 1fr;
    }

    .landing-cta-inner {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .navbar-nav-social {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .navbar-nav-social .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
        width: 100%;
    }
    
    .navbar-nav-social .nav-link.active::after {
        display: none;
    }
    
    .navbar-nav-social .nav-link.active {
        background: var(--gray-50);
        border-left: 3px solid var(--primary);
        padding-left: calc(1rem - 3px) !important;
    }
}

/* ============================================
   CARDS / PANELS
   ============================================ */
.card {
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    background: var(--bg-primary);
    transition: var(--transition);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    font-weight: 600;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-bottom: 2px solid var(--primary);
    color: #ffffff;
    padding: var(--spacing-lg);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    letter-spacing: -0.01em;
}

.card-body {
    padding: var(--spacing-xl);
    background: var(--bg-primary);
}

.card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-lg);
}

.card-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.card-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Card Variants */
.card-elevated {
    border: none;
    box-shadow: var(--shadow-xl);
}

.card-bordered {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.card-stat {
    background: var(--bg-primary);
    border-left: 4px solid var(--primary);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.card-stat .card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-900);
    padding: var(--spacing-md) var(--spacing-lg);
}

/* List Groups in Cards */
.card .list-group-item {
    border-left: none;
    border-right: none;
    border-color: var(--gray-200);
    padding: var(--spacing-lg);
    transition: var(--transition);
    background: var(--bg-primary);
}

.card .list-group-item:first-child {
    border-top: none;
}

.card .list-group-item:hover {
    background-color: var(--gray-50);
    border-left: 4px solid var(--primary);
    padding-left: calc(var(--spacing-lg) - 4px);
}

/* Empty State */
.card-empty {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--gray-500);
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
}

.card-empty i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
    display: block;
    opacity: 0.6;
}

/* ============================================
   TABLES
   ============================================ */
.table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    background: var(--bg-primary);
    width: 100%;
}

.table thead th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-bottom: 3px solid var(--primary);
    color: #ffffff;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: var(--spacing-lg);
    position: relative;
    transition: var(--transition);
}

.table thead th[data-sort] {
    cursor: pointer;
    user-select: none;
}

.table thead th[data-sort]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.table thead th.no-sort {
    cursor: default;
}

.table thead th.no-sort:hover {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.table thead th:first-child {
    border-top-left-radius: var(--radius-md);
}

.table thead th:last-child {
    border-top-right-radius: var(--radius-md);
}

.table tbody td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
    color: var(--gray-700);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-md);
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-md);
}

.table-hover tbody tr {
    transition: var(--transition);
}

.table-hover tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.table-hover tbody tr:hover td {
    background-color: rgba(59, 130, 246, 0.05);
}

.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--gray-50);
}

.table-striped tbody tr:nth-of-type(odd):hover {
    background-color: rgba(59, 130, 246, 0.08);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    border-radius: var(--radius);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9375rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #229954 100%);
    color: #ffffff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, var(--success) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #C0392B 100%);
    color: #ffffff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #C0392B 0%, var(--danger) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #D35400 100%);
    color: #ffffff;
}

.btn-wline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-secondary:hover {
    background: var(--gray-700);
    border-color: var(--gray-700);
    color: #ffffff;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.0625rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-control,
.form-select {
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control-sm,
.form-select-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: var(--radius-md);
    border-left-width: 4px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    border-left-color: var(--success);
    background: #ecfdf5;
    color: #065f46;
}

.alert-danger {
    border-left-color: var(--danger);
    background: #fef2f2;
    color: #991b1b;
}

.alert-info {
    border-left-color: var(--info);
    background: #ecfeff;
    color: #164e63;
}

.alert-warning {
    border-left-color: var(--warning);
    background: #fffbeb;
    color: #92400e;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-success {
    background: var(--success) !important;
}

.bg-danger {
    background: var(--danger) !important;
}

.bg-warning {
    background: var(--warning) !important;
}

.bg-secondary {
    background: var(--secondary) !important;
}

.bg-info {
    background: var(--info) !important;
}

/* ============================================
   DASHBOARD HERO
   ============================================ */
.dashboard-hero {
    position: relative;
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-xl);
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.3), transparent 70%);
    pointer-events: none;
}

.dashboard-hero-title {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.dashboard-hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.dashboard-hero-actions {
    position: relative;
    z-index: 1;
}

.dashboard-hero .btn-light {
    background: #ffffff;
    color: var(--gray-900);
    border-color: #ffffff;
}

.dashboard-hero .btn-light:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dashboard-hero .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    background: transparent;
}

.dashboard-hero .btn-outline-light:hover {
    background: #ffffff;
    color: var(--gray-900);
    border-color: #ffffff;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: var(--spacing-lg);
}

.stat-card:hover {
    border-color: var(--primary);
    border-top-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-content {
    flex: 1;
    min-width: 0;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.stat-card .stat-extra {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--spacing-xs);
}

.stat-card .stat-extra a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.stat-card .stat-extra a:hover {
    color: var(--primary-dark);
    gap: var(--spacing-sm);
}

/* ============================================
   FILTER FORM
   ============================================ */
.filter-form {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-width: 0;
}

.filter-group:first-child {
    flex: 0 0 140px;
}

.filter-group:nth-child(2),
.filter-group:nth-child(3),
.filter-group:nth-child(4),
.filter-group:nth-child(5),
.filter-group:nth-child(8) {
    flex: 0 0 90px;
}

.filter-group:nth-child(6),
.filter-group:nth-child(7) {
    flex: 0 0 120px;
}

.filter-group:last-child {
    flex: 0 0 auto;
    margin-left: auto;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
}

.filter-form .form-control-sm,
.filter-form .form-select-sm {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    height: auto;
}

@media (max-width: 1200px) {
    .filter-form {
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 0 0 calc(25% - var(--spacing-md));
        min-width: 120px;
    }
    
    .filter-group:last-child {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .filter-group {
        flex: 0 0 calc(50% - var(--spacing-sm));
    }
}

/* ============================================
   PLAYER PICTURES
   ============================================ */
.player-picture {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    background-color: var(--gray-100);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.player-picture:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

/* ============================================
   UTILITIES
   ============================================ */
.min-w-0 { min-width: 0; }

.text-muted {
    color: var(--gray-500) !important;
}

.rating-stars {
    color: #fbbf24;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Footer */
footer {
    background: var(--gray-900) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: auto;
    padding: var(--spacing-xl) 0 !important;
}

footer .container {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-shell main.container {
        padding: var(--spacing-md);
    }
    
    .card-body {
        padding: var(--spacing-lg);
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-hero {
        padding: var(--spacing-xl);
    }
    
    .dashboard-hero-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.pagination-number:hover:not(.active) {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(107, 163, 216, 0.2);
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--gray-500);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-controls {
        justify-content: center;
    }
    
    .pagination-info {
        text-align: center;
        width: 100%;
    }
}

/* ============================================
   TABLE STRIPING ENHANCEMENTS
   ============================================ */
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: white;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #F9FAFB;
}

.table-striped > tbody > tr:hover {
    background-color: #F3F4F6 !important;
}
