/* =====================================================================
   ALPHA SPORTS IA - Tema Dorado de Lujo
   Inteligencia Estadística Deportiva & Minería de Patrones
   ===================================================================== */

:root {
    --alpha-bg: #000000;
    --alpha-bg-2: #070709;
    --alpha-bg-3: #0f1014;
    --alpha-card: #090a0d;
    --alpha-card-2: #121318;
    --alpha-border: rgba(220, 175, 55, 0.22);
    --alpha-border-gold: #E6B84A;
    --alpha-gold: #F1B327;
    --alpha-gold-light: #FFDF78;
    --alpha-gold-dark: #B8860B;
    --alpha-gold-grad: linear-gradient(135deg, #FFDF78 0%, #F1B327 50%, #B8860B 100%);
    --alpha-green: #10B981;
    --alpha-green-grad: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    --alpha-red: #EF4444;
    --alpha-text: #FFFFFF;
    --alpha-muted: #9CA3AF;
    --alpha-radius: 14px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #000000 !important;
    background-image:
        radial-gradient(ellipse 85% 45% at 50% -8%, rgba(241, 179, 39, 0.08), transparent),
        radial-gradient(ellipse 65% 35% at 100% 100%, rgba(241, 179, 39, 0.04), transparent);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ===================== Tipografía ===================== */
.text-alpha-gold {
    background: var(--alpha-gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.brand-title {
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 4px;
    color: var(--alpha-gold);
    text-transform: uppercase;
}

.tagline {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--alpha-muted);
    text-transform: uppercase;
}

/* ===================== Tarjetas ===================== */
.card-alpha {
    background: var(--alpha-card);
    border: 1px solid var(--alpha-border);
    border-radius: var(--alpha-radius);
    transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

.card-alpha:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.07);
}

.card-alpha-highlight {
    background: linear-gradient(160deg, #1E1A0D 0%, var(--alpha-card) 55%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15), 0 10px 30px rgba(212, 175, 55, 0.08);
}

.card-alpha-glow {
    border: 1px solid rgba(212, 175, 55, 0.65);
    background:
        radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.12), transparent 55%),
        var(--alpha-card);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.12);
}

/* ===================== Botones ===================== */
.btn-alpha-gold {
    background: var(--alpha-gold-grad);
    color: #1A1406;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    transition: filter .15s ease, transform .1s ease;
}

.btn-alpha-gold:hover, .btn-alpha-gold:focus {
    filter: brightness(1.12);
    color: #1A1406;
}

.btn-alpha-gold:active { transform: scale(0.98); }

.btn-alpha-green {
    background: var(--alpha-green-grad);
    color: #04120C;
    font-weight: 700;
    border: none;
    border-radius: 10px;
}

.btn-alpha-green:hover, .btn-alpha-green:focus {
    filter: brightness(1.12);
    color: #04120C;
}

.btn-alpha-outline {
    background: transparent;
    border: 1px solid var(--alpha-gold);
    color: var(--alpha-gold);
    font-weight: 600;
    border-radius: 10px;
}

.btn-alpha-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--alpha-gold-light);
}

/* ===================== Formularios ===================== */
.form-control-alpha,
.form-select-alpha {
    background: var(--alpha-bg-2);
    border: 1px solid var(--alpha-border);
    color: var(--alpha-text);
    border-radius: 10px;
    padding: .65rem .9rem;
}

.form-control-alpha:focus,
.form-select-alpha:focus {
    background: var(--alpha-bg-3);
    border-color: var(--alpha-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    color: var(--alpha-text);
}

.form-control-alpha::placeholder { color: #5A617A; }

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .bi {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--alpha-gold);
    z-index: 5;
}

.input-icon-wrap .form-control-alpha {
    padding-left: 42px;
}

/* ===================== Contenedores del Cliente ===================== */
.client-nav-container,
.client-main-container {
    max-width: 900px !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (min-width: 1200px) {
    .client-nav-container,
    .client-main-container {
        max-width: 960px !important;
    }
}

/* ===================== Pestañas de categoría (Imagen 2) ===================== */
.alpha-tabs-wrapper {
    position: relative;
    width: 100%;
}

.alpha-tabs {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: .3rem .2rem .5rem .2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(241, 179, 39, 0.4) #070709;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Scrollbar sutil y elegante en navegadores basados en WebKit */
.alpha-tabs::-webkit-scrollbar {
    height: 4px;
}
.alpha-tabs::-webkit-scrollbar-track {
    background: #08080a;
    border-radius: 4px;
}
.alpha-tabs::-webkit-scrollbar-thumb {
    background: rgba(241, 179, 39, 0.35);
    border-radius: 4px;
}
.alpha-tabs::-webkit-scrollbar-thumb:hover {
    background: #F1B327;
}

/* Botones de navegación < y > cuando hay desborde */
.tabs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 48px;
    background: rgba(8, 8, 10, 0.92);
    border: 1px solid rgba(241, 179, 39, 0.45);
    color: #F1B327;
    border-radius: 7px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all .16s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}
.tabs-nav-btn:hover {
    background: #F1B327;
    color: #000000;
}
.tabs-nav-prev { left: -8px; }
.tabs-nav-next { right: -8px; }

.alpha-tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    max-width: 98px;
    height: 72px;
    padding: .42rem .35rem;
    background: #08080a;
    border: 1px solid rgba(220, 175, 55, 0.22);
    border-radius: 12px;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: .65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    transition: all .16s ease;
    user-select: none;
}

.alpha-tab span {
    font-size: .65rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    display: block;
}

.alpha-tab i {
    font-size: 1.35rem;
    color: #F1B327;
    margin-bottom: .22rem;
    transition: color .16s ease;
    line-height: 1;
}

.alpha-tab .tab-icon-svg {
    width: 22px;
    height: 22px;
    fill: #F1B327;
    margin-bottom: .22rem;
    transition: fill .16s ease;
}

.alpha-tab .tab-btts-circle {
    width: 24px;
    height: 24px;
    border: 1.5px solid #F1B327;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .52rem;
    font-weight: 900;
    color: #F1B327;
    margin-bottom: .22rem;
    letter-spacing: .3px;
    line-height: 1;
}

.alpha-tab:hover {
    border-color: rgba(241, 179, 39, 0.6);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.alpha-tab.active {
    background: #F1B327 !important;
    border-color: #F1B327 !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(241, 179, 39, 0.4);
    font-weight: 800;
}

.alpha-tab.active i {
    color: #000000 !important;
}

.alpha-tab.active .tab-icon-svg {
    fill: #000000 !important;
}

.alpha-tab.active .tab-btts-circle {
    border-color: #000000 !important;
    color: #000000 !important;
}

/* En pantallas amplias (desktop), los 8 botones se distribuyen al 100% sin recortarse */
@media (min-width: 860px) {
    .alpha-tabs {
        overflow-x: visible;
        justify-content: space-between;
    }
    .alpha-tab {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: .45rem .25rem;
    }
    .tabs-nav-btn {
        display: none !important;
    }
}

/* ===================== Badges y chips ===================== */
.badge-alpha-gold {
    background: var(--alpha-gold-grad);
    color: #1A1406;
    font-weight: 700;
    border-radius: 8px;
    padding: .4em .7em;
}

.badge-alpha-green {
    background: var(--alpha-green-grad);
    color: #04120C;
    font-weight: 700;
    border-radius: 8px;
    padding: .4em .7em;
}

.badge-alpha-outline {
    border: 1px solid var(--alpha-border);
    color: var(--alpha-muted);
    border-radius: 8px;
    font-weight: 600;
    padding: .4em .7em;
}

.badge-alpha-vip {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: .4em .7em;
}

.chip-odds {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--alpha-bg-3);
    border: 1px solid var(--alpha-border);
    border-radius: 9px;
    padding: .45rem .75rem;
    font-size: .85rem;
    font-weight: 700;
    min-width: 86px;
    justify-content: center;
}

.chip-odds small {
    color: var(--alpha-muted);
    font-weight: 500;
}

.chip-odds .val {
    color: var(--alpha-gold-light);
}

/* ===================== Sección de liga (Imagen 2) ===================== */
.league-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .85rem;
    background: #08080a;
    border: 1px solid rgba(220, 175, 55, 0.22);
    border-radius: 10px;
    font-weight: 700;
    color: #FFFFFF;
    font-size: .86rem;
    margin-bottom: .65rem;
}

.league-header img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}

.league-header .star-fav {
    color: #F1B327;
    font-size: .95rem;
    margin-left: auto;
}

/* ===================== Partido: equipos (Imagen 2) ===================== */
.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
    flex: 1;
}

.match-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.match-team .team-name {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF !important;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.odds-pill-green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10B981;
    color: #34D399;
    font-weight: 700;
    font-size: .74rem;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.odds-pill-green small {
    color: #6EE7B7;
    font-size: .65rem;
}

.match-time-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    color: var(--alpha-muted);
    font-size: .8rem;
    padding: 0 .4rem;
    min-width: 110px;
}

.gold-lock-badge {
    width: 32px;
    height: 32px;
    background: rgba(241, 179, 39, 0.14);
    border: 1.5px solid #F1B327;
    border-radius: 8px;
    color: #F1B327;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    margin-bottom: 2px;
    box-shadow: 0 0 10px rgba(241, 179, 39, 0.2);
}

/* Candado Interactivo (estilo Scouter) para incentivar conversión VIP */
.interactive-lock {
    cursor: pointer;
    border: 1.5px solid #F1B327;
    background: rgba(241, 179, 39, 0.16);
    color: #F1B327;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    animation: pulse-lock 2.4s infinite;
    text-decoration: none;
    outline: none;
}
.interactive-lock:hover {
    transform: scale(1.14);
    box-shadow: 0 0 16px rgba(241, 179, 39, 0.7);
    background: rgba(241, 179, 39, 0.32);
    color: #FFFFFF;
}
@keyframes pulse-lock {
    0%, 100% { box-shadow: 0 0 6px rgba(241, 179, 39, 0.25); }
    50% { box-shadow: 0 0 16px rgba(241, 179, 39, 0.65); }
}

/* Efecto difuminado para incentivar conversión en usuarios no suscritos */
.blur-text {
    filter: blur(4.5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.65;
    display: inline-block;
}

.blur-preview {
    filter: blur(4.5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.55;
}

.team-logo-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    z-index: 2;
}

/* Banner de Conversión estilo Scouter (Join VIP) */
.banner-join-vip {
    background: linear-gradient(135deg, #181406 0%, #261f09 50%, #120e03 100%);
    border: 1px solid rgba(241, 179, 39, 0.45);
    border-radius: 14px;
    padding: .9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 235, 170, 0.25);
    text-decoration: none;
    cursor: pointer;
    margin: 1.5rem 0;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.banner-join-vip:hover {
    transform: translateY(-2px);
    border-color: #F1B327;
    box-shadow: 0 8px 30px rgba(241, 179, 39, 0.28);
}
.banner-join-vip-btn {
    background: #F1B327;
    color: #000000;
    font-weight: 800;
    font-size: .8rem;
    border-radius: 8px;
    padding: .45rem 1rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(241, 179, 39, 0.4);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.match-time-center .stadium {
    font-size: .66rem;
    color: #9CA3AF;
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip-odds-btn {
    background: #0d0e12;
    border: 1px solid rgba(220, 175, 55, 0.22);
    border-radius: 8px;
    padding: .35rem .55rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1;
}

.chip-odds-btn .lbl {
    color: #9CA3AF;
    font-size: .68rem;
    font-weight: 600;
}

.chip-odds-btn .val {
    color: #FFDF78;
    font-weight: 800;
    font-size: .82rem;
}

.chip-odds-btn i {
    color: #F1B327;
    font-size: .85rem;
}

.btn-analisis-ia {
    background: #F1B327;
    color: #000000 !important;
    font-weight: 800;
    font-size: .8rem;
    border-radius: 9px;
    padding: .45rem .85rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 10px rgba(241, 179, 39, 0.35);
    transition: all .16s ease;
    white-space: nowrap;
}

.btn-analisis-ia:hover {
    background: #FFDF78;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(241, 179, 39, 0.5);
}

.btn-analisis-ia .brain-icon {
    width: 17px;
    height: 17px;
    fill: #000000;
}

/* ===================== Barra de Filtro de Fecha & Buscador (Imagen 2) ===================== */
.date-filter-section {
    background: #08080a;
    border: 1px solid rgba(220, 175, 55, 0.2);
    border-radius: 12px;
    padding: .75rem .9rem;
    margin-bottom: 1rem;
}

.btn-date {
    background: #111216;
    border: 1px solid rgba(220, 175, 55, 0.25);
    color: #FFFFFF !important;
    border-radius: 8px;
    padding: .35rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s ease;
    display: inline-block;
}

.btn-date:hover {
    border-color: #F1B327;
    color: #FFDF78 !important;
}

.btn-date.active {
    background: #F1B327 !important;
    border-color: #F1B327 !important;
    color: #000000 !important;
    font-weight: 800;
}

.date-picker-chip {
    background: #111216;
    border: 1px solid rgba(220, 175, 55, 0.25);
    color: #FFFFFF;
    border-radius: 8px;
    padding: .35rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.search-box-alpha {
    position: relative;
    width: 100%;
}

.search-box-alpha .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #F1B327;
    font-size: .95rem;
    pointer-events: none;
}

.search-box-alpha input {
    background: #070709;
    border: 1px solid rgba(220, 175, 55, 0.28);
    color: #FFFFFF;
    border-radius: 9px;
    padding: .6rem .9rem .6rem 40px;
    font-size: .82rem;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.search-box-alpha input:focus {
    outline: none;
    border-color: #F1B327;
    box-shadow: 0 0 0 2px rgba(241, 179, 39, 0.2);
    color: #FFFFFF;
}

.search-box-alpha input::placeholder {
    color: #6B7280;
}

/* ===================== Ficha Apuesta del Día ===================== */
.feature-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--alpha-border);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--alpha-gold-grad);
    color: #1A1406;
    font-size: 1.25rem;
}

.feature-icon.trend {
    background: var(--alpha-green-grad);
    color: #04120C;
}

.prediction-box {
    background: var(--alpha-bg-3);
    border: 1px solid var(--alpha-border);
    border-left: 3px solid var(--alpha-gold);
    border-radius: 10px;
    padding: .9rem 1rem;
}

.reasoning-box {
    background: var(--alpha-bg-2);
    border: 1px solid var(--alpha-border);
    border-radius: 10px;
    padding: .9rem 1rem;
    font-size: .88rem;
    color: #C9CFDD;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    flex: 1;
    text-align: center;
}

.metric-item .metric-icon {
    color: var(--alpha-gold);
    font-size: 1.05rem;
}

.metric-item .metric-value {
    font-weight: 800;
    font-size: .95rem;
}

.metric-item .metric-label {
    font-size: .65rem;
    color: var(--alpha-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ===================== Barra de confianza ===================== */
.confidence-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--alpha-bg-3);
    overflow: hidden;
}

/* ===================== Racha por condición (gráfico del análisis) ===================== */
.streak-strip {
    display: flex;
    gap: 3px;
}

.streak-strip .seg {
    flex: 1 1 0;
    height: 26px;
    border-radius: 5px;
    min-width: 6px;
    transition: transform .12s;
}

.streak-strip .seg-hit {
    background: linear-gradient(180deg, #2fe39a 0%, var(--alpha-green, #21c584) 100%);
    box-shadow: 0 2px 6px rgba(33, 197, 132, .25);
}

.streak-strip .seg-miss {
    background: linear-gradient(180deg, #ff6b6b 0%, #ef4444 100%);
    box-shadow: 0 2px 6px rgba(239, 68, 68, .2);
    opacity: .85;
}

.streak-strip .seg:hover {
    transform: scaleY(1.12);
}

@media (max-width: 576px) {
    .streak-strip .seg {
        height: 20px;
    }
}

.confidence-bar .fill {
    height: 100%;
    background: var(--alpha-gold-grad);
    border-radius: 4px;
}

/* ===================== Símbolos de ayuda (?) ===================== */
.alpha-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    margin-left: 4px;
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 50%;
    background: rgba(212, 175, 55, .08);
    color: var(--alpha-gold, #d4af37);
    font-size: .6rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    vertical-align: middle;
    cursor: help;
    position: relative;
    flex-shrink: 0;
}

.alpha-help:hover,
.alpha-help:focus,
.alpha-help.tip-open {
    background: rgba(212, 175, 55, .22);
    outline: none;
}

.alpha-help::after {
    content: attr(data-tip);
    display: none;
    position: absolute;
    z-index: 1080;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(260px, 78vw);
    padding: .5rem .7rem;
    border-radius: 10px;
    background: #1a2030;
    border: 1px solid rgba(212, 175, 55, .35);
    color: #e8ecf4;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.alpha-help:hover::after,
.alpha-help:focus::after,
.alpha-help.tip-open::after {
    display: block;
}

/* Variante: globo hacia arriba (para elementos al final de la pantalla) */
.alpha-help.tip-up::after {
    top: auto;
    bottom: calc(100% + 8px);
}

/* El botón vive en línea con labels; si el contenedor fuerza ancho, no lo romper */
.form-check .alpha-help { margin-left: 2px; }

/* ===================== Navbar ===================== */
.navbar-alpha {
    background: rgba(0, 0, 0, 0.96) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220, 175, 55, 0.22);
}

.navbar-alpha .nav-link-alpha {
    color: #9CA3AF;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    padding: .45rem .8rem;
    border-radius: 9px;
    transition: all .15s ease;
}

.navbar-alpha .nav-link-alpha:hover {
    color: var(--alpha-gold-light);
    background: rgba(241, 179, 39, 0.1);
}

.navbar-alpha .nav-link-alpha.active {
    color: #000000;
    background: var(--alpha-gold-grad);
}

.vip-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--alpha-gold-grad);
    color: #000000;
    font-weight: 800;
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .78rem;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(241, 179, 39, 0.35);
}

.avatar-circle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0d0e12;
    border: 1px solid rgba(220, 175, 55, 0.3);
    color: var(--alpha-gold);
    font-weight: 800;
    text-decoration: none;
}

/* ===================== Bottom Nav (móvil) ===================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(220, 175, 55, 0.22);
    padding: .4rem 0 max(.4rem, env(safe-area-inset-bottom));
    max-width: 760px;
    margin: 0 auto;
    border-radius: 14px 14px 0 0;
    border-left: 1px solid rgba(220, 175, 55, 0.22);
    border-right: 1px solid rgba(220, 175, 55, 0.22);
}

.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .18rem;
    color: #9CA3AF;
    text-decoration: none;
    font-size: .66rem;
    font-weight: 600;
    padding: .3rem 0;
}

.bottom-nav a i {
    font-size: 1.2rem;
}

.bottom-nav a.active {
    color: var(--alpha-gold);
}

.bottom-nav a.active i {
    color: var(--alpha-gold);
}

body.has-bottom-nav { padding-bottom: 118px; }

/* ===================== Tablas admin ===================== */
.table-alpha {
    --bs-table-bg: transparent;
    --bs-table-color: var(--alpha-text);
    border-color: var(--alpha-border);
}

.table-alpha th {
    color: var(--alpha-muted);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: 1px;
    font-weight: 700;
    border-color: var(--alpha-border);
    padding: .5rem .6rem;
}

.table-alpha td {
    border-color: var(--alpha-border);
    vertical-align: middle;
}

/* ===================== Stat cards admin ===================== */
.stat-card {
    background: var(--alpha-card);
    border: 1px solid var(--alpha-border);
    border-radius: var(--alpha-radius);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card .stat-value {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-card .stat-label {
    font-size: .72rem;
    color: var(--alpha-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ===================== Sidebar admin ===================== */
.sidebar-alpha {
    background: var(--alpha-bg-2);
    border-right: 1px solid var(--alpha-border);
    min-height: calc(100vh - 58px);
}

.sidebar-alpha .nav-link {
    color: var(--alpha-muted);
    font-weight: 600;
    font-size: .88rem;
    padding: .6rem 1rem;
    border-radius: 10px;
    margin: .12rem .6rem;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.sidebar-alpha .nav-link:hover {
    color: var(--alpha-gold-light);
    background: rgba(212, 175, 55, 0.07);
}

.sidebar-alpha .nav-link.active {
    color: #1A1406;
    background: var(--alpha-gold-grad);
}

/* ===================== Login ===================== */
.login-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse 90% 60% at 50% -20%, rgba(212, 175, 55, 0.14), transparent),
        radial-gradient(ellipse 50% 40% at 80% 110%, rgba(212, 175, 55, 0.07), transparent),
        var(--alpha-bg);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(18, 22, 32, 0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 22px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.06);
}

.login-logo {
    width: 96px;
    filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.35));
}

/* ===================== Alerts ===================== */
.alert-alpha {
    border-radius: 12px;
    border: 1px solid var(--alpha-border);
    font-size: .88rem;
}

.alert-alpha-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6EE7B7;
}

.alert-alpha-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
}

.alert-alpha-info {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93C5FD;
}

.alert-alpha-warning {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--alpha-gold-light);
}

/* ===================== Acordeón de partidos ===================== */
.accordion-chevron {
    transition: transform .25s ease;
}

[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

/* ===================== Varios ===================== */

/* ===================== Varios ===================== */
.divider-alpha {
    height: 1px;
    background: var(--alpha-border);
    opacity: .8;
}

.section-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--alpha-muted);
}

.link-alpha {
    color: var(--alpha-gold);
    text-decoration: none;
    font-weight: 600;
}

.link-alpha:hover {
    color: var(--alpha-gold-light);
    text-decoration: underline;
}

.locked-overlay {
    filter: blur(7px);
    pointer-events: none;
    user-select: none;
}

.pagination .page-link {
    background: var(--alpha-bg-2);
    border-color: var(--alpha-border);
    color: var(--alpha-text);
}

.pagination .page-item.active .page-link {
    background: var(--alpha-gold-grad);
    border-color: var(--alpha-gold);
    color: #1A1406;
    font-weight: 700;
}

.dropdown-menu-alpha {
    background: var(--alpha-bg-2);
    border: 1px solid var(--alpha-border);
}

.dropdown-menu-alpha .dropdown-item {
    color: var(--alpha-text);
}

.dropdown-menu-alpha .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--alpha-gold-light);
}

.modal-content {
    background: var(--alpha-bg-2);
    border: 1px solid var(--alpha-border);
    border-radius: 16px;
    color: var(--alpha-text);
}

.modal-header, .modal-footer {
    border-color: var(--alpha-border);
}

/* Scrollbar */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--alpha-bg); }
::-webkit-scrollbar-thumb {
    background: var(--alpha-border);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--alpha-gold-dark); }

/* =====================================================================
   LA FIJA DEL DÍA - Estilos Especiales y Paywall (Imágenes 1 y 2)
   ===================================================================== */

/* Pestaña especial destacada en la barra de categorías (Imagen 1) */
.alpha-tab.alpha-tab-fija {
    background: #E6B84A !important;
    border: 1px solid #D4A329 !important;
    color: #121620 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(230, 184, 74, 0.45);
}
.alpha-tab.alpha-tab-fija i {
    color: #121620 !important;
    font-size: 1.25rem;
}
.alpha-tab.alpha-tab-fija .badge {
    border-color: rgba(18, 22, 32, 0.5) !important;
    color: #121620 !important;
    background: rgba(18, 22, 32, 0.08) !important;
    font-weight: 700;
}
.alpha-tab.alpha-tab-fija:hover {
    transform: translateY(-2px);
    background: #F0C45C !important;
    box-shadow: 0 6px 22px rgba(230, 184, 74, 0.6);
}

/* Tarjeta destacada suprema en el Dashboard: La Fija del Día */
.card-alpha-fija {
    background:
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(241, 179, 39, 0.22), transparent 70%),
        linear-gradient(170deg, #181305 0%, #0e0b04 50%, #050505 100%);
    border: 2px solid #F1B327;
    border-radius: var(--alpha-radius);
    box-shadow: 0 0 30px rgba(241, 179, 39, 0.28), inset 0 1px 0 rgba(255, 235, 170, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card-alpha-fija:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(241, 179, 39, 0.42), inset 0 1px 0 rgba(255, 235, 170, 0.5);
}
.card-alpha-fija::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(241, 179, 39, 0.2), transparent 70%);
    pointer-events: none;
}

.fija-crown-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFDF78, #F1B327);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 14px rgba(241, 179, 39, 0.4);
}

.btn-alpha-fija-gold {
    background: #F1B327;
    color: #000000;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    padding: .5rem 1rem;
    box-shadow: 0 2px 12px rgba(230, 184, 74, 0.38);
    transition: all .18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-alpha-fija-gold:hover {
    background: #F5CB5C;
    color: #0B0E14;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(230, 184, 74, 0.58);
}

/* =====================================================================
   PAYWALL / LANDING PAGE DE LA FIJA DEL DÍA (Imagen 2)
   ===================================================================== */
.fija-paywall-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.fija-step-badge {
    border: 1px solid rgba(230, 184, 74, 0.45);
    background: rgba(230, 184, 74, 0.08);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #F5D67B;
    display: inline-block;
    text-transform: uppercase;
}

.fija-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .75rem;
    margin-bottom: 1.25rem;
}

.fija-header-left {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.fija-big-crown {
    font-size: 2.3rem;
    color: #E6B84A;
    filter: drop-shadow(0 2px 8px rgba(230, 184, 74, 0.5));
    line-height: 1;
}

.fija-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #E6B84A;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.fija-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(234, 234, 240, 0.7);
    text-transform: uppercase;
    margin-top: 3px;
}

.fija-vip-badge {
    background: rgba(22, 27, 39, 0.85);
    border: 1px solid rgba(230, 184, 74, 0.35);
    border-radius: 12px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}
.fija-vip-badge i {
    font-size: 1.25rem;
    color: #E6B84A;
}
.fija-vip-badge .top-txt {
    font-size: 0.72rem;
    font-weight: 800;
    color: #E6B84A;
    letter-spacing: 1px;
    line-height: 1.2;
}
.fija-vip-badge .sub-txt {
    font-size: 0.65rem;
    color: var(--alpha-muted);
}

/* 2 Tarjetas superiores: Entrada de hoy + Cuota de la fija */
.fija-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1rem;
}
@media (max-width: 576px) {
    .fija-cards-row { grid-template-columns: 1fr; }
}

.fija-entry-card {
    background: rgba(18, 23, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.fija-entry-card .icon-box {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(230, 184, 74, 0.12);
    color: #E6B84A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fija-odds-card {
    background: rgba(18, 23, 34, 0.85);
    border: 1px solid rgba(33, 197, 132, 0.28);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}
.fija-odds-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #10B981;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.fija-odds-val {
    font-size: 1.75rem;
    font-weight: 900;
    color: #2EE6A8;
    text-shadow: 0 0 16px rgba(46, 230, 168, 0.45);
    line-height: 1.1;
    margin: 3px 0;
}
.fija-odds-sub {
    font-size: 0.62rem;
    color: var(--alpha-muted);
}

/* Tarjeta La Tesis de Hoy */
.fija-thesis-card {
    background: rgba(18, 23, 34, 0.9);
    border: 1px solid rgba(230, 184, 74, 0.45);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
}
.fija-thesis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.fija-thesis-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #E6B84A;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fija-verified-badge {
    font-size: 0.72rem;
    color: #E6B84A;
    font-style: italic;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.fija-thesis-text {
    font-size: 0.82rem;
    color: rgba(234, 234, 240, 0.88);
    line-height: 1.55;
    margin: 0;
}

/* Grilla de 6 Bloques con Candado */
.fija-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 600px) {
    .fija-features-grid { grid-template-columns: repeat(2, 1fr); }
}

.fija-feature-item {
    background: rgba(16, 20, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 105px;
    transition: border-color .2s ease;
}
.fija-feature-item:hover {
    border-color: rgba(230, 184, 74, 0.35);
}
.fija-feature-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}
.fija-feature-icons .main-icon {
    font-size: 1.3rem;
    color: #E6B84A;
}
.fija-feature-icons .lock-icon {
    font-size: 0.85rem;
    color: #E6B84A;
}
.fija-feature-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #E6B84A;
    text-transform: uppercase;
    margin-bottom: 3px;
    line-height: 1.2;
}
.fija-feature-desc {
    font-size: 0.65rem;
    color: var(--alpha-muted);
    line-height: 1.3;
    margin: 0;
}

/* Banner Garantía Green */
.fija-guarantee-banner {
    background: linear-gradient(90deg, rgba(8, 48, 35, 0.95), rgba(12, 68, 48, 0.95));
    border: 1px solid #10B981;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
}
.fija-guarantee-icon {
    font-size: 1.85rem;
    color: #38BDF8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    flex-shrink: 0;
}
.fija-guarantee-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: #2EE6A8;
    line-height: 1.2;
}
.fija-guarantee-sub {
    font-size: 0.72rem;
    color: #D1FAE5;
    margin-top: 2px;
}

/* Botón CTA Gigante Verde Neón */
.fija-cta-button {
    background: linear-gradient(135deg, #2EE6A8 0%, #10B981 100%);
    color: #062817 !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 15px 24px;
    border-radius: 50px;
    box-shadow: 0 6px 28px rgba(46, 230, 168, 0.45);
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 1.25rem;
    transition: all .2s ease;
    cursor: pointer;
}
.fija-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 34px rgba(46, 230, 168, 0.65);
    color: #021B0F !important;
}
.fija-cta-button i {
    font-size: 1.3rem;
}

/* Fila de Confianza (Trust) */
.fija-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
@media (max-width: 600px) {
    .fija-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

.fija-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.68rem;
    color: rgba(234, 234, 240, 0.8);
    font-weight: 600;
}
.fija-trust-item i {
    color: #E6B84A;
    font-size: 0.95rem;
}

/* Pie de Marca Fija */
.fija-brand-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(230, 184, 74, 0.25);
}
.fija-brand-name {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #E6B84A;
}
.fija-brand-slogan {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    color: var(--alpha-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

