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

:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
    --neon-cyan: #22d3ee;
    --neon-indigo: #818cf8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
}

/* Page Navigation System */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Original Base Styles */
.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
}

.strategy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.strategy-btn:active {
    transform: scale(0.95);
}

.match-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Components */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    margin-bottom: 12px;
}

/* Magia AI Scanner Card */
.magia-scanner-card {
    background: white;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    color: #1e293b;
    margin-bottom: 12px;
}

.magia-glow-text {
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.5);
}

.prob-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    display: flex;
    overflow: hidden;
}

.prob-segment-home {
    background: var(--accent-secondary);
}

.prob-segment-draw {
    background: #94a3b8;
}

.prob-segment-away {
    background: #a855f7;
}

/* Multi-step animations */
@keyframes scanning-neon {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-scan {
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), transparent);
    background-size: 200% 100%;
    animation: scanning-neon 3s linear infinite;
}

/* Navigation & Utility */
.nav-btn.active {
    color: white !important;
    position: relative;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    width: 20px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 99px;
    box-shadow: 0 0 10px var(--accent-primary);
}

.eugenio-why-box {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--accent-primary);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    font-style: italic;
    color: #1e293b;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* --- I CONSIGLI: PREMIUM VIBRANT GLASS DESIGN V5.0 --- */
.glass-parlay-card {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 24px 20px;
}

.glass-parlay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.glass-item-premium {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-item-premium:last-child {
    margin-bottom: 0;
}

.glass-item-premium:hover {
    background: rgba(0, 0, 0, 0.3);
}

.team-vertical-box {
    flex: 1;
    min-width: 0;
}

.team-name-row {
    font-size: 14px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 2px;
}

.tip-label-badge {
    display: inline-block;
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    /* Orange-400 */
    font-size: 11px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-right: 8px;
}

.confidence-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.odd-highlight-v5 {
    background: #fbbf24;
    color: #1e293b;
    padding: 8px 12px;
    border-radius: 14px;
    font-weight: 950;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    min-width: 65px;
    text-align: center;
}

.tip-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.roi-badge {
    background: #16a34a;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
/* --- SURGICAL FILTERS NAVIGATION --- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-chip {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.filter-chip.active {
    background: white;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    border-color: white;
}
