/**
 * Las Jijas — Sports Analytics & Dark Mode Pro Design System
 * Inspired by SofaScore, Opta Analyst, and modern fintech/SaaS dark dashboards.
 */

:root {
    /* ── Surface Elevations ── */
    --bg-canvas:       #080b11;
    --bg-card:         #0f1420;
    --bg-card-hover:   #141b2b;
    --bg-surface:      #161e30;
    --bg-surface-sub:  #1b2438;
    --bg-glass:        rgba(15, 20, 32, 0.75);

    /* ── Borders & Outlines ── */
    --border-subtle:   rgba(255, 255, 255, 0.07);
    --border-light:    rgba(255, 255, 255, 0.12);
    --border-active:   #3b82f6;
    --border-gold:     rgba(245, 158, 11, 0.35);

    /* ── Typography & Text ── */
    --text-primary:    #f8fafc;
    --text-secondary:  #94a3b8;
    --text-muted:      #64748b;
    --text-inverse:    #0a0e17;

    /* ── Accents & Semantics ── */
    --accent-blue:     #3b82f6;
    --accent-blue-sub: rgba(59, 130, 246, 0.12);
    --accent-emerald:  #10b981;
    --accent-emerald-sub: rgba(16, 185, 129, 0.12);
    --accent-amber:    #f59e0b;
    --accent-amber-sub: rgba(245, 158, 11, 0.12);
    --accent-rose:     #f43f5e;
    --accent-rose-sub: rgba(244, 63, 94, 0.12);
    --accent-purple:   #8b5cf6;
    --accent-purple-sub: rgba(139, 92, 246, 0.12);

    /* ── Shadows & Radii ── */
    --radius-sm:       6px;
    --radius-md:       12px;
    --radius-lg:       16px;
    --radius-xl:       22px;
    --radius-full:     9999px;

    --shadow-card:     0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
    --shadow-hover:    0 12px 32px -4px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-light);
    --shadow-glow:     0 0 24px -4px rgba(59, 130, 246, 0.25);
}

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

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

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle background illumination (non-intrusive) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1400px;
    height: 500px;
    background: radial-gradient(circle 500px at 50% 0%, rgba(59, 130, 246, 0.07) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.app-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

/* ── Tabular Numerals for Sports Data ── */
.num-tabular, .stat-val, .odds-val, .ticket-cc-value, .hora-partido, .gauge-pct {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

/* ══════════════════════════════════════════════════════════════
   1. NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo .logo-accent {
    color: var(--accent-blue);
}

.nav-logo .logo-tld {
    font-size: 0.7em;
    color: var(--text-muted);
    font-weight: 600;
}

.motor-ia-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-emerald-sub);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-emerald);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.nav-btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.03);
}

.nav-btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.btn-register {
    background: var(--accent-blue);
    color: #ffffff !important;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}
.btn-register:hover {
    background: #2563eb;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
    transform: translateY(-1px);
}
.btn-logout {
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-rose) !important;
    background: var(--accent-rose-sub);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-logout:hover {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.5);
}
.user-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── SEO Guides Hub & FAQ ── */
.seo-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}
.seo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.hub-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.hub-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.hub-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.hub-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-item summary:hover {
    color: var(--accent-blue);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-content {
    padding: 0 20px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* ── Telegram Button ── */
.tg-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 136, 204, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.tg-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 136, 204, 0.6);
}
.tg-float svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}
.tg-float-label {
    display: none;
}


/* ══════════════════════════════════════════════════════════════
   2. HERO SECTION (Tech Analytics Style)
   ══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    padding: 36px 30px;
    background: linear-gradient(180deg, rgba(22, 30, 48, 0.6) 0%, rgba(15, 20, 32, 0.4) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    margin-bottom: 30px;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

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

.hero-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-stat-val.emerald { color: var(--accent-emerald); }
.hero-stat-val.blue    { color: var(--accent-blue); }
.hero-stat-val.amber   { color: var(--accent-amber); }

.hero-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════
   3. BUSCADOR & FILTROS TÁCTILES
   ══════════════════════════════════════════════════════════════ */
.search-wrapper {
    max-width: 680px;
    margin: 0 auto 20px;
    position: relative;
}

.search-input-box {
    width: 100%;
    padding: 14px 20px 14px 46px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.search-input-box::placeholder {
    color: var(--text-muted);
}

.search-input-box:focus {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-icon-svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    pointer-events: none;
}

/* ── Segmented Control (Hoy / Mañana) ── */
.tabs-segmented {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 4px;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tab-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ── Filtros de Mercado & Ligas (Scroll Horizontal) ── */
.filtros-scroll-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 16px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
    -webkit-overflow-scrolling: touch;
}

.filtros-scroll-container::-webkit-scrollbar {
    height: 4px;
}
.filtros-scroll-container::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.btn-filter-chip {
    flex-shrink: 0;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-filter-chip:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.btn-filter-chip.activo {
    background: var(--accent-blue-sub);
    color: var(--accent-blue);
    border-color: rgba(59, 130, 246, 0.5);
    font-weight: 700;
}

/* VIP Chips */
.btn-filter-chip.chip-smart.activo {
    background: var(--accent-emerald-sub);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.5);
}
.btn-filter-chip.chip-referee.activo {
    background: var(--accent-amber-sub);
    color: var(--accent-amber);
    border-color: rgba(245, 158, 11, 0.5);
}
.btn-filter-chip.chip-safe.activo {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.5);
}

/* ══════════════════════════════════════════════════════════════
   4. TICKET PARLAY VIP (SLIP DE COMBINADA INTELIGENTE)
   ══════════════════════════════════════════════════════════════ */
.ticket-combinada {
    max-width: 760px;
    margin: 0 auto 32px;
    background: linear-gradient(180deg, #131a29 0%, #0d121c 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.08);
    position: relative;
    overflow: hidden;
}

.ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.06);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}

.ticket-header-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-header-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-amber);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.ticket-body {
    display: flex;
    flex-direction: column;
}

.ticket-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s ease;
}

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

.ticket-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ticket-match-league {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.ticket-match-teams {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.ticket-match-teams img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.ticket-match-teams .vs {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ticket-pick-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 6px 14px;
    text-align: right;
    min-width: 110px;
}

.ticket-pick-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-amber);
    display: block;
}

.ticket-conf {
    font-size: 0.68rem;
    color: var(--accent-emerald);
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

.ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border-subtle);
}

.ticket-cc-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ticket-cc-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.ticket-cc-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ticket-cc-value {
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   5. CARTELERA & TARJETA DE PARTIDO (SCOREBOARD DESIGN)
   ══════════════════════════════════════════════════════════════ */
.cartelera {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.seccion-titulo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 16px;
    letter-spacing: -0.01em;
}

.seccion-titulo::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    margin-left: 10px;
}

/* ── LA TARJETA ── */
.tarjeta {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tarjeta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-light);
}

/* High Probability Highlight */
.tarjeta.hot-match {
    border-color: rgba(16, 185, 129, 0.3);
}

.tarjeta.hot-match::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
}

.hot-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--accent-emerald-sub);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-emerald);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* ── 1. Header de Contexto ── */
.liga-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 14px;
}

.liga-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 65%;
}

.liga-header-left img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.liga-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hora-partido {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.clima-widget {
    font-size: 0.85rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

/* ── 2. Duelo de Equipos (Scoreboard Layout) ── */
.duelo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 4px 0;
}

.equipo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 42%;
}

.equipo-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s ease;
}

.tarjeta:hover .equipo-box img {
    transform: scale(1.06);
}

.equipo-nombre {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 16%;
}

/* ── 3. Panel de Inteligencia IA ── */
.prediccion-caja {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 14px;
}

.prediccion-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.resultado-ia {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.certeza-gauge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.gauge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.gauge-dot.high   { background: var(--accent-emerald); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.gauge-dot.good   { background: var(--accent-blue);    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); }
.gauge-dot.medium { background: var(--accent-amber);   box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.gauge-dot.low    { background: var(--accent-rose);    box-shadow: 0 0 8px rgba(244, 63, 94, 0.6); }

.gauge-pct {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Tripartite Probability Distribution Bar */
.dist-prob-bar {
    display: flex;
    height: 5px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 10px;
}

.dist-slice-home { background: var(--accent-blue); }
.dist-slice-draw { background: var(--text-muted); opacity: 0.6; }
.dist-slice-away { background: var(--accent-purple); }

/* Value Bet (+EV) Tag */
.value-bet-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-amber-sub);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-amber);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

/* ── 4. Badges de Incidentes y Sofascore ── */
.incident-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.badge-incident {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-incident.lesion {
    background: var(--accent-rose-sub);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

.badge-incident.referee {
    background: var(--accent-amber-sub);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.badge-incident.voto {
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* ── 5. Smart Secondary Markets Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.stat-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 58px;
}

.stat-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.stat-conf {
    font-size: 0.65rem;
    color: var(--accent-emerald);
    font-weight: 700;
    margin-top: 3px;
}

.stat-mini-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}
.stat-mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-emerald));
    border-radius: 2px;
}

.arbitro-badge-pro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.74rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    margin-bottom: 12px;
    text-align: center;
}
.arbitro-badge-pro b {
    color: var(--accent-blue);
    font-weight: 700;
}
.arbitro-badge-pro .ref-cards {
    color: var(--accent-amber);
    font-weight: 700;
}

.tendencia-clave-pro {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 0.76rem;
    color: #93c5fd;
    margin-bottom: 12px;
    line-height: 1.45;
}

/* ── 6. Market Odds Accordion ── */
.odds-toggle-btn {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.odds-toggle-btn:hover {
    background: var(--bg-surface-sub);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.odds-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 12px;
}

.odds-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.odd-cell {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 6px 4px;
    text-align: center;
}

.odd-cell-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

.odd-cell-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.odd-cell.home .odd-cell-val { color: var(--accent-blue); }
.odd-cell.draw .odd-cell-val { color: var(--accent-amber); }
.odd-cell.away .odd-cell-val { color: var(--accent-purple); }

.odd-cell-prob {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.odds-secondary-row {
    display: flex;
    justify-content: space-around;
    font-size: 0.74rem;
    color: var(--text-secondary);
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

/* ── 7. Action Button ── */
.btn-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}


/* ── Card Footer Actions Pro ── */
.card-footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.btn-card-main {
    flex: 1;
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0;
}

.btn-card-h2h {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    margin-top: 0;
}

.btn-card-h2h:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    transform: translateY(-1px);
}

.btn-card-action:hover {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

/* ── Status Badges (En Vivo / Finalizado) ── */
.badge-jugado {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-jugado.finalizado {
    background: rgba(100, 116, 139, 0.2);
    border: 1px solid rgba(100, 116, 139, 0.35);
    color: #cbd5e1;
}

.badge-jugado.envivo {
    background: var(--accent-rose-sub);
    border: 1px solid rgba(244, 63, 94, 0.5);
    color: #f43f5e;
    animation: pulseAlert 2s infinite;
}

.dot-vivo {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f43f5e;
    animation: blink 1s infinite;
}

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

@keyframes pulseAlert {
    0%   { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.tarjeta.jugado {
    opacity: 0.82;
}

/* ══════════════════════════════════════════════════════════════
   6. FOOTER & COMPLIANCE
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    margin-top: 80px;
    padding: 40px 20px 30px;
    border-top: 1px solid var(--border-subtle);
    background: #06090e;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-badge {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-badge.green { background: var(--accent-emerald-sub); border: 1px solid rgba(16, 185, 129, 0.25); color: var(--accent-emerald); }
.footer-badge.blue  { background: var(--accent-blue-sub); border: 1px solid rgba(59, 130, 246, 0.25); color: var(--accent-blue); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(244, 63, 94, 0.04);
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-align: left;
}

.footer-disclaimer .fd-title {
    color: var(--accent-rose);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.footer-disclaimer .fd-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   7. RESPONSIVE MEDIA QUERIES (MOBILE ERGONOMICS)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .navbar { padding: 0 16px; }
    .nav-center { gap: 14px; }
    .nav-link { font-size: 0.82rem; }
    .motor-ia-badge { display: none; }
    .btn-register { padding: 6px 14px; font-size: 0.78rem; }
}

@media (max-width: 900px) {
    .nav-center { display: none; }
    .navbar { padding: 0 16px; height: 58px; }
    body { padding-top: 72px; }
    .motor-ia-badge { display: none; }
}

@media (max-width: 640px) {
    .cartelera {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .app-container {
        padding: 0 12px 30px;
    }

    .hero-section {
        padding: 24px 16px;
        margin-bottom: 20px;
    }

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

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-val {
        font-size: 1.25rem;
    }

    .ticket-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ticket-pick-badge {
        text-align: left;
    }

    .equipo-box img {
        width: 38px;
        height: 38px;
    }

    .equipo-nombre {
        font-size: 0.82rem;
    }

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


/* ══════════════════════════════════════════════════════════════
   8. LANDING PAGE STYLES (HOME.HTML)
   ══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 40px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.btn-hero {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.55);
}

.btn-hero-ghost {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-hero-ghost:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

/* ── Stats Bar ── */
.stats-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px auto;
    max-width: 900px;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    box-shadow: var(--shadow-card);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.stat-num.blue  { color: var(--accent-blue); }
.stat-num.green { color: var(--accent-emerald); }
.stat-num.gold  { color: var(--accent-amber); }

/* ── Section & Steps ── */
section {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #ffffff;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}

.step-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
    margin-bottom: 14px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ── Ligas Grid ── */
.ligas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.liga-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-secondary);
}

.liga-chip:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.liga-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ── CTA Final ── */
.cta-section {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 80px 20px;
    text-align: center;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ── Scroll Animations ── */
.fade-in-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════════
   9. AUTH PAGES (LOGIN & REGISTER)
   ══════════════════════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: var(--bg-canvas);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.auth-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

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

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--accent-blue);
    background: var(--bg-surface-sub);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.auth-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 22px 0;
    position: relative;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border-subtle);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

.auth-link-row {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-link-row a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
}

.auth-link-row a:hover {
    text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════
   10. TIPSTER DIRECTORY & PROFILES
   ══════════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 30px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 12px;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
.tipsters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.tipster-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-card);
}
.tipster-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.tipster-card.destacado {
    border-color: rgba(245, 158, 11, 0.35);
}
.tc-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tc-flag {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.tc-nombre {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.tc-tipo {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tc-especialidad {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.tc-badge-destac {
    align-self: flex-start;
    background: var(--accent-amber-sub);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-amber);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.tc-arrow {
    align-self: flex-end;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: auto;
    transition: transform 0.2s, color 0.2s;
}
.tipster-card:hover .tc-arrow {
    color: var(--accent-blue);
    transform: translateX(3px);
}


/* ══════════════════════════════════════════════════════════════
   11. BLOG & EDITORIAL ARTICLES
   ══════════════════════════════════════════════════════════════ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.article-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.article-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: var(--accent-blue-sub);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}
.article-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}
.article-card-emoji {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 4px;
}
.article-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.article-card:hover .article-cta-link {
    transform: translateX(3px);
    color: #60a5fa;
}

/* ── Article Reader & Editorial View ── */
.article-reader-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    position: relative;
    z-index: 1;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumb-nav a:hover {
    color: var(--accent-blue);
}
.breadcrumb-separator {
    color: var(--border-light);
}

.reader-header {
    margin-bottom: 32px;
}
.reader-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.reader-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.reader-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.65;
    border-left: 3px solid var(--accent-blue);
    padding-left: 16px;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-top: 8px;
    padding-bottom: 8px;
}

.reader-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 32px 0;
}

.article-content {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #cbd5e1;
}
.article-content h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}
.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 28px 0 12px;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content ul, .article-content ol {
    margin: 0 0 20px 24px;
}
.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}
.article-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover {
    color: #60a5fa;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}
.article-content th {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
}
.article-content td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}
.article-content tr:last-child td {
    border-bottom: none;
}

/* E-E-A-T Author Card */
.eeat-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 40px 0;
}
.eeat-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.eeat-info h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.eeat-info p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Reader CTA */
.reader-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    margin: 48px 0 32px;
}
.reader-cta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.reader-cta p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Article Navigation Links */
.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}
.pager-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pager-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}
.pager-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}
.pager-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-blue);
}
@media (max-width: 640px) {
    .article-pager {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   12. LEAGUE & TEAM HUBS
   ══════════════════════════════════════════════════════════════ */
.hub-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    position: relative;
    z-index: 1;
}

.liga-hero-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
}
.liga-escudo-box {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.liga-escudo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.liga-hero-details h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.liga-hero-details .liga-meta-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.liga-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}
.hub-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hub-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}
.hub-card p:last-child {
    margin-bottom: 0;
}

.fact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.fact-box h3 {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.fact-key {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.fact-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}
.fact-value.green { color: var(--accent-green); }
.fact-value.blue { color: var(--accent-blue); }
.fact-value.gold { color: var(--accent-gold); }

.league-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.league-mini-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    text-align: center;
}
.league-mini-chip:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
    color: var(--accent-blue);
}
.league-mini-chip img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.league-mini-chip span {
    font-size: 0.78rem;
    font-weight: 600;
}

/* Team Hub Styles */
.team-hero-header {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}
.team-hero-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}
.team-hero-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.team-hero-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

.matches-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.match-archive-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: block;
}
.match-archive-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.match-archive-header {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
}
.match-archive-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.match-archive-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 42%;
    text-align: center;
    gap: 6px;
}
.match-archive-team img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.match-archive-team span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}
.match-archive-vs {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
}
.match-archive-pick {
    background: var(--accent-blue-sub);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .liga-hero-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .liga-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   13. INSTITUTIONAL, LEGAL & CONTACT
   ══════════════════════════════════════════════════════════════ */
.institutional-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    position: relative;
    z-index: 1;
}

.info-section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}
.info-section-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}
.info-section-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 22px 0 10px;
}
.info-section-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.95rem;
}
.info-section-card p:last-child {
    margin-bottom: 0;
}
.info-section-card ul, .info-section-card ol {
    margin: 0 0 18px 24px;
}
.info-section-card li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.94rem;
}
.info-section-card strong {
    color: var(--text-primary);
}
.info-section-card a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.highlight-box {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 16px 0;
    color: var(--text-secondary);
}
.warning-box {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 16px 0;
    color: #fca5a5;
}

/* Institutional Stats Grid */
.info-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.info-stat-box {
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
}
.info-stat-num {
    font-size: 2rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    display: block;
    margin-bottom: 4px;
}
.info-stat-num.blue { color: var(--accent-blue); }
.info-stat-num.green { color: var(--accent-green); }
.info-stat-num.gold { color: var(--accent-gold); }
.info-stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Institutional Values Grid */
.info-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.info-value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.info-value-card .v-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}
.info-value-card h3 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.info-value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Contact Grid */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 16px;
}
@media (max-width: 768px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
}
