/* ============================================================
   SAN MARCOS DE ARICA - Premium Design System 2026
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&family=Teko:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
    /* Brand Colors */
    --brand-celeste: #4FC3F7;
    --brand-celeste-dark: #0288D1;
    --brand-celeste-glow: #81D4FA;
    --brand-white: #FFFFFF;
    --brand-gold: #FFD54F;
    --brand-gold-dark: #F9A825;

    /* Surface Colors */
    --surface-primary: #0A0E1A;
    --surface-secondary: #0F1525;
    --surface-card: #141C2F;
    --surface-card-hover: #1A2440;
    --surface-glass: rgba(15, 21, 37, 0.85);
    --surface-glass-light: rgba(79, 195, 247, 0.08);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-muted: #607D8B;
    --text-accent: var(--brand-celeste);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A0E1A 0%, #0D2137 50%, #0A0E1A 100%);
    --gradient-brand: linear-gradient(135deg, var(--brand-celeste) 0%, var(--brand-celeste-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
    --gradient-card: linear-gradient(145deg, rgba(20, 28, 47, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
    --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.6) 40%, rgba(10, 14, 26, 0.95) 100%);

    /* Typography */
    --font-heading: 'Bebas Neue', 'Impact', sans-serif;
    --font-subheading: 'Teko', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-alt: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 8vw, 120px);
    --container-max: 1340px;
    --container-padding: clamp(16px, 3vw, 40px);

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(79, 195, 247, 0.15);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border */
    --border-subtle: 1px solid rgba(79, 195, 247, 0.08);
    --border-accent: 1px solid rgba(79, 195, 247, 0.2);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--surface-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Scrollbar Custom ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-primary); }
::-webkit-scrollbar-thumb { 
    background: var(--brand-celeste-dark); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-celeste); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-subtle);
    padding: 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(10, 14, 26, 0.97);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 12px var(--container-padding);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; transition: var(--transition-smooth); filter: drop-shadow(0 2px 8px rgba(79,195,247,0.3)); }
.logo:hover img { transform: scale(1.05); }

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--brand-celeste);
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    color: var(--text-secondary);
    font-family: var(--font-subheading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--brand-celeste);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: var(--surface-glass-light);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

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

.btn-tickets {
    background: var(--gradient-brand);
    color: var(--surface-primary);
    border: none;
    padding: 10px 28px;
    font-family: var(--font-subheading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.25);
}

.btn-tickets:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.main-slider {
    height: 90vh;
    min-height: 500px;
    max-height: 900px;
    width: 100%;
    position: relative;
}

.main-swiper { width: 100%; height: 100%; }

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(1.2);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-img {
    transform: scale(1.08);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 8%;
    background: var(--gradient-overlay);
    z-index: 10;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-brand);
    color: var(--surface-primary);
    padding: 6px 18px;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.slide-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--surface-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.3);
    max-width: 700px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-celeste);
    color: var(--surface-primary);
    padding: 16px 40px;
    font-family: var(--font-subheading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(79,195,247,0.3);
}

.btn-hero:hover {
    background: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(79,195,247,0.4);
}

.btn-hero svg { transition: var(--transition-smooth); }
.btn-hero:hover svg { transform: translateX(4px); }

/* Swiper overrides */
.swiper-pagination-bullet {
    width: 12px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
    width: 32px;
    background: var(--brand-celeste);
    box-shadow: 0 0 12px rgba(79,195,247,0.5);
}

/* ============================================================
   LIVE SCORES TICKER
   ============================================================ */
.live-ticker {
    background: var(--surface-secondary);
    border-bottom: var(--border-subtle);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.live-ticker::before,
.live-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.live-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--surface-secondary), transparent);
}

.live-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--surface-secondary), transparent);
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 var(--container-padding);
    margin-bottom: 12px;
}

.ticker-live-dot {
    width: 8px;
    height: 8px;
    background: #EF5350;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(239, 83, 80, 0.6);
}

.ticker-title {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.ticker-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 var(--container-padding);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.ticker-scroll::-webkit-scrollbar { display: none; }

.ticker-match {
    flex-shrink: 0;
    background: var(--surface-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
    scroll-snap-align: start;
    cursor: pointer;
}

.ticker-match:hover {
    border-color: rgba(79, 195, 247, 0.3);
    background: var(--surface-card-hover);
    transform: translateY(-2px);
}

.ticker-match.is-live {
    border-color: rgba(239, 83, 80, 0.3);
    background: rgba(239, 83, 80, 0.05);
}

.ticker-team {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ticker-team-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}

.ticker-score {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-celeste);
    text-align: center;
    min-width: 40px;
}

.ticker-score.pending {
    font-size: 0.8rem;
    font-family: var(--font-subheading);
    color: var(--text-muted);
}

.ticker-status {
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.ticker-status.live {
    color: #EF5350;
    font-weight: 700;
}

.ticker-status.finished {
    color: var(--text-muted);
}

.ticker-round {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

/* ============================================================
   TABS SECTION
   ============================================================ */
.tabs-section {
    padding: var(--section-padding) 0;
    background: var(--surface-secondary);
    position: relative;
}

.tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-celeste), transparent);
    opacity: 0.3;
}

.tabs-header {
    display: flex;
    gap: 4px;
    margin-bottom: 48px;
    background: var(--surface-card);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    width: fit-content;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}

.tab-btn.active {
    color: var(--surface-primary);
    background: var(--gradient-brand);
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.3);
}

.tab-content {
    display: none;
    animation: fadeUp 0.5s ease;
}

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

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

/* ============================================================
   GRIDS & CARDS
   ============================================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* News Card */
.match-card {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.match-card:hover {
    border-color: rgba(79, 195, 247, 0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.match-card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(10,14,26,0.8));
}

.card-body {
    padding: 24px;
}

.card-date {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    color: var(--brand-celeste);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-subheading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   RESULT CARD (Scores)
   ============================================================ */
.result-card {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.result-card:hover {
    border-color: rgba(79,195,247,0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.result-round {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

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

.result-team-name {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
}

.result-vs {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand-celeste);
    min-width: 80px;
}

.result-status {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-status.finished {
    background: rgba(79,195,247,0.1);
    color: var(--brand-celeste);
}

.result-status.upcoming {
    background: rgba(255,213,79,0.1);
    color: var(--brand-gold);
}

.result-status.live {
    background: rgba(239,83,80,0.15);
    color: #EF5350;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,83,80,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(239,83,80,0); }
}

/* ============================================================
   PLAYER CARD
   ============================================================ */
.player-card {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.player-card:hover {
    border-color: rgba(79,195,247,0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.player-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, var(--surface-card));
    pointer-events: none;
}

.player-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    z-index: 2;
}

.player-info {
    padding: 20px 24px 24px;
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.player-position {
    display: inline-flex;
    padding: 4px 12px;
    background: var(--gradient-brand);
    color: var(--surface-primary);
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.player-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1;
}

.player-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.7rem;
    font-family: var(--font-subheading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-badge.refuerzo {
    color: var(--brand-gold);
}

.player-badge.renovacion {
    color: var(--brand-celeste-glow);
}

/* ============================================================
   STANDINGS TABLE
   ============================================================ */
.standings-section {
    padding: var(--section-padding) 0;
    background: var(--surface-primary);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-subtle);
}

.standings-table thead {
    background: var(--surface-secondary);
}

.standings-table th {
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 16px 12px;
    text-align: center;
    border-bottom: var(--border-subtle);
}

.standings-table th:first-child,
.standings-table td:first-child {
    text-align: center;
    width: 50px;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
}

.standings-table td {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-fast);
}

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

.standings-table tbody tr:hover {
    background: var(--surface-card-hover);
}

.standings-table tbody tr.highlight {
    background: rgba(79, 195, 247, 0.06);
    border-left: 3px solid var(--brand-celeste);
}

.standings-table tbody tr.highlight td {
    color: var(--text-primary);
    font-weight: 600;
}

.standings-rank {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.standings-team {
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.standings-points {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--brand-celeste);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 20px;
}

.section-title {
    position: relative;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1;
    position: relative;
}

.section-title h2 .accent {
    color: var(--brand-celeste);
}

.section-subtitle {
    font-family: var(--font-subheading);
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
    margin-top: 16px;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-celeste);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(79,195,247,0.3);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-see-all:hover {
    background: rgba(79,195,247,0.1);
    border-color: var(--brand-celeste);
    transform: translateX(4px);
}

/* ============================================================
   FULL SECTIONS
   ============================================================ */
.full-view-section {
    padding: var(--section-padding) 0;
    background: var(--surface-primary);
    position: relative;
}

.full-view-section:nth-child(even) {
    background: var(--surface-secondary);
}

.full-view-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,0.15), transparent);
}

/* ============================================================
   AGENDA / FIXTURE LIST
   ============================================================ */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-item {
    display: flex;
    align-items: center;
    background: var(--surface-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: var(--transition-smooth);
    gap: 20px;
    cursor: pointer;
}

.agenda-item:hover {
    border-color: rgba(79,195,247,0.3);
    background: var(--surface-card-hover);
    transform: translateX(4px);
}

.agenda-date {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand-celeste);
    min-width: 60px;
    text-align: center;
    line-height: 1;
}

.agenda-date-sub {
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-info {
    flex: 1;
}

.agenda-title {
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.agenda-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.agenda-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,213,79,0.1);
    color: var(--brand-gold);
    white-space: nowrap;
}

/* ============================================================
   CLUB INFO / ABOUT SECTION
   ============================================================ */
.club-info-section {
    padding: var(--section-padding) 0;
    background: var(--surface-secondary);
    position: relative;
    overflow: hidden;
}

.club-info-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,195,247,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--surface-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    border-color: rgba(79,195,247,0.2);
    transform: translateY(-4px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.info-label {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
}

/* ============================================================
   POST DETAIL OVERLAY
   ============================================================ */
.post-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

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

.post-detail-content {
    max-width: 900px;
    margin: 40px auto;
    background: var(--surface-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: var(--border-subtle);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.close-detail {
    position: fixed;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    background: var(--surface-card);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: var(--border-subtle);
    transition: var(--transition-smooth);
    z-index: 2001;
}

.close-detail:hover {
    background: var(--brand-celeste);
    color: var(--surface-primary);
    transform: rotate(90deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: var(--surface-primary);
    border-top: var(--border-subtle);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-celeste), transparent);
    opacity: 0.2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand img {
    height: 56px;
    filter: drop-shadow(0 2px 8px rgba(79,195,247,0.3));
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 350px;
}

.footer-heading {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-celeste);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--surface-card);
    border: var(--border-subtle);
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--brand-celeste);
    color: var(--surface-primary);
    transform: translateY(-3px);
    border-color: var(--brand-celeste);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, var(--surface-card) 25%, var(--surface-card-hover) 50%, var(--surface-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

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

.skeleton-card {
    height: 320px;
    border-radius: var(--radius-lg);
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
}

.skeleton-text.short { width: 60%; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }

    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 40px;
    }

    .main-nav.open ul {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .main-nav.open a {
        font-size: 1.8rem;
        padding: 16px;
        font-family: var(--font-heading);
        display: block;
    }

    .mobile-toggle { display: flex; }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .main-slider {
        height: 65vh;
        min-height: 400px;
    }

    .slide-content { padding: 40px 5%; }
    .slide-content h2 { font-size: 2.5rem; }

    .tabs-header {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs-header::-webkit-scrollbar { display: none; }

    .tab-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
        white-space: nowrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .player-image { height: 300px; }

    .standings-table { font-size: 0.8rem; }
    .standings-table th, .standings-table td { padding: 10px 6px; }
}

@media (max-width: 480px) {
    .header-container { padding: 10px 16px; }
    .logo img { height: 40px; }
    .btn-tickets { padding: 8px 18px; font-size: 0.8rem; }
    .ticker-match { min-width: 240px; padding: 10px 14px; }
}

/* ============================================================
   PORTAL DUAL COLUMN LAYOUT (WEB DEPORTIVA PROFESIONAL)
   ============================================================ */
.portal-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 60px;
}

.portal-main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.portal-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 6px;
}

/* Custom Scrollbar for sidebar */
.portal-sidebar::-webkit-scrollbar {
    width: 6px;
}
.portal-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.portal-sidebar::-webkit-scrollbar-thumb {
    background: rgba(79, 195, 247, 0.15);
    border-radius: 3px;
}
.portal-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 195, 247, 0.35);
}

.sidebar-widget {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-divider {
    width: 40px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
    margin: 12px 0 20px 0;
}

/* Portal content responsive reset */
.portal-layout .full-view-section {
    padding: 0;
    background: transparent !important;
}

.portal-layout .full-view-section::before {
    display: none;
}

@media (max-width: 1024px) {
    .portal-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .portal-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

/* ============================================================
   SOCIAL PROOF TOASTS SYSTEM (ACTIVIDAD DE HINCHAS EN VIVO)
   ============================================================ */
.social-proof-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 350px;
    max-width: calc(100vw - 48px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.social-proof-toast {
    background: rgba(15, 21, 37, 0.96);
    border: 1px solid rgba(79, 195, 247, 0.22);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(79, 195, 247, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: toastSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.social-proof-toast.hide {
    animation: toastSlideOut 0.5s ease-in forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--surface-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(79, 195, 247, 0.25);
}

.toast-avatar.vip {
    background: var(--gradient-gold);
    color: #000;
}

.toast-content {
    flex: 1;
}

.toast-user {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-celeste-glow);
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.toast-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 400;
}

.toast-text {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.toast-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-family: var(--font-subheading);
    text-transform: uppercase;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.toast-badge.like { background: rgba(79, 195, 247, 0.12); color: var(--brand-celeste); }
.toast-badge.ticket { background: rgba(255, 213, 79, 0.12); color: var(--brand-gold); }
.toast-badge.online { background: rgba(76, 175, 80, 0.12); color: #4CAF50; }
.toast-badge.comment { background: rgba(255, 255, 255, 0.08); color: var(--text-secondary); }

.social-proof-toast:hover {
    border-color: var(--brand-celeste);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(79, 195, 247, 0.2);
}

/* ============================================================
   SLIDER BACKGROUND VIDEO
   ============================================================ */
.slide-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.65;
}

/* ============================================================
   FLOATING HYMN PLAYER CONTROLS
   ============================================================ */
.hymn-player-control {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 21, 37, 0.95);
    border: 1px solid rgba(79, 195, 247, 0.3);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hymn-player-control:hover {
    transform: scale(1.05) translateY(-2px);
    border-color: var(--brand-celeste);
    box-shadow: 0 12px 40px rgba(79, 195, 247, 0.25);
}

.hymn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.hymn-player-control.playing .hymn-icon {
    animation: bounceMusic 1.2s ease-in-out infinite alternate;
}

@keyframes bounceMusic {
    from { transform: translateY(0); }
    to { transform: translateY(-4px) rotate(10deg); }
}

.hymn-label {
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.hymn-status {
    font-size: 0.7rem;
    color: var(--brand-celeste);
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 10px;
}