/* ============================================================
   PRONÓSTICOS DEPORTIVOS — Ultra Modern Design System 2026
   Dark Mode · Neon Accents · Glassmorphism · Micro-animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-orange: #ff6b35;

    /* Dark Palette */
    --bg-base: #080c14;
    --bg-surface: #0d1421;
    --bg-card: #111827;
    --bg-card-hover: #151f30;
    --bg-elevated: #1a2540;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --border-neon: rgba(0, 255, 136, 0.35);

    /* Text */
    --text-primary: #f0f4ff;
    --text-secondary: #8b9cc8;
    --text-muted: #4a5578;
    --text-accent: var(--neon-green);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --grad-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --grad-orange: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --grad-hero: radial-gradient(ellipse at 20% 50%, rgba(0, 255, 136, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #080c14 0%, #0d1421 100%);

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    --shadow-neon-g: 0 0 30px rgba(0, 255, 136, 0.2), 0 0 60px rgba(0, 255, 136, 0.08);
    --shadow-neon-b: 0 0 30px rgba(0, 212, 255, 0.2), 0 0 60px rgba(0, 212, 255, 0.08);
    --shadow-neon-p: 0 0 30px rgba(168, 85, 247, 0.2), 0 0 60px rgba(168, 85, 247, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 136, 0.1);

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 36px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.15s var(--ease);
    --t-med: 0.3s var(--ease);
    --t-slow: 0.5s var(--ease);

    --header-h: 70px;
}

/* ─── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ─── Skip Link ────────────────────────────────────────────── */
.skip-to-content {
    position: absolute;
    top: -50px;
    left: 1rem;
    background: var(--neon-green);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

/* ─── Noise Texture Overlay ────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 500;
    height: var(--header-h);
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: border-color var(--t-med), background var(--t-med);
}

.header.scrolled {
    background: rgba(8, 12, 20, 0.95);
    border-bottom-color: var(--border-medium);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    object-fit: cover;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
    transition: var(--t-med);
}

.logo:hover .logo-img {
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.7);
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad-primary);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-neon-g);
    flex-shrink: 0;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--r-sm) + 1px);
    background: var(--grad-primary);
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--border-subtle);
}

.nav-links a.active {
    color: var(--neon-green);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 6px var(--neon-green);
}

.nav-links a.nav-cta {
    background: var(--grad-primary);
    color: #000 !important;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-neon-g);
    transition: var(--t-med);
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.nav-links a.nav-cta::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--border-subtle);
    gap: 5px;
    transition: var(--t-med);
    flex-shrink: 0;
}

.hamburger:hover {
    background: var(--border-medium);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--t-med);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background: var(--neon-green);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background: var(--neon-green);
}

/* Mobile Menu */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 498;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(13, 20, 33, 0.98);
    backdrop-filter: blur(24px);
    z-index: 499;
    padding: 1rem;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(-110%);
    transition: transform 0.35s var(--spring);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.06);
}

.mobile-nav-link.mobile-cta {
    margin-top: 0.5rem;
    background: var(--grad-primary);
    color: #000;
    font-weight: 700;
    text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--grad-hero);
    padding: 6rem 2rem 8rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Animated grid background */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    top: 100px;
    right: -100px;
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
    bottom: -100px;
    left: 40%;
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, 20px) scale(1.08);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -30px);
    }
}

/* Hero inner — split layout */
.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-visual-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, rgba(0, 255, 136, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-crystal-ball {
    width: 420px;
    height: 420px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: crystalFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 80px rgba(0, 255, 136, 0.2));
}

@keyframes crystalFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(1deg);
    }

    66% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

/* Decorative rings */
.hero-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    pointer-events: none;
    z-index: 1;
}

.hero-visual-ring-1 {
    width: 480px;
    height: 480px;
    border-color: rgba(0, 212, 255, 0.15);
    animation: ringRotate 20s linear infinite;
}

.hero-visual-ring-2 {
    width: 560px;
    height: 560px;
    border-color: rgba(0, 255, 136, 0.08);
    animation: ringRotate 30s linear infinite reverse;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Floating prediction badges */
.hero-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(13, 20, 33, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-medium);
    border-radius: var(--r-md);
    padding: 0.7rem 1rem;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    animation: badgeFloat 5s ease-in-out infinite;
}

.hero-floating-badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-floating-badge-2 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2.5s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hfb-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.hfb-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hfb-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hfb-odds {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.4rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--neon-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* H1 */
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 .highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 3rem;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: var(--r-lg);
    padding: 1.25rem 2rem;
    backdrop-filter: blur(12px);
    min-width: 130px;
    text-align: center;
    transition: var(--t-med);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-primary);
    opacity: 0.5;
}

.stat-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon-g);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--t-med);
}

.hero-cta.primary {
    background: var(--grad-primary);
    color: #000;
    box-shadow: var(--shadow-neon-g);
}

.hero-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.45);
}

.hero-cta.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(8px);
}

.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-strong);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-green), transparent);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.container {
    max-width: 1400px;
    margin: -4rem auto 0;
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 2;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

/* Section */
.section {
    margin-bottom: 6rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-link {
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--t-fast);
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    border-radius: var(--r-sm);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.section-link:hover {
    background: rgba(0, 255, 136, 0.08);
    gap: 0.7rem;
}

/* Page Hero */
.page-hero {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: attr(data-icon);
    position: absolute;
    font-size: 18rem;
    opacity: 0.03;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-accent {
    display: inline-block;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    align-items: center;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.filter-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: var(--t-fast);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-secondary);
}

.filter-btn.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.1);
}

/* ============================================================
   PREDICTION CARDS
   ============================================================ */
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.prediction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: var(--t-med);
    opacity: 0;
    transform: translateY(24px);
    cursor: default;
}

.prediction-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Top glow line */
.prediction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-primary);
    opacity: 0.6;
    transition: opacity var(--t-med);
}

.prediction-card[data-sport="tenis"]::before {
    background: var(--grad-orange);
}

/* Hover glow */
.prediction-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--t-med);
    pointer-events: none;
}

.prediction-card[data-sport="tenis"]::after {
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.06) 0%, transparent 60%);
}

.prediction-card:hover {
    border-color: rgba(0, 255, 136, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.prediction-card[data-sport="tenis"]:hover {
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 107, 53, 0.1);
}

.prediction-card:hover::after {
    opacity: 1;
}

.prediction-card::before {
    opacity: 0.6;
}

.prediction-card:hover::before {
    opacity: 1;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.sport-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    background: var(--grad-primary);
}

.sport-badge.tenis {
    background: var(--grad-orange);
}

.card-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Result Badges */
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.result-won {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.result-lost {
    background: rgba(255, 59, 59, 0.1);
    color: #ff3b3b;
    border: 1px solid rgba(255, 59, 59, 0.2);
}

.result-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Match Info */
.match-info {
    margin-bottom: 1.25rem;
}

.league {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.teams {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.teams .vs {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin: 0 0.3rem;
}

.match-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Prediction Box */
.prediction-info {
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.prediction-card[data-sport="tenis"] .prediction-info {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.15);
}

.prediction-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neon-green);
    margin-bottom: 0.35rem;
}

.prediction-card[data-sport="tenis"] .prediction-label {
    color: var(--neon-orange);
}

.prediction-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Odds & Stake */
.odds-stake {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.odds,
.stake {
    flex: 1;
    text-align: center;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
}

.odds-label,
.stake-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.odds-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stake-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stake-stars {
    font-size: 0.7rem;
    color: #f59e0b;
    margin-top: 0.2rem;
    letter-spacing: 1px;
}

/* Analysis */
.card-analysis {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-left: 2px solid var(--neon-green);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.prediction-card[data-sport="tenis"] .card-analysis {
    border-left-color: var(--neon-orange);
}

.analysis-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    gap: 0.75rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.author-avatar {
    width: 30px;
    height: 30px;
    background: var(--grad-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.btn-analysis {
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--r-sm);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: var(--t-fast);
    white-space: nowrap;
}

.btn-analysis:hover {
    background: rgba(0, 255, 136, 0.08);
    gap: 0.5rem;
}

/* ============================================================
   EXPERTS
   ============================================================ */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.expert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--t-med);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.expert-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-primary);
    opacity: 0.4;
    transition: opacity var(--t-med);
}

.expert-card:hover {
    border-color: rgba(0, 255, 136, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.expert-card:hover::before {
    opacity: 1;
}

.expert-avatar {
    width: 52px;
    height: 52px;
    background: var(--grad-primary);
    color: #000;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow-neon-g);
}

.expert-info {
    flex: 1;
    min-width: 0;
}

.expert-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.expert-specialty {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.expert-stats {
    display: flex;
    gap: 1.25rem;
}

.expert-stat {
    text-align: center;
}

.expert-stat-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expert-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-2xl);
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.stats-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-primary);
    opacity: 0.5;
}

.banner-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.banner-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(12px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--r-2xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 255, 136, 0.08);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s var(--spring);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    z-index: 10;
    transition: var(--t-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

#modal-body .prediction-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    opacity: 1;
    transform: none;
    padding: 2rem;
    background: transparent;
}

#modal-body .prediction-card::before {
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}

#modal-body .prediction-card:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 0.875rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--neon-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}

/* ─── Selection ────────────────────────────────────────────── */
::selection {
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
}

/* ─── Focus ────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 62px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 4rem 1.5rem 6rem;
        min-height: auto;
    }

    .hero-orb {
        display: none;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem 1.25rem;
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1.25rem 4rem;
        margin-top: -2rem;
    }

    .page-container {
        padding: 2rem 1.25rem 4rem;
    }

    .predictions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        padding: 2rem 1.5rem;
    }

    .banner-stat-number {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-ctas {
        align-items: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-crystal-ball {
        width: 260px;
        height: 260px;
    }

    .hero-visual-glow {
        width: 260px;
        height: 260px;
    }

    .hero-visual-ring-1 {
        width: 300px;
        height: 300px;
    }

    .hero-visual-ring-2 {
        width: 360px;
        height: 360px;
    }

    .hero-floating-badge-1 {
        left: 0;
        top: 5%;
    }

    .hero-floating-badge-2 {
        right: 0;
        bottom: 5%;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .prediction-card {
        padding: 1.25rem;
    }

    .odds-stake {
        flex-direction: column;
    }

    .expert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .expert-stats {
        justify-content: center;
    }
}

/* ============================================================
   LOADING ANIMATION
   ============================================================ */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--r-md);
}

/* ============================================================
   FOOTER SOCIAL BUTTONS & DEVELOPER CREDIT (site-wide)
   ============================================================ */
.footer-socials {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.15s ease;
    border: 1px solid transparent;
}

.footer-social-btn--tg {
    background: rgba(0, 136, 204, 0.12);
    color: #29b6f6;
    border-color: rgba(41, 182, 246, 0.25);
}

.footer-social-btn--tg:hover {
    background: rgba(41, 182, 246, 0.22);
    border-color: rgba(41, 182, 246, 0.5);
    transform: translateY(-1px);
}

.footer-social-btn--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.footer-social-btn--wa:hover {
    background: rgba(37, 211, 102, 0.22);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

.footer-social-btn--email {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.2);
}

.footer-social-btn--email:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
}

.footer-dev {
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.65;
    margin-top: 0.25rem;
}

.footer-dev a {
    color: #00d4ff;
    text-decoration: none;
    transition: 0.15s ease;
}

.footer-dev a:hover {
    color: #00ff88;
    opacity: 1;
}

/* ============================================================
   PREDICTION CARDS — SHARED BET FOOTER
   ============================================================ */
.card-bet-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    border-bottom: 1px solid rgba(0, 212, 255, 0.12);
    flex-wrap: wrap;
}

.bet-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.bet-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.bet-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.odds-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.odds-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.odds-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #00d4ff;
    line-height: 1;
}

.stake-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.stake-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stake-stars {
    font-size: 0.8rem;
    color: #ffd700;
    letter-spacing: 1px;
}

/* Analysis preview clamp */
.card-analysis--preview .analysis-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards are clickable links */
.prediction-card {
    cursor: pointer;
}

/* "Ver análisis →" link in card footer */
.card-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: #00d4ff;
    opacity: 0.8;
    transition: opacity 0.15s, transform 0.15s;
    white-space: nowrap;
}

.prediction-card:hover .card-read-more {
    opacity: 1;
    transform: translateX(3px);
}

/* Calendar icon alignment in date */
.card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.card-date svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ============================================================
   EXPRESS CARD SPECIFICS
   ============================================================ */
.sport-badge--express {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.2), rgba(255, 100, 0, 0.15));
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.express-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.5rem;
    flex-wrap: wrap;
}

.express-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.express-count-pill {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    white-space: nowrap;
}

/* Events list */
.express-events {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.express-event {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}

.express-event:hover {
    background: rgba(255, 255, 255, 0.03);
}

.express-event-num {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.express-event-body {
    flex: 1;
    min-width: 0;
}

.express-event-match {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    margin-bottom: 0.25rem;
}

.express-event-league {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.express-event-teams {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e0e0;
}

.express-event-bet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.express-event-bet-name {
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 600;
}

.express-event-odds {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Express total odds footer */
.card-bet-footer--express {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.08), rgba(255, 100, 0, 0.05));
    border-color: rgba(255, 170, 0, 0.2);
    gap: 0.3rem;
}

.express-total-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.express-total-odds {
    font-size: 2rem;
    font-weight: 900;
    color: #ffaa00;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

/* Express card accent border */
.prediction-card--express {
    border-color: rgba(255, 170, 0, 0.2);
}

.prediction-card--express:hover {
    border-color: rgba(255, 170, 0, 0.45);
    box-shadow: 0 8px 32px rgba(255, 170, 0, 0.12);
}

/* ============================================================
   SEO SECTION (before footer)
   ============================================================ */
.seo-section {
    padding: 3rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #c0c8d8;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.seo-content p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.seo-content strong {
    color: #9ab0cc;
    font-weight: 600;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.seo-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.15s ease;
}

.seo-links a:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

/* ============================================================
   LEGAL SECTIONS (terminos / privacidad)
   ============================================================ */
.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e0e8f0;
    margin-bottom: 0.75rem;
}

.legal-section p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.legal-section ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.legal-section ul li {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.legal-section strong {
    color: #c8d8e8;
}

/* ============================================================
   RELATED NAV — Internal Linking Block
   ============================================================ */
.related-nav {
    padding: 2.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.02);
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.related-nav-inner {
    max-width: 960px;
    margin: 0 auto;
}

.related-nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.related-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.related-nav-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.related-nav-card:hover {
    background: rgba(0, 212, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.22);
    transform: translateY(-2px);
}

.related-nav-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.related-nav-card div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.related-nav-card strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #d8e8f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-nav-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .related-nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   MOBILE — Liga MX Table Responsive
   ============================================================ */
.liga-mx-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
}

.liga-mx-table-wrap table {
    min-width: 560px;
}

@media (max-width: 768px) {

    /* Reduce table font on small screens */
    .standings-table th,
    .standings-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.78rem;
    }

    /* Hide less important columns on mobile */
    .standings-table .col-gf,
    .standings-table .col-gc {
        display: none;
    }

    /* Filter bar wraps nicely */
    .filter-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-group {
        flex-wrap: wrap;
    }

    /* Bigger touch targets for filter buttons */
    .filter-btn {
        min-height: 40px;
        padding: 0.5rem 0.85rem;
    }

    /* Page hero smaller on mobile */
    .page-hero h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
}

/* ============================================================
   ACCESSIBILITY — Skip to content
   ============================================================ */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--neon-green);
    color: #000;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================================
   ACCESSIBILITY — Focus visible improvements
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 3px;
}

/* ============================================================
   PRINT — Hide decorative elements
   ============================================================ */
@media print {

    header,
    footer,
    .related-nav,
    .seo-section,
    .hamburger,
    #mobile-menu,
    #mobile-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .prediction-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* ============================================================
   PERFORMANCE — Reduce motion for users who prefer it
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-orb,
    .hero-orb-1,
    .hero-orb-2,
    .hero-orb-3,
    .hero-floating-badge,
    .hero-floating-badge-1,
    .hero-floating-badge-2,
    .hero-visual-ring {
        animation: none !important;
    }

    .prediction-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   PERFORMANCE — content-visibility for off-screen sections
   ============================================================ */
.section,
.seo-section,
.related-nav {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* ============================================================
   ACCESSIBILITY — High contrast mode support
   ============================================================ */
@media (forced-colors: active) {
    .prediction-card {
        border: 2px solid ButtonText;
    }

    .result-badge {
        border: 1px solid ButtonText;
    }

    .nav-cta,
    .hero-cta.primary {
        border: 2px solid ButtonText;
    }

    :focus-visible {
        outline: 3px solid Highlight;
    }
}

/* ============================================================
   ACCESSIBILITY — Better focus for cards (keyboard nav)
   ============================================================ */
.prediction-card:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.15), var(--shadow-hover);
}

/* ============================================================
   MOBILE — Extra small screens (< 380px)
   ============================================================ */
@media (max-width: 380px) {
    .hero h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
    }

    .banner-stat-number {
        font-size: 1.4rem;
    }
}

/* ============================================================
   MOBILE — Touch target minimum size (WCAG 2.5.5)
   ============================================================ */
@media (pointer: coarse) {

    .nav-links a,
    .mobile-nav-link,
    .filter-btn,
    .footer-social-btn,
    .hero-cta,
    .section-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
/* E-E-A-T author block */
.seo-author-block { display:flex; align-items:flex-start; gap:1rem; margin:1.5rem 0 1rem; padding:1rem; background:rgba(88,166,255,.06); border:1px solid rgba(88,166,255,.15); border-radius:12px; }
.seo-author-avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,#58a6ff,#1f6feb); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; color:#fff; flex-shrink:0; }
.seo-author-info { font-size:.85rem; color:#c9d1d9; line-height:1.6; }
.seo-author-info strong { display:block; color:#e6edf3; margin-bottom:.25rem; font-size:.9rem; }

/* Social share buttons */
.seo-share { display:flex; align-items:center; gap:.625rem; flex-wrap:wrap; margin:.75rem 0; }
.seo-share-btn { padding:.35rem .875rem; border-radius:8px; font-size:.8rem; font-weight:600; text-decoration:none; transition:opacity .2s; }
.seo-share-btn:hover { opacity:.8; }
.seo-share-btn--tg { background:rgba(41,182,246,.15); border:1px solid rgba(41,182,246,.3); color:#29b6f6; }
.seo-share-btn--wa { background:rgba(37,211,102,.15); border:1px solid rgba(37,211,102,.3); color:#25d366; }
