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

:root {
    --primary: #FF4500;
    --secondary: #1a1a1a;
    --dark: #0d0d0d;
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    --accent: #FF6B35;
    --text: #ffffff;
    --text-muted: #999;
    --card-bg: rgba(26, 26, 26, 0.95);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Banner Copa Mundial 2026 */
/* ═══════════════════════════════════════════════════════════════════════════
   BANNER COPA MUNDIAL — compact horizontal strip
   ═══════════════════════════════════════════════════════════════════════════ */
.world-cup-banner {
    position: relative;
    margin: 10px 15px;
    border-radius: 16px;
    background: linear-gradient(100deg, #0b0e23 0%, #111638 40%, #1a0a3a 70%, #200c1c 100%);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    border: 1.5px solid rgba(255,215,0,0.28);
    box-shadow:
        0 0 0 1px rgba(255,215,0,0.08) inset,
        0 6px 28px rgba(0,0,0,0.6),
        0 0 24px rgba(180,120,255,0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    animation: wcBannerPop 2.8s ease-in-out infinite;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    -webkit-tap-highlight-color: transparent;
}
.world-cup-banner:active {
    transform: scale(0.97);
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
@keyframes wcBannerPop {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255,215,0,0.08) inset,
            0 6px 28px rgba(0,0,0,0.6),
            0 0 20px rgba(180,120,255,0.18);
        border-color: rgba(255,215,0,0.28);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255,215,0,0.15) inset,
            0 6px 28px rgba(0,0,0,0.6),
            0 0 36px rgba(255,215,0,0.22),
            0 0 60px rgba(180,100,255,0.15);
        border-color: rgba(255,215,0,0.55);
    }
}

/* shimmer sweep */
.wc-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 35%,
        rgba(255,255,255,0.07) 50%,
        transparent 65%,
        transparent 100%
    );
    animation: wcShimmer 3s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}
@keyframes wcShimmer {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(220%); }
}

/* outer glow ring animation */
.wc-glow-ring {
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    border: 2px solid transparent;
    background:
        linear-gradient(#0b0e23, #0b0e23) padding-box,
        linear-gradient(90deg, #ffd700, transparent 40%, transparent 60%, #ffd700) border-box;
    animation: wcRingRotate 4s linear infinite;
    pointer-events: none;
    opacity: 0.55;
}
@keyframes wcRingRotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* LEFT — trophy + text */
.wc-banner-left {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
}
.wc-trophy {
    font-size: 26px;
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.7));
    animation: wcTrophyFloat 2.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes wcTrophyFloat {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%       { transform: translateY(-3px) rotate(4deg); }
}
.wc-banner-text {
    min-width: 0;
}
.banner-title {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(255,255,255,0.25);
}
.banner-title-year {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,215,0,0.85);
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-top: 1px;
}

/* CENTER — compact countdown */
.wc-banner-countdown {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.wc-cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 4px 6px 3px;
    min-width: 34px;
}
.wc-cd-sep {
    font-size: 13px;
    font-weight: 900;
    color: rgba(255,215,0,0.5);
    margin-bottom: 6px;
    padding: 0 1px;
}
.countdown-val {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.countdown-label {
    display: block;
    font-size: 7.5px;
    color: rgba(255,215,0,0.65);
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* RIGHT — tap button */
.wc-tap-btn {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 9px;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 14px rgba(255,180,0,0.45);
    animation: wcBtnPulse 1.6s ease-in-out infinite;
}
@keyframes wcBtnPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 3px 14px rgba(255,180,0,0.4); }
    50%       { transform: scale(1.07); box-shadow: 0 4px 22px rgba(255,180,0,0.7); }
}
.wc-tap-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    border: 2px solid rgba(255,215,0,0.5);
    animation: wcTapRipple 1.6s ease-out infinite;
    pointer-events: none;
}
@keyframes wcTapRipple {
    0%   { transform: scale(1);    opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}


/* ── Carrusel de banderas ─────────────────────────────────────────────────── */
.wc-flags-wrap {
    width: calc(100% + 32px);
    margin: 10px -16px 10px;
    overflow: hidden;
    position: relative;
}
.wc-flags-wrap::before,
.wc-flags-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
}
.wc-flags-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(5,8,15,0.85), transparent);
}
.wc-flags-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(18,7,58,0.85), transparent);
}
.wc-flags-track {
    display: flex;
    gap: 6px;
    padding: 4px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.wc-flags-track::-webkit-scrollbar { display: none; }
.wc-flag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 5px 7px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: default;
    transition: background 0.15s, transform 0.15s;
}
.wc-flag:active {
    background: rgba(255,255,255,0.12);
    transform: scale(0.94);
}
.wc-flag > :first-child {
    font-size: 20px;
    line-height: 1;
}
.wc-flag span {
    font-size: 7.5px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-align: center;
}

/* ── Sponsors Strip ─────────────────────────────────────────────────────────── */
.sponsors-strip {
    margin: 10px 15px 6px;
    padding: 12px 14px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.sponsors-strip:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,165,0,0.3);
}

.sponsors-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sponsors-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

.sponsors-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b00;
    box-shadow: 0 0 6px #ff6b00;
    animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.sponsors-cta-hint {
    font-size: 10px;
    color: rgba(255,165,0,0.7);
    font-weight: 500;
}
.sponsors-cta-hint strong {
    color: #ffa500;
}

.sponsors-track-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: sponsors-scroll 20s linear infinite;
}
.sponsors-strip:hover .sponsors-track {
    animation-play-state: paused;
}

@keyframes sponsors-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sponsor-slot {
    flex-shrink: 0;
    width: 100px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px dashed rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    transition: border-color 0.2s, background 0.2s;
}
.sponsors-strip:hover .sponsor-slot {
    border-color: rgba(255,165,0,0.35);
}
.sponsor-slot-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}
.slot-plus {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    line-height: 1;
}
.slot-text {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
}

/* Slot con patrocinador real */
.sponsor-slot-active {
    width: 130px;
    height: 60px;
    border: 2px solid rgba(255,165,0,0.55);
    background: rgba(0,0,0,0.4);
    cursor: pointer;
    overflow: hidden;
    padding: 4px;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255,140,0,0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sponsor-slot-active:hover,
.sponsor-slot-active:active {
    transform: scale(1.07);
    border-color: rgba(255,165,0,0.9);
    box-shadow: 0 0 22px rgba(255,140,0,0.5);
}
.sponsor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* ── Modal Tacos Los Pap's ──────────────────────────────────────────────────── */
.tacos-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.tacos-modal-overlay.open {
    display: flex;
}
.tacos-modal-card {
    background: #141414;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding-bottom: env(safe-area-inset-bottom, 16px);
    animation: tacos-slide-up 0.32s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes tacos-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.tacos-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.15s;
}
.tacos-modal-close:hover { background: rgba(255,255,255,0.2); }

.tacos-modal-logo-wrap {
    width: 100%;
    background: #0d0d0d;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 20px;
}
.tacos-modal-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(255,140,0,0.45);
    box-shadow: 0 0 28px rgba(255,100,0,0.3);
}

.tacos-modal-body {
    padding: 20px 20px 24px;
}
.tacos-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,140,0,0.15);
    border: 1px solid rgba(255,140,0,0.35);
    color: #ffaa33;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.tacos-modal-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}
.tacos-modal-title span {
    color: #ff8c00;
}
.tacos-modal-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin: 0 0 18px;
}
.tacos-modal-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}
.tacos-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 12px 14px;
}
.tacos-info-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.tacos-info-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tacos-info-row strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.tacos-info-row span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.tacos-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b00, #ff9500);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255,100,0,0.4);
    transition: opacity 0.15s, transform 0.15s;
}
.tacos-modal-btn:hover { opacity: 0.9; transform: scale(1.01); }

/* ── Sponsor Modal ───────────────────────────────────────────────────────────── */
.sponsor-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.sponsor-modal-overlay.active {
    display: flex;
    animation: modal-fade-in 0.2s ease;
}
@keyframes modal-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.sponsor-modal-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,165,0,0.2);
    animation: modal-slide-up 0.35s cubic-bezier(0.34,1.45,0.64,1);
}
@keyframes modal-slide-up {
    from { transform: translateY(50px) scale(0.92); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* ── Hero header del modal ── */
.sponsor-modal-hero {
    position: relative;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0533 40%, #2d0a00 100%);
    padding: 36px 24px 28px;
    text-align: center;
    overflow: hidden;
}

/* fondo con patrón de estadio */
.sponsor-modal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,107,0,0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(255,165,0,0.12) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,0.025) 28px,
            rgba(255,255,255,0.025) 29px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,0.025) 28px,
            rgba(255,255,255,0.025) 29px
        );
    pointer-events: none;
}

/* anillo de luz detrás del ícono */
.sponsor-modal-hero::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255,140,0,0.22) 0%, transparent 70%);
    pointer-events: none;
}

.sponsor-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}
.sponsor-modal-close:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: rotate(90deg);
}

.sponsor-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,165,0,0.15);
    border: 1px solid rgba(255,165,0,0.35);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffa500;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.sponsor-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffa500;
    animation: dot-pulse 1.8s ease-in-out infinite;
}

.sponsor-modal-icon {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ff6b00 0%, #ffb300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow:
        0 0 0 8px rgba(255,107,0,0.12),
        0 0 0 16px rgba(255,107,0,0.06),
        0 12px 30px rgba(255,107,0,0.5);
    animation: icon-bounce 3s ease-in-out infinite;
}
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-6px) scale(1.04); }
}

.sponsor-modal-title {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.sponsor-modal-title em {
    font-style: normal;
    background: linear-gradient(90deg, #ff6b00, #ffd000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sponsor-modal-subtitle {
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* ── Cuerpo del modal ── */
.sponsor-modal-body {
    background: #0f0f17;
    padding: 22px 22px 24px;
}

/* stats row */
.sponsor-modal-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.sponsor-stat {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}
.sponsor-stat-num {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #ffa500;
    line-height: 1;
    margin-bottom: 4px;
}
.sponsor-stat-label {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* perks */
.sponsor-modal-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.sponsor-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
}
.sponsor-perk:hover {
    background: rgba(255,165,0,0.06);
    border-color: rgba(255,165,0,0.25);
}
.perk-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.perk-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1px;
}
.perk-text span {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

/* urgency badge */
.sponsor-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,50,50,0.1);
    border: 1px solid rgba(255,80,80,0.25);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 10px;
    font-weight: 700;
    color: #ff7070;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}
.urgency-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5050;
    animation: dot-pulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

/* CTA button */
.sponsor-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff5500 0%, #ffaa00 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    border-radius: 16px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 24px rgba(255,100,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.sponsor-modal-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-20deg);
    animation: btn-shine 3s ease-in-out infinite;
}
@keyframes btn-shine {
    0%   { left: -60%; }
    40%  { left: 120%; }
    100% { left: 120%; }
}
.sponsor-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,100,0,0.65), inset 0 1px 0 rgba(255,255,255,0.2);
}
.sponsor-btn-icon {
    font-size: 18px;
}

.sponsor-modal-email {
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.5px;
}

/* Resto de estilos */
/* ==================== SELECTOR DE SERVIDORES PROFESIONAL (MODAL) ==================== */
/* Burbuja de Soporte Creativa */
.support-bubble {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.support-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
    background: var(--accent);
}

.support-bubble i {
    font-size: 22px;
}

.bubble-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: bubblePulse 2s infinite;
}

@keyframes bubblePulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== CHANNEL SELECTOR GLASS REDESIGN ===== */

/* ==================== CHANNEL SELECTOR – REDESIGNED ==================== */

@keyframes svPulse {
    0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(74,222,128,0.55); }
    50%      { opacity:.75; transform:scale(1.25); box-shadow:0 0 0 7px rgba(74,222,128,0); }
}

@keyframes svSlideUp {
    from { opacity:0; transform:translateY(18px) scale(.97); }
    to   { opacity:1; transform:translateY(0)    scale(1);   }
}

@keyframes svWave {
    0%,100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1);   }
}

@keyframes svGlow {
    0%,100% { box-shadow: 0 0 18px rgba(255,107,53,0.35); }
    50%      { box-shadow: 0 0 36px rgba(255,107,53,0.65); }
}

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

/* Modal shell override */
#channelSelectorModal .channel-selector-content {
    background: #08080c;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.04);
}

#channelSelectorModal .channel-selector-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, transparent 100%);
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#channelSelectorModal .channel-selector-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20px; right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.25), transparent);
}

#channelSelectorModal .channel-selector-header h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* ---- Body wrapper ---- */
.sv-wrapper {
    padding: 18px 16px 20px;
    background: #08080c;
    font-family: 'Inter', -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
}

.sv-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,107,53,0.06) 0%, transparent 100%);
    pointer-events: none;
}

/* ---- Top meta bar ---- */
.sv-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sv-live-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: svPulse 2s ease-in-out infinite;
}

.sv-live-label {
    font-size: 10.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.sv-count-pill {
    margin-left: auto;
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.22);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #ff8a5c;
    letter-spacing: 0.4px;
}

.sv-hint {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    margin-bottom: 14px;
    letter-spacing: 0.1px;
}

/* ---- Card list ---- */
.sv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---- Individual card ---- */
.sv-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 14px 14px 14px 16px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(.34,1.56,.64,1),
                background 0.22s ease,
                border-color 0.22s ease,
                box-shadow 0.22s ease;
    animation: svSlideUp 0.38s ease both;
    -webkit-tap-highlight-color: transparent;
}

.sv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.1) 50%, transparent 90%);
}

/* Left accent bar */
.sv-card::after {
    content: '';
    position: absolute;
    top: 14px; bottom: 14px; left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #4ade80, #22c55e);
    box-shadow: 0 0 10px rgba(74,222,128,0.5);
    transition: width 0.2s ease, box-shadow 0.2s ease;
}

.sv-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.13);
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 10px 36px rgba(0,0,0,0.45);
}

.sv-card:hover::after {
    width: 4px;
    box-shadow: 0 0 20px rgba(74,222,128,0.8);
}

.sv-card:active {
    transform: scale(0.985);
}

/* Featured (first) card */
.sv-card-featured {
    background: rgba(255,107,53,0.07);
    border-color: rgba(255,107,53,0.28);
    animation: svGlow 2.8s ease-in-out infinite, svSlideUp 0.38s ease both;
}

.sv-card-featured::after {
    background: linear-gradient(180deg, #ff6b35, #ff4500);
    box-shadow: 0 0 14px rgba(255,69,0,0.65);
}

.sv-card-featured:hover {
    background: rgba(255,107,53,0.1);
    border-color: rgba(255,107,53,0.42);
}

/* ---- Number badge ---- */
.sv-num {
    width: 42px; height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cccccc;
    letter-spacing: -0.5px;
    transition: all 0.22s ease;
}

.sv-card-featured .sv-num {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(255,69,0,0.45);
}

.sv-card:hover .sv-num {
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

/* Online dot on number badge */
.sv-online {
    position: absolute;
    bottom: -3px; right: -3px;
    width: 10px; height: 10px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid #08080c;
    box-shadow: 0 0 8px rgba(74,222,128,0.7);
}

/* ---- Center content ---- */
.sv-body {
    flex: 1;
    min-width: 0;
}

.sv-name {
    font-size: 14px;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
}

.sv-tags {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.sv-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 700;
    color: #808080;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.sv-tag-quality {
    background: linear-gradient(90deg, rgba(255,107,53,0.2) 0%, rgba(255,100,50,0.1) 100%);
    border: 1px solid rgba(255,107,53,0.3);
    color: #ff8a5c;
    background-size: 200% auto;
    animation: svShimmer 3.5s linear infinite;
}

/* Ping badge */
.sv-ping {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}
.sv-ping-fast   { color: #4ade80; background: rgba(74,222,128,0.1);  border: 1px solid rgba(74,222,128,0.2);  }
.sv-ping-medium { color: #facc15; background: rgba(250,204,21,0.1);  border: 1px solid rgba(250,204,21,0.2);  }
.sv-ping-slow   { color: #f87171; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2); }

/* ---- Waveform bars ---- */
.sv-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    margin-top: 6px;
}

.sv-wave span {
    width: 3px;
    border-radius: 2px;
    background: #4ade80;
    opacity: 0.75;
    animation: svWave 1.2s ease-in-out infinite;
}

.sv-wave span:nth-child(1) { height: 4px;  animation-delay: 0s;    }
.sv-wave span:nth-child(2) { height: 9px;  animation-delay: 0.18s; }
.sv-wave span:nth-child(3) { height: 14px; animation-delay: 0.36s; }
.sv-wave span:nth-child(4) { height: 9px;  animation-delay: 0.54s; }
.sv-wave span:nth-child(5) { height: 4px;  animation-delay: 0.72s; }

.sv-card-featured .sv-wave span { background: #ff8a5c; }

/* ---- Play button ---- */
.sv-play {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    transition: all 0.22s cubic-bezier(.34,1.56,.64,1);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #606060;
}

.sv-card-featured .sv-play {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4000 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(255,69,0,0.55);
}

.sv-card:hover .sv-play {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4000 100%);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(255,69,0,0.55);
}

.sv-copy {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #555;
    cursor: pointer;
    margin-right: 6px;
}

.sv-copy:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #ccc;
    transform: scale(1.1);
}

.sv-copy.copied {
    background: rgba(74,222,128,0.15);
    border-color: rgba(74,222,128,0.35);
    color: #4ade80;
}

/* ---- Footer ---- */
.sv-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sv-footer-waves {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.sv-footer-waves span {
    width: 3px;
    border-radius: 2px;
    background: #4ade80;
    opacity: 0.8;
    animation: svWave 1.6s ease-in-out infinite;
}
.sv-footer-waves span:nth-child(1) { height: 4px;  animation-delay: 0s;    }
.sv-footer-waves span:nth-child(2) { height: 8px;  animation-delay: 0.2s;  }
.sv-footer-waves span:nth-child(3) { height: 12px; animation-delay: 0.4s;  }
.sv-footer-waves span:nth-child(4) { height: 8px;  animation-delay: 0.6s;  }

.sv-footer-text {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---- Empty state ---- */
.sv-empty {
    text-align: center;
    padding: 44px 20px 20px;
}

.sv-empty-icon {
    font-size: 38px;
    color: rgba(255,255,255,0.12);
    margin-bottom: 14px;
}

.sv-empty-text {
    font-size: 13px;
    color: rgba(255,255,255,0.28);
    line-height: 1.5;
}

/* Legacy aliases kept so nothing else breaks */
.server-selector-creative { display: contents; }
.server-grid-creative { display: contents; }
.server-node-card { display: none; }
.node-edge,.node-scan,.node-content,.node-visual,
.node-icon-wrapper,.node-num-badge,.node-online-dot,
.node-latency,.node-info,.node-name,.node-meta,
.node-provider-tag,.node-quality-tag,.node-action,
.node-connect-btn { display:none; }
.server-terminal-footer { display: none; }
.signal-bars { display: none; }
.terminal-text { display: none; }
.pulse-icon { display: none; }
.server-header-creative { display: none; }
.server-title-group { display: none; }
.server-label { display: none; }
.server-count-badge { display: none; }
.server-subtitle-creative { display: none; }

/* Resto de estilos */
/* Standings and Results Tabs */
.standings-tabs {
    display: flex;
    gap: 10px;
    margin: 0 15px 15px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.standings-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.standings-tab i {
    font-size: 14px;
}

.standings-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.results-container {
    padding: 0 15px;
}

.result-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.result-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.result-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.result-team img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.result-team span {
    font-size: 13px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-score {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(255, 69, 0, 0.1);
    padding: 5px 15px;
    border-radius: 10px;
    min-width: 70px;
    text-align: center;
}

.results-date-group {
    margin-bottom: 30px;
}

.results-date-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 10px;
    border: 1px dashed var(--primary);
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.results-date-header span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.league-results-section {
    margin-bottom: 25px;
}

.league-results-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
    text-transform: uppercase;
}

.result-card.live {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
}

.result-card.live .result-score {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.result-card.live .status-badge {
    color: #4ade80;
    font-weight: 800;
}

.result-card .status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--gradient);
    min-height: 100vh;
    padding-bottom: 92px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    padding-top: max(15px, calc(15px + env(safe-area-inset-top)));
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-badge {
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Contador de Usuarios en Vivo */
.online-counter {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Luckiest Guy', cursive, system-ui;
    font-size: 14px;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
    cursor: default;
    user-select: none;
    transition: all 0.3s ease;
}

.online-dot-mini {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseOnline 2s infinite;
    box-shadow: 0 0 8px #4ade80;
}

@keyframes pulseOnline {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Reloj Tipo Caricatura */
.cartoon-clock {
    font-family: 'Luckiest Guy', cursive, system-ui;
    font-size: 18px; /* Reducido de 24px */
    color: #ffffff;
    text-shadow: 
        2px 2px 0px #FF4500, /* Sombra más pequeña */
        -1px -1px 0px #000,  
         1px -1px 0px #000,
        -1px  1px 0px #000,
         1px  1px 0px #000;
    padding: 2px 8px; /* Padding más compacto */
    display: inline-block;
    letter-spacing: 1px;
    transform: rotate(-2deg);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: clockWobble 3s ease-in-out infinite;
    user-select: none;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0; /* Evita que se encoja demasiado */
}

/* Ajuste para que el logo no empuje los botones */
.app-logo {
    height: 40px; /* Reducido de 50px */
    width: auto;
    max-width: 100px; /* Límite para pantallas pequeñas */
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 69, 0, 0.3));
}

/* Header más flexible */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px; /* Padding más reducido */
    padding-top: max(10px, calc(10px + env(safe-area-inset-top)));
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 5px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 4px; /* Espacio reducido entre botones */
    flex-shrink: 0;
}

@keyframes clockWobble {
    0%, 100% { transform: rotate(-2deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.05); }
}

/* Estilos de Donación */
.donation-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 15px !important;
    background: rgba(255, 69, 0, 0.05) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 69, 0, 0.2) !important;
    margin-bottom: 15px !important;
}

.donation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
}

/* Estilos de Donación Profesional */
.donation-section {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px !important;
    background: linear-gradient(145deg, rgba(255, 69, 0, 0.1), rgba(0, 0, 0, 0.4)) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 69, 0, 0.3) !important;
    margin-bottom: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.donation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #ff4500;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.donation-hint {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Tarjeta Bancaria Realista y Creativa */
.real-credit-card {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.real-credit-card:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.5);
}

.card-glass-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    transition: 0.6s;
}

.real-credit-card:hover .card-glass-effect {
    left: 50%;
}

.card-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
}

.card-logo {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #ff4500;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-number {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 20px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.card-holder {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.card-expiry {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 10px;
    color: #888;
    text-align: right;
    line-height: 1.2;
}

.card-tap-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 69, 0, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.real-credit-card:hover .card-tap-hint {
    opacity: 1;
    transform: translateY(0);
}

.card-tap-hint i {
    font-size: 12px;
}

#paypal-button-container-settings {
    width: 100%;
    min-height: 45px;
}

.app-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.app-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 69, 0, 0.3));
}

.icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 69, 0, 0.3);
    transform: scale(1.05);
}

/* Contenedor del carrusel de partidos destacados */
.featured-match-container {
    position: relative;
    margin: 15px;
}

/* Carrusel de partidos */
.featured-carousel {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
}

/* Cada partido en el carrusel */
.featured-match {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    border-radius: 20px;
    overflow: hidden;
}

.featured-match.active {
    opacity: 1;
    visibility: visible;
}

/* Botones de navegación del carrusel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(140, 140, 150, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.70);
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-nav:hover {
    background: rgba(180, 180, 190, 0.28);
    border-color: rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-50%) scale(1.08);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.94);
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.carousel-prev {
    left: 12px;
    top: 65%;
}

.carousel-next {
    right: 12px;
    top: 65%;
}

.carousel-nav i {
    font-size: 11px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

.match-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.68) 100%);
    z-index: 1;
}

.match-score {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    white-space: nowrap;
}

.carousel-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.carousel-team-name {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.90);
    text-shadow:
        0 1px 10px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.6);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.team-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    padding: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 0 4px rgba(255, 255, 255, 0.05);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.score-display {
    position: relative;
    background: rgba(0, 0, 0, 0.82);
    padding: 12px 18px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 102, 0, 0.58);
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 0 32px rgba(255, 102, 0, 0.26),
        0 8px 30px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.32);
}

/* shimmer naranja en la parte superior */
.score-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 102, 0, 0.55),
        transparent);
}

.score-num {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    min-width: 28px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    text-shadow:
        0 0 22px rgba(255, 102, 0, 0.48),
        0 2px 8px rgba(0, 0, 0, 0.65);
    line-height: 1;
}

.score-sep {
    display: flex;
    align-items: center;
    padding: 0 10px;
    padding-bottom: 4px;
}

.score-sep span {
    font-size: 26px;
    font-weight: 300;
    color: rgba(255, 102, 0, 0.82);
    line-height: 1;
    text-shadow: 0 0 12px rgba(255, 102, 0, 0.40);
}

/* mantener compatibilidad con .score antiguo */
.score {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 4px;
    white-space: nowrap;
    text-shadow:
        0 0 20px rgba(255, 102, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.6);
}

.match-info {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: center;
}

.match-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.93);
    margin-bottom: 12px;
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.6);
}

.match-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.play-badge-icon {
    background: rgba(255, 30, 30, 0.9) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: playPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 30, 30, 0.6);
}

.play-badge-icon:hover {
    background: rgba(255, 50, 50, 1) !important;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 30, 30, 0.9);
}

.play-badge-icon:active {
    transform: scale(0.95);
}

.play-badge-icon i {
    font-size: 12px;
    margin-left: 2px;
}

@keyframes playPulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(255, 30, 30, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 30, 30, 0.9);
        transform: scale(1.05);
    }
}

.live-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.96) 0%, rgba(185, 20, 20, 0.92) 100%);
    border: 1px solid rgba(255, 100, 100, 0.35);
    padding: 7px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 18px rgba(220, 38, 38, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(255, 69, 0, 0); }
}

.tabs-container {
    padding: 20px 15px 10px;
}

.tabs {
    display: flex;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 5px;
    gap: 5px;
}

.tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.content-container {
    padding: 0 15px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.matches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.match-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.match-card-bg {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.match-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 26, 0.9) 100%);
}

.match-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-card-content {
    padding: 12px;
}

.teams {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.team-badge {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.team span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.match-score-mini {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.match-time {
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.watch-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    padding: 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background: var(--accent);
    transform: scale(1.02);
}

/* ── LEAGUE SELECTOR BAR ── */
.league-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(12,12,16,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 7px 12px;
    position: sticky;
    top: 60px;
    z-index: 90;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.league-bar::-webkit-scrollbar {
    display: none;
}

.lbar-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.lbar-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
}

.lbar-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lbar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.lbar-btn span {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.lbar-btn.active {
    background: rgba(255,69,0,0.18);
    border-color: rgba(255,69,0,0.55);
    box-shadow: 0 0 12px rgba(255,69,0,0.2);
}

.lbar-btn.active .lbar-logo {
    box-shadow: 0 0 8px rgba(255,69,0,0.6);
}

.lbar-btn.active span {
    color: #FF6B35;
}

.leagues-section {
    padding: 25px 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}

.crown-btn {
    background: transparent;
    border: none;
    color: #FFD700;
    font-size: 18px;
    cursor: pointer;
}

.leagues-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.leagues-container::-webkit-scrollbar {
    display: none;
}

.league-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.league-btn:hover {
    transform: scale(1.1);
}

.league-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff !important;
}

.league-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.league-btn.active .league-icon {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
    transform: scale(1.1);
}

.league-btn span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.news-section {
    padding: 25px 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.news-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.news-content {
    padding: 12px;
}

.news-content h4 {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}

.streaming-section {
    padding: 25px 15px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
    letter-spacing: 1px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.channel-card-mini {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.channel-card-mini:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.channel-icon-mini {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.channel-card-mini h4 {
    font-size: 13px;
    margin-bottom: 8px;
}

.status-live-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

.status-live-mini .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* ── BOTTOM NAV — Premium Glass Island ── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 430px;
    width: calc(100% - 24px);

    /* Floating glass island */
    background: rgba(16, 16, 20, 0.65);
    backdrop-filter: blur(48px) saturate(180%) brightness(1.08);
    -webkit-backdrop-filter: blur(48px) saturate(180%) brightness(1.08);

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 8px 8px;

    /* Float above bottom edge */
    margin-bottom: calc(12px + env(safe-area-inset-bottom));
    border-radius: 26px;

    /* Glass border system */
    border: 1px solid rgba(255, 255, 255, 0.10);

    /* Layered depth shadows */
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        inset 1px 0 0 rgba(255, 255, 255, 0.04),
        inset -1px 0 0 rgba(255, 255, 255, 0.04),
        0 4px 24px rgba(0, 0, 0, 0.55),
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04);

    z-index: 1000;
}

/* Frosted glass shimmer top line */
.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.22) 30%,
        rgba(255,255,255,0.38) 50%,
        rgba(255,255,255,0.22) 70%,
        transparent
    );
    border-radius: 1px;
    pointer-events: none;
}

/* Subtle white ambient glow */
.bottom-nav::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 36px;
    background: radial-gradient(ellipse, rgba(200,200,220,0.10) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    animation: navAmbient 3s ease-in-out infinite;
}

@keyframes navAmbient {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.9); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

/* ── NAV BUTTONS ── */
.nav-btn {
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 10px 12px;
    border-radius: 18px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    flex: 1;
    max-width: 76px;
    will-change: transform;
    overflow: hidden;
    transition:
        background 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        gap 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        max-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-btn.active {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(180, 180, 200, 0.07) 100%
    );
    border-color: rgba(255, 255, 255, 0.18);
    padding: 10px 16px;
    gap: 7px;
    max-width: 140px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.20),
        0 0 18px rgba(255, 255, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.30);
}

/* ── ICON WRAPPER ── */
.nav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav-icon-wrap i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.32);
    transition:
        color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease;
    display: block;
    will-change: transform, filter;
}

.nav-btn.active .nav-icon-wrap i {
    color: #ffffff;
    transform: scale(1.15);
    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.40))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

/* ── LABEL ── */
.nav-label {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    letter-spacing: 0.2px;
    transition:
        max-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.28s ease;
    pointer-events: none;
}

.nav-btn.active .nav-label {
    max-width: 90px;
    opacity: 1;
}

/* ── RIPPLE on tap ── */
.nav-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.nav-btn.nav-tap::after {
    animation: navRipple 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes navRipple {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ── BOUNCE on tap ── */
@keyframes navBounce {
    0%   { transform: scale(1); }
    25%  { transform: scale(0.88); }
    55%  { transform: scale(1.10); }
    75%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}

.nav-btn.is-bouncing {
    animation: navBounce 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* search-icon color override */
.search-icon { color: inherit !important; }

/* ============================================
   REPRODUCTOR FULLSCREEN - DISEÑO INMERSIVO
   ============================================ */

.player-modal-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 2000;
    flex-direction: column;
    overflow-y: auto;
}

.player-modal-fullscreen.active {
    display: flex;
}

.player-video-container {
    position: relative;
    width: 100%;
    min-height: 56.25vw;
    max-height: 70vh;
    background: #000;
    flex-shrink: 0;
}

.player-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-video-container .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Overlay superior con título y controles */
.player-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
}

.player-overlay-top > * {
    pointer-events: auto;
}

.player-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.player-back-btn:hover {
    background: rgba(255, 69, 0, 0.8);
    transform: scale(1.1);
}

.player-title-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.player-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.player-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.player-close-btn:hover {
    background: rgba(255, 69, 0, 0.8);
    transform: rotate(90deg) scale(1.1);
}

/* Controles inferiores del video */
.player-overlay-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 20;
    pointer-events: none;
}

.player-overlay-controls > * {
    pointer-events: auto;
}

.player-controls-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.player-control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
}

.player-control-btn i {
    font-size: 18px;
}

.player-control-btn span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-control-btn:hover {
    background: rgba(255, 69, 0, 0.6);
    border-color: rgba(255, 69, 0, 0.8);
    transform: translateY(-2px);
}

.player-control-btn.radio-btn:hover {
    background: rgba(233, 69, 96, 0.6);
    border-color: rgba(233, 69, 96, 0.8);
}

.player-control-btn.radio-btn.active {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.5);
    animation: radioPulse 2s ease-in-out infinite;
}

/* Radio button locked (stream not started yet) */
.player-control-btn.radio-btn.radio-locked {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.player-control-btn.fullscreen-btn:hover {
    background: rgba(46, 204, 113, 0.6);
    border-color: rgba(46, 204, 113, 0.8);
}

/* Stream play overlay */
.stream-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(20,20,40,0.88) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 50;
    cursor: pointer;
    transition: opacity 0.35s ease;
}

.stream-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.stream-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6600 0%, #ff8c42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    animation: playPulse 2s ease-in-out infinite;
    transition: transform 0.15s ease;
}

.stream-play-btn i {
    font-size: 30px;
    color: #fff;
    margin-left: 5px;
}

.stream-play-overlay:active .stream-play-btn {
    transform: scale(0.92);
}

.stream-play-label {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    margin: 0;
}

@keyframes playPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
    50%  { box-shadow: 0 0 0 18px rgba(255, 102, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* Sección de estadísticas debajo del video */
.player-stats-section {
    flex: 1;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    padding: 0;
    overflow-y: auto;
}

.player-stats-section::-webkit-scrollbar {
    width: 4px;
}

.player-stats-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.player-stats-section::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.player-stats-section .match-stats-section {
    margin: 0;
    padding: 16px;
    border-top: none;
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .player-video-container {
        min-height: 56.25vw;
        max-height: 50vh;
    }
    
    .player-overlay-top {
        padding: 8px 12px;
    }
    
    .player-back-btn,
    .player-close-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .player-title {
        font-size: 12px;
    }
    
    .player-live-badge {
        font-size: 9px;
        padding: 3px 10px;
    }
    
    .player-control-btn {
        padding: 8px 12px;
        min-width: 60px;
    }
    
    .player-control-btn i {
        font-size: 16px;
    }
    
    .player-control-btn span {
        font-size: 9px;
    }
}

/* Animación de entrada */
@keyframes playerSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.player-modal-fullscreen.active .player-video-container {
    animation: playerSlideIn 0.3s ease;
}

.modal-body {
    position: relative;
    height: 500px;
    background: black;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#modalIframe {
    width: 100%;
    height: 100%;
}

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

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

/* Container para estadísticas en el modal del reproductor */
.modal-stats-container {
    max-height: 350px;
    overflow-y: auto;
    padding: 0 15px 15px;
    background: rgba(0, 0, 0, 0.2);
    contain: content;
    -webkit-overflow-scrolling: touch;
}

.modal-stats-container::-webkit-scrollbar {
    width: 4px;
}

.modal-stats-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.modal-stats-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.modal-stats-container .match-stats-section {
    margin-top: 10px;
    border-top: none;
    padding-top: 10px;
}

.modal-stats-container .stats-header {
    margin-bottom: 15px;
}

.modal-stats-container .stats-teams-header {
    padding: 12px;
}

.modal-stats-container .stats-team-logo {
    width: 40px;
    height: 40px;
}

.modal-stats-container .stats-score-display {
    font-size: 24px;
    padding: 6px 16px;
}

@media (max-width: 480px) {
    .modal-stats-container {
        max-height: 280px;
        padding: 0 10px 10px;
    }
    
    .modal-stats-container .stats-team-logo {
        width: 32px;
        height: 32px;
    }
    
    .modal-stats-container .stats-score-display {
        font-size: 20px;
        padding: 5px 12px;
    }
    
    .modal-stats-container .stats-team-name {
        font-size: 10px;
    }
}

.modal-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.modal-action-btn:hover::before {
    width: 100px;
    height: 100px;
}

.modal-action-btn:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.modal-action-btn:active {
    transform: translateY(0);
}

.modal-action-btn i {
    position: relative;
    z-index: 1;
}

.modal-share {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(238, 90, 111, 0.15));
    border-color: rgba(255, 107, 107, 0.3);
}

.modal-share:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(238, 90, 111, 0.3));
    border-color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.modal-chat-btn {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(126, 34, 206, 0.15));
    border-color: rgba(147, 51, 234, 0.3);
}

.modal-chat-btn:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(126, 34, 206, 0.3));
    border-color: #9333ea;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.5);
}

.modal-radio-btn {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(255, 107, 107, 0.15));
    border-color: rgba(233, 69, 96, 0.3);
    transition: all 0.3s ease;
}

.modal-radio-btn:hover {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.3), rgba(255, 107, 107, 0.3));
    border-color: #e94560;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.5);
}

.modal-radio-btn.active {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%) !important;
    border-color: #ff6b6b;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.6);
    animation: radioPulse 2s ease-in-out infinite;
}

.modal-radio-btn.active i {
    color: #fff;
    animation: radioWave 1s ease-in-out infinite;
}

@keyframes radioPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(233, 69, 96, 0.6);
    }
    50% {
        box-shadow: 0 4px 30px rgba(233, 69, 96, 0.9);
    }
}

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

.modal-primary-btn {
    background: linear-gradient(135deg, #00ff41 0%, #00b32d 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.modal-primary-btn:hover::before {
    left: 100%;
}

.modal-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 65, 0.4);
    background: linear-gradient(135deg, #00b32d 0%, #00ff41 100%);
}

.modal-primary-btn:active {
    transform: translateY(0);
}

.modal-primary-btn i {
    font-size: 13px;
}

.modal-primary-btn span {
    position: relative;
    z-index: 1;
}

.settings-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    z-index: 2000;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-panel.active {
    right: 0;
}

.settings-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255, 255, 255, 0.06);
}

.settings-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.12), rgba(255, 100, 20, 0.06));
}

.settings-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-header-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #ff7a30);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.settings-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: 0.3px;
}

.settings-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-top: 1px;
}

.settings-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.settings-close-btn:hover {
    background: rgba(255, 69, 0, 0.3);
    border-color: var(--primary);
}

.settings-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.settings-body::-webkit-scrollbar {
    width: 3px;
}

.settings-body::-webkit-scrollbar-track {
    background: transparent;
}

.settings-body::-webkit-scrollbar-thumb {
    background: rgba(255, 69, 0, 0.4);
    border-radius: 2px;
}

.settings-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 14px 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.settings-section-label i {
    color: var(--primary);
    font-size: 11px;
}

/* Tarjetas de canales en settings */
.settings-channels-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.settings-channel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-channel-card:hover {
    background: rgba(255, 69, 0, 0.12);
    border-color: rgba(255, 69, 0, 0.35);
    transform: translateX(-2px);
}

.settings-channel-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #ff7a30);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.settings-channel-icon.cinenova {
    background: linear-gradient(135deg, #6a11cb, #a855f7);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.4);
}

.settings-channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.settings-channel-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.settings-channel-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.settings-channel-badge.live {
    color: #22c55e;
}

.settings-channel-badge.cinenova-badge {
    color: #a855f7;
}

.settings-channel-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    flex-shrink: 0;
}

/* Items glass */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    margin-bottom: 6px;
    border-bottom: none;
    border-radius: 12px;
}

.glass-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease;
}

.glass-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.setting-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255, 69, 0, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
}

.glass-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), #ff7a30);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.35);
}

.glass-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 69, 0, 0.5);
}

.glass-donation {
    background: rgba(255, 69, 0, 0.06);
    border: 1px solid rgba(255, 69, 0, 0.18);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 4px;
}

.glass-danger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 10px;
    color: #ff6b78;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.glass-danger-btn:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.6);
}

.setting-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Botón Eliminar Caché */
.setting-item-btn {
    justify-content: center;
    margin-top: 15px;
    padding-top: 20px;
}

.clear-cache-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.clear-cache-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.clear-cache-btn:active {
    transform: translateY(0);
}

.clear-cache-btn i {
    font-size: 16px;
}

/* Sección Código Promocional */
.promo-code-section {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    padding: 20px 0;
    border-bottom: none;
}

.promo-code-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
}

.promo-code-header i {
    color: var(--primary);
    font-size: 18px;
}

.promo-code-status {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.promo-code-status .promo-status-text {
    color: var(--text-muted);
    font-size: 13px;
}

.promo-code-status.active {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 200, 50, 0.05));
    border-color: rgba(0, 255, 65, 0.3);
}

.promo-code-status .promo-active {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00ff41;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.promo-code-status .promo-active i {
    font-size: 16px;
}

.promo-code-status .promo-expires {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.promo-code-status .promo-expires i {
    font-size: 12px;
    color: #ffc107;
}

.promo-code-input-wrapper {
    display: flex;
    gap: 10px;
}

.promo-code-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.promo-code-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.promo-code-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-muted);
}

.promo-code-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-code-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.promo-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.promo-code-hint {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 5px;
}

/* Notificación Código Promocional */
.promo-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 90%;
}

.promo-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.promo-notification.success {
    border-color: rgba(0, 255, 65, 0.3);
}

.promo-notification.success i {
    color: #00ff41;
}

.promo-notification.error {
    border-color: rgba(255, 69, 0, 0.3);
}

.promo-notification.error i {
    color: #ff4500;
}

.promo-notification span {
    color: var(--text);
    font-size: 14px;
}

/* Ocultar anuncios cuando está activo el código */
body.ads-hidden .adsbygoogle,
body.ads-hidden [data-ad-slot],
body.ads-hidden ins.adsbygoogle,
body.ads-hidden [id^="ad-"],
body.ads-hidden div[id^="container-"],
body.ads-hidden .social-bar,
body.ads-hidden [class*="social-bar"],
body.ads-hidden div[style*="z-index: 2147483647"],
body.ads-hidden div[style*="position: fixed"][style*="bottom: 0"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Modal de Confirmación Eliminar Caché */
.clear-cache-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.clear-cache-modal.active {
    display: flex;
}

.clear-cache-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.clear-cache-container {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 20px;
    padding: 30px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.clear-cache-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-cache-icon i {
    font-size: 32px;
    color: #ffc107;
}

.clear-cache-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.clear-cache-message {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 25px;
}

.clear-cache-buttons {
    display: flex;
    gap: 12px;
}

.clear-cache-cancel,
.clear-cache-confirm {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-cache-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.clear-cache-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.clear-cache-confirm {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.clear-cache-confirm:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
    }

    .bottom-nav {
        max-width: 100%;
    }
}

/* ══════════════════════════════════════════════
   VISTOS RECIENTEMENTE
   ══════════════════════════════════════════════ */

.recientes-section {
    padding: 14px 14px 4px;
    margin-top: 6px;
}

.recientes-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.recientes-icon {
    color: #ff6b35;
    font-size: 14px;
}

.recientes-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex: 1;
}

.recientes-clear {
    background: none;
    border: none;
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.recientes-clear:hover {
    color: #f87171;
    background: rgba(248,113,113,0.1);
}

.recientes-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.recientes-track::-webkit-scrollbar { display: none; }

.rc-card {
    flex: 0 0 155px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 12px 12px 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.rc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff4000);
    opacity: 0;
    transition: opacity 0.2s;
}

.rc-card:hover {
    background: rgba(255,107,53,0.1);
    border-color: rgba(255,107,53,0.3);
    transform: translateY(-2px);
}

.rc-card:hover::before { opacity: 1; }

.rc-match {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.rc-channel {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.rc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-time {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
}

.rc-play {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff4000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(255,69,0,0.4);
    transition: transform 0.18s, box-shadow 0.18s;
}

.rc-card:hover .rc-play {
    transform: scale(1.15);
    box-shadow: 0 5px 16px rgba(255,69,0,0.6);
}

/* ══════════════════════════════════════════════
   TABLA DE POSICIONES — Premium Redesign
   ══════════════════════════════════════════════ */

.standings-section {
    padding: 0 14px 20px;
    margin-top: 10px;
}

/* Section header */
.standings-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.standings-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.standings-section-title .trophy-icon {
    font-size: 16px;
}

/* Tabs */
.standings-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
    padding: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.standings-tab {
    flex: 1;
    padding: 9px 8px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 700;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.standings-tab i { font-size: 12px; }

.standings-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255,69,0,0.35);
}

/* Loading / error */
.standings-loading {
    text-align: center;
    padding: 36px 20px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.standings-spinner {
    width: 28px;
    height: 28px;
    border: 2.5px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: standingsSpin 0.75s linear infinite;
}

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

/* Table wrapper */
.standings-table {
    background: rgba(18, 18, 22, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
}

/* Table column header row */
.standings-col-header {
    display: grid;
    grid-template-columns: 42px 1fr 34px 34px 34px 44px;
    gap: 0;
    padding: 9px 14px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.standings-col-header .sh-team { text-align: left; }
.standings-col-header .sh-num  { text-align: center; }

/* Row */
.standings-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr 34px 34px 34px 44px;
    gap: 0;
    padding: 10px 14px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
    overflow: hidden;
    animation: rowSlideIn 0.35s ease-out both;
}

.standings-row:last-child { border-bottom: none; }

.standings-row:hover {
    background: rgba(255,255,255,0.04);
}

/* Zone left-border accent */
.standings-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 0 2px 2px 0;
}

.zona-lider::before            { background: linear-gradient(180deg,#f5b942,#e8a020); }
.zona-calificacion-directa::before { background: linear-gradient(180deg,#22d3a0,#16b885); }
.zona-repechaje::before        { background: linear-gradient(180deg,#ff9500,#e07800); }
.zona-media::before            { background: transparent; }
.zona-descenso::before         { background: linear-gradient(180deg,#ff4757,#d63043); }

/* Zone separator */
.standings-zone-sep {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.standings-zone-line {
    flex: 1;
    height: 1px;
}

.standings-zone-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

.sep-playin  .standings-zone-line  { background: rgba(255,149,0,0.3); }
.sep-playin  .standings-zone-label { color: #ff9500; background: rgba(255,149,0,0.12); }
.sep-elim    .standings-zone-line  { background: rgba(255,255,255,0.08); }
.sep-elim    .standings-zone-label { color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }

/* Pos badge */
.pos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pos-number {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    transition: all 0.2s;
}

.zona-lider .pos-number {
    background: linear-gradient(135deg,#f5b942,#e8a020);
    color: #0d0d0d;
    box-shadow: 0 3px 10px rgba(245,185,66,0.4);
}

.zona-calificacion-directa .pos-number {
    background: linear-gradient(135deg,#22d3a0,#16b885);
    color: #fff;
    box-shadow: 0 3px 10px rgba(34,211,160,0.35);
}

.zona-repechaje .pos-number {
    background: linear-gradient(135deg,#ff9500,#e07800);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255,149,0,0.35);
}

.zona-descenso .pos-number {
    background: linear-gradient(135deg,#ff4757,#d63043);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255,71,87,0.3);
}

/* Team cell */
.team-cell {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding-left: 4px;
}

.team-logo-small {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.team-logo-placeholder {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg,#374151,#4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
}

.team-info-standings { overflow: hidden; }

.team-name-standings {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.92);
    line-height: 1.2;
}

.zona-lider .team-name-standings { color: #f5b942; }

/* Form dots */
.standings-form {
    display: flex;
    gap: 2px;
    margin-top: 3px;
}

.form-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.form-dot.W { background: #22d3a0; }
.form-dot.D { background: rgba(255,255,255,0.3); }
.form-dot.L { background: #ff4757; }

/* Stat columns */
.stat {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Points */
.stat.points {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    background: rgba(255,255,255,0.08);
    padding: 5px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    margin: -2px 0;
}

.zona-lider .stat.points {
    color: #f5b942;
    background: rgba(245,185,66,0.12);
    border-color: rgba(245,185,66,0.3);
    box-shadow: 0 2px 8px rgba(245,185,66,0.15);
}

.zona-calificacion-directa .stat.points {
    color: #22d3a0;
    background: rgba(34,211,160,0.1);
    border-color: rgba(34,211,160,0.25);
}

.zona-repechaje .stat.points {
    color: #ff9500;
    background: rgba(255,149,0,0.1);
    border-color: rgba(255,149,0,0.25);
}

/* Legend */
.standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    padding: 0 2px;
}

.standings-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.legend-dot-s {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Row animation */
@keyframes rowSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Results container */
.results-container { padding: 0; }

.standings-pos    { font-weight: 600; color: var(--primary); }
.standings-team   { display: flex; align-items: center; gap: 10px; }
.standings-team-logo { width: 24px; height: 24px; object-fit: contain; }
.standings-team-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standings-stat   { text-align: center; font-size: 13px; }
.standings-pts    { font-weight: 700; color: var(--primary); }

.standings-info-message {
    background: rgba(255,69,0,0.15);
    border-left: 3px solid var(--primary);
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.standings-info-message i { color: var(--primary); font-size: 16px; }

.news-loading {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.news-modal.active {
    display: flex;
}

.news-modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.news-modal-header h3 {
    font-size: 18px;
    color: var(--text);
    margin: 0;
}

.close-news-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.close-news-modal:hover {
    background: rgba(255, 69, 0, 0.3);
    transform: rotate(90deg);
}

.news-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.news-modal-body img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.news-modal-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.news-modal-text p {
    margin-bottom: 12px;
}

.league-btn.locked {
    opacity: 0.6;
}

.league-btn.locked .league-icon {
    opacity: 0.7;
}

.league-btn.locked:hover {
    transform: scale(1.05);
}

.news-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-card:active {
    transform: scale(0.98);
}

/* ===== PARTIDOS EN VIVO - DISEÑO REFINADO Y CREATIVO ===== */

.match-card-live {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(13, 13, 13, 0.98));
    border-radius: 16px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.match-card-live:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 
        0 16px 48px rgba(255, 69, 0, 0.25),
        0 0 0 1px rgba(255, 69, 0, 0.3);
}

.live-badge-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    box-shadow: 
        0 4px 16px rgba(255, 0, 0, 0.4),
        0 0 20px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.live-dot-pulse {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    animation: pulseGlow 1.5s ease-out infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.match-bg-wrapper {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.match-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(1.2);
    transition: all 0.6s ease;
}

.match-card-live:hover .match-bg-img {
    transform: scale(1.1);
    filter: brightness(0.7) saturate(1.4);
}

.match-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(13, 13, 13, 0.95) 100%
    );
}

.match-info-wrapper {
    padding: 14px;
    position: relative;
}

.match-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-time-badge i {
    font-size: 10px;
    opacity: 0.8;
}

.teams-vs-container {
    margin: 12px 0;
}

.team-name-live {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.vs-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
}

.vs-circle {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.vs-text {
    font-size: 10px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    padding: 0 4px;
}

.multi-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 107, 53, 0.2));
    border: 1px solid rgba(255, 69, 0, 0.4);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0;
}

.multi-channel-badge i {
    font-size: 9px;
}

.channel-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.channel-display i {
    color: var(--primary);
    font-size: 10px;
}

.btn-watch-live {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(255, 69, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-watch-live:hover .btn-glow {
    transform: translateX(100%);
}

.btn-watch-live:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 24px rgba(255, 69, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-watch-live:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(255, 69, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-watch-live i {
    font-size: 16px;
}

.btn-watch-live span {
    font-weight: 800;
}

/* ===== MODAL FLOTANTE ULTRACANALES ===== */

.live-channel-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.live-channel-modal.active {
    display: flex;
}

.live-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px) saturate(1.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(12px) saturate(1.2);
    }
}

.live-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 650px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 24px 64px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 69, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.live-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 69, 0, 0.12) 0%,
        rgba(255, 107, 53, 0.08) 100%
    );
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
    backdrop-filter: blur(10px);
}

.live-modal-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.live-modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-pulse-mini {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 
        0 0 0 0 rgba(255, 0, 0, 1),
        0 0 12px rgba(255, 0, 0, 0.8);
    animation: pulseMini 1.5s ease-out infinite;
}

@keyframes pulseMini {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7), 0 0 12px rgba(255, 0, 0, 0.8);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0), 0 0 12px rgba(255, 0, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0), 0 0 12px rgba(255, 0, 0, 0.8);
    }
}

.live-modal-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.channels-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.channels-info i {
    color: var(--primary);
    font-size: 10px;
}

.live-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.live-modal-close:hover {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border-color: #FF4500;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.4);
}

.live-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.live-modal-body {
    height: calc(100% - 76px);
    display: flex;
    flex-direction: column;
    background: #000;
}

.live-stream-container {
    flex: 1;
    position: relative;
    background: #000;
}

.live-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .live-modal-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }
    
    .live-modal-header {
        padding: 14px 16px;
    }
    
    .live-modal-title {
        font-size: 13px;
    }
    
    .channels-info {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .live-modal-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ========== Estilos para Información de Goles y Marcadores Mejorados ========== */

/* Información de goles en las tarjetas */
.goles-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    margin: 8px 0;
    font-size: 10px;
}

.goles-equipo {
    margin-bottom: 6px;
}

.goles-equipo:last-child {
    margin-bottom: 0;
}

.goles-equipo-nombre {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 11px;
}

.gol-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    margin: 2px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.gol-item i {
    color: var(--primary);
    font-size: 10px;
}

.gol-jugador {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
}

.gol-minuto {
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 9px;
}

/* Reloj del partido en las tarjetas */
.match-clock {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(76, 175, 80, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

/* Badge de EN VIVO en las tarjetas */
.live-badge-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e53935;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.4);
    animation: pulse 2s infinite;
}

.live-badge-corner .live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Tarjeta de partido en vivo */
.live-match-card {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.live-match-card:hover {
    border-color: rgba(76, 175, 80, 0.8);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* Badge de hora del partido */
.match-time-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 153, 0, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.4);
}

.match-time-badge i {
    font-size: 10px;
}

/* Hora en el featured match */
.match-time-display {
    background: rgba(255, 153, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.match-time-display i {
    font-size: 12px;
}

/* Texto VS mejorado */
.vs-text {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Información del estadio en tarjetas */
.match-venue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.match-venue i {
    font-size: 9px;
}

/* Botón secundario para partidos próximos */
.watch-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.watch-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Estilos para la tabla de posiciones */
.standings-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.standings-row {
    display: grid;
    grid-template-columns: 40px 1fr repeat(5, 45px);
    gap: 8px;
    padding: 12px 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.standings-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.standings-row.header-row {
    background: rgba(255, 69, 0, 0.2);
    font-weight: 700;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.standings-row.playoff-zone {
    border-left: 3px solid #4caf50;
}

.standings-row.relegation-zone {
    border-left: 3px solid #f44336;
}

.pos {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

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

.team-logo-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.team-name-standings {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.stat.points {
    font-weight: 700;
    color: var(--primary);
}

/* Estilos para noticias */
.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.news-image {
    height: 120px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 12px;
}

.news-content h4 {
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    font-size: 11px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal de noticias */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.news-modal.active {
    display: flex;
}

.news-modal-content {
    background: var(--secondary);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.news-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-modal-header h3 {
    font-size: 18px;
    color: var(--text);
}

.close-news-modal {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-news-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.news-modal-body {
    padding: 20px;
}

.news-modal-body img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.news-modal-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
}

/* Mensaje informativo para tabla */
.standings-info-message {
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.standings-info-message i {
    color: #ff9900;
    font-size: 14px;
}

/* Grid de noticias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Loading states */
.standings-loading,
.news-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Mejora para no-matches */
.no-matches {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .standings-row {
        grid-template-columns: 35px 1fr repeat(5, 40px);
        gap: 6px;
        padding: 10px 12px;
    }
    
    .team-logo-small {
        width: 20px;
        height: 20px;
    }
    
    .team-name-standings {
        font-size: 11px;
    }
    
    .stat {
        font-size: 11px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation keyframes for slideUp/Down */
@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Modal de Selección de Canales */
.channel-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2500;
    align-items: center;
    justify-content: center;
}

.channel-selector-modal.active {
    display: flex;
}

.channel-selector-content {
    width: 95%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--secondary);
    border-radius: 20px;
    overflow: hidden;
    animation: modalIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.channel-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.channel-selector-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    text-align: center;
    margin: 0 10px;
}

.close-channel-selector {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.close-channel-selector:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.channel-selector-body {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

.channel-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.channel-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.channel-number {
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
}

.channel-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.stream-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stream-option-btn {
    flex: 1;
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stream-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.stream-option-btn:active {
    transform: translateY(0);
}

.stream-option-btn i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .channel-selector-header h3 {
        font-size: 14px;
    }
    
    .channel-number {
        min-width: 50px;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .channel-name {
        font-size: 13px;
    }
    
    .stream-option-btn {
        min-width: 80px;
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ==================== MATCH STATISTICS SECTION ==================== */
.match-stats-section {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stats-header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.stats-header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Match Teams Header in Stats */
.stats-teams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.stats-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.stats-team-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    object-fit: contain;
}

.stats-team-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 15px;
}

.stats-score-display {
    font-size: 28px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 8px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.stats-match-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Statistics Bars Container */
.stats-bars-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-value {
    min-width: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.stat-value.home {
    text-align: right;
}

.stat-value.away {
    text-align: left;
}

.stat-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-bar-dual {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.stat-bar-home {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px 0 0 4px;
    transition: width 0.4s ease;
    will-change: width;
}

.stat-bar-away {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4 0%, #2ecc71 100%);
    border-radius: 0 4px 4px 0;
    transition: width 0.4s ease;
    will-change: width;
}

/* Match Events Timeline */
.match-events-section {
    margin-top: 20px;
}

.events-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.events-header i {
    color: var(--primary);
    font-size: 16px;
}

.events-header-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.events-timeline::-webkit-scrollbar {
    width: 4px;
}

.events-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.events-timeline::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(5px);
}

.event-item.home-event {
    border-left: 3px solid var(--primary);
}

.event-item.away-event {
    border-right: 3px solid #4ecdc4;
    flex-direction: row-reverse;
}

.event-minute {
    min-width: 40px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.event-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.event-icon.goal {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.event-icon.yellow-card {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #333;
}

.event-icon.red-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.event-icon.substitution {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.event-icon.var {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.event-icon.penalty {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-player {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.event-type {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.event-team-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

/* No Events Message */
.no-events-message {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
}

.no-events-message i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.no-events-message p {
    font-size: 13px;
}

/* Stats Toggle Tabs */
.stats-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.stats-tab {
    flex: 1;
    padding: 10px 15px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stats-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.stats-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.stats-tab i {
    font-size: 14px;
}

/* Stats Tab Content */
.stats-tab-content {
    display: none;
}

.stats-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Cards Summary */
.cards-summary {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 15px;
}

.cards-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cards-team-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cards-display {
    display: flex;
    gap: 12px;
}

.card-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.card-icon {
    width: 24px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.card-icon.yellow {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #333;
}

.card-icon.red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.card-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

/* Stats Loading */
.stats-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 15px;
}

.stats-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.stats-loading p {
    font-size: 13px;
    color: var(--text-muted);
}

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

/* Responsive Stats */
@media (max-width: 480px) {
    .stats-header-title {
        font-size: 14px;
    }
    
    .stats-team-logo {
        width: 35px;
        height: 35px;
    }
    
    .stats-team-name {
        font-size: 10px;
        max-width: 60px;
    }
    
    .stats-score-display {
        font-size: 22px;
        padding: 6px 15px;
    }
    
    .stat-value {
        font-size: 12px;
        min-width: 28px;
    }
    
    .event-item {
        padding: 8px 10px;
    }
    
    .event-minute {
        min-width: 35px;
        height: 28px;
        font-size: 11px;
    }
    
    .event-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .event-player {
        font-size: 12px;
    }
    
    .stats-tab {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .stats-tab i {
        font-size: 12px;
    }
}

/* ==================== QR CODE MODAL ==================== */
.channel-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

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

.qr-modal-btn,
.share-modal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 18px;
}

.qr-modal-btn:hover,
.share-modal-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.qr-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background: var(--secondary);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.qr-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.close-qr-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.close-qr-modal:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.qr-modal-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrCodeContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrCodeContainer img,
#qrCodeContainer canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.qr-info {
    text-align: center;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

.qr-modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.1);
}

.download-qr-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-qr-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.5);
}

.download-qr-btn:active {
    transform: translateY(0);
}

.download-qr-btn i {
    font-size: 16px;
}

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

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

@media (max-width: 480px) {
    .qr-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .qr-modal-header h3 {
        font-size: 16px;
    }
    
    .qr-container {
        padding: 15px;
    }
    
    .qr-info {
        font-size: 13px;
    }
}

/* ==================== MODO CLARO COMPLETO ==================== */
body.light-mode {
    --primary: #FF4500;
    --secondary: #f5f5f7;
    --dark: #ffffff;
    --gradient: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    --accent: #FF6B35;
    --text: #1a1a1a;
    --text-muted: #666666;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border: rgba(0, 0, 0, 0.1);
    background: #f0f0f5 !important;
}

body.light-mode .app-container {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

body.light-mode .app-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .score-badge {
    background: var(--primary);
    color: white;
}

body.light-mode .icon-btn {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .icon-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .featured-carousel-container {
    background: linear-gradient(135deg, #e8e8ed 0%, #d8d8dd 100%);
}

body.light-mode .featured-match {
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f5 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .match-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(240,240,245,0.95) 100%);
}

body.light-mode .match-title {
    color: #1a1a1a;
    text-shadow: none;
}

body.light-mode .score-display .score {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary);
}

body.light-mode .live-badge {
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

body.light-mode .carousel-prev,
body.light-mode .carousel-next {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .carousel-prev:hover,
body.light-mode .carousel-next:hover {
    background: white;
    color: var(--primary);
}

body.light-mode .tabs-container {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .tab {
    color: #666;
}

body.light-mode .tab.active {
    color: var(--primary);
    background: rgba(255, 69, 0, 0.1);
}

body.light-mode .match-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .match-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.15);
}

body.light-mode .match-card-bg::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
}

body.light-mode .team span {
    color: #333;
}

body.light-mode .vs-text {
    color: #666;
}

body.light-mode .match-venue {
    color: #888;
}

body.light-mode .watch-btn.secondary {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 69, 0, 0.3);
}

body.light-mode .watch-btn.secondary:hover {
    background: var(--primary);
    color: white;
}

body.light-mode .match-card-creative {
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .match-card-creative:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.15);
}

body.light-mode .match-card-creative .card-header::after {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
}

body.light-mode .creative-date {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .creative-date .date-number {
    color: #1a1a1a;
}

body.light-mode .creative-date .date-month {
    color: #666;
}

body.light-mode .team-creative .team-logo-wrapper {
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .match-card-creative:hover .team-logo-wrapper {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.05);
}

body.light-mode .team-creative .team-name {
    color: #333;
}

body.light-mode .venue-creative {
    background: rgba(0, 0, 0, 0.03);
}

body.light-mode .venue-creative span {
    color: #666;
}

body.light-mode .btn-upcoming-creative {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

body.light-mode .leagues-section {
    background: rgba(255, 255, 255, 0.5);
}

body.light-mode .section-header h3 {
    color: #1a1a1a;
}

body.light-mode .league-icon {
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .league-btn span {
    color: #333;
}

body.light-mode .important-matches-btn-container {
    background: rgba(255, 255, 255, 0.5);
}

body.light-mode .bottom-nav {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-btn {
    color: #666;
}

body.light-mode .nav-btn.active {
    color: var(--primary);
}

body.light-mode .nav-btn span {
    color: inherit;
}

body.light-mode .settings-panel {
    background: transparent;
}

body.light-mode .settings-backdrop {
    background: rgba(240, 240, 248, 0.92);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .settings-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08), rgba(255, 100, 20, 0.04));
}

body.light-mode .settings-header h3 {
    color: #1a1a1a;
}

body.light-mode .settings-subtitle {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .settings-section-label {
    color: rgba(0, 0, 0, 0.35);
}

body.light-mode .settings-channel-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .settings-channel-name {
    color: #1a1a1a;
}

body.light-mode .glass-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.07);
}

body.light-mode .glass-item span {
    color: #1a1a1a;
}

body.light-mode .close-settings {
    color: #666;
}

body.light-mode .close-settings:hover {
    color: #1a1a1a;
}

body.light-mode .settings-option {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .settings-option h4 {
    color: #1a1a1a;
}

body.light-mode .settings-option p {
    color: #666;
}

body.light-mode .modal-content,
body.light-mode .player-modal-content,
body.light-mode .channel-selector-content,
body.light-mode .important-matches-content {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-header,
body.light-mode .channel-selector-header,
body.light-mode .important-modal-header {
    background: #f5f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

body.light-mode .modal-header h3,
body.light-mode .important-modal-header h3 {
    color: #1a1a1a;
}

body.light-mode .close-modal,
body.light-mode .close-important-modal {
    color: #666;
}

body.light-mode .close-modal:hover,
body.light-mode .close-important-modal:hover {
    color: var(--primary);
}

body.light-mode .modal-body,
body.light-mode .channel-selector-body {
    color: #333;
    background: white;
}

body.light-mode .channel-option,
body.light-mode .channel-card-mini {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .channel-option:hover,
body.light-mode .channel-card-mini:hover {
    background: rgba(255, 69, 0, 0.05);
    border-color: var(--primary);
}

body.light-mode .channel-name {
    color: #1a1a1a;
}

body.light-mode .channel-quality {
    color: #666;
}

body.light-mode .important-match-card,
body.light-mode .important-match-card-new {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .important-match-card:hover,
body.light-mode .important-match-card-new:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.15);
}

body.light-mode .match-card-live {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .match-card-live:hover {
    border-color: var(--primary);
}

body.light-mode .live-match-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .live-match-card:hover {
    border-color: var(--primary);
}

body.light-mode .match-time-badge {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary);
}

body.light-mode .news-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .news-card:hover {
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.15);
}

body.light-mode .news-content h4 {
    color: #1a1a1a;
}

body.light-mode .news-content p {
    color: #666;
}

body.light-mode .news-meta {
    color: #888;
}

body.light-mode .standings-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .standings-table th {
    background: #f5f5f7;
    color: #1a1a1a;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .standings-table td {
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .standings-table tbody tr:hover {
    background: rgba(255, 69, 0, 0.05);
}

body.light-mode .search-modal-content {
    background: white;
}

body.light-mode .search-input-wrapper {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .search-input-wrapper input {
    color: #1a1a1a;
}

body.light-mode .search-input-wrapper input::placeholder {
    color: #999;
}

body.light-mode .search-match-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .search-match-card:hover {
    border-color: var(--primary);
}

body.light-mode .toast {
    background: rgba(0, 0, 0, 0.85);
    color: white;
}

body.light-mode .goleadores-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .goleador-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .goleador-nombre {
    color: #1a1a1a;
}

body.light-mode .goleador-equipo {
    color: #666;
}

body.light-mode .no-matches {
    color: #666 !important;
}

body.light-mode .loading-matches p {
    color: #666;
}

body.light-mode .qr-modal-content {
    background: white;
}

body.light-mode .qr-modal-header {
    background: #f5f5f7;
    color: #1a1a1a;
}

body.light-mode .qr-container {
    background: #f5f5f7;
}

body.light-mode .qr-info {
    color: #666;
}

body.light-mode .news-modal-content {
    background: white;
}

body.light-mode .news-modal-header {
    background: #f5f5f7;
}

body.light-mode .news-modal-header h3 {
    color: #1a1a1a;
}

body.light-mode .news-modal-body {
    color: #333;
}

body.light-mode .lineups-section {
    background: rgba(255, 255, 255, 0.5);
}

body.light-mode .lineup-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .lineup-header {
    background: #f5f5f7;
}

body.light-mode .lineup-team-name {
    color: #1a1a1a;
}

body.light-mode .player-name {
    color: #333;
}

body.light-mode .player-number {
    color: #666;
}

/* ==================== MODO OSCURO ==================== */
body.dark-mode {
    --bg: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --text: #e5e5e5;
    --text-secondary: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
}

body.dark-mode .header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

body.dark-mode .match-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .featured-match {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-mode .tab-button {
    color: var(--text-secondary);
}

body.dark-mode .tab-button.active {
    color: var(--primary);
}

body.dark-mode .league-btn {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

body.dark-mode .league-btn.active {
    background: var(--primary);
    color: white;
}

body.dark-mode .standings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

body.dark-mode .standings-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

body.dark-mode .standings-table td {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

body.dark-mode .standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

body.dark-mode .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

body.dark-mode .settings-panel {
    background: transparent;
}

body.dark-mode .settings-backdrop {
    background: rgba(5, 5, 15, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-mode .settings-option {
    border-bottom: 1px solid var(--border);
}

body.dark-mode .settings-option h4 {
    color: var(--text);
}

body.dark-mode .settings-option p {
    color: var(--text-secondary);
}

body.dark-mode .modal-content,
body.dark-mode .player-modal-content,
body.dark-mode .channel-selector-content {
    background: var(--bg-secondary);
}

body.dark-mode .modal-header,
body.dark-mode .channel-selector-header {
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

body.dark-mode .modal-body,
body.dark-mode .channel-selector-body {
    color: var(--text-secondary);
}

body.dark-mode .channel-option {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

body.dark-mode .channel-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

body.dark-mode .bottom-nav {
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid var(--border);
}

body.dark-mode .nav-button {
    color: var(--text-secondary);
}

body.dark-mode .nav-button.active {
    color: var(--primary);
}

body.dark-mode h2, 
body.dark-mode h3 {
    color: var(--text);
}

body.dark-mode .section-header h2 {
    color: var(--text);
}

body.dark-mode .news-content h4 {
    color: var(--text);
}

body.dark-mode .news-content p {
    color: var(--text-secondary);
}

/* ==================== BOTÓN PARTIDOS IMPORTANTES ==================== */
.important-matches-btn-container {
    padding: 15px;
    margin-top: 10px;
}

.important-matches-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 45%, #FFA500 75%, #FFD700 100%);
    border: none;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    box-shadow: 
        0 6px 20px rgba(255, 69, 0, 0.45),
        0 2px 6px rgba(255, 69, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    animation: btnGlowPulse 2.4s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
}

/* Glow pulse — hace que el botón "respire" y llame la atención */
@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow:
            0 6px 20px rgba(255, 69, 0, 0.45),
            0 2px 6px rgba(255, 69, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    50% {
        box-shadow:
            0 8px 32px rgba(255, 100, 0, 0.75),
            0 2px 10px rgba(255, 165, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Barrido de luz tipo shimmer */
.important-matches-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shimmerSweep 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%   { left: -75%; opacity: 0; }
    10%  { opacity: 1; }
    60%  { left: 125%; opacity: 1; }
    61%  { opacity: 0; }
    100% { left: 125%; opacity: 0; }
}

/* Borde brillante sutil */
.important-matches-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1.5px solid rgba(255, 220, 100, 0.35);
    pointer-events: none;
}

.important-matches-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        0 14px 36px rgba(255, 69, 0, 0.65),
        0 4px 12px rgba(255, 165, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.important-matches-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 3px 10px rgba(255, 69, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: none;
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-icon-wrapper i:first-child {
    color: #FFE44D;
    filter: drop-shadow(0 0 6px rgba(255, 228, 77, 0.8));
    animation: starPulse 2.4s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px rgba(255, 220, 50, 0.7));
    }
    50% {
        transform: scale(1.2) rotate(8deg);
        filter: drop-shadow(0 0 10px rgba(255, 228, 77, 1));
    }
}

.btn-icon-wrapper i:last-child {
    color: white;
}

.btn-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.btn-title {
    font-size: 16px;
    font-weight: 800;
    color: white;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    line-height: 1;
}

.btn-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.4px;
}

.btn-arrow {
    font-size: 18px;
    color: white;
    animation: arrowBounce 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); opacity: 1; }
    40%       { transform: translateX(5px); opacity: 0.7; }
    60%       { transform: translateX(5px); opacity: 0.7; }
}

.important-matches-btn:hover .btn-arrow {
    animation: none;
    transform: translateX(7px);
}

/* ==================== MODAL PARTIDOS IMPORTANTES - CARRUSEL HORIZONTAL ==================== */
.important-matches-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.important-matches-modal.active {
    display: flex;
}

.important-modal-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(20px);
    animation: carouselFadeIn 0.4s ease-out;
}

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

.important-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: carouselSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes carouselSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.important-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    background: #08080c;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 12px;
}

.important-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20px; right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.3), transparent);
}

.important-modal-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.important-modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 9px;
}

.important-modal-title-wrapper i {
    font-size: 18px;
    color: #FFD700;
    animation: starGlow 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    flex-shrink: 0;
}

@keyframes starGlow {
    0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 8px  rgba(255,215,0,0.5)); }
    50%       { transform: scale(1.1); filter: drop-shadow(0 0 18px rgba(255,215,0,0.85)); }
}

.important-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.important-modal-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    margin-left: 27px;
    letter-spacing: 0.2px;
}

.important-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.close-important-modal {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.close-important-modal:hover {
    background: rgba(255, 69, 0, 0.75);
    border-color: rgba(255, 69, 0, 0.9);
    color: #fff;
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.important-modal-body {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.loading-matches {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.loading-matches p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Carrusel Container */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 80px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-indicator.active {
    background: linear-gradient(135deg, #FF4500, #FFD700);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
}

.carousel-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Counter Display */
.carousel-counter {
    position: absolute;
    top: 80px;
    right: 24px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.carousel-counter span {
    color: #FF4500;
    font-weight: 800;
}

/* Match Cards for Carousel */
.important-match-card,
.important-match-card-new {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    height: auto;
    max-height: 420px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: center;
    transform: scale(0.85);
    opacity: 0.6;
    filter: blur(1px);
    position: relative;
}

.important-match-card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.important-match-card-new.active {
    transform: scale(1.05);
    opacity: 1;
    filter: blur(0);
    border-color: rgba(255, 69, 0, 0.6);
    box-shadow: 
        0 20px 60px rgba(255, 69, 0, 0.3),
        0 0 80px rgba(255, 69, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.important-match-card-new.active::before {
    background: linear-gradient(135deg, #FF4500, #FFD700, #FF4500);
    opacity: 1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.important-match-card-new.adjacent {
    transform: scale(0.92);
    opacity: 0.8;
    filter: blur(0);
}

.important-match-card-new:hover:not(.active) {
    transform: scale(0.9);
    opacity: 0.9;
    border-color: rgba(255, 69, 0, 0.3);
}

.match-image-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.match-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.important-match-card-new.active .match-bg-image {
    transform: scale(1.1);
}

.match-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(13, 13, 13, 1) 100%
    );
}

.match-info-container {
    padding: 16px;
    position: relative;
}

.match-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.league-badge {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.9), rgba(0, 150, 255, 0.9));
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 100, 255, 0.3);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.status-live {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(200, 0, 0, 0.9));
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: liveGlow 1.5s ease-in-out infinite;
}

@keyframes liveGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.8); }
}

.status-badge.status-finished {
    background: rgba(128, 128, 128, 0.3);
    color: #aaa;
    border: 1px solid rgba(128, 128, 128, 0.4);
}

.status-badge.status-upcoming {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.3), rgba(255, 200, 0, 0.3));
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.5);
}

.match-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.important-match-card-new.active .match-title {
    font-size: 16px;
}

.match-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.match-date i {
    color: var(--primary);
}

.match-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.channel-info i {
    color: var(--primary);
}

.btn-ver {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.btn-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.btn-ver i {
    font-size: 11px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .important-modal-header {
        padding: 12px 16px;
    }
    
    .important-modal-title {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .important-modal-subtitle {
        display: none;
    }
    
    .carousel-container {
        padding: 20px 50px;
        gap: 15px;
    }
    
    .important-match-card-new {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
        max-height: 380px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-nav.prev {
        left: 8px;
    }
    
    .carousel-nav.next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        padding: 8px 15px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicator.active {
        width: 24px;
    }
    
    .carousel-counter {
        top: 70px;
        right: 16px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .match-image-container {
        height: 140px;
    }
}

@media (max-width: 400px) {
    .important-match-card-new {
        flex: 0 0 240px;
        min-width: 240px;
        max-width: 240px;
    }
    
    .carousel-container {
        padding: 20px 40px;
    }
}

.no-channels-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    width: 100%;
}

/* Estilos para la información del canal */
.match-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
    padding: 8px 12px;
    background: rgba(255, 69, 0, 0.15);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.match-channel i {
    color: var(--primary);
    font-size: 14px;
}

.match-channel.no-channel {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.match-channel.no-channel i {
    color: rgba(255, 255, 255, 0.3);
}

/* Botón Ver deshabilitado */
.btn-ver.btn-disabled {
    background: linear-gradient(135deg, #666, #888);
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.btn-ver.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Punto animado para EN VIVO */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.important-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.important-match-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-live {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

.status-live .live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.status-upcoming {
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.4);
    color: #ffa500;
}

.status-finished {
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.4);
    color: #888;
}

.important-match-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

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

.important-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.important-team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: transparent;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.important-team-name {
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-align: center;
}

.important-match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.important-match-vs {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.important-match-channels {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.important-match-channels i {
    color: var(--primary);
    font-size: 14px;
}

.important-channels-count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.important-no-channels {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.important-no-matches {
    text-align: center;
    padding: 60px 20px;
}

.important-no-matches i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.important-no-matches p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .important-matches-btn {
        padding: 16px 18px;
    }
    
    .btn-title {
        font-size: 14px;
    }
    
    .btn-subtitle {
        font-size: 10px;
    }
    
    .important-modal-container {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .important-modal-title {
        font-size: 16px;
    }
    
    .important-team-logo {
        width: 36px;
        height: 36px;
    }
}

/* ==================== ESTILOS DE BÚSQUEDA CREATIVOS ==================== */

.search-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.search-modal.active {
    display: flex;
    opacity: 1;
}
.search-modal-overlay { display: none; }
.search-modal-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    animation: smSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes smSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.search-modal-header {
    padding: 20px 20px 14px;
    background: #0f0f0f;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
.search-modal-header::before { display: none; }
.search-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-modal-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-modal-title i { color: #FF4500; font-size: 20px; }
.search-input-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    background: #1d1d1d;
    border: 1.5px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}
.search-input-wrapper:focus-within {
    border-color: rgba(255,255,255,0.35);
    background: #222;
}
.search-input-icon {
    padding: 0 14px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.search-input-icon i {
    color: rgba(255,255,255,0.35);
    font-size: 16px;
    transition: color 0.2s;
}
.search-input-wrapper:focus-within .search-input-icon i { color: rgba(255,255,255,0.8); }
.search-icon { color: rgba(255,255,255,0.35); font-size: 16px; }
.search-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    font-family: inherit;
}
.filter-chip:active { background: rgba(255,69,0,0.18); }
.filter-chip.active { background: #FF4500; border-color: #FF4500; color: #fff; }
.filter-chip i { font-size: 12px; }
.search-input {
    flex: 1;
    border: none;
    background: none;
    color: white;
    font-size: 16px;
    outline: none;
    font-family: 'Poppins', -apple-system, sans-serif;
    -webkit-user-select: text;
    user-select: text;
    pointer-events: auto;
    padding: 15px 12px 15px 0;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }
.clear-search-btn {
    background: none;
    border: none;
    width: 34px;
    height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 15px;
}
.close-search-modal {
    background: rgba(255,255,255,0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}
.close-search-modal:active { background: rgba(255,255,255,0.15); }
.search-modal-body {
    flex: 1;
    overflow-y: auto;
    background: #0f0f0f;
    padding: 0;
}

.search-modal-body::-webkit-scrollbar {
    width: 8px;
}

.search-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 69, 0, 0.5);
    border-radius: 10px;
}

.search-welcome {
    text-align: center;
    padding: 30px 20px 20px;
    width: 100%;
}

.search-welcome-animation {
    position: relative;
    margin: 0 auto 32px;
    width: 100px;
    height: 100px;
}

.search-icon-animated {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 69, 0, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.search-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 69, 0, 0.3);
    border-radius: 50%;
    animation: waveAnimation 3s ease-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 1s;
}

.wave:nth-child(3) {
    animation-delay: 2s;
}

@keyframes waveAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(255, 69, 0, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 20px 50px rgba(255, 69, 0, 0.6);
    }
}

.search-welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
    animation: pulse 2s infinite;
}

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

.search-welcome-title {
    color: white;
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-welcome-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.search-welcome h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.search-welcome p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.search-categories {
    margin-top: 4px;
    text-align: left;
}

.search-category-section {
    margin-bottom: 24px;
    text-align: left;
}

.search-category-section h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 2px;
}

.search-category-section h4 i {
    color: #FF4500;
    font-size: 16px;
}

.search-tags-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-tag-pro {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: white;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    position: relative;
    width: 100%;
}

.search-tag-pro:active {
    background: rgba(255, 69, 0, 0.18);
    border-color: rgba(255, 69, 0, 0.4);
}

.search-tag-pro i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.live-dot-search {
    color: #4caf50;
    animation: blink 1.5s infinite;
}

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

/* ── Voice + Sport chips ── */
.voice-search-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 17px;
    padding: 0 14px 0 8px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.voice-search-btn:active { color: #FF4500; transform: scale(0.9); }
.voice-search-btn.listening { color: #FF4500; animation: micPulse 0.8s ease-in-out infinite; }
@keyframes micPulse { 0%,100%{transform:scale(1);}50%{transform:scale(1.25);} }

.search-sport-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
    z-index: 1;
    position: relative;
}
.search-sport-chips::-webkit-scrollbar { display: none; }
.sport-chip {
    flex-shrink: 0;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.sport-chip.active {
    background: #FF4500;
    border-color: #FF4500;
    color: #fff;
    box-shadow: 0 0 12px rgba(255,69,0,0.4);
}
.sport-chip i { font-size: 12px; }

/* ── New Search Welcome (sw-*) ── */
.sw-root { padding: 16px 0 32px; }
.sw-section { margin-bottom: 28px; padding: 0 20px; }
.sw-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.sw-section-head span { display: flex; align-items: center; gap: 8px; }
.sw-section-head i { font-size: 14px; }
.sw-clear-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color 0.2s;
}
.sw-clear-btn:active { color: #FF4500; }

/* Tendencias / Recientes chips */
.sw-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.sw-chips-scroll::-webkit-scrollbar { display: none; }
.sw-chip {
    flex-shrink: 0;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.15s, border-color 0.15s;
}
.sw-chip:active { background: rgba(255,69,0,0.2); border-color: #FF4500; }
.sw-chip-live {
    background: rgba(255,50,50,0.12);
    border-color: rgba(255,50,50,0.3);
    color: #fff;
}
.sw-chip-history { background: rgba(255,255,255,0.05); }
.sw-live-dot {
    width: 7px;
    height: 7px;
    background: #ff3b3b;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff3b3b;
    animation: swBlink 1s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes swBlink { 0%,100%{opacity:1;}50%{opacity:0.3;} }

/* League rows */
.sw-list { display: flex; flex-direction: column; gap: 8px; }
.sw-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.sw-row:active { background: rgba(255,255,255,0.09); }
.sw-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.sw-row-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-row-title { font-size: 15px; font-weight: 700; color: #fff; }
.sw-row-sub { font-size: 12px; color: rgba(255,255,255,0.45); }
.sw-row-chevron { font-size: 11px; color: rgba(255,255,255,0.2); flex-shrink: 0; }

/* Teams scroll */
.sw-teams-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.sw-teams-scroll::-webkit-scrollbar { display: none; }
.sw-team-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    min-width: 60px;
}
.sw-team-chip:active .sw-team-icon { transform: scale(0.92); }
.sw-team-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.15s;
}
.sw-team-chip span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    max-width: 60px;
    text-overflow: ellipsis;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.search-tag {
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: rgba(255, 69, 0, 0.3);
    border-color: #FF4500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.search-tag i {
    color: #FF4500;
    font-size: 14px;
}

.search-loading {
    text-align: center;
    padding: 80px 20px;
}

.search-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 69, 0, 0.2);
    border-top-color: #FF4500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.search-loading p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

.search-no-results h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
}

.search-no-results p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 12px;
}

.no-results-suggestion {
    margin-top: 24px;
    font-weight: 600;
    color: white;
}

.no-results-suggestion-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-results-suggestion-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.search-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-tips li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.search-tips li::before {
    content: "•";
    color: #e94560;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
}

.search-tips li strong {
    color: #e94560;
    font-weight: 600;
}

.search-results-header {
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 16px 20px;
    border-radius: 15px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-results-header i {
    color: #4caf50;
    font-size: 18px;
}

.search-section {
    margin-bottom: 32px;
}

.search-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 69, 0, 0.2);
}

.search-section-title i {
    color: #FF4500;
    font-size: 18px;
}

.search-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.search-team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-team-card:hover {
    background: rgba(255, 69, 0, 0.15);
    border-color: #FF4500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.2);
}

.search-team-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.search-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-team-info {
    flex: 1;
}

.search-team-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-team-full {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.search-match-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-match-card:hover {
    background: rgba(255, 69, 0, 0.15);
    border-color: #FF4500;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.2);
}

.search-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.search-match-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.search-match-team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.search-match-team img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: white;
    border-radius: 6px;
    padding: 2px;
}

.search-match-score {
    color: #FF4500;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.search-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.search-status-badge.live {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.search-status-badge.live i {
    animation: blink 1s infinite;
}

.search-status-badge.scheduled {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.search-status-badge.finished {
    background: rgba(128, 128, 128, 0.15);
    color: #888;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

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

.search-league-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.search-league-card:hover {
    background: rgba(255, 69, 0, 0.15);
    border-color: #FF4500;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.2);
}

.search-league-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.search-league-icon.active {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    color: white;
}

.search-league-icon.locked {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

.search-league-info {
    flex: 1;
}

.search-league-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-league-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.search-league-premium {
    color: #ffd700;
    font-size: 18px;
}

/* ==================== ESTILOS MEJORADOS DE RESULTADOS ==================== */

.search-results-header {
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.2) 0%, 
        rgba(255, 107, 53, 0.15) 100%);
    border: 1px solid rgba(255, 69, 0, 0.4);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.search-results-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.search-results-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
    animation: iconBounce 2s ease-in-out infinite;
}

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

.search-results-text {
    flex: 1;
}

.search-results-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-results-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.search-section-featured {
    margin-bottom: 32px;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.1) 0%, 
        rgba(255, 69, 0, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 69, 0, 0.2);
}

.search-section-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.search-section-icon.live-pulse {
    background: linear-gradient(135deg, #ff0000, #ff4444);
    animation: pulseLive 1.5s ease-in-out infinite;
}

@keyframes pulseLive {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.7);
        transform: scale(1.1);
    }
}

.search-section-badge {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

.search-match-live {
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.15) 0%, 
        rgba(255, 69, 0, 0.1) 100%);
    border: 2px solid rgba(255, 69, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.search-match-live::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff0000, #ff4444);
    animation: liveBar 2s ease-in-out infinite;
}

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

.search-match-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dot-pulse {
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: liveDotPulse 1.5s infinite;
}

@keyframes liveDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.search-match-score-big {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    padding: 8px 16px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.score-num {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.score-sep {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.search-match-time {
    text-align: center;
    color: #ff4444;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255, 0, 0, 0.15);
    border-radius: 10px;
    display: inline-block;
}

/* ==================== PARTIDOS IMPORTANTES ==================== */

.search-important-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.search-important-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0) 0%, 
        rgba(255, 69, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-important-card:hover::before {
    opacity: 1;
}

.search-important-card:hover {
    transform: translateX(8px) translateY(-2px);
    border-color: #FF4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.search-important-card.is-live {
    border: 2px solid rgba(255, 69, 0, 0.4);
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.1) 0%, 
        rgba(255, 69, 0, 0.05) 100%);
}

.search-important-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.search-important-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.search-important-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
}

.search-important-liga {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.search-important-liga i {
    color: #ffd700;
}

.search-important-channels {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4caf50;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.15);
    padding: 4px 10px;
    border-radius: 12px;
}

.search-important-channels i {
    color: #4caf50;
}

.search-important-channels-none {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* ==================== TARJETAS DE PARTIDOS MEJORADAS (ESTILO IMAGEN) ==================== */

.search-match-important-card {
    position: relative;
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-match-important-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #FF4500;
    box-shadow: 0 12px 35px rgba(255, 69, 0, 0.4);
}

.search-match-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.imgur.com/9YpJQXz.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.search-match-important-card:hover .search-match-bg {
    opacity: 0.6;
    transform: scale(1.05);
}

.search-match-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(26, 26, 46, 0.7) 0%, 
        rgba(26, 26, 46, 0.85) 50%, 
        rgba(26, 26, 46, 0.95) 100%);
}

.search-match-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-match-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-badge-liga {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

.search-badge-live {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
    animation: pulseBadgeLive 1.5s ease-in-out infinite;
}

@keyframes pulseBadgeLive {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 2px 20px rgba(220, 38, 38, 0.8);
    }
}

.search-badge-live i {
    animation: blinkDot 1.5s infinite;
}

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

.search-badge-scheduled {
    background: linear-gradient(135deg, #ca8a04, #eab308);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(234, 179, 8, 0.4);
}

.search-badge-finished {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(107, 114, 128, 0.4);
}

.search-match-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 8px 0;
}

.search-match-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.search-match-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.search-match-channel i {
    color: #FF4500;
}

.search-match-score-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.score-number {
    font-size: 22px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.score-separator {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.search-match-time-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.search-match-time-display i {
    color: #eab308;
}

.search-match-btn {
    background: linear-gradient(135deg, #ff4500, #ff6b35);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.search-match-btn:hover {
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.search-match-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.search-match-btn.disabled {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.search-match-btn.disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.search-match-no-channels {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .search-modal-header {
        padding: 16px;
    }
    
    .search-input-wrapper {
        padding: 10px 16px;
    }
    
    .search-input {
        font-size: 15px;
    }
    
    .search-teams-grid {
        grid-template-columns: 1fr;
    }
    
    .search-welcome {
        padding: 40px 20px;
    }
    
    .search-welcome-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .search-welcome h3 {
        font-size: 20px;
    }
    
    .close-search-modal {
        width: 40px;
        height: 40px;
    }
}

/* ===========================
   LINEUPS SECTION - Professional Football Field
   =========================== */

.lineups-section {
    padding: 20px;
    margin-top: 20px;
}

.lineups-info-message {
    background: rgba(255, 69, 0, 0.15);
    border-left: 3px solid var(--primary);
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.lineups-info-message i {
    color: var(--primary);
    font-size: 16px;
}

.lineups-loading {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

/* Match Selector Buttons */
.lineups-matches-selector {
    margin: 15px 0;
}

.lineups-match-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.lineups-match-tabs::-webkit-scrollbar {
    height: 4px;
}

.lineups-match-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.lineup-match-tab {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lineup-match-tab:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateY(-2px);
}

.lineup-match-tab.active {
    border-color: var(--primary);
    background: rgba(255, 69, 0, 0.1);
}

.lineup-match-tab-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}

.lineup-match-tab-teams img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lineup-match-tab-info {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lineup-match-tab-info i {
    font-size: 10px;
}

.lineup-match-tab.pending {
    opacity: 0.7;
}

.lineup-match-tab-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.lineup-match-tab-badge.available {
    background: #00ff41;
    color: #000;
}

.lineup-match-tab-badge.pending {
    background: rgba(255, 165, 0, 0.3);
    color: #ffa500;
}

/* Lineups Container */
.lineups-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
}

/* Match Header */
.lineup-match-header {
    text-align: center;
    margin-bottom: 20px;
}

.lineup-match-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.lineup-match-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.lineup-match-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lineup-match-meta-item i {
    color: var(--primary);
}

/* Teams Lineup Display */
.lineups-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.lineup-team {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
}

.lineup-team-header {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 69, 0, 0.3);
}

.lineup-team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
}

.lineup-team-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.lineup-team-formation {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* Football Field Visualization */
.football-field {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(180deg, 
        #2d5016 0%, 
        #3a6b1e 25%, 
        #2d5016 50%, 
        #3a6b1e 75%, 
        #2d5016 100%
    );
    border-radius: 8px;
    overflow: hidden;
    padding: 20px 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.football-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(transparent 49.5%, rgba(255, 255, 255, 0.2) 49.5%, rgba(255, 255, 255, 0.2) 50.5%, transparent 50.5%),
        radial-gradient(circle at 50% 50%, transparent 19%, rgba(255, 255, 255, 0.2) 19%, rgba(255, 255, 255, 0.2) 20%, transparent 20%);
    pointer-events: none;
}

.field-half {
    position: relative;
    height: 50%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.field-half:last-child {
    border-bottom: none;
}

.field-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
}

.field-line.penalty-box {
    width: 60%;
    height: 15%;
    left: 20%;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    background: transparent;
}

.field-line.goal-box {
    width: 40%;
    height: 8%;
    left: 30%;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    background: transparent;
}

/* Player Positions */
.field-players {
    position: relative;
    height: 100%;
    width: 100%;
}

.field-row {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.player-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.player-marker:hover {
    transform: scale(1.1);
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4500, #ff6b35);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.player-avatar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

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

.player-name {
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Formation-specific positioning */
.formation-4-3-3 .field-row:nth-child(1) { top: 5%; }
.formation-4-3-3 .field-row:nth-child(2) { top: 25%; }
.formation-4-3-3 .field-row:nth-child(3) { top: 50%; }
.formation-4-3-3 .field-row:nth-child(4) { top: 75%; }

.formation-4-4-2 .field-row:nth-child(1) { top: 5%; }
.formation-4-4-2 .field-row:nth-child(2) { top: 30%; }
.formation-4-4-2 .field-row:nth-child(3) { top: 60%; }
.formation-4-4-2 .field-row:nth-child(4) { top: 85%; }

.formation-4-2-3-1 .field-row:nth-child(1) { top: 5%; }
.formation-4-2-3-1 .field-row:nth-child(2) { top: 25%; }
.formation-4-2-3-1 .field-row:nth-child(3) { top: 50%; }
.formation-4-2-3-1 .field-row:nth-child(4) { top: 70%; }
.formation-4-2-3-1 .field-row:nth-child(5) { top: 90%; }

.formation-3-5-2 .field-row:nth-child(1) { top: 5%; }
.formation-3-5-2 .field-row:nth-child(2) { top: 30%; }
.formation-3-5-2 .field-row:nth-child(3) { top: 60%; }
.formation-3-5-2 .field-row:nth-child(4) { top: 85%; }

/* Goalkeeper special styling */
.player-marker.goalkeeper .player-avatar {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

/* No lineup available message */
.lineup-not-available {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.lineup-not-available i {
    font-size: 48px;
    color: rgba(255, 69, 0, 0.3);
    margin-bottom: 16px;
}

.lineup-not-available h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}

.lineup-not-available p {
    font-size: 13px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lineups-display {
        grid-template-columns: 1fr;
    }

    .lineup-match-tab {
        min-width: 160px;
    }

    .player-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .player-name {
        font-size: 9px;
        padding: 3px 6px;
        max-width: 60px;
    }

    .lineup-team-logo {
        width: 40px;
        height: 40px;
    }

    .lineup-team-name {
        font-size: 14px;
    }

    .lineup-match-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lineups-section {
        padding: 15px;
    }

    .lineups-container {
        padding: 15px;
    }

    .player-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
        border: 2px solid #fff;
    }

    .player-name {
        font-size: 8px;
        padding: 2px 5px;
        max-width: 50px;
    }

    .football-field {
        padding: 15px 5px;
    }
}

/* ========== MEDIA QUERIES COMPREHENSIVAS PARA RESPONSIVE DESIGN ========== */

/* Móviles pequeños - 320px - 374px */
@media (max-width: 374px) {
    .app-header {
        padding: 12px 15px;
    }
    
    .app-logo {
        height: 42px;
    }
    
    .score-badge {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .featured-carousel {
        height: 240px;
    }
    
    .team-logo {
        width: 60px;
        height: 60px;
    }
    
    .score-display {
        padding: 8px 16px;
    }
    
    .score {
        font-size: 20px;
    }
    
    .match-title {
        font-size: 14px;
    }
    
    .tab {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .matches-grid {
        gap: 10px;
    }
    
    .match-card-content {
        padding: 10px;
    }
    
    .team-badge {
        width: 24px;
        height: 24px;
    }
    
    .watch-btn {
        padding: 8px;
        font-size: 10px;
    }
    
    .league-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .league-btn span {
        font-size: 10px;
    }
    
    .section-header h3 {
        font-size: 12px;
    }
    
    .standings-row {
        grid-template-columns: 35px 1fr 35px 35px 35px 45px;
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .standings-team-logo {
        width: 20px;
        height: 20px;
    }
    
    .important-matches-btn {
        padding: 12px;
    }
    
    .btn-title {
        font-size: 11px;
    }
    
    .btn-subtitle {
        font-size: 9px;
    }
}

/* Móviles estándar - 375px - 480px */
@media (min-width: 375px) and (max-width: 480px) {
    .app-container {
        max-width: 100%;
    }
    
    .featured-carousel {
        height: 260px;
    }
    
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tabletas - 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .app-container {
        max-width: 100%;
        padding-bottom: 80px;
    }
    
    .app-header {
        padding: 18px 25px;
    }
    
    .app-logo {
        height: 55px;
    }
    
    .score-badge {
        padding: 5px 14px;
        font-size: 13px;
    }
    
    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .featured-match-container {
        margin: 20px;
    }
    
    .featured-carousel {
        height: 350px;
    }
    
    .team-logo {
        width: 85px;
        height: 85px;
    }
    
    .score-display {
        padding: 12px 25px;
    }
    
    .score {
        font-size: 28px;
    }
    
    .match-title {
        font-size: 22px;
    }
    
    .badge-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .tabs-container {
        padding: 25px 20px 15px;
    }
    
    .tab {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .content-container {
        padding: 0 20px;
    }
    
    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .match-card-bg {
        height: 120px;
    }
    
    .match-card-content {
        padding: 14px;
    }
    
    .team-badge {
        width: 32px;
        height: 32px;
    }
    
    .team span {
        font-size: 11px;
    }
    
    .watch-btn {
        padding: 12px;
        font-size: 12px;
    }
    
    .leagues-section {
        padding: 30px 20px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .leagues-container {
        gap: 20px;
    }
    
    .league-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
    
    .league-btn span {
        font-size: 12px;
    }
    
    .news-section {
        padding: 30px 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .news-card img {
        height: 140px;
    }
    
    .news-content h4 {
        font-size: 14px;
    }
    
    .streaming-section {
        padding: 30px 20px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .channel-icon-mini {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .standings-section {
        padding: 25px;
    }
    
    .standings-row {
        grid-template-columns: 45px 1fr 50px 50px 50px 60px;
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .standings-team-logo {
        width: 28px;
        height: 28px;
    }
    
    .standings-team-name {
        font-size: 14px;
    }
    
    .bottom-nav {
        padding: 12px 20px;
        padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom)));
    }
    
    .important-matches-btn-container {
        padding: 0 20px;
    }
    
    .important-matches-btn {
        padding: 16px 20px;
    }
    
    .btn-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .btn-title {
        font-size: 13px;
    }
    
    .btn-subtitle {
        font-size: 11px;
    }
}

/* Laptop / Desktop pequeño - 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .app-container {
        max-width: 768px;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .app-header {
        padding: 20px 30px;
    }
    
    .app-logo {
        height: 60px;
    }
    
    .featured-carousel {
        height: 400px;
    }
    
    .team-logo {
        width: 90px;
        height: 90px;
    }
    
    .score {
        font-size: 32px;
    }
    
    .match-title {
        font-size: 24px;
    }
    
    .matches-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .leagues-container {
        justify-content: center;
        gap: 25px;
    }
    
    .league-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .standings-row {
        grid-template-columns: 50px 2fr 60px 60px 60px 70px;
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .standings-team-name {
        font-size: 15px;
    }
    
    .modal-content {
        max-width: 1000px;
    }
    
    .modal-body {
        height: 600px;
    }
}

/* Desktop grande - 1025px+ */
@media (min-width: 1025px) {
    .app-container {
        max-width: 900px;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    }
    
    .app-header {
        padding: 22px 35px;
    }
    
    .app-logo {
        height: 65px;
    }
    
    .score-badge {
        padding: 6px 16px;
        font-size: 14px;
    }
    
    .featured-match-container {
        margin: 25px;
    }
    
    .featured-carousel {
        height: 450px;
        border-radius: 24px;
    }
    
    .team-logo {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .score-display {
        padding: 15px 30px;
    }
    
    .score {
        font-size: 36px;
    }
    
    .match-title {
        font-size: 26px;
    }
    
    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .tabs-container {
        padding: 30px 25px 20px;
    }
    
    .tab {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .content-container {
        padding: 0 25px;
    }
    
    .matches-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
    
    .match-card {
        border-radius: 18px;
    }
    
    .match-card-bg {
        height: 130px;
    }
    
    .match-card-content {
        padding: 16px;
    }
    
    .team-badge {
        width: 36px;
        height: 36px;
    }
    
    .team span {
        font-size: 12px;
    }
    
    .watch-btn {
        padding: 14px;
        font-size: 13px;
        border-radius: 14px;
    }
    
    .leagues-section,
    .news-section,
    .streaming-section {
        padding: 35px 25px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .leagues-container {
        justify-content: center;
        gap: 30px;
        padding: 15px 0;
    }
    
    .league-icon {
        width: 75px;
        height: 75px;
        font-size: 30px;
    }
    
    .league-btn span {
        font-size: 13px;
    }
    
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .news-card {
        border-radius: 18px;
    }
    
    .news-card img {
        height: 150px;
    }
    
    .news-content {
        padding: 14px;
    }
    
    .news-content h4 {
        font-size: 15px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .channel-card-mini {
        border-radius: 18px;
        padding: 25px;
    }
    
    .channel-icon-mini {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .channel-card-mini h4 {
        font-size: 15px;
    }
    
    .standings-section {
        padding: 30px 25px;
    }
    
    .standings-table {
        border-radius: 16px;
    }
    
    .standings-row {
        grid-template-columns: 60px 2fr 70px 70px 70px 80px;
        padding: 18px 25px;
        font-size: 15px;
    }
    
    .standings-header {
        font-size: 13px;
    }
    
    .standings-team-logo {
        width: 32px;
        height: 32px;
    }
    
    .standings-team-name {
        font-size: 16px;
    }
    
    .bottom-nav {
        padding: 14px 24px;
        padding-bottom: max(14px, calc(14px + env(safe-area-inset-bottom)));
    }
    
    .important-matches-btn-container {
        padding: 0 25px;
        margin: 20px 0;
    }
    
    .important-matches-btn {
        padding: 20px 25px;
        border-radius: 18px;
    }
    
    .btn-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .btn-icon-wrapper i {
        font-size: 26px;
    }
    
    .btn-title {
        font-size: 16px;
    }
    
    .btn-subtitle {
        font-size: 13px;
    }
    
    .btn-arrow {
        font-size: 22px;
    }
    
    .modal-content {
        max-width: 1100px;
        border-radius: 24px;
    }
    
    .modal-body {
        height: 650px;
    }
    
    .settings-panel {
        width: 350px;
    }
}

/* Orientación horizontal en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .featured-carousel {
        height: 200px;
    }
    
    .app-header {
        padding: 10px 15px;
    }
    
    .team-logo {
        width: 60px;
        height: 60px;
    }
    
    .score {
        font-size: 18px;
    }
    
    .match-title {
        font-size: 14px;
    }
    
    .bottom-nav {
        padding: 6px 12px;
        padding-bottom: max(6px, calc(6px + env(safe-area-inset-bottom)));
    }

    .nav-btn {
        padding: 7px 10px;
    }

    .nav-btn.active {
        padding: 7px 14px;
    }
}

/* Mejorar touch targets en dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .icon-btn,
    .nav-btn,
    .tab,
    .watch-btn,
    .league-btn,
    .close-modal,
    .close-news-modal {
        min-height: 44px;
        min-width: 44px;
    }
    
    .match-card,
    .news-card,
    .channel-card-mini {
        cursor: default;
    }
}

/* Mejoras para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    body {
        background: #000;
    }
}

/* Animaciones reducidas para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .app-header,
    .bottom-nav,
    .icon-btn,
    .watch-btn,
    .important-matches-btn {
        display: none;
    }
    
    .app-container {
        max-width: 100%;
        box-shadow: none;
    }
    
    .match-card,
    .news-card {
        page-break-inside: avoid;
    }
}

/* ========================================
   TARJETAS CREATIVAS - PRÓXIMOS PARTIDOS
   ======================================== */

.match-card-creative {
    background: linear-gradient(145deg, #1e1e2e 0%, #151520 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.match-card-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF4500, #FF6B35, #FFD700);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.match-card-creative:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.25),
                0 0 30px rgba(255, 107, 53, 0.1);
}

.match-card-creative:hover::before {
    opacity: 1;
}

.match-card-creative .card-header {
    position: relative;
    height: 85px;
    overflow: hidden;
}

.match-card-creative .card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.2);
    transition: all 0.4s ease;
}

.match-card-creative:hover .card-header img {
    filter: brightness(0.6) saturate(1.4);
    transform: scale(1.1);
}

.match-card-creative .card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(21, 21, 32, 0.95) 100%);
}

/* Fecha Creativa - Esquina superior izquierda */
.creative-date {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 50px;
}

.creative-date .date-day {
    font-size: 9px;
    font-weight: 600;
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creative-date .date-number {
    font-size: 18px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.creative-date .date-month {
    font-size: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hora Creativa - Esquina superior derecha */
.creative-time {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.creative-time i {
    font-size: 10px;
    color: white;
    animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.creative-time .time-value {
    font-size: 11px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

/* Contenido de la tarjeta */
.match-card-creative .card-content {
    padding: 15px 12px 12px;
    position: relative;
}

/* Teams Container Creativo */
.teams-creative {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.team-creative {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.team-creative .team-logo-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.match-card-creative:hover .team-logo-wrapper {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.1);
}

.team-creative .team-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-creative .team-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* VS Creativo */
.vs-creative {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
}

.vs-creative .vs-badge {
    font-size: 12px;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.vs-creative .vs-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Estadio */
.venue-creative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 10px;
}

.venue-creative i {
    font-size: 10px;
    color: #FF6B35;
}

.venue-creative span {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Botón Próximamente Creativo */
.btn-upcoming-creative {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 10px;
    border-radius: 12px;
    color: #FF6B35;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-upcoming-creative i {
    font-size: 11px;
}

.btn-upcoming-creative:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.3);
}

/* Animación de entrada */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-card-creative {
    animation: slideUpFade 0.5s ease forwards;
}

.match-card-creative:nth-child(2) {
    animation-delay: 0.1s;
}

.match-card-creative:nth-child(3) {
    animation-delay: 0.2s;
}

.match-card-creative:nth-child(4) {
    animation-delay: 0.3s;
}

/* Efecto Shine */
.match-card-creative .shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.match-card-creative:hover .shine-effect {
    left: 200%;
}

/* Responsive para tarjetas creativas */
@media (max-width: 380px) {
    .match-card-creative .card-header {
        height: 75px;
    }
    
    .creative-date {
        padding: 4px 8px;
        min-width: 42px;
    }
    
    .creative-date .date-number {
        font-size: 16px;
    }
    
    .creative-time {
        padding: 4px 8px;
    }
    
    .creative-time .time-value {
        font-size: 10px;
    }
    
    .team-creative .team-logo-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .team-creative .team-name {
        font-size: 10px;
    }
}

/* ========================================
   USER MENU & AUTHENTICATION STYLES
   ======================================== */

/* User Button */
.user-btn {
    position: relative;
}

.user-btn.logged-in {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

/* User Menu Dropdown */
.user-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
}

.user-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.user-menu-content {
    position: absolute;
    top: 70px;
    right: 15px;
    width: 280px;
    max-width: calc(100% - 30px);
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.user-menu.active .user-menu-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(255, 107, 53, 0.05));
    border-bottom: 1px solid var(--border);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-muted);
}

.user-avatar.has-user {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.avatar-initial {
    font-size: 20px;
    font-weight: 700;
}

.user-info {
    flex: 1;
}

.user-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.user-status {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.user-menu-body {
    padding: 8px;
}

.user-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.user-menu-item.logout-item {
    color: #ff4444;
}

.user-menu-item.logout-item i {
    color: #ff4444;
}

/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.auth-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
}

.auth-modal.active .auth-modal-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.auth-modal-header {
    position: relative;
    padding: 30px 24px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.1) 0%, transparent 100%);
}

.auth-logo {
    margin-bottom: 16px;
}

.auth-logo img {
    height: 50px;
    width: auto;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.close-auth-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-auth-modal:hover {
    background: rgba(255, 69, 0, 0.3);
}

.auth-modal-body {
    padding: 0 24px 30px;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.auth-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.auth-input-wrapper > i {
    padding: 0 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-input-wrapper input,
.auth-input-wrapper select {
    flex: 1;
    padding: 14px 12px 14px 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 15px;
    outline: none;
}

.auth-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.auth-input-wrapper select {
    cursor: pointer;
}

.auth-input-wrapper select option {
    background: #1a1a1a;
    color: var(--text);
}

.toggle-password {
    background: transparent;
    border: none;
    padding: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--primary);
}

.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    color: #ff6b6b;
    font-size: 13px;
}

.auth-error i {
    font-size: 16px;
}

.auth-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

/* Auth Notification */
.auth-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.auth-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.auth-notification.success {
    border-color: #4CAF50;
}

.auth-notification.success i {
    color: #4CAF50;
}

.auth-notification.error {
    border-color: #ff4444;
}

.auth-notification.error i {
    color: #ff4444;
}

.auth-notification.info {
    border-color: var(--primary);
}

.auth-notification.info i {
    color: var(--primary);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Google Sign In Button */
.google-signin-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-signin-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-signin-btn svg {
    flex-shrink: 0;
}

/* Avatar image */
.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Header mobile fix - ensure all buttons visible */
@media (max-width: 480px) {
    .header-left, .header-right {
        gap: 6px;
    }
    
    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .score-badge {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .app-logo {
        height: 35px;
    }
    
    .app-header {
        padding: 10px 12px;
    }
}

@media (max-width: 380px) {
    .header-left, .header-right {
        gap: 4px;
    }
    
    .icon-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .score-badge {
        padding: 2px 6px;
        font-size: 9px;
    }
    
    .app-logo {
        height: 30px;
    }
}

/* ===== SEARCH MATCH STATUS BADGE ===== */
.search-match-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
}

.search-match-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.search-match-score-badge {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
}

/* Hover effect para search-match-card */
.search-match-card:hover .search-match-score-badge {
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.5);
}

/* ===== SEARCH MATCH STATUS BADGE (GREEN + ORANGE COLORS) ===== */
.search-match-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 170, 68, 0.2);
}

.search-match-score-badge {
    background: linear-gradient(135deg, #00AA44, #FF8C00);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 170, 68, 0.3);
}

.search-match-card:hover .search-match-score-badge {
    box-shadow: 0 4px 12px rgba(0, 170, 68, 0.5);
}

/* ===== SEARCH HISTORY STYLES ===== */
.search-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.clear-history-btn {
    background: rgba(255, 69, 0, 0.2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF4500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.clear-history-btn:hover {
    background: rgba(255, 69, 0, 0.3);
    transform: scale(1.1);
}

.search-tag-history {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: #FF4500;
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.search-tag-history:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: #FF4500;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
}

.search-tag-history i {
    font-size: 11px;
}

    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.reward-item.claimed {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

.reward-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.reward-days {
    color: #fff;
    font-weight: 500;
}

.reward-claim-btn {
    background: #FF4500;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reward-claim-btn:hover {
    background: #FF6B35;
    transform: scale(1.05);
}

.reward-claimed-badge {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.reward-icon {
    font-size: 16px;
}

.streak-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.streak-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4500 0%, #FF6B35 100%);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}


/* ==================== ESTILOS DE RACHA COMPACTOS ====================*/

.streak-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 69, 0, 0.08) 100%) !important;
    border: 1px solid rgba(255, 107, 53, 0.25) !important;
    border-radius: 10px !important;
    padding: 12px !important;
}

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

.streak-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.streak-left i {
    font-size: 24px;
    color: #FF4500;
    animation: fireFlicker 2s ease-in-out infinite;
}

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

.streak-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.streak-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streak-number {
    font-size: 22px;
    font-weight: 700;
    color: #FF4500;
    line-height: 1;
}

.streak-toggle {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #FF4500;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.streak-toggle:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.streak-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.streak-toggle.active i {
    transform: rotate(180deg);
}

.streak-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.streak-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4500 0%, #FF6B35 100%);
    transition: width 0.6s ease;
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.6);
}

.streak-rewards-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.streak-rewards-collapsed.active {
    max-height: 300px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
    text-align: center;
}

.reward-mini.earned {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.4);
}

.reward-mini.claimed {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

.reward-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.reward-mini-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.reward-mini-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.2;
}

.reward-mini.earned .reward-mini-label {
    color: #FF6B35;
    font-weight: 600;
}

.reward-mini.claimed .reward-mini-label {
    color: #4CAF50;
}

.reward-mini-btn {
    background: #FF4500;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s ease;
    width: 100%;
}

.reward-mini-btn:hover {
    background: #FF6B35;
    transform: scale(1.05);
}

.reward-check {
    color: #4CAF50;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}


/* Filtro EN VIVO en modal */
.important-modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.important-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-filter-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.live-filter-btn:hover {
    background: rgba(255,255,255,0.11);
    color: #fff;
}

.live-filter-btn.active {
    background: rgba(255,50,50,0.18);
    border-color: rgba(255,50,50,0.4);
    color: #ff6060;
    box-shadow: 0 0 14px rgba(255,50,50,0.2);
}

.live-filter-btn .live-dot {
    width: 7px;
    height: 7px;
    background: #ff4040;
    border-radius: 50%;
    animation: blink 1s infinite;
    box-shadow: 0 0 6px rgba(255,64,64,0.7);
}

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

/* Modo Radio Profesional */
.radio-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.5s ease;
}

.radio-visualizer.active {
    display: flex;
}

.visualizer-content {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.radio-waves {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100px;
    gap: 4px;
    margin-bottom: 30px;
}

.radio-waves .bar {
    width: 8px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
    animation: waveAnim 1.2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary);
}

.radio-waves .bar:nth-child(2n) { animation-delay: 0.2s; height: 40px; }
.radio-waves .bar:nth-child(3n) { animation-delay: 0.4s; height: 60px; }
.radio-waves .bar:nth-child(4n) { animation-delay: 0.1s; height: 30px; }
.radio-waves .bar:nth-child(5n) { animation-delay: 0.3s; height: 50px; }

@keyframes waveAnim {
    0%, 100% { height: 20px; filter: brightness(1); }
    50% { height: 80px; filter: brightness(1.5); }
}

.radio-icon-pulsing {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: radioPulse 2s infinite;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
}

@keyframes radioPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.radio-info h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.radio-info p {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 30px;
}

.radio-controls-advanced {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
}

.volume-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.radio-adv-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-adv-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* ==================== ROKC ZONE LIST STYLE ==================== */
.rokc-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rokc-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.4);
}

.rokc-tabs::-webkit-scrollbar { display: none; }

.rokc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 72px;
}

.rokc-tab.active {
    background: #FFD700;
    border-color: #FFD700;
    color: #000;
    font-weight: 700;
}

.rokc-tab-day {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rokc-tab-date {
    font-size: 14px;
    font-weight: 700;
}

.rokc-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.rokc-list::-webkit-scrollbar { width: 4px; }
.rokc-list::-webkit-scrollbar-track { background: transparent; }
.rokc-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.rokc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rokc-row:hover {
    background: rgba(255,255,255,0.06);
}

.rokc-row.is-live {
    background: rgba(255, 69, 0, 0.08);
    border-left: 3px solid #FF4500;
}

.rokc-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.rokc-row.is-live .rokc-icon {
    background: rgba(255, 69, 0, 0.2);
    color: #FF4500;
}

.rokc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rokc-league {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rokc-match {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rokc-right {
    flex-shrink: 0;
    text-align: right;
}

.rokc-time {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.rokc-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #FF4500;
    background: rgba(255, 69, 0, 0.15);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    white-space: nowrap;
}

.rokc-live-dot {
    width: 7px;
    height: 7px;
    background: #FF4500;
    border-radius: 50%;
    animation: rokcLivePulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes rokcLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.rokc-empty {
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px 20px;
    font-size: 14px;
}

/* ===== SEARCH MATCH PRO CARDS (SMP) ===== */
.smp-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.smp-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: #FF4500;
    border-radius: 3px 0 0 3px;
}
.smp-card-live::before {
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
}
.smp-card:active {
    transform: scale(0.98);
    background: rgba(255,69,0,0.1);
}
.smp-logos-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 44px;
}
.smp-team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.smp-sport-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}
.smp-sport-icon-only {
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: rgba(255,255,255,0.2);
}
.smp-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.smp-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.smp-badge-liga {
    font-size: 10px;
    font-weight: 700;
    color: #FF4500;
    background: rgba(255,69,0,0.12);
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.smp-badge-live {
    font-size: 10px;
    font-weight: 700;
    color: #00e676;
    background: rgba(0,230,118,0.12);
    padding: 2px 7px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}
.smp-live-dot {
    width: 6px;
    height: 6px;
    background: #00e676;
    border-radius: 50%;
    animation: smpLivePulse 1s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes smpLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}
.smp-badge-soon {
    font-size: 10px;
    font-weight: 700;
    color: #ffab40;
    background: rgba(255,171,64,0.12);
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
}
.smp-badge-scheduled {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 2px 7px;
    border-radius: 20px;
}
.smp-teams-row {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smp-vs {
    color: #FF4500;
    font-weight: 800;
    margin: 0 4px;
}
.smp-event-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smp-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}
.smp-servers-count {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 4px;
}
.smp-servers-count i {
    color: #FF4500;
    font-size: 10px;
}
.smp-no-servers i {
    color: rgba(255,255,255,0.2);
}
.smp-play-btn {
    background: #FF4500;
    border: none;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}
.smp-play-btn:active {
    background: #e03d00;
}

/* ===== iPhone Safe Area (notch / home indicator) ===== */
@supports (padding: env(safe-area-inset-top)) {
    .app-header {
        padding-top: max(10px, calc(10px + env(safe-area-inset-top))) !important;
    }
    .bottom-nav {
        margin-bottom: max(12px, calc(12px + env(safe-area-inset-bottom))) !important;
        padding-bottom: 8px !important;
    }
}

/* ── BOTTOM NAV RESPONSIVE BREAKPOINTS ── */

/* Tiny phones (< 350px) — compact mode */
@media (max-width: 349px) {
    .bottom-nav {
        width: calc(100% - 14px);
        border-radius: 20px;
        padding: 6px 5px;
    }
    .nav-btn {
        padding: 8px 9px;
        max-width: 60px;
        border-radius: 14px;
    }
    .nav-btn.active {
        padding: 8px 12px;
        gap: 5px;
        max-width: 110px;
    }
    .nav-label {
        font-size: 11px;
        max-width: 0;
    }
    .nav-btn.active .nav-label {
        max-width: 70px;
    }
    .nav-icon-wrap i {
        font-size: 16px;
    }
}

/* Large phones / small tablets (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .bottom-nav {
        max-width: 460px;
        width: calc(100% - 32px);
        padding: 9px 10px;
        border-radius: 26px;
    }
    .nav-btn {
        max-width: 90px;
        padding: 11px 13px;
    }
    .nav-btn.active {
        max-width: 150px;
        padding: 11px 18px;
        gap: 8px;
    }
}

/* Tablets and desktop (> 768px) */
@media (min-width: 769px) {
    .bottom-nav {
        max-width: 480px;
        width: calc(100% - 40px);
        padding: 10px 12px;
        border-radius: 28px;
        margin-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .nav-btn {
        max-width: 96px;
        padding: 12px 14px;
        border-radius: 20px;
    }
    .nav-btn.active {
        max-width: 180px;
        padding: 12px 20px;
        gap: 9px;
    }
    .nav-icon-wrap i {
        font-size: 20px;
    }
    .nav-label {
        font-size: 13.5px;
    }
}

/* Landscape mobile — compact vertical */
@media (max-height: 500px) and (orientation: landscape) {
    .bottom-nav {
        padding: 5px 8px;
        border-radius: 18px;
        margin-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    .nav-btn {
        padding: 6px 10px;
        max-width: 66px;
        border-radius: 12px;
    }
    .nav-btn.active {
        padding: 6px 13px;
        gap: 6px;
        max-width: 120px;
    }
    .nav-icon-wrap i {
        font-size: 16px;
    }
    .nav-label {
        font-size: 11.5px;
    }
}

/* ============================================================
   GOOGLE-STYLE TEAM PROFILE — search modal enhancement
   ============================================================ */
.tp-header {
    position: relative;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tp-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px 16px;
}
.tp-header-badge {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.12);
}
.tp-header-badge img {
    width: 90%; height: 90%; object-fit: contain;
}
.tp-header-info { flex: 1; min-width: 0; }
.tp-header-name {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.tp-header-sub {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.tp-follow-btn {
    background: rgba(255,255,255,0.95);
    color: #0f0f0f;
    border: none;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.12s, background 0.2s;
    font-family: inherit;
}
.tp-follow-btn:active { transform: scale(0.96); }
.tp-follow-btn.tp-following {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.tp-tabs {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tab {
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid transparent;
    color: rgba(255,255,255,0.7);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
    white-space: nowrap;
}
.tp-tab:active { transform: scale(0.96); }
.tp-tab-active {
    background: rgba(255, 165, 80, 0.22);
    color: #ffb074;
    border-color: rgba(255, 165, 80, 0.45);
}

.tp-tab-body {
    padding: 14px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tp-card-flush { padding: 16px 0 8px; }
.tp-card-flush .tp-card-head { padding: 0 16px 4px; }
.tp-card-link { cursor: pointer; transition: background 0.15s; }
.tp-card-link:active { background: #222; }

.tp-card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
}
.tp-card-tag {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tp-card-date, .tp-card-result, .tp-card-sub {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
}
.tp-card-result.tp-finished { color: #4ade80; }
.tp-chev { color: rgba(255,255,255,0.4); font-size: 12px; }

.tp-match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
}
.tp-match-team {
    display: flex; align-items: center; gap: 10px;
    color: #fff; font-weight: 600; font-size: 15px;
    min-width: 0;
}
.tp-match-team-away { justify-content: flex-end; text-align: right; }
.tp-match-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-team-badge {
    width: 32px; height: 32px; object-fit: contain;
    flex-shrink: 0;
}
.tp-match-score {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.tp-match-score span { color: rgba(255,255,255,0.3); font-weight: 500; padding: 0 2px; }
.tp-match-vs {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tp-match-meta {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    text-align: center;
}
.tp-match-meta i { margin-right: 4px; }
.tp-match-video {
    display: inline-flex; align-items: center; gap: 6px;
    color: #ffb074;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}
.tp-match-video:active { color: #ff8c3a; }

.tp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .tp-grid-2 { grid-template-columns: 1fr; }
}

.tp-mini-table { display: flex; flex-direction: column; gap: 6px; }
.tp-mini-row {
    display: grid;
    grid-template-columns: 18px 18px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.tp-mini-row-current {
    background: rgba(255, 165, 80, 0.1);
    border-radius: 8px;
    margin: 0 -8px;
    padding: 6px 8px;
    font-weight: 700;
}
.tp-mini-pos { color: rgba(255,255,255,0.5); font-weight: 600; }
.tp-mini-badge { width: 18px; height: 18px; object-fit: contain; }
.tp-mini-team { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-mini-pts { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 12px; }

.tp-mini-players { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.tp-mini-player { display: flex; align-items: center; gap: 10px; }
.tp-mini-player img,
.tp-mini-player-ph {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); flex-shrink: 0;
}
.tp-mini-player-name { color: #fff; font-size: 13px; font-weight: 600; }
.tp-mini-player-pos { color: rgba(255,255,255,0.5); font-size: 11px; }
.tp-mini-more { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 4px; }

.tp-stadium { display: flex; gap: 12px; align-items: center; }
.tp-stadium-img {
    width: 88px; height: 64px;
    border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.tp-stadium-ph {
    width: 88px; height: 64px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 24px; flex-shrink: 0;
}
.tp-stadium-info { flex: 1; min-width: 0; }
.tp-stadium-name { color: #fff; font-size: 15px; font-weight: 700; }
.tp-stadium-loc, .tp-stadium-cap {
    color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 3px;
}
.tp-stadium-loc i, .tp-stadium-cap i { margin-right: 4px; }

.tp-desc {
    color: rgba(255,255,255,0.78);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}
.tp-meta-row {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px;
    color: rgba(255,255,255,0.55); font-size: 12px;
}
.tp-meta-row i { margin-right: 4px; color: #ffb074; }

.tp-section-h {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 6px 4px 2px;
    display: flex; align-items: center; gap: 8px;
}
.tp-section-h i { color: #ffb074; font-size: 13px; }
.tp-section-count {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    padding: 2px 8px;
    border-radius: 999px;
}

.tp-empty {
    text-align: center; padding: 40px 20px;
    color: rgba(255,255,255,0.5);
}
.tp-empty i { font-size: 32px; margin-bottom: 12px; display: block; color: rgba(255,255,255,0.25); }
.tp-empty p { margin: 0; font-size: 14px; }

.tp-standings { padding: 0 0 8px; }
.tp-standings-head, .tp-standings-row {
    display: grid;
    grid-template-columns: 32px 1fr 38px 44px 44px;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
}
.tp-standings-head {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tp-standings-head span:not(:nth-child(2)) { text-align: center; }
.tp-standings-row {
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tp-standings-row span:not(.tp-standings-team):not(.tp-standings-pos) { text-align: center; }
.tp-standings-row-current {
    background: rgba(255, 165, 80, 0.08);
    color: #fff;
    font-weight: 700;
}
.tp-standings-pos {
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    text-align: center;
}
.tp-standings-team {
    display: flex; align-items: center; gap: 8px;
    min-width: 0;
}
.tp-standings-team span:last-child {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tp-standings-badge { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.tp-standings-pts { font-weight: 700; color: #ffb074; }

.tp-squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.tp-player-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.tp-player-photo {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
    color: rgba(255,255,255,0.3); font-size: 24px;
}
.tp-player-photo img {
    width: 100%; height: 100%; object-fit: cover;
}
.tp-player-num {
    position: absolute;
    bottom: -2px; right: -2px;
    background: #ffb074;
    color: #0f0f0f;
    font-size: 11px;
    font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #1a1a1a;
}
.tp-player-name {
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tp-player-meta {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    line-height: 1.2;
}

.tp-no-tx {
    margin: 16px;
    padding: 14px 16px;
    background: rgba(255, 165, 80, 0.08);
    border: 1px solid rgba(255, 165, 80, 0.18);
    border-radius: 12px;
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.8);
}
.tp-no-tx i { color: #ffb074; font-size: 22px; }
.tp-no-tx strong { color: #fff; font-size: 14px; display: block; }
.tp-no-tx p { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,255,255,0.6); }

/* ===== MATCH PROFILE (Google-style match card) ============================ */
.mp-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 112, 38, 0.18);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 112, 38, 0.05);
}
.mp-banner {
    background: radial-gradient(ellipse at top, rgba(255, 112, 38, 0.18) 0%, rgba(20, 20, 20, 0) 65%), #141414;
    padding: 14px 16px 18px;
}
.mp-league-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mp-league-name {
    color: #ffb074;
    font-weight: 700;
}
.mp-status {
    background: rgba(255, 112, 38, 0.12);
    border: 1px solid rgba(255, 112, 38, 0.28);
    color: #ffd2b1;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
}
.mp-teams-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}
.mp-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 0;
}
.mp-team-badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    padding: 8px;
}
.mp-team-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mp-team-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.mp-team-form {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
}
.mp-form-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}
.mp-form-win   { background: #2e8b3a; }
.mp-form-loss  { background: #b53636; }
.mp-form-draw  { background: #7a7a7a; }
.mp-form-unknown { background: #444; }
.mp-form-empty { color: rgba(255,255,255,0.4); font-size: 12px; }
.mp-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}
.mp-score {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1;
}
.mp-score span {
    color: rgba(255,255,255,0.4);
    margin: 0 4px;
}
.mp-vs {
    font-size: 22px;
    font-weight: 800;
    color: #ff7026;
    letter-spacing: 0.08em;
}
.mp-venue {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    text-align: center;
}
.mp-venue i { margin-right: 4px; color: #ff7026; }
.mp-section {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.mp-section-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mp-section-title i { color: #ff7026; font-size: 12px; }
.mp-h2h-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mp-h2h-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 12.5px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}
.mp-h2h-date {
    color: rgba(255,255,255,0.55);
    font-size: 11px;
}
.mp-h2h-teams {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mp-h2h-teams strong { color: #ff7026; padding: 0 4px; }
.mp-h2h-comp {
    color: rgba(255,255,255,0.4);
    font-size: 10.5px;
    text-align: right;
    text-transform: uppercase;
}
.mp-h2h-empty {
    list-style: none;
    color: rgba(255,255,255,0.55);
    font-size: 12.5px;
    padding: 10px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}
.mp-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.mp-standings th {
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mp-standings td {
    padding: 8px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mp-standings tr.mp-row-home td { background: rgba(255, 112, 38, 0.08); color: #fff; }
.mp-standings tr.mp-row-away td { background: rgba(38, 168, 255, 0.08); color: #fff; }
.mp-standings tr.mp-row-home.mp-row-away td { background: rgba(255, 112, 38, 0.12); }
.mp-stand-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.mp-stand-badge {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.mp-stand-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .mp-team-badge { width: 52px; height: 52px; padding: 6px; }
    .mp-team-name { font-size: 12.5px; }
    .mp-score { font-size: 26px; }
    .mp-h2h-item { grid-template-columns: 70px 1fr; }
    .mp-h2h-comp { display: none; }
}

/* ═══════════════════════════════════════════════
   CHAT EN VIVO — Floating panel
═══════════════════════════════════════════════ */
/* ── Glassmorphism Chat FAB ───────────────────────── */
.livechat-fab {
    position: fixed;
    bottom: 90px;
    right: 18px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 60px;
    height: 70px;
    border-radius: 22px;
    background: rgba(18, 14, 28, 0.55);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 100, 30, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                background 0.25s ease;
    outline: none;
    overflow: visible;
}

/* Top shine streak */
.livechat-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 40%;
    border-radius: 22px 22px 50% 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 100%);
    pointer-events: none;
}

/* Animated border glow */
.livechat-fab::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg,
        rgba(255, 110, 40, 0.7) 0%,
        rgba(255, 50, 90, 0.4) 40%,
        rgba(120, 60, 255, 0.2) 70%,
        rgba(255, 110, 40, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0.8;
    animation: livechat-border-spin 4s linear infinite;
    pointer-events: none;
}

@keyframes livechat-border-spin {
    0%   { background-position: 0% 50%; filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

.livechat-fab:hover {
    transform: translateY(-6px) scale(1.08);
    background: rgba(28, 20, 42, 0.72);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 110, 40, 0.55),
        0 0 28px rgba(255, 100, 30, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.livechat-fab:active {
    transform: translateY(-2px) scale(1.03);
    transition-duration: 0.1s;
}

/* EN VIVO badge — pill style */
.livechat-fab-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #ff3b5c 0%, #c8102e 100%);
    color: #fff;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 2.5px 6px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow:
        0 3px 10px rgba(200, 16, 46, 0.7),
        0 0 0 1.5px rgba(255, 255, 255, 0.2);
    animation: livechat-blink 2s ease-in-out infinite;
}

.livechat-fab-badge::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    animation: livechat-dot 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livechat-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes livechat-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.8; }
}

/* Icon */
.livechat-fab-icon {
    font-size: 22px;
    background: linear-gradient(145deg, #ff8c42, #ff4f1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(255, 110, 40, 0.6));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.livechat-fab:hover .livechat-fab-icon {
    transform: scale(1.18) rotate(-8deg);
    filter: drop-shadow(0 0 10px rgba(255, 110, 40, 0.9));
}

/* Label */
.livechat-fab-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Outer pulse ring */
.livechat-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    border: 1.5px solid rgba(255, 100, 30, 0.4);
    animation: livechat-ring 2.5s ease-out infinite;
    pointer-events: none;
}

.livechat-pulse::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 34px;
    border: 1px solid rgba(255, 100, 30, 0.18);
    animation: livechat-ring 2.5s ease-out 0.8s infinite;
}

@keyframes livechat-ring {
    0%   { transform: scale(1);    opacity: 0.6; }
    100% { transform: scale(1.32); opacity: 0; }
}

/* Panel — glass style */
.livechat-panel {
    position: fixed;
    bottom: 84px;
    right: 18px;
    z-index: 1200;
    width: 340px;
    height: 520px;
    border-radius: 24px;
    background: rgba(12, 10, 22, 0.72);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 100, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.93) translateX(8px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition:
        transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.28s ease;
}
.livechat-panel.open {
    transform: translateY(0) scale(1) translateX(0);
    opacity: 1;
    pointer-events: all;
}
.livechat-panel.expanded {
    width: min(96vw, 680px);
    height: min(92vh, 760px);
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%) scale(0.95);
    transform-origin: center center;
}
.livechat-panel.expanded.open {
    transform: translate(50%, 50%) scale(1);
}

/* Header */
.livechat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(255, 100, 30, 0.12) 0%, rgba(255, 50, 80, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: relative;
}
.livechat-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.livechat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.livechat-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53e3e;
    animation: livechat-blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
.livechat-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.livechat-online {
    font-size: 10px;
    font-weight: 700;
    color: #e53e3e;
    letter-spacing: 0.06em;
}
.livechat-header-actions {
    display: flex;
    gap: 6px;
}
.livechat-expand-btn,
.livechat-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.livechat-expand-btn:hover { background: rgba(255,102,0,0.2); color: #FF6600; }
.livechat-close-btn:hover { background: rgba(229,62,62,0.2); color: #e53e3e; }

/* iframe body */
.livechat-body {
    flex: 1;
    overflow: hidden;
    background: #fff;
}
.livechat-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.livechat-footer {
    padding: 6px 14px;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

/* Overlay móvil */
.livechat-overlay {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.livechat-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Ajustes responsive */
@media (max-width: 420px) {
    .livechat-panel {
        width: calc(100vw - 20px);
        right: 10px;
        height: 70vh;
        bottom: 72px;
    }
    .livechat-fab {
        bottom: 72px;
        right: 10px;
    }
}

/* ================================================================
   BUSCADOR — Canvas Browser  ·  Glass  ·  Negro · Naranja · Blanco
   Reemplazo completo del diseño anterior
   ================================================================ */

/* --- Modal wrapper --- */
.search-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: flex-end !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.28s ease !important;
}
.search-modal.active {
    display: flex !important;
    opacity: 1 !important;
}

/* --- Backdrop --- */
.search-modal-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.72) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* --- Sheet container --- */
.search-modal-container {
    position: relative !important;
    width: 100% !important;
    max-width: 680px !important;
    height: 92dvh !important;
    background: rgba(8, 8, 8, 0.97) !important;
    backdrop-filter: blur(48px) !important;
    -webkit-backdrop-filter: blur(48px) !important;
    border: 1px solid rgba(255, 107, 0, 0.18) !important;
    border-bottom: none !important;
    border-radius: 26px 26px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    top: unset !important;
    left: unset !important;
    animation: sbSheetUp 0.38s cubic-bezier(0.32, 0.72, 0, 1) !important;
    box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,107,0,0.08) inset !important;
}
@keyframes sbSheetUp {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* --- Handle bar --- */
.sb-handle-bar {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    margin: 14px auto 2px;
    flex-shrink: 0;
}

/* --- Top brand row --- */
.sb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 14px;
    flex-shrink: 0;
}
.sb-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
}
.sb-close-btn,
.close-search-modal {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s, color 0.15s !important;
    flex-shrink: 0 !important;
}
.sb-close-btn:active,
.close-search-modal:active {
    background: rgba(255, 107, 0, 0.22) !important;
    color: #FF6B00 !important;
}

/* --- Address bar (search input) --- */
.sb-address-row {
    padding: 0 16px 14px;
    flex-shrink: 0;
}
.sb-address-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1.5px solid rgba(255, 107, 0, 0.28);
    border-radius: 18px;
    padding: 0 14px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.sb-address-bar:focus-within {
    border-color: #FF6B00;
    background: rgba(255, 107, 0, 0.07);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1), 0 2px 20px rgba(255, 107, 0, 0.08);
}
.sb-addr-icon {
    color: #FF6B00;
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 10px;
}
.search-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    padding: 15px 6px !important;
    outline: none !important;
    font-family: inherit !important;
    -webkit-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
}
.search-input::placeholder {
    color: rgba(255, 255, 255, 0.28) !important;
}
.clear-search-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 15px !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.clear-search-btn:active { color: #FF6B00 !important; }
.voice-search-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 16px !important;
    padding: 0 2px 0 10px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: color 0.2s !important;
}
.voice-search-btn:active { color: #FF6B00 !important; }
.voice-search-btn.listening {
    color: #FF6B00 !important;
    animation: sbMicPulse 0.75s ease-in-out infinite !important;
}
@keyframes sbMicPulse { 0%,100%{transform:scale(1);}50%{transform:scale(1.28);} }

/* --- Sport chips row --- */
.sb-chips-row {
    padding: 0 16px 14px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.search-sport-chips {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding: 2px 0 !important;
}
.search-sport-chips::-webkit-scrollbar { display: none !important; }
.sport-chip {
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    transition: all 0.18s !important;
    font-family: inherit !important;
}
.sport-chip.active {
    background: #FF6B00 !important;
    border-color: #FF6B00 !important;
    color: #fff !important;
    box-shadow: 0 2px 14px rgba(255, 107, 0, 0.38) !important;
}
.sport-chip:active { opacity: 0.82 !important; }
.sport-chip i { font-size: 11px !important; }

/* --- Results body --- */
.search-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    background: transparent !important;
    padding: 0 !important;
    overscroll-behavior: contain !important;
}
.search-modal-body::-webkit-scrollbar { width: 3px !important; }
.search-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.38) !important;
    border-radius: 2px !important;
}
.search-modal-body::-webkit-scrollbar-track { background: transparent !important; }

/* --- Welcome state (sw-*) --- */
.sw-root { padding: 18px 0 44px !important; }
.sw-section { margin-bottom: 26px !important; padding: 0 16px !important; }
.sw-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-bottom: 12px !important;
}
.sw-section-head span { display: flex !important; align-items: center !important; gap: 6px !important; }
.sw-section-head i { color: #FF6B00 !important; font-size: 12px !important; }
.sw-clear-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.28) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    padding: 0 !important;
    transition: color 0.15s !important;
}
.sw-clear-btn:active { color: #FF6B00 !important; }

/* Trending chips */
.sw-chips-scroll {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
}
.sw-chips-scroll::-webkit-scrollbar { display: none !important; }
.sw-chip {
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.15s !important;
}
.sw-chip:active {
    background: rgba(255, 107, 0, 0.14) !important;
    border-color: rgba(255, 107, 0, 0.35) !important;
}
.sw-chip-live {
    background: rgba(255, 55, 55, 0.09) !important;
    border-color: rgba(255, 55, 55, 0.22) !important;
}
.sw-live-dot {
    width: 6px !important;
    height: 6px !important;
    background: #ff3b3b !important;
    border-radius: 50% !important;
    box-shadow: 0 0 5px rgba(255, 59, 59, 0.7) !important;
    animation: sbLiveBlink 1.2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}
@keyframes sbLiveBlink { 0%,100%{opacity:1;}50%{opacity:0.28;} }

/* League glass rows */
.sw-list { display: flex !important; flex-direction: column !important; gap: 8px !important; }
.sw-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 13px 16px !important;
    background: rgba(255, 255, 255, 0.038) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
    border-radius: 18px !important;
    cursor: pointer !important;
    transition: background 0.15s, border-color 0.15s !important;
    backdrop-filter: blur(10px) !important;
}
.sw-row:active {
    background: rgba(255, 107, 0, 0.1) !important;
    border-color: rgba(255, 107, 0, 0.28) !important;
}
.sw-row-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    flex-shrink: 0 !important;
}
.sw-row-body { flex: 1 !important; display: flex !important; flex-direction: column !important; gap: 2px !important; min-width: 0 !important; }
.sw-row-title { font-size: 14px !important; font-weight: 700 !important; color: #fff !important; }
.sw-row-sub { font-size: 11px !important; color: rgba(255, 255, 255, 0.38) !important; }
.sw-row-chevron { font-size: 10px !important; color: rgba(255, 107, 0, 0.38) !important; flex-shrink: 0 !important; }

/* Team chips */
.sw-teams-scroll {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
}
.sw-teams-scroll::-webkit-scrollbar { display: none !important; }
.sw-team-chip {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    min-width: 56px !important;
}
.sw-team-chip:active .sw-team-icon { transform: scale(0.88) !important; }
.sw-team-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 19px !important;
    transition: transform 0.15s !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
}
.sw-team-chip span {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.48) !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    max-width: 56px !important;
    text-overflow: ellipsis !important;
}

/* --- Search result cards (glass) --- */
.search-team-card,
.search-match-card,
.search-league-card,
.search-important-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(12px) !important;
    transition: background 0.15s, border-color 0.15s !important;
    box-shadow: none !important;
    transform: none !important;
}
.search-team-card:active,
.search-match-card:active,
.search-league-card:active,
.search-important-card:active {
    background: rgba(255, 107, 0, 0.09) !important;
    border-color: rgba(255, 107, 0, 0.28) !important;
    transform: none !important;
    box-shadow: none !important;
}
.search-match-live {
    border-color: rgba(255, 107, 0, 0.28) !important;
    background: rgba(255, 107, 0, 0.06) !important;
}
.search-match-live::before { display: none !important; }
.search-important-card::before { display: none !important; }
.search-important-card:hover { transform: none !important; box-shadow: none !important; }
.search-team-card:hover { transform: none !important; box-shadow: none !important; }
.search-match-card:hover { transform: none !important; box-shadow: none !important; }
.search-league-card:hover { transform: none !important; box-shadow: none !important; }

/* Results header */
.search-results-header {
    background: rgba(255, 107, 0, 0.07) !important;
    border: 1px solid rgba(255, 107, 0, 0.18) !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    margin-bottom: 14px !important;
    box-shadow: none !important;
}
.search-results-header::before { display: none !important; }

/* Section titles */
.search-section-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    font-weight: 700 !important;
    padding-bottom: 10px !important;
}
.search-section-title i { color: #FF6B00 !important; }
.search-section { padding: 0 16px !important; margin-bottom: 24px !important; }

/* Score */
.search-match-score { color: #FF6B00 !important; }
.search-match-score-big {
    background: linear-gradient(135deg, #FF6B00, #FF4500) !important;
    box-shadow: 0 3px 12px rgba(255, 107, 0, 0.32) !important;
}

/* Status badges */
.search-status-badge {
    border-radius: 50px !important;
    font-size: 11px !important;
}
.search-status-badge.live {
    background: rgba(255, 55, 55, 0.1) !important;
    border-color: rgba(255, 55, 55, 0.22) !important;
    color: #ff5555 !important;
}
.search-status-badge.scheduled {
    background: rgba(255, 165, 0, 0.1) !important;
    border-color: rgba(255, 165, 0, 0.22) !important;
    color: #ffaa00 !important;
}
.search-status-badge.finished {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* No results */
.search-no-results { padding: 60px 20px !important; }
.no-results-icon {
    background: rgba(255, 107, 0, 0.07) !important;
    color: rgba(255, 107, 0, 0.35) !important;
    border-radius: 50% !important;
}
.search-no-results h3 { color: #fff !important; font-size: 19px !important; }
.search-no-results p { color: rgba(255, 255, 255, 0.4) !important; }

/* Live pulse dot */
.live-dot-pulse {
    width: 8px !important;
    height: 8px !important;
    background: #ff3b3b !important;
    border-radius: 50% !important;
    animation: sbLivePulse 1.4s infinite !important;
}
@keyframes sbLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
    60%  { box-shadow: 0 0 0 7px rgba(255, 59, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

/* Teams grid */
.search-teams-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 10px !important;
}
.search-team-logo img { border-radius: 8px !important; }
.search-team-name { color: #fff !important; font-size: 14px !important; font-weight: 700 !important; }
.search-team-full { color: rgba(255, 255, 255, 0.4) !important; }

/* Section badge */
.search-section-badge {
    background: linear-gradient(135deg, #FF6B00, #FF4500) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    box-shadow: none !important;
}

/* Section icon */
.search-section-icon {
    background: rgba(255, 107, 0, 0.15) !important;
    color: #FF6B00 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.search-section-icon.live-pulse {
    background: rgba(255, 55, 55, 0.15) !important;
    color: #ff4444 !important;
    animation: none !important;
}

/* Important channels chip */
.search-important-channels {
    background: rgba(76, 175, 80, 0.1) !important;
    border-radius: 50px !important;
    color: #4caf50 !important;
}

/* Remove shimmer animations for clean look */
.search-section-featured { border-radius: 18px !important; }
@keyframes shimmer { to { left: 100%; } }

/* Responsive tweak */
@media (min-width: 480px) {
    .search-modal-container {
        border-radius: 28px 28px 0 0 !important;
    }
}

/* ================================================================
   RESULTADOS DE BÚSQUEDA — Grid premium 2 columnas por deporte
   ================================================================ */

/* Grupo por deporte */
.sr-group {
    padding: 0 14px 32px;
}

/* Encabezado del deporte */
.sr-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}
.sr-group-bar {
    width: 3px;
    height: 22px;
    background: linear-gradient(180deg, #FF6B00, #FF4500);
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255,107,0,0.5);
}
.sr-group-header i {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.sr-group-name {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Subtítulo */
.sr-group-sub {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.28);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    margin-left: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sr-live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff4444;
    font-weight: 800;
}
.sr-live-dot {
    width: 6px;
    height: 6px;
    background: #ff3b3b;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(255,59,59,0.7);
    animation: srLivePulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes srLivePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,59,59,0.7); }
    50%      { box-shadow: 0 0 0 5px rgba(255,59,59,0); }
}

/* Grid 2 columnas */
.sr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ---- CARD ---- */
.sr-card {
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.sr-card:active {
    transform: scale(0.94);
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.sr-card-live {
    border-color: rgba(255,59,59,0.22);
    box-shadow: 0 4px 24px rgba(255,59,59,0.1);
}

/* ---- THUMBNAIL ---- */
.sr-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

/* Fondo: campo estilizado con cuadrícula y gradiente */
.sr-thumb-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(255,107,0,0.15) 0%, transparent 65%),
        radial-gradient(ellipse 70% 50% at 20% -10%, rgba(255,107,0,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% -10%, rgba(255,200,0,0.04) 0%, transparent 55%),
        linear-gradient(160deg, #111 0%, #0a0a0a 50%, #111 100%);
}
/* Cuadrícula tipo cancha */
.sr-thumb-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
/* Círculo central */
.sr-thumb-bg::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,107,0,0.08);
    box-shadow: 0 0 0 16px rgba(255,107,0,0.03);
}

/* Degradado inferior que cubre la cuadrícula bajo los logos */
.sr-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.82) 100%);
    pointer-events: none;
    z-index: 3;
}

/* ---- Logos de equipo ---- */
.sr-thumb-logos {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    width: 100%;
}
/* Círculo blanco detrás de cada logo */
.sr-thumb-logos img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    padding: 5px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.sr-thumb-logo-placeholder {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}
.sr-thumb-logo-placeholder i {
    font-size: 20px;
    color: rgba(255,255,255,0.22);
}

/* VS separador */
.sr-thumb-vs {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.sr-thumb-vs i {
    font-size: 11px;
    color: #FF6B00;
    filter: drop-shadow(0 0 4px rgba(255,107,0,0.6));
}

/* Sin logos — ícono grande centrado */
.sr-thumb-icon-only {
    position: relative;
    z-index: 2;
    font-size: 38px;
    color: rgba(255,255,255,0.08);
    filter: drop-shadow(0 0 20px rgba(255,107,0,0.12));
}

/* ---- Badges flotantes ---- */
.sr-thumb-live {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #e00, #ff3333);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 4px 9px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(220,0,0,0.5);
}
.sr-thumb-live .sr-live-dot {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
}

.sr-thumb-time {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 4;
    background: rgba(0,0,0,0.7);
    color: rgba(255,255,255,0.75);
    font-size: 8px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sr-thumb-servers {
    position: absolute;
    bottom: 9px;
    right: 9px;
    z-index: 4;
    background: linear-gradient(135deg, #FF6B00, #FF4500);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 9px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(255,107,0,0.45);
}

/* ---- Info debajo del thumb ---- */
.sr-card-body {
    padding: 10px 11px 12px;
    background: #0d0d0d;
    position: relative;
}
/* Borde superior sutil naranja */
.sr-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 11px;
    right: 11px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.2), transparent);
}
.sr-card-liga {
    font-size: 9px;
    font-weight: 800;
    color: #FF6B00;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}
.sr-card-title {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.1px;
}
