/* assets/css/style.css */
:root {
    --primary: #00b04f;
    --primary-dark: #008a3c;
    --primary-light: #e8f9f0;
    --secondary: #1a1a2e;
    --accent: #f5a623;
    --danger: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}
.navbar-brand i { color: var(--primary); font-size: 1.6rem; }
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.navbar-menu > li > a {
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.navbar-menu > li > a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.btn-nav-login {
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-nav-register {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.btn-nav-register:hover { background: var(--primary-dark) !important; }
.navbar-toggle { display: none; background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; }
.badge {
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    padding: 2px 5px;
    margin-left: 2px;
}

/* Dropdown */
.navbar-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
    z-index: 9999;
}
.navbar-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--primary); }
.dropdown-divider { height: 1px; background: var(--gray-200); margin: 4px 0; }

/* Notificaciones */
.notif-menu { min-width: 300px; }
.notif-header { padding: 12px 16px; font-weight: 600; font-size: 0.85rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.notif-item { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
.notif-item strong { font-size: 0.85rem; color: var(--gray-800); }
.notif-item small { font-size: 0.8rem; color: var(--gray-600); }
.notif-time { font-size: 0.75rem; color: var(--gray-400); }
.notif-empty { padding: 20px; text-align: center; color: var(--gray-500); font-size: 0.85rem; }
.avatar-xs { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* ===== MAIN ===== */
.main-content { flex: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 60%, #0f3460 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,176,79,0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-body { padding: 24px; }
.card-footer {
    padding: 16px 24px;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

/* ===== TORNEO CARD ===== */
.torneos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px 0;
}
.torneo-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.torneo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.torneo-card-banner {
    background: linear-gradient(135deg, var(--secondary), #0f3460);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.torneo-card-banner i { font-size: 3rem; color: var(--primary); }
.torneo-card-banner img { width: 80px; height: 80px; object-fit: contain; }
.torneo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-activo { background: var(--primary); color: white; }
.badge-cerrado { background: var(--warning); color: white; }
.badge-finalizado { background: var(--gray-500); color: white; }
.torneo-card-body { padding: 20px; flex: 1; }
.torneo-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.torneo-card-body p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 16px; }
.torneo-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.torneo-meta i { color: var(--primary); }
.torneo-precio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}
.torneo-precio.gratis { color: var(--success); }
.torneo-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== PARTIDO ===== */
.partidos-lista { display: flex; flex-direction: column; gap: 12px; }
.partido-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.partido-fecha { font-size: 0.78rem; color: var(--gray-500); text-align: center; min-width: 70px; }
.partido-equipos {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.equipo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.equipo.visitante { flex-direction: row-reverse; text-align: right; }
.equipo-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-600);
    overflow: hidden;
    flex-shrink: 0;
}
.equipo-logo img { width: 100%; height: 100%; object-fit: cover; }
.equipo-nombre { font-weight: 600; font-size: 0.9rem; }
.partido-vs { color: var(--gray-400); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.partido-marcador {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 4px;
}
.marcador-input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    background: white;
    transition: var(--transition);
}
.marcador-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,176,79,0.2);
}
.marcador-dash { color: var(--gray-400); font-weight: 700; }
.partido-resultado {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 800;
    min-width: 80px;
    justify-content: center;
}
.puntos-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
}
.puntos-exacto { background: #fef3c7; color: #92400e; }
.puntos-resultado { background: #d1fae5; color: #065f46; }
.puntos-cero { background: var(--gray-200); color: var(--gray-500); }

/* ===== TABLA POSICIONES ===== */
.tabla-posiciones {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.tabla-posiciones th {
    background: var(--secondary);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}
.tabla-posiciones td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}
.tabla-posiciones tr:last-child td { border-bottom: none; }
.tabla-posiciones tr:hover td { background: var(--gray-100); }
.posicion-num {
    font-weight: 800;
    font-size: 1rem;
    color: var(--gray-600);
}
.pos-1 .posicion-num { color: #f5a623; }
.pos-2 .posicion-num { color: #9e9e9e; }
.pos-3 .posicion-num { color: #cd7f32; }
.pos-me { background: rgba(0,176,79,0.06) !important; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.avatar-sm {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    overflow: hidden;
    flex-shrink: 0;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: white;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,176,79,0.15);
}
.form-control.is-error { border-color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
}
.auth-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}
.auth-logo i { font-size: 3rem; color: var(--primary); }
.auth-logo h2 { font-size: 1.5rem; margin-top: 8px; }
.auth-logo p { color: var(--gray-500); font-size: 0.9rem; }

/* ===== ALERTS ===== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ===== SECTION ===== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--gray-600); }

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--secondary);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}
.page-header h1 { font-size: 1.8rem; font-weight: 700; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ===== TABS ===== */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; gap: 4px; }
.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== STATS CARDS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-card .stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* ===== PAGO ===== */
.pago-card {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.pago-header {
    background: linear-gradient(135deg, var(--secondary), #0f3460);
    color: white;
    padding: 30px;
    text-align: center;
}
.pago-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.pago-precio { font-size: 3rem; font-weight: 800; color: var(--primary); }
.pago-body { padding: 30px; }
.pago-features { list-style: none; margin-bottom: 24px; }
.pago-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.pago-features i { color: var(--primary); }

/* ===== CÓMO FUNCIONA ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.step { padding: 20px; }
.step-icon {
    width: 70px; height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--gray-600); }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 60px 0 0; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.6; }
.footer-logo { font-size: 1.4rem; font-weight: 700; color: white; display: flex; align-items: center; gap: 8px; }
.footer-logo i { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-links h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-payments h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.mp-logo-footer { max-width: 120px; filter: brightness(0) invert(1) opacity(0.8); }
.footer-secure { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 10px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar {
    width: 240px;
    background: var(--secondary);
    padding: 20px 0;
    flex-shrink: 0;
}
.admin-sidebar .sidebar-title { color: rgba(255,255,255,0.4); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; padding: 16px 20px 8px; text-transform: uppercase; }
.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    transition: var(--transition);
}
.admin-sidebar a:hover, .admin-sidebar a.active { color: white; background: rgba(255,255,255,0.1); padding-left: 24px; }
.admin-sidebar a i { width: 18px; color: var(--primary); }
.admin-content { flex: 1; padding: 30px; overflow-x: auto; }
.admin-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-card-header h3 { font-size: 1rem; font-weight: 700; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background: var(--gray-100);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
    border-bottom: 2px solid var(--gray-200);
}
.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.88rem;
}
.admin-table tr:hover td { background: var(--gray-50); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.admin-stat-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-stat-card .icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.icon-green { background: var(--primary-light); color: var(--primary); }
.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-yellow { background: #fef3c7; color: #92400e; }
.icon-purple { background: #ede9fe; color: #6d28d9; }
.admin-stat-card .value { font-size: 1.8rem; font-weight: 800; }
.admin-stat-card .label { font-size: 0.8rem; color: var(--gray-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-toggle { display: block; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        align-items: stretch;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu > li > a { padding: 12px 16px; }
    .dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); }
    .dropdown-menu a { color: rgba(255,255,255,0.8); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { display: none; }
    .partido-card { flex-wrap: wrap; }
    .hero { padding: 50px 20px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr; }
    .auth-card { padding: 24px; }
    .tabla-posiciones th:nth-child(4), .tabla-posiciones td:nth-child(4),
    .tabla-posiciones th:nth-child(5), .tabla-posiciones td:nth-child(5) { display: none; }
}
