/* ═══════════════════════════════════════════════════════════════
   CASPER TENNIS TAVOLO — Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --bg-dark: #0B1D3A;
    --bg-darker: #071428;
    --bg-light: #F4F6FA;
    --bg-white: #FFFFFF;
    --primary: #FF6B2C;
    --primary-light: #FF8F5C;
    --primary-dark: #E55A1B;
    --green: #00C896;
    --green-light: #00E6AD;
    --purple: #6C5CE7;
    --pink: #FD79A8;
    --text-dark: #0B1D3A;
    --text-body: #4A5567;
    --text-light: #8A95A8;
    --text-white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
    --shadow-md: 0 8px 32px rgba(11, 29, 58, 0.1);
    --shadow-lg: 0 16px 48px rgba(11, 29, 58, 0.14);
    --shadow-glow: 0 0 40px rgba(255, 107, 44, 0.2);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #009246 0%, #F1F2F1 50%, #CE2B37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

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

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 29, 58, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 107, 44, 0.5));
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-white);
    background: var(--glass);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, #030B18 0%, var(--bg-darker) 30%, var(--bg-dark) 60%, #0D2847 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.07;
    top: -150px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: var(--green);
    opacity: 0.06;
    bottom: -120px;
    left: -120px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 10s ease-in-out infinite 2s;
}

/* ── Floating particles ── */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat var(--dur) ease-in-out var(--del) infinite;
}

.particle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    filter: blur(4px);
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }

    10% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
        transform: translate(20px, -40px) scale(1);
    }

    90% {
        opacity: 0.4;
    }
}

/* ── Glowing net line ── */
.hero-net {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--green), var(--primary), transparent);
    opacity: 0.3;
    z-index: 1;
}

.hero-net::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, rgba(255, 107, 44, 0.05), transparent);
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-3deg);
    }
}

/* ── Hero content (centered) ── */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 8px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* ── Paddle illustration ── */
.hero-illustration {
    margin: 40px 0 10px;
    animation: fadeInUp 0.8s ease 0.7s forwards;
    opacity: 0;
}

.paddle-scene {
    position: relative;
    width: 160px;
    height: 160px;
    animation: paddleFloat 4s ease-in-out infinite;
}

.paddle-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 24px rgba(231, 76, 60, 0.25));
    transform: rotate(-15deg);
}

.ping-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 35%, #FFD93D, #FF9500, #FF6B2C);
    border-radius: 50%;
    top: 10px;
    right: 5px;
    box-shadow:
        0 0 16px rgba(255, 149, 0, 0.5),
        0 0 40px rgba(255, 107, 44, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    animation: ballOrbit 3s ease-in-out infinite;
}

.ball-trail {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    top: 15px;
    right: 12px;
    animation: trailFade 3s ease-in-out infinite;
}

.trail-2 {
    width: 8px;
    height: 8px;
    top: 22px;
    right: 20px;
    animation-delay: 0.15s;
}

.trail-3 {
    width: 5px;
    height: 5px;
    top: 28px;
    right: 28px;
    animation-delay: 0.3s;
}

@keyframes paddleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes ballOrbit {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(15px, -30px);
    }

    50% {
        transform: translate(-5px, -15px);
    }

    75% {
        transform: translate(10px, 5px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes trailFade {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    30% {
        opacity: 0.35;
        transform: scale(1);
    }

    60% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* ── Stats ── */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 16px;
    animation: fadeInUp 0.8s ease 0.9s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
    position: relative;
}

.stat+.stat::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Scroll indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 100px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(255, 107, 44, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 44, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.1), rgba(0, 200, 150, 0.1));
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   ORARI & CORSI
   ═══════════════════════════════════════════════════════════════ */
.section-orari {
    background: var(--bg-light);
}

.orari-single {
    max-width: 640px;
    margin: 0 auto;
}

.orari-hero-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.orari-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.orari-card-header {
    background: linear-gradient(135deg, var(--bg-dark), #0D2847);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.orari-card-icon-lg {
    font-size: 2.8rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.orari-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.orari-card-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0;
    font-weight: 500;
}

.orari-slots {
    padding: 8px 24px;
}

.orari-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.orari-slot:last-child {
    border-bottom: none;
}

.orari-slot:hover {
    background: rgba(255, 107, 44, 0.04);
    border-radius: var(--radius-sm);
}

.slot-time {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slot-start,
.slot-end {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.slot-divider {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

.slot-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 100px;
}

.orari-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.orari-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.orari-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.orari-cta:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   CONTATTI
   ═══════════════════════════════════════════════════════════════ */
.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.contatto-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.contatto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contatto-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contatto-icon svg {
    width: 28px;
    height: 28px;
}

.phone-icon {
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.12), rgba(255, 143, 92, 0.12));
    color: var(--primary);
}

.whatsapp-icon {
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.12), rgba(0, 230, 173, 0.12));
    color: var(--green);
}

.email-icon {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(162, 155, 254, 0.12));
    color: var(--purple);
}

.office-icon {
    background: linear-gradient(135deg, rgba(253, 121, 168, 0.12), rgba(250, 177, 160, 0.12));
    color: var(--pink);
}

.contatto-card:hover .contatto-icon {
    transform: scale(1.15) rotate(5deg);
}

.contatto-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contatto-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contatto-cta {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contatto-card:hover .contatto-cta {
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   SQUADRE, CALENDARIO, ALBO D'ORO
   ═══════════════════════════════════════════════════════════════ */
.section-squadre {
    background: var(--bg-light);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 28px;
    border-radius: 100px;
    border: 2px solid rgba(11, 29, 58, 0.1);
    background: var(--bg-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 107, 44, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Classifiche wrapper */
.classifiche-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.classifica-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.classifica-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.classifica-header {
    background: linear-gradient(135deg, var(--bg-dark), #0D2847);
    padding: 24px 28px;
}

.classifica-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.classifica-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.classifica-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    line-height: 1.3;
}

.classifica-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Table styles */
.table-wrapper {
    overflow-x: auto;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.league-table thead {
    background: var(--bg-light);
}

.league-table th {
    padding: 12px 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.league-table .th-pos {
    width: 48px;
    text-align: center;
}

.league-table .th-team {
    text-align: left;
    min-width: 160px;
}

.league-table .th-pts {
    color: var(--primary);
}

.league-table td {
    padding: 14px 14px;
    text-align: center;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

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

.league-table tbody tr:hover {
    background: rgba(255, 107, 44, 0.04);
}

.league-table tbody tr:last-child td {
    border-bottom: none;
}

/* Our team row highlight */
.league-table tr.is-us {
    background: linear-gradient(90deg, rgba(255, 107, 44, 0.08), rgba(255, 107, 44, 0.03));
}

.league-table tr.is-us .team-name {
    font-weight: 700;
    color: var(--text-dark);
}

.league-table tr.is-us:hover {
    background: linear-gradient(90deg, rgba(255, 107, 44, 0.12), rgba(255, 107, 44, 0.05));
}

/* Team name column */
.team-name {
    text-align: left !important;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    flex-shrink: 0;
}

.team-dot.dot-gold {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(255, 107, 44, 0.4);
}

/* Position badges */
.pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.pos-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.pos-silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #fff;
    box-shadow: 0 2px 8px rgba(168, 168, 168, 0.3);
}

.pos-bronze {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    color: #fff;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

/* Points column */
.pts strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Player table extras */
.player-avatar {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rating {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary) !important;
}

.trend {
    font-weight: 700;
    font-size: 0.85rem;
}

.trend-up {
    color: var(--green) !important;
}

.trend-down {
    color: #E74C3C !important;
}

.trend-stable {
    color: var(--text-light) !important;
}

/* Calendario */
.calendario-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calendario-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.calendario-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.cal-date {
    min-width: 60px;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, var(--bg-dark), #0D2847);
    border-radius: var(--radius-sm);
}

.cal-day {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

.cal-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cal-info {
    flex: 1;
}

.cal-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cal-info p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.cal-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--text-white);
    white-space: nowrap;
}

.cal-badge.badge-away {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.cal-badge.badge-event {
    background: linear-gradient(135deg, var(--purple), #a29bfe);
}

/* Albo d'Oro */
.albo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.albo-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
}

.albo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.albo-year {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.albo-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.albo-card p {
    font-size: 0.92rem;
    color: var(--text-body);
}

/* ═══════════════════════════════════════════════════════════════
   NEWS & EVENTI
   ═══════════════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--text-white);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.news-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-link:hover {
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERIA
   ═══════════════════════════════════════════════════════════════ */
.section-galleria {
    background: var(--bg-light);
}

.galleria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.galleria-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.galleria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galleria-item:hover img {
    transform: scale(1.1);
}

.galleria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 29, 58, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.galleria-item:hover .galleria-overlay {
    opacity: 1;
}

.galleria-overlay span {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: var(--bounce);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════
   MAPPA
   ═══════════════════════════════════════════════════════════════ */
.section-mappa {
    background: var(--bg-light);
}

.mappa-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 320px 1fr;
}

.mappa-info {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg-dark), #0D2847);
}

.mappa-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mappa-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mappa-info-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.mappa-info-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

.mappa-embed {
    min-height: 400px;
}

.mappa-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 16px;
}

.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-col ul a {
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-col ul li {
    font-size: 0.92rem;
}

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

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 107, 44, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .classifiche-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    .hero {
        min-height: auto;
        padding: 120px 24px 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat+.stat::before {
        display: none;
    }

    .stat {
        min-width: 80px;
    }

    .paddle-scene {
        width: 120px;
        height: 120px;
    }

    .section {
        padding: 70px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .mappa-card {
        grid-template-columns: 1fr;
    }

    .mappa-info {
        padding: 28px 24px;
    }

    .mappa-embed {
        min-height: 300px;
    }

    .mappa-embed iframe {
        min-height: 300px;
    }

    .calendario-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .orari-card-header {
        padding: 20px 20px;
        gap: 12px;
    }

    .orari-card-icon-lg {
        font-size: 2rem;
    }

    .orari-card-header h3 {
        font-size: 1.15rem;
    }

    .orari-slots {
        padding: 4px 16px;
    }

    .orari-slot {
        padding: 16px 4px;
    }

    .slot-start,
    .slot-end {
        font-size: 1.2rem;
    }

    .orari-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 20px;
    }

    .contatti-grid {
        grid-template-columns: 1fr;
    }

    .galleria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .league-table .th-team {
        min-width: 120px;
    }

    .team-name {
        font-size: 0.82rem;
    }
}