/* ============================================
   Cricket Tournament Management System
   Modern Animated Stylesheet v2.0
   ============================================ */

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

/* --- CSS Variables --- */
:root {
    --primary: #0d9f4f;
    --primary-dark: #064e27;
    --primary-light: #16c964;
    --primary-glow: rgba(13, 159, 79, 0.4);
    --secondary: #f0a500;
    --secondary-light: #ffd24d;
    --secondary-glow: rgba(240, 165, 0, 0.3);
    --accent: #e63946;
    --accent-glow: rgba(230, 57, 70, 0.3);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #0a0e1a;
    --dark-card: #111827;
    --dark-surface: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --shadow-gold: 0 0 30px var(--secondary-glow);
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --gradient-primary: linear-gradient(135deg, #064e27 0%, #0d9f4f 50%, #16c964 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #0a0e1a 100%);
    --gradient-gold: linear-gradient(135deg, #f0a500 0%, #ffd24d 100%);
    --gradient-hero: linear-gradient(135deg, #041a0e 0%, #0d4928 30%, #0d9f4f 60%, #16c964 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes livePulse {
    0%, 100% { box-shadow: var(--shadow); }
    50% { box-shadow: 0 0 20px var(--accent-glow), var(--shadow-lg); }
}

@keyframes liveFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); box-shadow: 0 0 5px var(--primary-glow); }
    50% { border-color: var(--primary-light); box-shadow: 0 0 20px var(--primary-glow); }
}

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

@keyframes cricketBall {
    0% { transform: rotate(0deg) translateX(0); }
    25% { transform: rotate(90deg) translateX(10px); }
    50% { transform: rotate(180deg) translateX(0); }
    75% { transform: rotate(270deg) translateX(-10px); }
    100% { transform: rotate(360deg) translateX(0); }
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Scroll reveal animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background: rgba(10, 14, 26, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 68px;
}

.navbar-brand {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.navbar-brand:hover {
    color: var(--primary-light);
}

.brand-icon {
    font-size: 1.6rem;
    display: inline-flex;
    animation: float 3s ease-in-out infinite;
}

.brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    animation: float 3s ease-in-out infinite;
}

.navbar-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.navbar-toggle:hover {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.navbar-menu li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-menu li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.navbar-menu li a:hover::after {
    width: 60%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: var(--white);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: var(--white);
}

.btn-warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: var(--white);
    border-color: transparent;
}

.btn-warning:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.btn-info {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: var(--white);
    border-color: transparent;
}

.btn-info:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-500));
    color: var(--white);
    border-color: transparent;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: var(--white);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: var(--radius-xs);
}

.btn-xs {
    padding: 4px 12px;
    font-size: 0.78rem;
    border-radius: var(--radius-xs);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm::before, .btn-xs::before {
    display: none;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
}

.card-body {
    padding: 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.card-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ============================================
   STATS GRID (Dashboard)
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.08;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::after {
    transform: scale(1.5);
}

.stat-card.stat-primary::before { background: var(--gradient-primary); }
.stat-card.stat-primary::after { background: var(--primary); }
.stat-card.stat-success::before { background: linear-gradient(135deg, #059669, #10b981); }
.stat-card.stat-success::after { background: var(--success); }
.stat-card.stat-info::before { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.stat-card.stat-info::after { background: var(--info); }
.stat-card.stat-warning::before { background: linear-gradient(135deg, #d97706, #f59e0b); }
.stat-card.stat-warning::after { background: var(--warning); }
.stat-card.stat-danger::before { background: linear-gradient(135deg, #dc2626, #ef4444); }
.stat-card.stat-danger::after { background: var(--danger); }

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: var(--font-display);
    line-height: 1.2;
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

/* ============================================
   TABLES
   ============================================ */

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.table th {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    font-weight: 700;
    color: var(--gray-700);
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

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

.table tbody tr:hover {
    background: rgba(13, 159, 79, 0.04);
    transform: scale(1.001);
}

.table-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.table-img-placeholder {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    font-size: 1.1rem;
}

/* Points Table */
.points-table .qualified {
    background: rgba(16, 185, 129, 0.06);
}

.points-table th,
.points-table td {
    text-align: center;
}

.points-table td:nth-child(2),
.points-table th:nth-child(2) {
    text-align: left;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: rgba(16, 185, 129, 0.12); color: #059669; }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.badge-danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.badge-info { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.badge-secondary { background: rgba(107, 114, 128, 0.12); color: #4b5563; }
.badge-live {
    background: var(--accent);
    color: var(--white);
    animation: pulse 1.5s infinite;
}

/* ============================================
   ALERTS (Toast style)
   ============================================ */

.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInUp 0.4s ease-out;
    border: 1px solid transparent;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.2);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03));
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--info);
}

.alert ul {
    margin: 4px 0 0 16px;
    list-style: disc;
}

.alert-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: var(--transition);
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    padding: 11px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    min-width: 200px;
    transition: var(--transition);
    font-family: inherit;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}

.search-form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-form-inline input,
.search-form-inline select {
    padding: 8px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: inherit;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

.actions-cell {
    white-space: nowrap;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    border: 2px solid var(--gray-200);
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 50px 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--gray-200);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.auth-card h2 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 6px;
    font-size: 1.6rem;
    font-weight: 800;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.auth-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounceIn 0.8s ease-out;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 100px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(240, 165, 0, 0.06) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--gray-50), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.hero .btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    border-color: transparent;
    box-shadow: 0 4px 20px var(--secondary-glow);
}

.hero .btn-primary:hover {
    box-shadow: 0 8px 30px var(--secondary-glow);
}

/* Hero cricket ball decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--white);
}

.hero-deco-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
    animation: float 6s ease-in-out infinite;
}

.hero-deco-2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -60px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-deco-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 10%;
    animation: float 5s ease-in-out infinite 1s;
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    display: block;
    color: var(--secondary-light);
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 48px;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 14px auto 0;
    border-radius: 4px;
}

.page-title {
    color: var(--gray-900);
    margin-bottom: 28px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title::before {
    content: '';
    width: 5px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 4px;
    display: inline-block;
}

/* ============================================
   MATCH CARDS
   ============================================ */

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.match-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.match-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.match-card:hover::before {
    height: 5px;
}

.match-card.match-live {
    border-color: rgba(230, 57, 70, 0.3);
    animation: livePulse 2s infinite;
}

.match-card.match-live::before {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* ============================================
   SCORE CARDS (Modern)
   ============================================ */

.match-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.score-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #dfe3ea;
    border-left: 4px solid #e2e8f0;
    padding: 14px 16px 0;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}

.score-card > * {
    position: relative;
    z-index: 1;
}

.score-card::before {
    content: '';
    display: none;
}

.score-card::after {
    content: '';
    display: none;
}

.score-card--live::before {
    background: transparent;
}

.score-card--result::before {
    background: transparent;
}

.score-card--live {
    border-left-color: #ef4444;
}

.score-card--result {
    border-left-color: #10b981;
}

.score-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.score-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.score-card__title {
    font-size: 0.86rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score-pill {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: 1px solid rgba(17, 24, 39, 0.15);
}

.score-pill.live {
    background: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.score-pill.upcoming {
    background: #475569;
    border-color: rgba(71, 85, 105, 0.3);
}

.score-pill.result {
    background: #16a34a;
    border-color: rgba(22, 163, 74, 0.35);
}

.score-card__teams {
    display: grid;
    gap: 12px;
    margin: 10px 0 12px;
}

.score-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.score-team__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.score-team__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.score-team__name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score-team__score {
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: #111827;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
    min-width: 120px;
    font-variant-numeric: tabular-nums;
}

.score-team__score.is-muted {
    color: #9ca3af;
    font-weight: 700;
}

.score-vs {
    display: none;
}

.score-card__meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 6px;
    text-align: left;
}

.score-card__status-line {
    border-radius: 0;
    padding: 0;
    font-weight: 600;
    margin-bottom: 12px;
    background: transparent;
    color: #475569;
}

.score-card__status-line.is-live {
    background: transparent;
    color: #dc2626;
}

.score-card__status-line.is-upcoming {
    background: transparent;
    color: #d97706;
}

.score-card__status-line.is-result {
    background: transparent;
    color: #2563eb;
}

.score-card__action {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 10px 12px;
    margin: 10px -16px 0;
    border-top: 1px solid #d1d5db;
    background: #e5e7eb;
    border-radius: 0 0 12px 12px;
}

.score-card__action .btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
}

.score-card__action .btn::before {
    display: none;
}

.score-card__action .btn:hover {
    transform: none;
    color: #111827;
    box-shadow: none;
}

/* ============================================
   GROUP STATS (Points Table)
   ============================================ */

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.group-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    background: #fff;
}

.group-card__header {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-weight: 800;
    text-align: center;
    padding: 12px 16px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.group-card__body {
    padding: 12px 12px 6px;
}

.table-compact th,
.table-compact td {
    padding: 8px 6px;
    font-size: 0.82rem;
}

.group-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.group-team__logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================
   MATCH DETAIL: PLAYERS
   ============================================ */

.match-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.players-panel {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-sm);
}

.players-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.players-panel__title {
    font-weight: 800;
    color: var(--gray-800);
}

.players-panel__subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.players-panel__count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.players-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.players-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
}

.players-chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(13, 159, 79, 0.35);
    color: var(--primary);
}

.players-chip.muted {
    background: var(--gray-100);
    color: var(--gray-500);
    border-color: var(--gray-100);
}

.chip-name {
    font-weight: 700;
    color: var(--gray-800);
}

.chip-meta {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.chip-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-600);
}

.chip-age {
    font-size: 0.68rem;
    color: var(--gray-500);
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--gray-100);
}

.live-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: var(--white);
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: liveFlash 1.5s infinite;
    box-shadow: 0 2px 10px var(--accent-glow);
}

.match-tournament {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.match-teams-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.team-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-800);
}

.vs-badge {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-score {
    text-align: center;
}

.team-score .score {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.match-details {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.match-round {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.match-result {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    padding: 8px;
    background: rgba(13, 159, 79, 0.06);
    border-radius: var(--radius-xs);
}

/* Mini match card for dashboards */
.match-card-mini {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
}

.match-card-mini:last-child {
    border-bottom: none;
}

.match-card-mini:hover {
    background: var(--gray-50);
    border-radius: var(--radius-xs);
}

.match-info-mini {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ============================================
   RESULT CARDS
   ============================================ */

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card .result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.result-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.result-team {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.result-team.winner .team-name {
    color: var(--primary);
}

.result-team .team-score {
    font-size: 1rem;
    color: var(--gray-700);
    margin-top: 6px;
}

.result-summary {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    margin-top: 14px;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(13, 159, 79, 0.06);
    border-radius: var(--radius-xs);
    display: inline-block;
}

.result-mom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* ============================================
   SCOREBOARD
   ============================================ */

.scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.scoreboard-team {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.scoreboard-team h2 {
    font-size: 1.3rem;
    color: var(--gray-900);
    font-weight: 700;
}

.scoreboard-score {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-display);
    animation: countUp 0.6s ease-out;
}

.scoreboard-overs {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.scoreboard-vs {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-300);
    text-transform: uppercase;
}

.match-result-banner {
    text-align: center;
    background: linear-gradient(135deg, rgba(13, 159, 79, 0.08), rgba(13, 159, 79, 0.03));
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    border: 1px solid rgba(13, 159, 79, 0.2);
}

.score-section {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.score-section h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   TOURNAMENT CARDS
   ============================================ */

.tournament-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.tournament-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.tournament-card h3 {
    margin-bottom: 8px;
    font-weight: 700;
}

.tournament-card h3 a {
    color: var(--gray-900);
    transition: var(--transition);
}

.tournament-card h3 a:hover {
    color: var(--primary);
}

.tournament-format {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tournament-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 14px 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   TEAM CARDS
   ============================================ */

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.team-logo-wrap {
    margin-bottom: 16px;
}

.team-logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
}

.team-card:hover .team-logo {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px var(--primary-glow);
}

.team-logo-placeholder {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    font-size: 2.2rem;
    transition: var(--transition);
}

.team-card:hover .team-logo-placeholder {
    background: linear-gradient(135deg, rgba(13, 159, 79, 0.1), rgba(13, 159, 79, 0.05));
}

.team-card h3 a {
    color: var(--gray-900);
}

.team-meta {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.team-card-small {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.team-logo-small {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid var(--gray-200);
}

/* Team Profile */
.team-profile-header {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.team-profile-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   PLAYER CARDS
   ============================================ */

.player-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.player-photo-wrap {
    margin-bottom: 14px;
}

.player-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
}

.player-card:hover .player-photo {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.player-photo-placeholder {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    font-size: 1.8rem;
}

.player-card h4 a {
    color: var(--gray-900);
}

.player-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-team {
    color: var(--gray-500);
    font-size: 0.82rem;
}

.jersey-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 8px;
    color: var(--gray-700);
}

/* Player Profile */
.player-profile-header {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.player-profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.player-profile-photo-placeholder {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    font-size: 3.5rem;
}

.player-role-large {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   NEWS CARDS
   ============================================ */

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.03);
}

.news-image-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.news-body {
    padding: 24px;
}

.news-body h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-body h3 a {
    color: var(--gray-900);
}

.news-body h3 a:hover {
    color: var(--primary);
}

.news-date {
    color: var(--gray-500);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 500;
}

/* News Article Page */
.news-article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.news-lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 24px;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    font-style: italic;
}

.news-content {
    line-height: 1.9;
    color: var(--gray-700);
    font-size: 1rem;
}

/* ============================================
   DETAIL GRIDS
   ============================================ */

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    font-size: 0.92rem;
}

.detail-grid .detail-item {
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    border: 1px solid var(--gray-200);
}

.detail-grid .detail-item strong {
    display: block;
    color: var(--gray-500);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.contact-info p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

/* ============================================
   CONTENT PAGE
   ============================================ */

.content-page h2 {
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}

.content-page h3 {
    color: var(--gray-800);
    margin: 24px 0 10px;
    font-weight: 700;
}

.content-page ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-page ul li {
    margin-bottom: 8px;
}

/* ============================================
   LIST ITEMS (Dashboard)
   ============================================ */

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
    transition: var(--transition);
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    padding-left: 8px;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 36px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    width: 12px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* Loading Spinner */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: rotate 0.6s linear infinite;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 12px 0;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu li a {
        padding: 12px 16px;
        border-radius: 0;
    }

    .navbar-menu li a::after {
        display: none;
    }

    .brand-logo {
        width: 20px;
        height: 20px;
        padding: 1px;
        border-radius: 5px;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .match-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-grid-4 {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .scoreboard {
        gap: 20px;
    }

    .scoreboard-score {
        font-size: 2rem;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input,
    .search-bar select {
        min-width: auto;
        width: 100%;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        gap: 24px;
    }
}

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

    .hero h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar, .footer, .btn, .search-bar, form, .hero-actions, .quick-actions, .hero-stats {
        display: none !important;
    }

    body {
        background: white;
        font-size: 12px;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .section {
        padding: 20px 0;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}
