/* Fútbol Hoy Argentina - Estilos Modernos y Ultra Rápidos */

:root {
    --bg: #0b0f19;
    --surface: #131b2e;
    --surface-hover: #1c2742;
    --surface-border: #233152;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.2);
    --live-red: #ef4444;
    --green-badge: #10b981;
    --gold: #f59e0b;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background-color: rgba(19, 27, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-ball {
    font-size: 24px;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-tag {
    background: #1e3a8a;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.team-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.team-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.team-nav a:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.team-nav a.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
}

/* Main */
.main-wrap {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    flex-grow: 1;
}

/* Hero Section */
.hero-section {
    margin-bottom: 35px;
}

.hero-section h1 {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-sub {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.update-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

.team-hero-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.team-icon-large {
    font-size: 42px;
}

/* Section Headings */
h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    color: #e2e8f0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Match Card */
.match-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.match-card.featured {
    border: 2px solid #0284c7;
    background: linear-gradient(180deg, #162444 0%, #131b2e 100%);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

.match-league {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.badge-scheduled {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-live {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Teams Row */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 15px;
}

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

.team-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.team-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.vs-badge {
    font-size: 14px;
    font-weight: 900;
    color: var(--text-secondary);
    background: #1e293b;
    padding: 6px 10px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.score-display {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid #334155;
}

.score-divider {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Meta Details */
.match-meta {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-value {
    color: var(--text-primary);
    text-align: right;
}

.tv-badge {
    color: #38bdf8 !important;
    font-weight: 700;
}

/* Cross-Sell Box */
.cross-sell-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.cross-title {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cross-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.cross-links a {
    font-size: 11px;
    font-weight: 600;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s;
}

.cross-links a:hover {
    background: #f59e0b;
    color: #000;
}

/* FAQ Section */
.seo-faq-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--surface-border);
}

.faq-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.faq-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.faq-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #070a12;
    border-top: 1px solid var(--surface-border);
    padding: 35px 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 12px;
    color: #64748b;
}

.footer-copy a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .team-nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }
    .match-teams {
        gap: 8px;
    }
    .team-logo {
        width: 48px;
        height: 48px;
    }
    .team-name {
        font-size: 13px;
    }
}
