/* ============================================
   HAZE CUP — BIANCO + ROSSO FUOCO
   Hero: testo HAZE come maschera trasparente
   Foto/video visibili attraverso le lettere
   ============================================ */

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

:root {
    --red: #FF1A1A;
    --red-dark: #D50000;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray: #999999;

    --font-display: 'Anton', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Prevent 300ms tap delay on iOS/Android */
button, a, [role="button"], input, select, textarea {
    touch-action: manipulation;
}

/* iOS safe area support for devices with notch/Dynamic Island */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(48px, env(safe-area-inset-left));
        padding-right: max(48px, env(safe-area-inset-right));
    }
    footer {
        padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom)));
    }
    .hamburger {
        right: max(24px, env(safe-area-inset-right));
    }
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    overflow-y: hidden;
}

body.ready {
    overflow-y: auto;
}

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

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 10vw, 88px);
    letter-spacing: 0.08em;
    color: var(--black);
    display: flex;
    overflow: hidden;
}

.pre-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%) rotateX(90deg);
    transform-origin: bottom center;
    will-change: transform, opacity;
}

/* ============================================
   RED WIPE TRANSITION
   ============================================ */
#red-wipe {
    position: fixed;
    inset: 0;
    background: var(--red);
    z-index: 999;
    transform: translateY(100%);
    display: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 48px;
    z-index: 100;
}

.nav-logo {
    margin: 0 48px;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-links-left, .nav-links-right {
    display: flex;
    gap: 36px;
    flex: 1;
}

.nav-links-left { justify-content: flex-end; }
.nav-links-right { justify-content: flex-start; }

.nav-links-left a, .nav-links-right a {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    transition: color 0.3s ease;
}

.nav-links-left a:hover, .nav-links-right a:hover {
    color: var(--red);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
    position: fixed;
    top: 28px;
    right: 24px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--black);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger span:first-child { margin-bottom: 8px; }
.hamburger.active span { background: var(--white); }
.hamburger.active span:first-child { transform: rotate(45deg) translate(3.5px, 3.5px); }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(3.5px, -3.5px); }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--red);
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    clip-path: circle(0% at calc(100% - 40px) 36px);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 36px); }

.mobile-menu a {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 56px);
    color: var(--white);
    letter-spacing: 0.03em;
    transition: opacity 0.3s ease;
}

.mobile-menu a:hover { opacity: 0.6; }

/* ============================================
   HERO
   ============================================ */
#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.hero-masked-area {
    position: relative;
    flex: 1;
    overflow: hidden;
    margin-top: 80px;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.video-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity;
    transform: translateZ(0);
}

.hero-vid.active { opacity: 1; }

.text-mask-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: screen;
}

.masked-title {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: clamp(48px, 13vw, 260px);
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: var(--black);
    text-align: center;
    white-space: nowrap;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.haze-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px);
    will-change: transform, opacity;
}

.corner-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.corner-accent::before, .corner-accent::after {
    content: '';
    position: absolute;
    background: var(--red);
}

.corner-accent::before { width: 100%; height: 2px; }
.corner-accent::after { width: 2px; height: 100%; }

.corner-tl { top: 24px; left: 24px; }
.corner-tl::before { top: 0; left: 0; }
.corner-tl::after { top: 0; left: 0; }

.corner-tr { top: 24px; right: 24px; }
.corner-tr::before { top: 0; right: 0; }
.corner-tr::after { top: 0; right: 0; }

.corner-bl { bottom: 24px; left: 24px; }
.corner-bl::before { bottom: 0; left: 0; }
.corner-bl::after { bottom: 0; left: 0; }

.corner-br { bottom: 24px; right: 24px; }
.corner-br::before { bottom: 0; right: 0; }
.corner-br::after { bottom: 0; right: 0; }

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 48px;
    opacity: 0;
}

.hero-tagline, .hero-edition {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
}

.hero-scroll {
    display: flex;
    align-items: center;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: bounce 2s ease infinite;
    will-change: transform;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   CHI SIAMO
   ============================================ */
#about {
    position: relative;
    z-index: 5;
    background: var(--red);
    color: var(--white);
    overflow: hidden;
    padding-bottom: 100px;
    box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.25);
    contain: layout style;
}

.marquee {
    padding: 20px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 20s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    padding-right: 24px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 60px 80px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 1;
    letter-spacing: -0.01em;
}

.about-outline {
    -webkit-text-stroke: 2px var(--white);
    -webkit-text-fill-color: transparent;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.about-text {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* Griglia statistiche */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
    padding: 0 60px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.stat:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.about-bigtext {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(200px, 30vw, 500px);
    line-height: 0.75;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

/* ============================================
   IL TORNEO
   ============================================ */
#torneo {
    position: relative;
    background: var(--white);
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    contain: layout style;
    justify-content: center;
}

.torneo-fullscreen {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}

.torneo-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--gray);
    display: block;
    margin-bottom: 32px;
}

.torneo-big {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(12px, 3vw, 40px);
    margin-bottom: 32px;
}

.torneo-word {
    font-family: var(--font-display);
    font-size: clamp(80px, 18vw, 280px);
    line-height: 0.85;
    letter-spacing: 0.04em;
}

.torneo-word-black { color: var(--black); }
.torneo-word-red { -webkit-text-stroke: 3px var(--red); -webkit-text-fill-color: transparent; }

.torneo-subtitle {
    font-family: var(--font-body);
    font-size: clamp(11px, 1.3vw, 15px);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gray);
    margin-bottom: 48px;
}

.torneo-divider {
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 0 auto 48px;
    transform-origin: center;
}

.torneo-stats {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 5vw, 80px);
    margin-bottom: 48px;
}

.torneo-stat { text-align: center; }

.torneo-stat-num, .torneo-stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 100px);
    color: var(--red);
    line-height: 1;
}

.torneo-stat-num { display: inline; }

.torneo-stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gray);
    margin-top: 8px;
}

.torneo-desc {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.7;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto;
}

.torneo-bg-text {
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(250px, 40vw, 600px);
    line-height: 0.7;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 26, 26, 0.06);
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

/* ============================================
   REELS / CONTENUTI
   ============================================ */
#reels {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    contain: layout style;
}

.reels-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 80px;
}

.reels-text {
    position: relative;
    z-index: 2;
}

.reels-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gray);
    display: block;
    margin-bottom: 24px;
}

.reels-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 90px);
    line-height: 1.15;
    color: var(--black);
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.reels-title-red { color: var(--red); }

.reels-line {
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 24px;
    transform-origin: left;
}

.reels-desc {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.7;
    color: var(--gray);
    max-width: 420px;
    margin-bottom: 36px;
}

.reels-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reel-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    padding: 8px 16px;
    border: 1px solid rgba(255, 26, 26, 0.3);
    border-radius: 100px;
    transition: background 0.3s ease, color 0.3s ease;
}

.reel-tag:hover {
    background: var(--red);
    color: var(--white);
}

.behind-card {
    position: absolute;
    width: 200px;
    height: 280px;
    z-index: 0;
    opacity: 0;
}

.behind-card-inner {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.behind-card-inner.behind-card-thumb {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border: none;
}

.behind-card-inner.behind-card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    border-radius: 20px;
}

.behind-card-inner.behind-card-thumb .behind-card-tag,
.behind-card-inner.behind-card-thumb .behind-card-title,
.behind-card-inner.behind-card-thumb .behind-card-sub,
.behind-card-inner.behind-card-thumb .behind-card-hashtag {
    position: relative;
    z-index: 1;
}

.behind-card-inner.behind-card-thumb .behind-card-tag { color: var(--red); }
.behind-card-inner.behind-card-thumb .behind-card-title { color: var(--white); }
.behind-card-inner.behind-card-thumb .behind-card-sub { color: rgba(255,255,255,0.7); }

.behind-card-tag {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
}

.behind-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--black);
    line-height: 1.1;
}

.behind-card-sub {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--gray);
}

.behind-card-hashtag {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 0.05em;
}

.behind-card-left { left: -60px; top: 50%; transform: translateY(-50%) rotate(-12deg) scale(0.85); }
.behind-card-right { right: -60px; top: 50%; transform: translateY(-50%) rotate(10deg) scale(0.85); }
.behind-card-top { top: -30px; left: 50%; transform: translateX(-50%) rotate(-4deg) scale(0.75); width: 160px; height: 200px; }

.iphone-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.iphone-glow {
    position: absolute;
    width: 340px;
    height: 560px;
    background: radial-gradient(ellipse, rgba(255, 26, 26, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.iphone {
    position: relative;
    width: 280px;
    aspect-ratio: 9 / 19.5;
    background: #1c1c1e;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 0 0 2px #3a3a3c, 0 30px 80px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.iphone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #1c1c1e;
    border-radius: 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.reel-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.reel-vid.active {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.reel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.reel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

.reel-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.reel-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 12px 16px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 20%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

.reel-overlay-top { display: flex; justify-content: center; }
.reel-overlay-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }

.reel-overlay-bottom { display: flex; align-items: flex-end; gap: 10px; }
.reel-overlay-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reel-overlay-username { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--white); }
.reel-overlay-caption { font-family: var(--font-body); font-size: 10px; color: rgba(255, 255, 255, 0.85); line-height: 1.3; }

.reel-overlay-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reel-action { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.reel-action svg { width: 20px; height: 20px; }
.reel-action span { font-family: var(--font-body); font-size: 10px; font-weight: 600; color: var(--white); }

/* ============================================
   SQUADRE
   ============================================ */
#squadre {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: 100px 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    contain: layout style;
}

.squadre-header { max-width: 1300px; margin: 0 auto; padding: 0 60px 48px; }
.squadre-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--gray); display: block; margin-bottom: 16px; }
.squadre-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); color: var(--black); line-height: 1; margin-bottom: 12px; }
.squadre-title-red { color: var(--red); }
.squadre-count { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.15em; color: var(--gray); }
.squadre-count-num { color: var(--red); font-weight: 700; }

.squadre-scroll-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    padding: 30px 60px 50px;
    cursor: grab;
}
.squadre-scroll-wrapper:active { cursor: grabbing; }
.squadre-scroll-wrapper::-webkit-scrollbar { display: none; }

.squadre-track { display: flex; gap: 28px; width: max-content; padding-right: 60px; }

.squadra-card {
    --team-color: var(--red);
    width: 240px;
    min-height: 340px;
    background: var(--team-color);
    border: 3px solid #c9a84c;
    border-radius: 20px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    will-change: transform;
    box-shadow: inset 0 2px 6px rgba(255, 235, 170, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px #b8922e, 0 0 0 5px #d4a853, 0 0 0 6px #8b6914, 0 10px 35px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(201, 168, 76, 0.15);
}

.squadra-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: inset 0 2px 6px rgba(255, 235, 170, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.3), 0 0 0 2px #c9a84c, 0 0 0 5px #f5d98e, 0 0 0 6px #b8922e, 0 0 0 8px #d4a853, 0 0 0 9px #8b6914, 0 24px 60px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(201, 168, 76, 0.25), 0 0 30px rgba(212, 168, 83, 0.15);
}
.squadra-card:hover .squadra-card-glow { opacity: 1; transform: scaleY(1); }
.squadra-card:hover .squadra-logo { transform: scale(1.15) rotate(-3deg); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35)); }

.squadra-card-glow {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0; transform: scaleY(0); transform-origin: top;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: 17px; pointer-events: none; z-index: 0; will-change: transform, opacity;
}

.squadra-logo-area {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 28px 20px 16px; position: relative; z-index: 1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.squadra-logo {
    width: 110px; height: 110px; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2)); will-change: transform;
}

.squadra-logo-placeholder {
    width: 110px; height: 110px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: rgba(255,255,255,0.6);
    letter-spacing: 2px; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.squadra-card-bottom {
    padding: 0 20px 20px; display: flex; flex-direction: column; gap: 4px;
    position: relative; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
}

.squadra-name { font-family: var(--font-display); font-size: 20px; color: var(--white); line-height: 1.1; letter-spacing: 0.02em; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.squadra-sub { font-family: var(--font-body); font-size: 11px; color: rgba(255, 255, 255, 0.7); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }

.squadra-card-inner { width: 100%; height: 100%; min-height: 280px; transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; position: relative; }
.squadra-card.flipped .squadra-card-inner { transform: rotateY(180deg); }
.squadra-card-front, .squadra-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 17px; overflow: hidden; }
.squadra-card-front { display: flex; flex-direction: column; z-index: 2; }
.squadra-card-back { transform: rotateY(180deg); background: var(--team-color); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px 18px; text-align: center; gap: 10px; z-index: 1; }

.back-school-name { font-family: var(--font-display); font-size: 16px; color: var(--white); letter-spacing: 0.03em; line-height: 1.1; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.back-divider { width: 30px; height: 2px; background: rgba(255, 255, 255, 0.4); border-radius: 2px; }
.back-bio { font-family: var(--font-body); font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.back-tap { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; margin-top: auto; }

/* ============================================
   TROFEO
   ============================================ */
#trofeo {
    position: relative; background: var(--white); overflow-x: hidden; overflow-y: visible;
    padding: 100px 0 80px; min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trofeo-header { text-align: center; padding: 0 40px 20px; position: relative; z-index: 4; }
.trofeo-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--gray); display: block; margin-bottom: 16px; }
.trofeo-title { font-family: var(--font-display); font-size: clamp(48px, 6vw, 90px); color: var(--black); line-height: 1; }
.trofeo-title-gold { color: var(--red); }

.trofeo-scene { position: relative; width: 100%; max-width: 1100px; height: 700px; margin: 0 auto; z-index: 2; overflow: hidden; }
#trophy-canvas { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateZ(0); width: 550px; height: 100%; z-index: 2; pointer-events: auto; will-change: transform; contain: layout; }

.spiral-photo { position: absolute; width: 190px; height: 128px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); border: 3px solid var(--black); pointer-events: none; will-change: transform; }
.spiral-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spiral-photo-lg { width: 220px; height: 148px; }
.spiral-back { z-index: 1; opacity: 0.85; }
.spiral-front { z-index: 3; }

.trofeo-glow { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(255, 26, 26, 0.05) 0%, rgba(255, 26, 26, 0.025) 30%, rgba(255, 26, 26, 0.01) 55%, transparent 75%); border-radius: 50%; z-index: 0; pointer-events: none; }
.trofeo-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: clamp(200px, 30vw, 500px); line-height: 1; letter-spacing: 0.05em; color: transparent; -webkit-text-stroke: 2px rgba(0, 0, 0, 0.04); white-space: nowrap; z-index: 0; user-select: none; pointer-events: none; will-change: transform; }

/* ============================================
   CALENDARIO / RISULTATI
   ============================================ */
#calendario { position: relative; background: var(--white); overflow-x: hidden; overflow-y: visible; padding: 100px 0 120px; border-top: 1px solid rgba(0, 0, 0, 0.06); }
.calendario-header { max-width: 1300px; margin: 0 auto; padding: 0 60px 48px; text-align: center; }
.calendario-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--gray); display: block; margin-bottom: 16px; }
.calendario-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); color: var(--black); line-height: 1; margin-bottom: 12px; }
.calendario-title-red { color: var(--red); }
.calendario-subtitle { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.25em; color: var(--gray); }

.calendario-tabs-wrapper { display: flex; justify-content: center; margin-bottom: 48px; padding: 0 24px; position: sticky; top: 0; z-index: 10; background: var(--white); padding-top: 16px; padding-bottom: 16px; }
.calendario-tabs { display: flex; background: #f5f5f5; border-radius: 14px; padding: 5px; position: relative; }
.cal-tab { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--gray); background: none; border: none; padding: 14px 28px; cursor: pointer; position: relative; z-index: 2; transition: color 0.3s ease; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.cal-tab.active { color: var(--white); }
.cal-tab:hover:not(.active) { color: var(--black); }
.cal-tab-indicator { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); background: var(--red); border-radius: 10px; z-index: 1; transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

.calendario-content { max-width: 1100px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.cal-panel { display: none; }
.cal-panel.active { display: block; animation: calFadeIn 0.4s ease; }
@keyframes calFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.cal-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 80px 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--gray); }
.cal-spinner { width: 32px; height: 32px; border: 3px solid #eee; border-top-color: var(--red); border-radius: 50%; animation: calSpin 0.8s linear infinite; will-change: transform; }
@keyframes calSpin { to { transform: rotate(360deg); } }

/* Fix per wrap dei pulsanti girone su mobile */
.girone-selector { display: flex; justify-content: center; gap: 8px; row-gap: 12px; margin-bottom: 36px; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; background: var(--white); padding: 12px 0; }
.girone-btn { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--gray); background: none; border: 2px solid rgba(0, 0, 0, 0.08); padding: 10px 24px; border-radius: 100px; cursor: pointer; transition: all 0.3s ease; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.girone-btn.active { color: var(--white); background: var(--black); border-color: var(--black); }
.girone-btn:hover:not(.active) { border-color: var(--red); color: var(--red); }

.matches-grid { display: flex; flex-direction: column; gap: 12px; max-height: 600px; overflow-y: auto; padding-right: 8px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.matches-grid::-webkit-scrollbar { width: 6px; }
.matches-grid::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.matches-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.matches-grid::-webkit-scrollbar-thumb:hover { background: #999; }

.matches-giornata-label { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--gray); text-transform: uppercase; padding: 16px 0 4px; margin-top: 8px; }
.matches-giornata-label:first-child { margin-top: 0; padding-top: 0; }

.match-card { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 16px; padding: 20px 28px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.match-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); border-color: rgba(255, 26, 26, 0.15); }
.match-card.match-live { border-color: var(--red); background: linear-gradient(135deg, rgba(255, 26, 26, 0.03), transparent); }
.match-card.match-live::before { content: 'LIVE'; position: absolute; top: -8px; left: 20px; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.15em; color: var(--white); background: var(--red); padding: 3px 10px; border-radius: 6px; animation: livePulse 1.5s ease infinite; will-change: opacity; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.match-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.match-team-right { justify-content: flex-end; text-align: right; }

.match-team-name { font-family: var(--font-display); font-size: 18px; color: var(--black); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.match-team-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }

.match-center { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 80px; flex-shrink: 0; }
.match-score { font-family: var(--font-display); font-size: 28px; color: var(--black); letter-spacing: 0.1em; line-height: 1; }
.match-score-tbd { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--gray); letter-spacing: 0.05em; }
.match-info { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--gray); text-transform: uppercase; }
.match-status { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.match-status-finita { color: #2e7d32; background: rgba(46, 125, 50, 0.1); }
.match-status-live { color: var(--red); background: rgba(255, 26, 26, 0.1); }
.match-status-dagiocare { color: var(--gray); background: rgba(0, 0, 0, 0.04); }

.classifica-wrapper { overflow: visible; padding-bottom: 4px; max-height: 600px; overflow-y: auto; scroll-behavior: smooth; }
.classifica-wrapper::-webkit-scrollbar { width: 6px; }
.classifica-wrapper::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.classifica-wrapper::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.classifica-wrapper::-webkit-scrollbar-thumb:hover { background: #999; }

.classifica-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.classifica-table thead th { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: var(--gray); text-transform: uppercase; padding: 10px 10px; text-align: center; white-space: nowrap; }
.classifica-table thead th:first-child { width: 50px; }
.classifica-table thead th:nth-child(2) { text-align: left; }
.classifica-table tbody tr { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.classifica-table tbody tr:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }
.classifica-table tbody td { padding: 12px 10px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--black); text-align: center; white-space: nowrap; background: #fafafa; }
.classifica-table tbody td:first-child { border-radius: 12px 0 0 12px; font-family: var(--font-display); font-size: 18px; width: 50px; }
.classifica-table tbody td:nth-child(2) { text-align: left; }
.classifica-table tbody td:last-child { border-radius: 0 12px 12px 0; font-family: var(--font-display); font-size: 20px; color: var(--red); }
.classifica-team-cell { display: flex; align-items: center; gap: 10px; }
.classifica-team-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.classifica-pos { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; font-family: var(--font-display); font-size: 16px; }
.classifica-pos-1 { background: var(--red); color: var(--white); }
.classifica-pos-2 { background: var(--black); color: var(--white); }

.marcatori-wrapper { max-width: 800px; margin: 0 auto; padding: 0 20px; overflow: visible; box-sizing: border-box; }
.marcatore-row { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 16px; padding: 16px 24px; background: #fafafa; border-radius: 14px; margin-bottom: 8px; border: 1px solid rgba(0, 0, 0, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; min-height: 72px; }
.marcatore-row:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.marcatore-row:first-child { background: linear-gradient(135deg, rgba(255, 26, 26, 0.06), #fafafa); border-color: rgba(255, 26, 26, 0.12); }
.marcatore-pos { font-family: var(--font-display); font-size: 24px; color: var(--gray); text-align: center; line-height: 1; }
.marcatore-row:first-child .marcatore-pos { color: var(--red); }
.marcatore-info { display: flex; flex-direction: column; gap: 2px; }
.marcatore-name { font-family: var(--font-display); font-size: 18px; color: var(--black); line-height: 1.2; }
.marcatore-team { font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--gray); letter-spacing: 0.05em; }
.marcatore-gol { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.marcatore-gol-num { font-family: var(--font-display); font-size: 28px; color: var(--red); line-height: 1; }
.marcatore-gol-label { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray); text-transform: uppercase; }

.bracket-wrapper { overflow-x: auto; scrollbar-width: none; padding: 10px 0 20px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.bracket-wrapper::-webkit-scrollbar { display: none; }
.bracket { display: flex; gap: 60px; align-items: stretch; justify-content: center; min-width: 820px; padding: 20px 40px; }
.bracket-round { display: flex; flex-direction: column; justify-content: space-around; align-items: center; position: relative; flex: 1; max-width: 240px; }
.bracket-round-label { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray); text-transform: uppercase; margin-bottom: 12px; text-align: center; flex-shrink: 0; }
.bracket-match { width: 100%; max-width: 210px; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.bracket-match:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); border-color: rgba(255, 26, 26, 0.2); }
.bracket-match-team { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
.bracket-match-team:last-child { border-bottom: none; }
.bracket-team-name { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--black); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-team-score { font-family: var(--font-display); font-size: 18px; color: var(--black); min-width: 24px; text-align: center; }
.bracket-match-team.bracket-winner { background: rgba(255, 26, 26, 0.05); }
.bracket-match-team.bracket-winner .bracket-team-name { color: var(--red); }
.bracket-match-team.bracket-winner .bracket-team-score { color: var(--red); }
.bracket-match-date { font-family: var(--font-body); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; color: var(--gray); text-align: center; padding: 6px; background: rgba(0, 0, 0, 0.02); }
.bracket-round-qf .bracket-match, .bracket-round-sf .bracket-match, .bracket-round-final .bracket-match { margin: 8px 0; }
.bracket-round-qf::after, .bracket-round-sf::after { content: ''; position: absolute; right: -60px; top: 0; bottom: 0; width: 60px; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0px, transparent calc(50% - 1px), rgba(0, 0, 0, 0.08) calc(50% - 1px), rgba(0, 0, 0, 0.08) calc(50% + 0px), transparent calc(50% + 0px)); }

.calendario-bg-text { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: clamp(200px, 30vw, 450px); line-height: 0.75; letter-spacing: 0.05em; color: transparent; -webkit-text-stroke: 2px rgba(255, 26, 26, 0.04); white-space: nowrap; z-index: 1; user-select: none; pointer-events: none; }
.cal-empty { text-align: center; padding: 60px 20px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--gray); letter-spacing: 0.05em; }
.cal-empty-icon { font-size: 40px; margin-bottom: 12px; display: block; opacity: 0.3; }

/* ============================================
   GALLERY
   ============================================ */
#gallery { position: relative; background: var(--white); padding: 100px 0 80px; overflow: hidden; contain: layout style; }
.gallery-header { text-align: center; padding: 0 40px 50px; position: relative; z-index: 2; }
.gallery-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--gray); display: block; margin-bottom: 16px; }
.gallery-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); color: var(--black); line-height: 1; }
.gallery-title-red { color: var(--red); }
.gallery-row { overflow: hidden; padding: 8px 0; }
.gallery-track { display: flex; gap: 16px; width: max-content; will-change: transform; transform: translateZ(0); contain: layout style; }
.gallery-track-left { animation: galleryScrollLeft 40s linear infinite; }
.gallery-track-right { animation: galleryScrollRight 40s linear infinite; }
#gallery.gallery-paused .gallery-track-left, #gallery.gallery-paused .gallery-track-right { animation-play-state: paused; }
@keyframes galleryScrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes galleryScrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.gallery-card { flex-shrink: 0; width: 320px; height: 240px; border-radius: 14px; overflow: hidden; position: relative; }
.gallery-card-wide { width: 420px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-bg-text { position: absolute; top: 50%; will-change: transform; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: clamp(200px, 30vw, 500px); line-height: 1; letter-spacing: 0.05em; color: transparent; -webkit-text-stroke: 2px rgba(0, 0, 0, 0.05); white-space: nowrap; z-index: 0; user-select: none; pointer-events: none; }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--red); padding: 80px 40px 40px; position: relative; overflow: hidden; }
.footer-content { max-width: 1100px; margin: 0 auto; }
.footer-top { text-align: center; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-display); font-size: clamp(60px, 10vw, 100px); color: var(--white); line-height: 1; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.7); }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col-title { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--white); margin-bottom: 20px; }
.footer-link { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.7); padding: 5px 0; transition: color 0.3s ease, transform 0.3s ease; }
.footer-link:hover { color: var(--white); transform: translateX(4px); }
.footer-info { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.6); padding: 5px 0; }
.footer-socials { display: flex; gap: 12px; margin-top: 12px; }
.footer-social { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--white); transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.footer-social:hover { background: var(--white); border-color: var(--white); color: var(--red); transform: translateY(-3px); }
.footer-divider { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.15); margin: 0 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: var(--font-body); font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.footer-credit { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.4); }

/* ============================================
   RESPONSIVE — MEDIA QUERIES
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    #reels { padding: 80px 0; }
    .reels-container { gap: 40px; padding: 0 32px; }
    .reels-title { font-size: clamp(36px, 5vw, 60px); }
    .iphone { width: 240px; }
}

@media (min-width: 1440px) {
    .navbar { padding: 32px 64px; }
    .nav-logo { margin: 0 60px; }
    .nav-logo-img { height: 50px; }
    .nav-links-left a, .nav-links-right a { font-size: 13px; }
    .hero-masked-area { margin-top: 90px; }
    .masked-title { font-size: 260px; letter-spacing: 0.02em; }
    .corner-accent { width: 50px; height: 50px; }
    .corner-tl { top: 32px; left: 32px; }
    .corner-tr { top: 32px; right: 32px; }
    .corner-bl { bottom: 32px; left: 32px; }
    .corner-br { bottom: 32px; right: 32px; }
    .hero-bottom { padding: 32px 64px; }
    .hero-tagline, .hero-edition { font-size: 12px; }
    .about-content { max-width: 1400px; gap: 80px; padding: 120px 80px 100px; }
    .about-stats { max-width: 1400px; padding: 0 80px; }
    .torneo-fullscreen { padding: 100px 60px; }
    .squadre-header { max-width: 1400px; padding: 0 80px 56px; }
    .squadre-scroll-wrapper { padding: 30px 80px 50px; }
    .squadra-card { width: 260px; min-height: 360px; }
    .squadra-logo { width: 120px; height: 120px; }
    .squadra-name { font-size: 22px; }
    .calendario-content { max-width: 1200px; }
    .match-card { padding: 24px 36px; }
    .trofeo-scene { max-width: 1300px; height: 800px; }
    #trophy-canvas { width: 620px; }
    .spiral-photo { width: 220px; height: 148px; }
    .spiral-photo-lg { width: 260px; height: 175px; }
    .trofeo-glow { width: 750px; height: 750px; }
    .gallery-card { width: 380px; height: 280px; }
    .gallery-card-wide { width: 500px; }
    .gallery-track { gap: 20px; }
    .footer-content { max-width: 1200px; }
    .footer-columns { gap: 60px; }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .navbar { padding: 28px 40px; }
    .nav-logo { margin: 0 40px; }
    .masked-title { font-size: clamp(85px, 13vw, 220px); }
    .hero-bottom { padding: 28px 40px; }
    .about-content { padding: 90px 48px 70px; gap: 48px; max-width: 1200px; }
    .about-stats { padding: 0 48px; max-width: 1200px; }
    .torneo-fullscreen { padding: 80px 36px; }
    .squadre-header { padding: 0 48px 44px; }
    .squadre-scroll-wrapper { padding: 28px 48px 46px; }
    .trofeo-scene { height: 650px; }
    #trophy-canvas { width: 500px; }
    .spiral-photo { width: 170px; height: 115px; }
    .spiral-photo-lg { width: 200px; height: 135px; }
    .gallery-card { width: 300px; height: 220px; }
    .gallery-card-wide { width: 400px; }
}

@media (max-width: 1023px) and (min-width: 769px) {
    .navbar { padding: 24px 32px; }
    .nav-logo { margin: 0 28px; }
    .nav-logo-img { height: 40px; }
    .nav-links-left, .nav-links-right { gap: 24px; }
    .nav-links-left a, .nav-links-right a { font-size: 11px; }
    .hero-masked-area { margin-top: 72px; }
    .masked-title { font-size: clamp(68px, 11vw, 165px); }
    .corner-accent { width: 32px; height: 32px; }
    .hero-bottom { padding: 24px 32px; }
    .hero-tagline, .hero-edition { font-size: 10px; letter-spacing: 0.15em; }
    .about-content { grid-template-columns: 1fr 1fr; gap: 40px; padding: 80px 36px 60px; }
    .about-title { font-size: clamp(32px, 4.5vw, 56px); }
    .about-text { font-size: clamp(14px, 1.6vw, 16px); }
    .about-stats { grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 36px; }
    .stat { padding: 32px 14px; }
    .stat-num { font-size: clamp(36px, 5vw, 56px); }
    #about { padding-bottom: 80px; }
    .torneo-fullscreen { padding: 70px 28px; }
    .torneo-word { font-size: clamp(70px, 14vw, 220px); }
    .torneo-stats { gap: clamp(20px, 4vw, 60px); }
    .torneo-stat-num, .torneo-stat-suffix { font-size: clamp(40px, 7vw, 80px); }
    .torneo-desc { max-width: 460px; }
    .squadre-header { padding: 0 36px 40px; }
    .squadre-scroll-wrapper { padding: 24px 36px 44px; }
    .squadra-card { width: 220px; min-height: 310px; }
    .squadra-logo { width: 100px; height: 100px; }
    #squadre { padding: 80px 0 70px; }
    #calendario { padding: 80px 0 100px; }
    .calendario-header { padding: 0 40px 40px; }
    .calendario-content { padding: 0 24px; }
    .cal-tab { font-size: 11px; padding: 12px 20px; letter-spacing: 0.1em; }
    .match-card { padding: 18px 20px; gap: 14px; }
    .match-team-name { font-size: 16px; }
    .match-team-logo { width: 32px; height: 32px; }
    .match-score { font-size: 24px; }
    .match-center { min-width: 70px; }
    .girone-btn { font-size: 10px; padding: 9px 20px; }
    .classifica-table thead th { font-size: 9px; padding: 8px 12px; }
    .classifica-table tbody td { padding: 12px 12px; font-size: 13px; }
    .classifica-table tbody td:first-child { font-size: 16px; }
    .classifica-table tbody td:last-child { font-size: 18px; }
    .marcatore-row { padding: 14px 20px; gap: 12px; }
    .marcatore-name { font-size: 16px; }
    .marcatore-gol-num { font-size: 24px; }
    .bracket { min-width: 750px; gap: 48px; padding: 16px 24px; }
    .bracket-match { max-width: 190px; }
    .bracket-round-qf::after, .bracket-round-sf::after { right: -48px; width: 48px; }
    .reels-container { grid-template-columns: 1fr 1fr; padding: 0 32px; gap: 40px; }
    .iphone { width: 240px; }
    .behind-card-left { left: -40px; }
    .behind-card-right { right: -40px; }
    .behind-card-top { width: 140px; height: 180px; }
    .reels-title { font-size: clamp(36px, 5vw, 60px); }
    #trofeo { padding: 80px 0 60px; min-height: auto; }
    .trofeo-scene { height: 550px; }
    #trophy-canvas { width: 400px; }
    .spiral-photo { width: 140px; height: 95px; }
    .spiral-photo-lg { width: 170px; height: 115px; }
    .trofeo-glow { width: 500px; height: 500px; }
    #gallery { padding: 80px 0 60px; }
    .gallery-card { width: 260px; height: 195px; border-radius: 12px; }
    .gallery-card-wide { width: 340px; }
    .gallery-track { gap: 14px; }
    .gallery-header { padding: 0 40px 40px; }
    footer { padding: 70px 32px 36px; }
    .footer-columns { gap: 28px; }
    .footer-top { margin-bottom: 48px; }
    .footer-link, .footer-info { font-size: 13px; }
}

@media (max-width: 768px) {
    .nav-links-left, .nav-links-right { display: none; }
    .hamburger { display: flex; }
    .navbar { justify-content: flex-start; padding: 24px 28px; }
    .nav-logo { margin: 0; }
    .nav-logo-img { height: 38px; }
    .mobile-menu { clip-path: circle(0% at calc(100% - 48px) 44px); }
    .mobile-menu.open { clip-path: circle(150% at calc(100% - 48px) 44px); }
    .hero-masked-area { margin-top: 70px; }
    .masked-title { font-size: clamp(50px, 10vw, 110px); }
    .corner-accent { width: 28px; height: 28px; }
    .corner-tl { top: 18px; left: 18px; }
    .corner-tr { top: 18px; right: 18px; }
    .corner-bl { bottom: 18px; left: 18px; }
    .corner-br { bottom: 18px; right: 18px; }
    .hero-bottom { padding: 20px 28px; }
    .hero-tagline { font-size: 9px; letter-spacing: 0.12em; }
    .hero-edition { font-size: 9px; letter-spacing: 0.12em; }
    .about-content { grid-template-columns: 1fr; gap: 36px; padding: 70px 32px 50px; }
    .about-title { font-size: clamp(32px, 6vw, 48px); }
    .about-text { font-size: 15px; }

    /* PATCH DEFINITIVA STATS MOBILE: 
       - Rimosso overflow hidden
       - Nascosti quadrati extra
       - Forzata altezza uguale e griglia 1x2 */
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        padding: 0 20px;
        overflow: visible !important;
        align-items: stretch !important;
    }
    .about-stats .stat:nth-child(3),
    .about-stats .stat:nth-child(4) {
        display: none !important;
    }
    .stat {
        padding: 24px 10px;
        height: 100%;
        justify-content: center;
    }
    .stat-num { font-size: clamp(32px, 6vw, 44px); }
    .stat-label { font-size: 9px; letter-spacing: 0.15em; white-space: normal; word-break: break-word; }
    
    #about { padding-bottom: 70px; }
    .about-bigtext { font-size: clamp(140px, 24vw, 350px); }
    #torneo { min-height: 80vh; }
    .torneo-fullscreen { padding: 60px 24px; }
    .torneo-word { font-size: clamp(60px, 13vw, 180px); }
    .torneo-subtitle { font-size: clamp(10px, 1.2vw, 13px); letter-spacing: 0.2em; }
    .torneo-stats { gap: 24px; }
    .torneo-stat-num, .torneo-stat-suffix { font-size: clamp(40px, 7vw, 80px); }
    .torneo-desc { font-size: 14px; max-width: 420px; }
    #squadre { padding: 60px 0 60px; }
    .squadre-header { padding: 0 28px 36px; }
    .squadre-title { font-size: clamp(36px, 6vw, 56px); }
    .squadre-scroll-wrapper { padding: 24px 28px 40px; -webkit-overflow-scrolling: touch; }
    .squadra-card { width: 200px; min-height: 280px; border-width: 2px; }
    .squadra-logo { width: 90px; height: 90px; }
    .squadra-name { font-size: 18px; }
    .squadra-card-bottom { padding: 0 16px 18px; }
    .squadra-card-inner { min-height: 245px; }
    .back-school-name { font-size: 14px; }
    .back-bio { font-size: 10px; }
    .calendario-tabs-wrapper { padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .calendario-tabs { border-radius: 12px; }
    .cal-tab { font-size: 10px; padding: 10px 14px; letter-spacing: 0.06em; }
    .match-card { padding: 14px 14px; gap: 8px; border-radius: 12px; }
    .match-team-name { font-size: 13px; }
    .match-team-logo { width: 26px; height: 26px; }
    .match-score { font-size: 20px; }
    .match-center { min-width: 60px; }
    .match-info { font-size: 9px; }
    .marcatore-row { grid-template-columns: 40px 1fr auto; padding: 12px 14px; gap: 10px; min-height: 60px; }
    .marcatore-pos { font-size: 20px; }
    .marcatore-name { font-size: 14px; }
    .marcatore-team { font-size: 10px; }
    .marcatore-gol-num { font-size: 20px; }
    .marcatore-gol-label { font-size: 8px; }
    .trofeo-scene { height: 400px; }
    #trophy-canvas { width: 300px; }
    .spiral-photo { width: 100px; height: 68px; border-width: 2px; }
    .spiral-photo-lg { width: 120px; height: 82px; }
    .trofeo-glow { width: 360px; height: 360px; }
    .gallery-card { width: 220px; height: 165px; border-radius: 10px; }
    .gallery-card-wide { width: 280px; }
    .gallery-track { gap: 12px; }
    .footer-logo { font-size: 60px; }
    .footer-tagline { font-size: 11px; letter-spacing: 0.2em; }
    .footer-col-title { font-size: 9px; }
    .footer-link, .footer-info { font-size: 13px; }
    .footer-social { width: 44px; height: 44px; }
    .footer-copy { font-size: 10px; }
    .footer-credit { font-size: 9px; }
    #reels { padding: 80px 0; }
    .reels-container { grid-template-columns: 1fr; padding: 0 24px; gap: 48px; text-align: center; }
    .reels-text { text-align: center; }
    .reels-line { transform-origin: center; margin-left: auto; margin-right: auto; }
    .reels-desc { margin-left: auto; margin-right: auto; }
    .reels-tags { justify-content: center; }
    .iphone-area { order: -1; }
    .iphone { width: 220px; }
    .behind-card { display: none; }
    #calendario { padding: 60px 0 80px; }
    .calendario-header { padding: 0 24px 36px; }
    .calendario-content { padding: 0 16px; }
    .girone-btn { font-size: 10px; padding: 8px 16px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .bracket { min-width: 650px; gap: 36px; padding: 10px 20px; }
    .bracket-match { max-width: 170px; }
    .bracket-round-qf::after, .bracket-round-sf::after { right: -36px; width: 36px; }
    #gallery { padding: 60px 0 60px; }
    footer { padding: 60px 24px 30px; }
    .footer-columns { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .classifica-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .classifica-table { min-width: 700px; }
    .classifica-table thead th { font-size: 9px; padding: 8px 10px; }
    .classifica-table tbody td { padding: 10px 10px; font-size: 12px; }
    .classifica-table tbody td:first-child { font-size: 15px; }
    .classifica-table tbody td:last-child { font-size: 17px; }
    .classifica-team-logo { width: 22px; height: 22px; }
}

@media (max-width: 599px) {
    .hamburger { top: 22px; right: 20px; }
    .navbar { padding: 22px 20px; }
    .nav-logo-img { height: 36px; }
    .mobile-menu { clip-path: circle(0% at calc(100% - 44px) 38px); }
    .mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 38px); }
    .hero-masked-area { margin-top: 64px; }
    .masked-title { font-size: clamp(40px, 10vw, 85px); }
    .corner-accent { width: 24px; height: 24px; }
    .corner-tl { top: 14px; left: 14px; }
    .corner-tr { top: 14px; right: 14px; }
    .corner-bl { bottom: 14px; left: 14px; }
    .corner-br { bottom: 14px; right: 14px; }
    .hero-bottom { padding: 16px 20px; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .hero-tagline { display: none; }
    .hero-edition { font-size: 9px; letter-spacing: 0.12em; }
    .hero-scroll { order: -1; width: 100%; justify-content: center; }
    .scroll-dot { width: 5px; height: 5px; }
    .about-content { gap: 28px; padding: 50px 20px 36px; }
    .about-label { font-size: 10px; margin-bottom: 16px; }
    .about-title { font-size: clamp(28px, 8vw, 42px); }
    .about-outline { -webkit-text-stroke: 1.5px var(--white); }
    .about-text { font-size: 14px; line-height: 1.65; }
    
    .about-bigtext { font-size: clamp(100px, 22vw, 280px); }
    #torneo { min-height: 70vh; }
    .torneo-fullscreen { padding: 50px 20px; }
    .torneo-label { font-size: 10px; letter-spacing: 0.3em; margin-bottom: 24px; }
    .torneo-big { gap: 8px; margin-bottom: 24px; }
    .torneo-word { font-size: clamp(52px, 15vw, 120px); }
    .torneo-word-red { -webkit-text-stroke: 2px var(--red); }
    .torneo-subtitle { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 36px; }
    .torneo-divider { width: 48px; height: 2px; margin: 0 auto 36px; }
    .torneo-stats { gap: 20px; margin-bottom: 36px; }
    .torneo-stat-num, .torneo-stat-suffix { font-size: clamp(32px, 10vw, 54px); }
    .torneo-stat-label { font-size: 9px; letter-spacing: 0.2em; }
    .torneo-desc { font-size: 13px; max-width: 380px; }
    .torneo-bg-text { font-size: clamp(160px, 30vw, 380px); }
    #squadre { padding: 50px 0 50px; }
    .squadre-header { padding: 0 20px 32px; }
    .squadre-title { font-size: clamp(32px, 8vw, 48px); }
    .squadre-count { font-size: 12px; }
    .squadre-scroll-wrapper { padding: 20px 20px 36px; }
    .squadre-track { gap: 20px; padding-right: 40px; }
    .squadra-card { width: 180px; min-height: 260px; border-radius: 16px; border-width: 2px; }
    .squadra-logo { width: 75px; height: 75px; }
    .squadra-logo-area { padding: 22px 16px 12px; }
    .squadra-name { font-size: 16px; }
    .squadra-sub { font-size: 10px; }
    .squadra-card-bottom { padding: 0 14px 14px; }
    .squadra-card-inner { min-height: 225px; }
    .back-school-name { font-size: 13px; }
    .back-bio { font-size: 9px; }
    #calendario { padding: 50px 0 60px; }
    .calendario-header { padding: 0 16px 28px; }
    .calendario-content { padding: 0 12px; }
    .calendario-tabs-wrapper { padding: 0 12px; margin-bottom: 32px; }
    .calendario-tabs { width: 100%; border-radius: 12px; padding: 4px; }
    .cal-tab { font-size: 9px; padding: 9px 10px; letter-spacing: 0.05em; flex: 1; text-align: center; }
    .cal-tab-indicator { border-radius: 8px; }
    .girone-selector { gap: 6px; margin-bottom: 24px; }
    .girone-btn { font-size: 10px; padding: 8px 16px; letter-spacing: 0.1em; min-height: 40px; }
    .match-card { padding: 12px 12px; gap: 6px; border-radius: 12px; }
    .match-team { gap: 8px; }
    .match-team-name { font-size: 12px; }
    .match-team-logo { width: 24px; height: 24px; border-radius: 6px; }
    .match-score { font-size: 18px; }
    .match-center { min-width: 50px; }
    .match-info { font-size: 8px; letter-spacing: 0.06em; }
    .match-status { font-size: 8px; padding: 2px 6px; }
    .matches-giornata-label { font-size: 9px; letter-spacing: 0.2em; }
    .classifica-wrapper { margin: 0 -12px; padding: 0 12px 8px; }
    .classifica-table { min-width: 650px; }
    .classifica-table thead th { font-size: 8px; padding: 6px 8px; letter-spacing: 0.1em; }
    .classifica-table tbody td { padding: 8px 8px; font-size: 11px; }
    .classifica-table tbody td:first-child { font-size: 14px; width: 40px; }
    .classifica-table tbody td:last-child { font-size: 15px; }
    .classifica-team-logo { width: 20px; height: 20px; }
    .classifica-team-cell { gap: 8px; }
    .classifica-pos { width: 24px; height: 24px; font-size: 13px; border-radius: 6px; }
    .marcatori-wrapper { padding: 0 4px; }
    .marcatore-row { grid-template-columns: 36px 1fr auto; padding: 10px 12px; gap: 8px; border-radius: 10px; margin-bottom: 6px; min-height: 56px; }
    .marcatore-pos { font-size: 18px; }
    .marcatore-name { font-size: 13px; }
    .marcatore-team { font-size: 9px; }
    .marcatore-gol-num { font-size: 18px; }
    .marcatore-gol-label { font-size: 7px; }
    .bracket { min-width: 580px; gap: 28px; padding: 8px 12px; }
    .bracket-match { max-width: 150px; }
    .bracket-match-team { padding: 10px 12px; }
    .bracket-team-name { font-size: 11px; }
    .bracket-team-score { font-size: 16px; }
    .bracket-round-label { font-size: 9px; letter-spacing: 0.15em; }
    .bracket-round-qf::after, .bracket-round-sf::after { right: -28px; width: 28px; }
    #trofeo { padding: 50px 0 40px; min-height: auto; }
    .trofeo-header { padding: 0 24px 16px; }
    .trofeo-scene { height: 380px; }
    #trophy-canvas { width: 260px; }
    .spiral-photo { width: 85px; height: 58px; border-width: 2px; border-radius: 6px; }
    .spiral-photo-lg { width: 100px; height: 68px; }
    .spiral-back:nth-child(1), .spiral-back:nth-child(4) { display: none; }
    .trofeo-glow { width: 300px; height: 300px; }
    #gallery { padding: 50px 0 40px; }
    .gallery-header { padding: 0 24px 32px; }
    .gallery-row { padding: 6px 0; }
    .gallery-card { width: 200px; height: 150px; border-radius: 10px; }
    .gallery-card-wide { width: 260px; }
    .gallery-track { gap: 10px; }
    footer { padding: 50px 20px 24px; }
    .footer-top { margin-bottom: 40px; }
    .footer-logo { font-size: 52px; }
    .footer-tagline { font-size: 10px; letter-spacing: 0.2em; }
    .footer-columns { gap: 28px; }
    .footer-col-title { font-size: 9px; margin-bottom: 14px; }
    .footer-link, .footer-info { font-size: 13px; padding: 4px 0; }
    .footer-link:hover { transform: none; }
    .footer-socials { justify-content: center; }
    .footer-social { width: 44px; height: 44px; }
    .footer-social svg { width: 16px; height: 16px; }
    .footer-divider { margin: 0 0 18px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .footer-copy { font-size: 10px; }
    .footer-credit { font-size: 9px; letter-spacing: 0.15em; }
    #reels { padding: 50px 0 40px; }
    .reels-container { gap: 36px; padding: 0 20px; }
    .reels-title { font-size: clamp(36px, 10vw, 56px); }
    .iphone { width: 200px; }
    .iphone-glow { width: 240px; height: 400px; }
}

@media (max-width: 479px) {
    .hamburger { top: 18px; right: 16px; padding: 8px; }
    .hamburger span { width: 24px; }
    .hamburger span:first-child { margin-bottom: 6px; }
    .hamburger.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
    .hamburger.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }
    .navbar { padding: 18px 16px; }
    .nav-logo { font-size: 15px; letter-spacing: 0.15em; }
    .mobile-menu { gap: 20px; clip-path: circle(0% at calc(100% - 36px) 31px); }
    .mobile-menu.open { clip-path: circle(150% at calc(100% - 36px) 31px); }
    .mobile-menu a { font-size: clamp(32px, 9vw, 48px); }
    .hero-masked-area { margin-top: 50px; }
    .masked-title { font-size: clamp(34px, 10vw, 70px); letter-spacing: 0; }
    .corner-accent { width: 20px; height: 20px; }
    .corner-tl { top: 10px; left: 10px; }
    .corner-tr { top: 10px; right: 10px; }
    .corner-bl { bottom: 10px; left: 10px; }
    .corner-br { bottom: 10px; right: 10px; }
    .hero-bottom { padding: 14px 16px; }
    .hero-edition { font-size: 8px; letter-spacing: 0.1em; }
    .hero-scroll { margin-bottom: 4px; }
    #about { padding-bottom: 50px; }
    .marquee { padding: 14px 0; }
    .marquee-track span { font-size: clamp(11px, 2.5vw, 14px); padding-right: 16px; }
    .about-content { gap: 24px; padding: 40px 16px 32px; }
    .about-label { font-size: 9px; margin-bottom: 14px; }
    .about-title { font-size: clamp(26px, 9vw, 38px); line-height: 1.05; }
    .about-right { gap: 16px; }
    .about-text { font-size: 13px; line-height: 1.6; }
    
    .about-bigtext { font-size: clamp(80px, 20vw, 200px); bottom: -20px; }
    #torneo { min-height: 60vh; }
    .torneo-fullscreen { padding: 40px 16px; }
    .torneo-label { font-size: 9px; letter-spacing: 0.25em; margin-bottom: 20px; }
    .torneo-big { gap: 6px; margin-bottom: 20px; }
    .torneo-word { font-size: clamp(44px, 16vw, 100px); }
    .torneo-subtitle { font-size: 9px; letter-spacing: 0.15em; margin-bottom: 28px; }
    .torneo-divider { width: 40px; margin: 0 auto 28px; }
    .torneo-stats { flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
    .torneo-stat { min-width: 70px; }
    .torneo-stat-num, .torneo-stat-suffix { font-size: clamp(28px, 10vw, 48px); }
    .torneo-stat-label { font-size: 8px; margin-top: 4px; }
    .torneo-desc { font-size: 12px; max-width: 300px; }
    .torneo-bg-text { font-size: clamp(120px, 28vw, 300px); }
    #squadre { padding: 40px 0 40px; }
    .squadre-header { padding: 0 16px 28px; }
    .squadre-label { font-size: 10px; margin-bottom: 12px; }
    .squadre-title { font-size: clamp(28px, 9vw, 44px); margin-bottom: 8px; }
    .squadre-count { font-size: 11px; }
    .squadre-scroll-wrapper { padding: 16px 16px 32px; }
    .squadre-track { gap: 16px; padding-right: 32px; }
    .squadra-card { width: 160px; min-height: 240px; border-radius: 14px; box-shadow: inset 0 1px 3px rgba(255,235,170,0.2), inset 0 -1px 3px rgba(0,0,0,0.18), 0 0 0 1px #b8922e, 0 0 0 3px #d4a853, 0 0 0 4px #8b6914, 0 5px 16px rgba(0,0,0,0.14); }
    .squadra-logo-area { padding: 18px 14px 10px; }
    .squadra-logo { width: 55px; height: 55px; }
    .squadra-name { font-size: 14px; }
    .squadra-sub { font-size: 9px; }
    .squadra-card-bottom { padding: 0 12px 12px; gap: 2px; }
    .squadra-card-inner { min-height: 210px; }
    .back-school-name { font-size: 13px; }
    .back-bio { font-size: 9px; }
    .back-tap { font-size: 8px; }
    #calendario { padding: 40px 0 50px; }
    .calendario-header { padding: 0 12px 24px; }
    .calendario-title { font-size: clamp(28px, 9vw, 40px); }
    .calendario-subtitle { font-size: 10px; }
    .calendario-content { padding: 0 8px; }
    .calendario-tabs-wrapper { padding: 0 8px; margin-bottom: 24px; }
    .calendario-tabs { min-width: max-content; padding: 3px; border-radius: 10px; }
    .cal-tab { font-size: 10px; padding: 10px 10px; letter-spacing: 0.05em; }
    .cal-tab-indicator { border-radius: 7px; }
    .girone-selector { gap: 6px; margin-bottom: 20px; }
    .girone-btn { font-size: 9px; padding: 7px 12px; letter-spacing: 0.08em; border-width: 1.5px; min-height: 38px; }
    .matches-grid { gap: 8px; }
    .match-card { padding: 14px 10px; gap: 6px; border-radius: 10px; }
    .match-team { gap: 8px; flex-direction: column; align-items: center; text-align: center; }
    .match-team-right { justify-content: center; text-align: center; flex-direction: column-reverse; }
    .match-team-name { font-size: 12px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
    .match-team-logo { width: 30px; height: 30px; border-radius: 6px; }
    .match-score { font-size: 18px; }
    .match-center { min-width: 58px; }
    .match-info { font-size: 8px; letter-spacing: 0.05em; }
    .match-status { font-size: 8px; padding: 2px 6px; border-radius: 4px; }
    .match-score-tbd { font-size: 12px; }
    .matches-giornata-label { font-size: 9px; letter-spacing: 0.15em; padding: 12px 0 2px; }
    .match-card.match-live::before { font-size: 8px; padding: 2px 6px; top: -6px; left: 10px; }
    .classifica-wrapper { margin: 0 -8px; padding: 0 8px 8px; }
    .classifica-table { min-width: 620px; }
    .classifica-table thead th { font-size: 9px; padding: 7px 6px; letter-spacing: 0.08em; }
    .classifica-table tbody td { padding: 9px 6px; font-size: 11px; }
    .classifica-table tbody td:first-child { font-size: 14px; width: 38px; }
    .classifica-table tbody td:last-child { font-size: 15px; }
    .classifica-team-logo { width: 20px; height: 20px; border-radius: 4px; }
    .classifica-team-cell { gap: 7px; }
    .classifica-pos { width: 24px; height: 24px; font-size: 13px; border-radius: 6px; }
    .marcatori-wrapper { padding: 0; }
    .marcatore-row { grid-template-columns: 32px 1fr auto; padding: 10px 12px; gap: 8px; border-radius: 8px; margin-bottom: 6px; min-height: 54px; }
    .marcatore-pos { font-size: 18px; }
    .marcatore-name { font-size: 13px; }
    .marcatore-team { font-size: 10px; }
    .marcatore-gol-num { font-size: 18px; }
    .marcatore-gol-label { font-size: 8px; letter-spacing: 0.08em; }
    .bracket { min-width: 520px; gap: 20px; padding: 6px 8px; }
    .bracket-match { max-width: 140px; border-radius: 8px; }
    .bracket-match-team { padding: 9px 10px; gap: 4px; }
    .bracket-team-name { font-size: 11px; }
    .bracket-team-score { font-size: 15px; min-width: 22px; }
    .bracket-round-label { font-size: 9px; letter-spacing: 0.12em; margin-bottom: 8px; }
    .bracket-match-date { font-size: 8px; padding: 4px; letter-spacing: 0.06em; }
    .bracket-round-qf::after, .bracket-round-sf::after { right: -20px; width: 20px; }
    .cal-loading { padding: 40px 0; font-size: 12px; }
    .cal-spinner { width: 24px; height: 24px; }
    .cal-empty { padding: 40px 12px; font-size: 12px; }
    #trofeo { padding: 40px 0 30px; min-height: auto; }
    .trofeo-header { padding: 0 16px 12px; }
    .trofeo-title { font-size: clamp(36px, 10vw, 48px); }
    .trofeo-scene { height: 350px; }
    #trophy-canvas { width: 240px; }
    .spiral-photo { width: 80px; height: 55px; border-width: 1.5px; border-radius: 5px; }
    .spiral-photo-lg { width: 95px; height: 65px; }
    .trofeo-glow { width: 270px; height: 270px; }
    #gallery { padding: 40px 0 30px; }
    .gallery-header { padding: 0 16px 24px; }
    .gallery-title { font-size: clamp(28px, 9vw, 40px); }
    .gallery-row { padding: 4px 0; }
    .gallery-card { width: 170px; height: 128px; border-radius: 8px; }
    .gallery-card-wide { width: 220px; }
    .gallery-track { gap: 8px; }
    footer { padding: 40px 16px 20px; }
    .footer-top { margin-bottom: 32px; }
    .footer-logo { font-size: 44px; }
    .footer-tagline { font-size: 9px; letter-spacing: 0.15em; }
    .footer-columns { gap: 24px; margin-bottom: 36px; }
    .footer-col-title { font-size: 8px; letter-spacing: 0.2em; margin-bottom: 12px; }
    .footer-link, .footer-info { font-size: 12px; padding: 3px 0; }
    .footer-social { width: 44px; height: 44px; }
    .footer-social svg { width: 16px; height: 16px; }
    .footer-divider { margin: 0 0 14px; }
    .footer-copy { font-size: 9px; }
    .footer-credit { font-size: 8px; letter-spacing: 0.12em; }
    #reels { padding: 40px 0 30px; }
    .reels-container { gap: 28px; padding: 0 16px; }
    .reels-title { font-size: clamp(32px, 11vw, 50px); }
    .reels-desc { font-size: 13px; }
    .reel-tag { font-size: 10px; padding: 7px 12px; }
    .iphone { width: 180px; }
    .iphone-glow { width: 210px; height: 360px; }
}

@media (max-width: 359px) {
    .masked-title { font-size: clamp(22px, 6.8vw, 44px); letter-spacing: 0; white-space: normal; }
    .cal-tab { font-size: 9px; padding: 8px 6px; }
    .match-card { padding: 10px 8px; gap: 4px; }
    .match-team-name { font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
    .match-team-logo { width: 24px; height: 24px; border-radius: 5px; }
    .match-score { font-size: 16px; }
    .match-center { min-width: 48px; }
    .girone-btn { font-size: 9px; padding: 6px 9px; min-height: 38px; }
    .spiral-photo { display: none; }
    .trofeo-scene { height: 280px; }
    #trophy-canvas { width: 200px; }
    .trofeo-glow { width: 210px; height: 210px; }
    .gallery-card { width: 140px; height: 105px; border-radius: 6px; }
    .gallery-card-wide { width: 185px; }
    .gallery-track { gap: 6px; }
    .footer-logo { font-size: 36px; }
    .footer-tagline { font-size: 8px; }
    .footer-link, .footer-info { font-size: 11px; }
    .footer-social { width: 44px; height: 44px; }
    .iphone { width: 160px; border-radius: 36px; }
    .iphone-glow { width: 190px; height: 320px; }
    .reels-title { font-size: clamp(28px, 12vw, 44px); }
}

@media (hover: none) and (pointer: coarse) {
    .squadra-card:hover { transform: none; box-shadow: inset 0 2px 6px rgba(255, 235, 170, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.25), 0 0 0 2px #b8922e, 0 0 0 5px #d4a853, 0 0 0 6px #8b6914, 0 10px 35px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(201, 168, 76, 0.15); }
    .squadra-card:hover .squadra-card-glow { opacity: 0; height: 0; }
    .squadra-card:hover .squadra-logo { transform: none; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2)); }
    .stat:hover { transform: none; background: rgba(255, 255, 255, 0.08); }
    .match-card:hover { transform: none; box-shadow: none; border-color: rgba(0, 0, 0, 0.05); }
    .marcatore-row:hover { transform: none; box-shadow: none; }
    .bracket-match:hover { transform: none; box-shadow: none; border-color: rgba(0, 0, 0, 0.06); }
    .gallery-card:hover img { transform: none; }
    .footer-link:hover { transform: none; }
    .footer-social:hover { background: none; border-color: rgba(255, 255, 255, 0.3); color: var(--white); transform: none; }
    .reel-tag:hover { background: none; color: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation-duration: 60s; }
    .gallery-track-left, .gallery-track-right { animation-play-state: paused; }
    .scroll-dot { animation: none; }
    .haze-letter { transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 768px) {
    html, body { overflow-x: clip; max-width: 100vw; }
    .stat, .calendario-tabs, .cal-tab-indicator, .footer-social { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .about-bigtext, .torneo-bg-text, .calendario-bg-text, .trofeo-bg-text, .gallery-bg-text { will-change: auto; transform: translateZ(0); -webkit-text-stroke-width: 1px; }
    .hero-masked-area { contain: layout paint; }
    .video-layer, .text-mask-layer { transform: translate3d(0, 0, 0); }
    .gallery-track, .squadre-track, .marquee-track { will-change: auto; }
    .squadre-scroll-wrapper, .calendario-tabs-wrapper, .classifica-wrapper, .bracket-wrapper { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
    .squadra-card { scroll-snap-align: start; }
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    * { -webkit-tap-highlight-color: rgba(255, 26, 26, 0.15); }
    .footer-link, .mobile-menu a, .cal-tab, .girone-btn { min-height: 44px; }
    .hero-vid { background: #0A0A0A center/cover no-repeat; background-image: url('img/hero-poster.jpg'); }
    .iphone-glow { filter: blur(40px) !important; opacity: 0.4; }
    .squadra-card { box-shadow: 0 0 0 2px #b8922e, 0 6px 20px rgba(0, 0, 0, 0.15) !important; }
    .squadra-card:hover, .squadra-card:active { box-shadow: 0 0 0 2px #d4a853, 0 8px 24px rgba(0, 0, 0, 0.2) !important; }
    #trophy-canvas { image-rendering: auto; }
    .hero-bottom { padding-bottom: max(14px, calc(14px + env(safe-area-inset-bottom))); }
    .torneo-word-red { -webkit-text-stroke: 2px var(--red) !important; }
    html { scroll-behavior: smooth; }
}

@media (max-width: 768px) {
    .haze-lite .marquee-track, .haze-lite .gallery-track-left, .haze-lite .gallery-track-right, .haze-lite .about-bigtext, .haze-lite .torneo-bg-text, .haze-lite .calendario-bg-text, .haze-lite .trofeo-bg-text, .haze-lite .gallery-bg-text { animation: none !important; }
    .haze-lite #trophy-canvas, .haze-lite .spiral-photo { display: none !important; }
    .haze-lite .trofeo-scene::before { content: ''; display: block; width: 240px; height: 240px; margin: 0 auto; background: radial-gradient(circle at 50% 45%, #F4C15A 0%, #C69A2D 40%, transparent 72%); border-radius: 50%; filter: blur(4px); }
}

@media (max-width: 768px) and (update: slow) {
    .text-mask-layer { mix-blend-mode: normal; background: transparent; }
    .masked-title { color: var(--white); mix-blend-mode: normal; }
}

@media (max-width: 768px) and (min-resolution: 2dppx) {
    #trophy-canvas { max-width: 100%; }
}