/* ==========================================================================
   FUTBOL SARDO - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- Design Variables & System Colors --- */
:root {
    /* Base Colors */
    --bg-primary: #0D1117;       /* Deep Obsidian background */
    --bg-surface: #161B22;      /* Blue-Black surface container */
    --bg-card: #21262D;         /* Card background */
    
    /* Branding Accent Colors (Navy Bright) */
    --accent-gold: #4A90D9;      /* Navy Bright */
    --accent-gold-rgb: 74, 144, 217;
    --accent-green: #34C759;     /* App success green */
    --accent-green-hover: #2EB872;
    
    /* Crimson Red accents (from native app) */
    --accent-crimson: #8B1D2E;   /* Core Crimson */
    --accent-crimson-bright: #D44054; /* Crimson Bright */
    
    /* Text Hierarchy */
    --text-primary: #E2E8F0;     /* App light text */
    --text-secondary: #94A3B8;   /* App slate text */
    --text-muted: #64748B;       /* App muted text */
    
    /* Glassmorphism Styling */
    --glass-bg: rgba(22, 27, 34, 0.6);
    --glass-border: 1px solid rgba(74, 144, 217, 0.15);
    --glass-blur: 20px;
    
    /* Fonts */
    --font-heading: "Outfit", sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animation Easing */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout Breakpoints */
    --bp-xs: 375px;
    --bp-sm: 414px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1440px;
}

/* --- Modern Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    color: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* --- Base Layout Containers --- */
.container {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    margin-right: auto;
    margin-left: auto;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0.75rem auto 0;
}

/* --- Responsive Media Queries (Mobile-First) --- */

/* Extra Small Viewport (375px) */
@media (min-width: 375px) {
    .container {
        max-width: 350px;
    }
}

/* Small Viewport (414px) */
@media (min-width: 414px) {
    .container {
        max-width: 390px;
    }
}

/* Medium / Tablet Viewport (768px) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    section {
        padding: 7rem 0;
    }
}

/* Large / Laptop Viewport (1024px) */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .section-title {
        font-size: 3.25rem;
    }
}

/* Extra Large / Desktop Viewport (1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
}

/* Additions for Milestone M2.2 Hero Section */

/* 1. Hero Section & Canvas Setup */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: radial-gradient(circle at center, rgba(13, 17, 23, 0.45) 0%, #0D1117 100%), 
                url('../assets/images/stadium_hero_bg.webp') no-repeat center center / cover;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2. Hero Logo Entrance Animation */
.hero-logo-wrapper {
    margin-bottom: 2rem;
    display: inline-block;
}

#hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    filter: blur(8px) drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                filter 1s ease-out;
}

#hero-logo.loaded {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px) drop-shadow(0 0 25px rgba(212, 175, 55, 0.45));
}

/* 3. Hero Typist Tagline & Subtitle */
.hero-tagline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
    min-height: 4.5rem; /* Prevents layout shift during typewriter reveal */
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Store Badges layout */
.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.store-badge {
    position: relative;
    background: rgba(28, 28, 34, 0.55);
    border: var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    padding: 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease, 
                background-color 0.4s ease;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.store-badge:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.6);
    background: rgba(28, 28, 34, 0.85);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(var(--accent-gold-rgb), 0.25);
}

.store-badge .badge-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.store-badge .badge-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.store-badge .badge-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.store-badge .badge-text strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.store-badge .badge-label {
    position: absolute;
    top: -8px;
    right: 8px;
    background: var(--accent-crimson);
    color: var(--text-primary);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* 5. 3D Phone Mockup Container */
.mockup-container {
    perspective: 1000px;
    margin-top: 2rem;
    display: inline-block;
    z-index: 3;
}

#showcase-sorare-card {
    --card-theme-color: #FFCC00; /* Start with Yellow (POR) */
    --card-theme-color-rgb: 255, 204, 0;
    --px: 0;
    --py: 0;
    
    position: relative;
    width: 320px;
    height: 500px;
    background: linear-gradient(145deg, #1C1C22 0%, #121214 100%);
    border: 3px solid var(--card-theme-color);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(var(--card-theme-color-rgb), 0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
    z-index: 3;
}

#showcase-sorare-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(var(--card-theme-color-rgb), 0.35);
}

.phone-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6. Coming Soon Glassmorphic Tooltip */
#coming-soon-tooltip {
    position: absolute;
    visibility: hidden;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--accent-gold);
}

#coming-soon-tooltip.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2.25rem;
        min-height: 3.5rem;
    }
    
    #showcase-sorare-card {
        width: 260px;
        height: 420px;
        transform: none !important; /* Disable 3D tilt on mobile */
    }
}

/* ==========================================================================
   MILESTONE 2.3 CORE SECTIONS & INTERACTIVITY STYLES
   ========================================================================== */

/* --- Sticky Glassmorphic Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
    transform: translateY(-100%);
}
.navbar.visible {
    transform: translateY(0);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: var(--glass-border);
}
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}
.navbar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.navbar-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: bottom right;
}
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.btn-store-nav {
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}
.btn-store-nav:hover {
    background: #1A85FF;
    transform: translateY(-1px);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2105;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: var(--glass-border);
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2100;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mobile-nav-panel.open {
    right: 0;
}
.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-link:hover {
    color: var(--accent-gold);
}

/* --- Features Section --- */
.features-section {
    background: var(--bg-primary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: rgba(37, 37, 45, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease, 
                border-color 0.4s ease, 
                opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
    transform-style: preserve-3d;
    perspective: 1000px;
}
.feature-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:focus, .feature-card:focus-visible {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.5);
}
.feature-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(4deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 35px rgba(var(--accent-gold-rgb), 0.35);
    border-color: rgba(var(--accent-gold-rgb), 0.5);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.feature-svg {
    stroke: var(--accent-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(var(--accent-gold-rgb), 0.2));
}
.feature-card:hover .feature-svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(var(--accent-gold-rgb), 0.6));
}

/* --- Campionati coperti (league cards) --- */
.leagues-block {
    margin-top: 5rem;
    text-align: center;
}
.leagues-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    font-weight: 500;
}
.leagues-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.league-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 170px;
    padding: 1.75rem 1rem;
    background: rgba(var(--accent-gold-rgb), 0.04);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.18);
    border-radius: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.league-card:hover,
.league-card:focus {
    outline: none;
    transform: translateY(-6px);
    border-color: rgba(var(--accent-gold-rgb), 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35),
                0 0 15px rgba(var(--accent-gold-rgb), 0.18);
}
.league-icon {
    color: var(--accent-gold);
    line-height: 0;
}
.league-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #E6EDF3);
    text-align: center;
    line-height: 1.2;
}

/* --- 3D Coverflow Gallery --- */
.gallery-section {
    background: var(--bg-surface);
}
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
    height: 520px;
    overflow: hidden;
}
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}
.carousel-card {
    position: absolute;
    width: 250px;
    height: 500px;
    border: 8px solid var(--bg-card);
    border-radius: 36px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    background: var(--bg-surface);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-card.active {
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 30px rgba(var(--accent-gold-rgb), 0.3);
}
.carousel-card.prev {
    transform: translate3d(-180px, 0, -100px) rotateY(45deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
}
.carousel-card.next {
    transform: translate3d(180px, 0, -100px) rotateY(-45deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
}
.carousel-card.far-prev {
    transform: translate3d(-320px, 0, -200px) rotateY(60deg) scale(0.75);
    z-index: 2;
    opacity: 0.4;
}
.carousel-card.far-next {
    transform: translate3d(320px, 0, -200px) rotateY(-60deg) scale(0.75);
    z-index: 2;
    opacity: 0.4;
}
.carousel-card.hidden {
    transform: translate3d(0, 0, -300px) scale(0.5);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: var(--transition-smooth);
}
.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}
.prev-btn {
    left: 2rem;
}
.next-btn {
    right: 2rem;
}

/* --- Chi Siamo --- */
.about-section {
    background: var(--bg-primary);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-text {
    font-size: 1.1rem;
    color: #D1D1F7;
    line-height: 1.8;
}
.about-tagline {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}
.about-collab-card {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(37, 37, 45, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.about-collab-title {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.15rem;
    color: #FFF;
}
.about-collab-text {
    color: #A5A5C7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.btn-collab {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-collab:hover {
    background: #FFF;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.2);
}
.gold-highlight, .crimson-highlight {
    color: rgb(153, 28, 36); /* Crimson / Red */
    font-weight: 600;
}
.reveal-line {
    display: block;
    overflow: hidden;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
}
.reveal-line.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Download Section --- */
.download-section {
    background: var(--bg-surface);
}
.download-card {
    background: linear-gradient(135deg, rgba(37, 37, 45, 0.6) 0%, rgba(18, 18, 20, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 
                0 0 40px rgba(var(--accent-gold-rgb), 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.download-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85), 
                0 0 50px rgba(var(--accent-gold-rgb), 0.25);
}
.download-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
    flex-wrap: wrap;
}
.btn-download-cta {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    margin-top: 1rem;
}
.btn-download-cta:hover {
    background: #1A85FF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(var(--accent-gold-rgb), 0.3);
}
.btn-download-cta:active {
    transform: translateY(-1px) scale(1.02);
}

/* --- Social --- */
.social-section {
    background: var(--bg-primary);
    text-align: center;
}
.social-links-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icon:hover {
    color: var(--accent-gold);
    transform: translateY(-5px);
}
.social-icon .icon-svg {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-svg {
    stroke: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.3s ease, filter 0.3s ease;
}
.social-icon:hover .social-svg {
    stroke: var(--accent-gold);
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(var(--accent-gold-rgb), 0.5));
}
.social-icon.instagram:hover .social-svg {
    stroke: #E1306C;
    filter: drop-shadow(0 0 6px rgba(225, 48, 108, 0.5));
}
.social-icon.facebook:hover .social-svg {
    stroke: #1877F2;
    filter: drop-shadow(0 0 6px rgba(24, 119, 242, 0.5));
}
.social-icon.tiktok:hover .social-svg {
    stroke: #00f2fe;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}
.social-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- FAQ Accordion --- */
.faq-section {
    background: var(--bg-surface);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}
.faq-trigger:hover {
    color: var(--accent-gold);
    background: rgba(255,255,255,0.01);
}
.faq-icon, .faq-chevron {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    color: var(--accent-gold);
}
.faq-item.active .faq-icon, .faq-item.active .faq-chevron {
    transform: rotate(45deg);
}
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    opacity: 0;
}
.faq-panel p {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* --- Modals Backdrop Overlay & Locking --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: var(--bg-surface);
    border: var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3rem 2rem 2rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.open .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}
.modal-close:hover {
    color: var(--accent-gold);
}
.modal-body {
    color: var(--text-secondary);
}
.modal-body h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.modal-body h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}
.modal-body p {
    margin-bottom: 1rem;
}
.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.modal-body li {
    margin-bottom: 0.5rem;
}
body.modal-open {
    overflow: hidden !important;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 1.25rem 2rem;
    border-radius: 16px;
    z-index: 1500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    visibility: visible;
}
.cookie-banner.hidden {
    display: none !important;
}
.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex: 1;
    margin: 0;
}
.cookie-banner-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}
.btn-cookie-accept {
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.btn-cookie-accept:hover {
    background: #1A85FF;
    transform: translateY(-1px);
}

/* --- Custom Cursor Trail --- */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(var(--accent-gold-rgb), 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.6);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(var(--accent-gold-rgb), 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* --- Custom Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-gold-rgb), 0.3);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-gold-rgb), 0.6);
}

/* --- Legal Footer Styling --- */
.footer-section {
    background: var(--bg-primary);
    border-top: var(--glass-border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}
.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.footer-info a {
    color: var(--accent-gold);
}
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--accent-gold);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- Mobile / Responsiveness Cap --- */
@media (max-width: 1023px) {
    .navbar-links, .navbar-cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .download-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .store-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    .leagues-block {
        margin-top: 4rem;
    }
    .league-card {
        width: calc(50% - 0.75rem);
        padding: 1.5rem 0.75rem;
    }
    .carousel-container {
        height: 420px;
    }
    .carousel-card {
        width: 180px;
        height: 360px;
    }
    .carousel-card.prev {
        transform: translate3d(-110px, 0, -80px) rotateY(35deg) scale(0.85);
    }
    .carousel-card.next {
        transform: translate3d(110px, 0, -80px) rotateY(-35deg) scale(0.85);
    }
    .carousel-card.far-prev, .carousel-card.far-next {
        opacity: 0;
        pointer-events: none;
    }
    .prev-btn {
        left: 0.5rem;
    }
    .next-btn {
        right: 0.5rem;
    }
    .custom-cursor, .cursor-trail {
        display: none !important;
    }
}
@media (max-width: 414px) {
    body {
        overflow-x: hidden;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ==========================================================================
   LIVE INTERACTIVE MOCKUP SECTION
   ========================================================================== */

.live-mockup-section {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at 75% 50%, rgba(var(--accent-gold-rgb), 0.03) 0%, rgba(28, 28, 34, 0) 70%), var(--bg-primary);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.live-mockup-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.live-mockup-info {
    text-align: left;
}

.live-mockup-info h3 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.blue-highlight, .brand-highlight {
    color: rgb(27, 58, 95); /* Core Navy */
    text-shadow: 0 0 20px rgba(27, 58, 95, 0.35);
}

.live-mockup-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.interactive-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.interactive-features-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feat-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.5rem;
    box-shadow: 0 0 8px var(--accent-gold);
}

.interactive-features-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.interactive-features-list li div {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Smartphone Mockup Visuals */
.live-mockup-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 650px;
}

.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.phone-glow.blue {
    top: 5%;
    left: 10%;
    background-color: var(--accent-gold);
}

.phone-glow.navy {
    bottom: 5%;
    right: 10%;
    background-color: var(--accent-crimson);
}

.interactive-phone-frame {
    position: relative;
    width: 310px;
    height: 680px;
    border: 12px solid #25252D;
    border-radius: 44px;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 
                0 0 45px rgba(var(--accent-gold-rgb), 0.15);
    z-index: 2;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interactive-phone-frame:hover {
    transform: translateY(-5px) scale(1.01);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #1C1C22;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen-container {
    width: 100%;
    height: calc(100% - 68px);
    position: relative;
    background: #000;
}

.mockup-screen-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.mockup-screen-media.active {
    opacity: 1;
    pointer-events: auto;
}

/* Simulated Phone Bottom Nav */
.phone-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: rgba(28, 28, 34, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 10px 10px;
    z-index: 5;
}

.phone-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    background: none;
    border: none;
    outline: none;
}

.phone-nav-btn:hover {
    color: #FFF;
    transform: translateY(-2px);
}

.phone-nav-btn.active {
    color: var(--accent-gold);
}

.nav-btn-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
    transition: var(--transition-smooth);
}

.phone-nav-btn.active .nav-btn-icon {
    filter: drop-shadow(0 0 5px rgba(var(--accent-gold-rgb), 0.6));
    stroke: var(--accent-gold);
}

.nav-btn-text {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Pulsating Red Live Dot */
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #FF3B30;
    border-radius: 50%;
    margin-bottom: 5px;
    position: relative;
    box-shadow: 0 0 8px #FF3B30;
}

.live-pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #FF3B30;
    animation: pulse 1.8s infinite ease-out;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Keyboard Focus Rings */
.phone-nav-btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: -4px;
    border-radius: 8px;
}

/* Responsive Overrides for Live Mockup */
@media (max-width: 1023px) {
    .live-mockup-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .live-mockup-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .live-mockup-info h3 {
        font-size: 2.25rem;
    }
    
    .interactive-features-list {
        align-items: flex-start;
        text-align: left;
        max-width: 550px;
    }
}

@media (max-width: 480px) {
    .interactive-phone-frame {
        width: 280px;
        height: 570px;
        border-radius: 36px;
        border-width: 10px;
    }
    .live-mockup-visual {
    }
}

/* ==========================================================================
   Football Redesign Layout & Elements
   ========================================================================== */

/* --- 2-Column Hero Grid --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsive Grid for Laptop/Desktop */
@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.15fr 0.85fr;
        text-align: left;
        gap: 4rem;
    }
    
    .hero-text {
        align-items: flex-start;
        text-align: left;
    }
    
    .hero-subtitle {
        margin: 0 0 2.5rem 0;
    }
    
    .store-badges {
        justify-content: flex-start;
    }
}

/* --- Sorare Player Card Mockup --- */
.mockup-container {
    perspective: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.sorare-card {
    --card-theme-color: #FF3B30; /* Default Attaccante red */
    --card-theme-color-rgb: 255, 59, 48;
    --px: 0;
    --py: 0;
    
    position: relative;
    width: 320px;
    height: 500px;
    background: linear-gradient(145deg, #1C1C22 0%, #121214 100%);
    border: 3px solid var(--card-theme-color);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(var(--card-theme-color-rgb), 0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
    z-index: 3;
}

/* Role Accent Overrides */
#hero-mockup[data-role="portiere"],
#showcase-sorare-card[data-role="portiere"],
.sorare-card[data-role="portiere"] {
    --card-theme-color: #FFCC00; /* Yellow */
    --card-theme-color-rgb: 255, 204, 0;
}
#hero-mockup[data-role="difensore"],
#showcase-sorare-card[data-role="difensore"],
.sorare-card[data-role="difensore"] {
    --card-theme-color: #1B3A5F; /* Navy */
    --card-theme-color-rgb: 27, 58, 95;
}
#hero-mockup[data-role="centrocampista"],
#showcase-sorare-card[data-role="centrocampista"],
.sorare-card[data-role="centrocampista"] {
    --card-theme-color: #34C759; /* Green */
    --card-theme-color-rgb: 52, 199, 89;
}
#hero-mockup[data-role="attaccante"],
#showcase-sorare-card[data-role="attaccante"],
.sorare-card[data-role="attaccante"] {
    --card-theme-color: #FF3B30; /* Red */
    --card-theme-color-rgb: 255, 59, 48;
}

/* Coach Card Specific Overrides */
.sorare-card[data-role="tattica"] {
    --card-theme-color: #1B3A5F; /* Navy Blue */
    --card-theme-color-rgb: 27, 58, 95;
}
.sorare-card[data-role="esercizi"] {
    --card-theme-color: #FFCC00; /* Gold */
    --card-theme-color-rgb: 255, 204, 0;
}
.sorare-card[data-role="sedute"] {
    --card-theme-color: #8B1D2E; /* Crimson Red */
    --card-theme-color-rgb: 139, 29, 46;
}

.sorare-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(var(--card-theme-color-rgb), 0.35);
}

/* Card Internal Layout */
.card-inner {
    position: relative;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none; /* Let clicks bubble to card */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.card-season {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.card-role-badge {
    background: var(--card-theme-color);
    color: #121214;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: background-color 0.4s ease;
}

.card-player-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 1rem 0;
}

.card-player-img {
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6));
    /* Parallax Depth */
    transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 20px), 40px) scale(1.05);
    transition: transform 0.1s ease-out;
}

.card-details {
    text-align: center;
    background: rgba(28, 28, 34, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translate3d(0, 0, 20px);
    transition: opacity 0.3s ease;
}

.card-player-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.card-team-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.card-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.stat-value-large {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--card-theme-color);
    line-height: 1.1;
    font-weight: 800;
    transition: color 0.4s ease;
}

.stat-label-large {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

/* Card Glow and Shine overlays */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), 
        rgba(var(--card-theme-color-rgb), 0.18) 0%, 
        rgba(var(--card-theme-color-rgb), 0) 80%
    );
    pointer-events: none;
    z-index: 1;
    transition: background 0.4s ease;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    background-size: 200% 200%;
    background-position: calc(50% - var(--px) * 100%) calc(50% - var(--py) * 100%);
    pointer-events: none;
    z-index: 4;
}

/* Interactive Cycle Button Overlay */
.card-cycle-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateZ(30px);
    background: rgba(28, 28, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto; /* Clickable */
}

.card-cycle-btn:hover {
    border-color: var(--card-theme-color);
    background: #FFF;
    color: #121214;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4), 
                0 0 10px rgba(var(--card-theme-color-rgb), 0.3);
}

.card-cycle-btn .cycle-icon {
    display: inline-block;
    transition: transform 0.5s ease;
}

.card-cycle-btn:hover .cycle-icon {
    transform: rotate(180deg);
}

/* Focus and Accessibles */
.card-cycle-btn:focus-visible {
    outline: 2px solid var(--card-theme-color);
    outline-offset: 2px;
}

/* Responsive tweaks for Sorare Card */
@media (max-width: 768px) {
    .sorare-card {
        width: 280px;
        height: 440px;
        transform: none !important; /* Disable tilt */
    }
    .card-player-img {
        height: 180px;
        transform: none !important;
    }
}

/* --- Spotlight Sections --- */
.spotlight-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

#feat-lineup-scanner {
    background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.85), rgba(22, 27, 34, 0.95)),
                      url('../assets/images/scanner_grid_bg.webp');
    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: cover, auto;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.spotlight-badge {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.spotlight-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.spotlight-cta-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.spotlight-feature-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.spotlight-link-cta {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.spotlight-link-cta:hover {
    color: #FFF;
    transform: translateX(5px);
}

@media (min-width: 1024px) {
    .spotlight-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .spotlight-grid.flipped {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .spotlight-grid.flipped .spotlight-visual {
        grid-column: 1;
    }
    .spotlight-grid.flipped .spotlight-content {
        grid-column: 2;
    }
}

/* Spotlight 1: Lineup Scanner Mockups */
.scanner-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 380px;
    border-radius: 20px;
    background: rgba(28, 28, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}

.scan-screen-split {
    display: flex;
    width: 100%;
    height: 100%;
}

.scan-img-paper, .scan-img-digital {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.scan-laser-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(var(--accent-gold-rgb), 0) 0%, var(--accent-gold) 50%, rgba(var(--accent-gold-rgb), 0) 100%);
    box-shadow: 0 0 15px var(--accent-gold), 0 0 5px var(--accent-gold);
    z-index: 10;
    animation: laserMove 4s infinite ease-in-out;
}

@keyframes laserMove {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

/* Spotlight 2: Live Events Timeline Mockup */
.timeline-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(28, 28, 34, 0.7);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 20px;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--accent-gold-rgb), 0.1);
    margin: 0 auto;
}

.live-reporting-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #FF3B30;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pulse-red {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FF3B30;
    border-radius: 50%;
    animation: pulseSlow 1.5s infinite;
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.timeline-event-card {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.timeline-event-card:last-child {
    margin-bottom: 0;
}

.timeline-event-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    transform: translateX(5px);
}

.event-time {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.event-icon {
    font-size: 1.25rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.event-details strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.event-details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Spotlight 3: Showcase centered layout */
.centered-spotlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.max-w-700 {
    max-width: 700px;
}

.cards-gallery-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    width: 100%;
}

.showcase-card {
    position: relative;
    transition: transform 0.4s ease, filter 0.4s ease;
    transform: rotate(var(--rotation)) translateY(var(--offset-y));
}

.showcase-card:hover {
    transform: scale(1.08) rotate(0deg) translateY(-15px);
    z-index: 10;
}

/* --- Scroll Reveal Classes --- */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed,
.revealed .reveal-left,
.revealed .reveal-right,
.revealed .reveal-up {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}


/* ==========================================================================
   CINEMATIC REDESIGN v2.0 - STADIUM ATMOSPHERE
   ========================================================================== */

/* --- Cinematic Hero Overhaul --- */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(175deg, 
        rgba(13, 17, 23, 0.3) 0%, 
        rgba(13, 17, 23, 0.6) 40%,
        rgba(139, 29, 46, 0.15) 70%,
        rgba(13, 17, 23, 0.95) 100%),
        url('../assets/images/stadium_cinematic2.jpg') no-repeat center center / cover;
    animation: heroKenBurns 25s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0% { background-size: 100% auto; background-position: center 40%; }
    100% { background-size: 115% auto; background-position: center 60%; }
}

/* Cinematic gradient overlay that pulses */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(139, 29, 46, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(27, 58, 95, 0.2) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Hero text dramatic sizing */
.hero-tagline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 0 60px rgba(139, 29, 46, 0.3);
    min-height: auto;
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 4.5rem;
    }
}

@media (min-width: 1440px) {
    .hero-tagline {
        font-size: 5.25rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    max-width: 650px;
}

/* --- Immersive Full-Bleed Section Backgrounds --- */
.spotlight-section.scanner-spotlight {
    background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.7) 0%, rgba(13, 17, 23, 0.85) 50%, rgba(13, 17, 23, 0.95) 100%),
                      url('../assets/images/football_action.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.spotlight-section.reporting-spotlight {
    background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.8) 0%, rgba(22, 27, 34, 0.9) 100%),
                      url('../assets/images/fans_celebration.png');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.spotlight-section.showcase-spotlight {
    background: radial-gradient(ellipse at 50% 30%, rgba(139, 29, 46, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(27, 58, 95, 0.1) 0%, transparent 50%),
                var(--bg-primary);
}

/* --- Cinematic Feature Cards with Glow --- */
.feature-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 29, 46, 0.12);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-crimson-bright), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(139, 29, 46, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(139, 29, 46, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Stadium Light Sweep Animation for Sections --- */
.spotlight-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(139, 29, 46, 0.04) 10deg,
        transparent 20deg,
        transparent 160deg,
        rgba(27, 58, 95, 0.04) 170deg,
        transparent 180deg
    );
    animation: spotlightSweep 15s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes spotlightSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spotlight-section > * {
    position: relative;
    z-index: 1;
}

/* --- Cinematic Download Section --- */
.download-section {
    background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.85) 0%, rgba(22, 27, 34, 0.95) 100%),
                      url('../assets/images/app_showcase.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.download-card {
    background: linear-gradient(135deg, rgba(139, 29, 46, 0.1) 0%, rgba(22, 27, 34, 0.8) 50%, rgba(27, 58, 95, 0.1) 100%);
    border: 1px solid rgba(139, 29, 46, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(139, 29, 46, 0.1);
}

/* --- Animated Gradient Text for Key Titles --- */
.spotlight-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, #ffffff 40%, var(--accent-crimson-bright) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: titleShimmer 6s ease-in-out infinite alternate;
}

@keyframes titleShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* --- Enhanced Blue/Brand Highlights --- */
.blue-highlight, .brand-highlight {
    color: var(--accent-crimson-bright);
    text-shadow: 0 0 25px rgba(212, 64, 84, 0.4);
    font-weight: 600;
}

/* --- Cinematic Section Dividers --- */
.spotlight-section + .spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 29, 46, 0.3), rgba(27, 58, 95, 0.3), transparent);
    z-index: 2;
}

/* --- Premium Glow on Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator .arrow-down {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-crimson-bright);
    border-bottom: 2px solid var(--accent-crimson-bright);
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
    filter: drop-shadow(0 0 8px rgba(212, 64, 84, 0.5));
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* --- Gold Highlight Override to Crimson for brand consistency --- */
.gold-highlight {
    color: var(--accent-crimson-bright) !important;
    text-shadow: 0 0 15px rgba(212, 64, 84, 0.3);
}

/* --- Responsive Parallax Fix (Mobile has no fixed bg) --- */
@media (max-width: 768px) {
    .spotlight-section.scanner-spotlight,
    .spotlight-section.reporting-spotlight {
        background-attachment: scroll;
    }
    
    .hero-tagline {
        font-size: 2.5rem;
    }
    
    .spotlight-title {
        font-size: 2rem;
    }
}

/* --- Phone Mockup Enhanced Glow --- */
.phone-glow.navy {
    background-color: rgba(27, 58, 95, 0.6);
    animation: phoneGlowPulse 4s ease-in-out infinite alternate;
}

.phone-glow.crimson {
    background-color: rgba(139, 29, 46, 0.5);
    animation: phoneGlowPulse 4s ease-in-out infinite alternate-reverse;
}

@keyframes phoneGlowPulse {
    0% { opacity: 0.08; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(1.1); }
}

/* --- Premium Section Title Glow --- */
.section-title::after {
    background: linear-gradient(90deg, var(--accent-crimson-bright), var(--accent-gold));
    height: 3px;
    filter: drop-shadow(0 0 6px rgba(212, 64, 84, 0.5));
}

/* --- Gallery Section cinematic bg --- */
.gallery-section {
    background: radial-gradient(ellipse at 50% 100%, rgba(139, 29, 46, 0.08) 0%, transparent 50%),
                var(--bg-surface);
}

/* --- Footer Subtle Cinematic --- */
.footer-section {
    background: linear-gradient(to top, rgba(13, 17, 23, 1) 0%, rgba(22, 27, 34, 1) 100%);
    border-top: 1px solid rgba(139, 29, 46, 0.15);
}

.footer-info h3 {
    color: var(--accent-crimson-bright);
}

/* --- About Section with Sardinia Field Backdrop --- */
.about-section {
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0.88) 0%, rgba(13, 17, 23, 0.92) 60%, rgba(13, 17, 23, 0.98) 100%),
                url('../assets/images/sardinia_field.png') no-repeat center center / cover;
    position: relative;
}

/* --- FAQ Section Cinematic --- */
.faq-section {
    background: radial-gradient(ellipse at 50% 100%, rgba(139, 29, 46, 0.06) 0%, transparent 50%),
                var(--bg-surface);
}

/* --- Floating Particles for Hero (additional texture) --- */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* --- Cinematic Social Section --- */
.social-section {
    background: radial-gradient(ellipse at 50% 50%, rgba(27, 58, 95, 0.06) 0%, transparent 60%),
                var(--bg-primary);
}

/* --- Enhanced About Text Animation --- */
.about-text .reveal-line {
    transition-delay: calc(var(--i, 0) * 0.15s);
}

/* --- Responsive Hero Min Height --- */
@media (max-width: 480px) {
    .hero-section {
        min-height: 100svh;
        padding: 6rem 0 3rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* --- Vignette Effect on Hero --- */
.hero-section {
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.5);
}

/* --- Coach Assistant Tactical Visuals --- */
.pitch-wrapper {
    background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    height: 220px;
}
.mini-pitch {
    position: relative;
    width: 100%;
    height: 180px;
    background: rgba(34, 139, 34, 0.08); /* Grass green overlay */
    border: 2.2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
}
.pitch-line {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.pitch-line.center-line {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
}
.pitch-line.center-circle {
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.pitch-line.penalty-box {
    top: 50%;
    left: 0;
    width: 35px;
    height: 90px;
    transform: translateY(-50%);
    border-left: none;
}
.player-node {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #FFF;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
.player-node:hover {
    transform: translate(-50%, -50%) scale(1.2);
}
.player-node.home-node {
    background: #8B1D2E;
    border: 1.5px solid #D44054;
}
.player-node.away-node {
    background: #1B3A5F;
    border: 1.5px solid #4A90D9;
}
.tactical-arrow {
    position: absolute;
    height: 2px;
    background: repeating-linear-gradient(90deg, #FFF, #FFF 4px, transparent 4px, transparent 8px);
    transform-origin: left center;
    opacity: 0.6;
}
.tactical-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #FFF;
}

/* Drill visual wrapper */
.drill-visual-wrapper {
    background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    height: 220px;
}
.drill-graphic-container {
    position: relative;
    width: 100%;
    height: 180px;
    background: rgba(255, 215, 0, 0.03);
    border: 1px dashed rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}
.drill-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 20px 20px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
}
.drill-cones-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.cone {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FF9500;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.drill-ball {
    position: absolute;
    font-size: 0.95rem;
    transform: translate(-50%, -50%);
    animation: ballPulse 2s infinite ease-in-out;
}
@keyframes ballPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.25); }
}
.drill-runner {
    position: absolute;
    font-size: 1.1rem;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Diary calendar style */
.diary-wrapper {
    background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    height: 220px;
}
.diary-preview {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.diary-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.4rem;
}
.diary-line:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.coach-card .card-inner {
    padding-bottom: 1.5rem;
}
.coach-card .card-player-wrapper {
    margin-bottom: 0.5rem;
    height: 220px;
}
.coach-card .card-details {
    padding: 0 1.5rem;
}
.coach-card .card-stats {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
}
.coach-card .card-desc-text {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #A5A5C7;
    text-align: center;
}

