@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Lexend:wght@400;700;800&display=swap');

:root {
    --primary: #E60000;
    --primary-hover: #CC0000;
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .font-heading {
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* Header Socials */
.header-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-socials a {
    color: var(--text-white);
    font-size: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.header-socials a:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    backdrop-filter: blur(15px);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-btn:hover, .mobile-menu-btn:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 130px;
    background: url('prova_etna_perfect.webp?v=1.1.0') center top/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.25) 50%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero .hero-motto {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0.95;
    font-family: 'Lexend', sans-serif;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

/* sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2 span,
.section-title-left h2 span {
    color: var(--primary);
}

.section-title-left {
    text-align: left;
    margin-bottom: 40px;
}

.section-title-left h2 {
    font-size: 36px;
    margin-bottom: 10px;
    display: inline-block;
}

/* News Section Grid and Cards */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: #161616;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    padding: 15px;
    gap: 20px;
    align-items: center;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.news-img-container {
    flex: 0 0 140px;
    height: 170px;
    background: #222;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.news-content {
    flex: 1;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.news-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 10px;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
}

.news-snippet {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    width: fit-content;
}

.news-read-more:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

/* ==========================================================================
   Roster Section Redesign (Soluzione C - Modern Athletic List & Lightbox Modal)
   ========================================================================== */
/* Safeguards for legacy/cached slider containers */
.roster-slider-wrapper {
    display: block !important;
    width: 100% !important;
    position: relative !important;
}

.roster-slider-container {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

.roster-nav-btn,
#roster-prev,
#roster-next {
    display: none !important;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-top: -45px;
    margin-bottom: 45px;
    letter-spacing: 0.5px;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto;
}

.roster-row-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.roster-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.roster-row-num {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    background: #1f1f1f;
    border: 1px solid rgba(230, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.roster-row-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #0d0d0d;
    border: 2px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    transition: var(--transition);
}

.roster-row-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.roster-row-info {
    flex: 1;
    min-width: 0;
}

.roster-row-name {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    margin-bottom: 4px;
}

.roster-row-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.roster-row-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.roster-row-badge-btn {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-gray);
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.roster-row-arrow {
    color: var(--text-gray);
    font-size: 13px;
    transition: var(--transition);
}

@media (hover: hover) {
    .roster-row-card:hover {
        background: #1c1c1c;
        border-color: rgba(230, 0, 0, 0.45);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

    .roster-row-card:hover::before {
        opacity: 1;
    }

    .roster-row-card:hover .roster-row-num {
        background: var(--primary);
        border-color: var(--primary);
        color: #ffffff;
        box-shadow: 0 0 14px rgba(230, 0, 0, 0.5);
    }

    .roster-row-card:hover .roster-row-avatar {
        border-color: var(--primary);
    }

    .roster-row-card:hover .roster-row-avatar img {
        transform: scale(1.08);
    }

    .roster-row-card:hover .roster-row-badge-btn {
        color: #ffffff;
        background: rgba(230, 0, 0, 0.2);
        border-color: rgba(230, 0, 0, 0.5);
    }

    .roster-row-card:hover .roster-row-arrow {
        color: var(--primary);
        transform: translateX(3px);
    }
}

/* --------------------------------------------------------------------------
   Player Modal (Lightbox) Styles
   -------------------------------------------------------------------------- */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-modal.active {
    opacity: 1;
    visibility: visible;
}

.player-modal-dialog {
    position: relative;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-modal-card {
    background: #141414;
    border: 1px solid rgba(230, 0, 0, 0.35);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    position: relative;
    animation: playerModalScale 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes playerModalScale {
    from {
        transform: scale(0.92) translateY(12px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.player-modal-img-container {
    width: 350px;
    height: 480px;
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.player-modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.player-modal-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary);
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
    font-size: 26px;
    font-weight: 900;
    min-width: 48px;
    height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(230, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.player-modal-details {
    flex: 1;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #161616 0%, #101010 100%);
}

.player-modal-club {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.player-modal-name {
    font-family: 'Lexend', sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.player-modal-role {
    display: inline-block;
    background: rgba(230, 0, 0, 0.15);
    border: 1px solid rgba(230, 0, 0, 0.4);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.player-modal-category {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}

.player-modal-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-nav-btn {
    background: #202020;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 9px 18px;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pm-nav-counter {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Modal Desktop Side Arrows */
.player-modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.player-modal-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.player-modal-arrow.prev {
    left: -64px;
}

.player-modal-arrow.next {
    right: -64px;
}

/* Close button */
.player-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.player-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .player-modal-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Compact section vertical rhythm on mobile */
    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 24px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-subtitle {
        margin-top: -12px;
        margin-bottom: 22px;
        font-size: 13px;
        color: #b0b0b0;
    }

    .roster-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .roster-row-card {
        padding: 12px 16px;
        gap: 14px;
        background: #141414;
        border: 1px solid rgba(230, 0, 0, 0.3);
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    }
    
    .roster-row-num {
        width: 44px;
        height: 44px;
        font-size: 19px;
        border-radius: 10px;
        background: #1c1c1c;
        border: 1px solid rgba(230, 0, 0, 0.5);
    }
    
    .roster-row-avatar {
        width: 52px;
        height: 52px;
        border: 2px solid rgba(230, 0, 0, 0.35);
    }
    
    .roster-row-name {
        font-size: 16px;
    }
    
    .roster-row-role {
        font-size: 12px;
    }

    .roster-row-arrow {
        font-size: 16px;
        color: var(--primary);
    }
    
    .roster-row-badge-btn {
        display: none;
    }

    /* Modal Mobile */
    .player-modal-dialog {
        max-width: 380px;
    }
    
    .player-modal-card {
        flex-direction: column;
        max-height: 88vh;
        overflow-y: auto;
    }
    
    .player-modal-img-container {
        width: 100%;
        height: 320px;
    }
    
    .player-modal-details {
        padding: 22px 18px 20px 18px;
    }
    
    .player-modal-name {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .player-modal-role {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    
    .player-modal-category {
        font-size: 12px;
        margin-bottom: 18px;
    }
    
    .player-modal-close {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.65);
    }
}

/* Standings & Results Redesign */
.stats-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: none;
    padding-bottom: 0;
    text-transform: uppercase;
}

.card h3 span {
    color: var(--primary);
}

.standings-card {
    padding: 25px;
}

.table-row {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    padding: 12px 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row span:last-child {
    text-align: right;
}

.table-header {
    font-weight: 700;
    color: var(--text-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.table-row.highlighted {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
    border-radius: 8px;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}

.table-row.highlighted .team-name {
    font-weight: 800;
}

.table-row.mystery {
    opacity: 0.65;
}

.mystery-name {
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--text-gray);
}

.team-name {
    font-weight: 500;
}

.matches-column-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.match-card {
    padding: 25px;
}

.match-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 5px 0;
}

.match-team {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
    text-transform: uppercase;
    font-family: 'Lexend', sans-serif;
}

.match-team.home {
    text-align: left;
}

.match-team.away {
    text-align: right;
}

.match-score {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    padding: 0 20px;
    white-space: nowrap;
}

.match-vs {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    padding: 0 20px;
    text-align: center;
}

.match-info {
    text-align: center;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.match-sets-container {
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.match-sets-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.set-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 62px;
    transition: var(--transition);
}

.set-chip:hover {
    border-color: rgba(230, 0, 0, 0.5);
    background: rgba(230, 0, 0, 0.06);
}

.set-num {
    font-size: 9px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.set-score {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Lexend', sans-serif;
    letter-spacing: 0.5px;
}

/* Coming Soon / Work in Progress Cards */
.coming-soon-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 45px 30px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 0, 0, 0.12);
    border: 1px solid rgba(230, 0, 0, 0.3);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.coming-soon-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    font-family: 'Lexend', sans-serif;
}

.coming-soon-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Sponsors */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.sponsor-logo {
    max-height: 80px;
    width: auto;
    transition: var(--transition);
}

.sponsor-item:hover .sponsor-logo {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #000;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-simple .copyright {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-socials-simple {
    display: flex;
    gap: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(230,0,0,0.3);
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-img-container {
    width: 100%;
    height: 280px;
    flex-shrink: 0;
    background: #0d0d0d;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.modal-info-container {
    padding: 30px;
}

@media (min-width: 992px) {
    .modal-content {
        height: 80vh;
        max-height: 650px;
        overflow: hidden;
    }
    .modal-body {
        flex-direction: row;
        height: 100%;
    }
    .modal-img-container {
        flex: 1;
        height: 100%;
    }
    .modal-info-container {
        flex: 1.2;
        padding: 60px;
        height: 100%;
        overflow-y: auto;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-date {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 32px;
    margin-bottom: 25px;
    font-family: 'Lexend', sans-serif;
}

.modal-text {
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 16px;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-init {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero {
        background-position: 25% top;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    .logo img {
        height: 50px;
    }
    header.scrolled .logo img {
        height: 40px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .header-socials {
        margin-left: auto;
        margin-right: 15px;
    }
    .hero {
        height: 60vh;
        min-height: 450px;
        padding-top: 110px;
        height: 52vh;
        min-height: 400px;
        padding-top: 100px;
        height: 54vh;
        min-height: 410px;
        padding-top: 72px;
        align-items: flex-start;
        background: url('prova_etna_perfect.webp?v=1.1.0') 25% top/cover no-repeat;
        background: url('prova_etna_perfect.webp?v=1.1.0') 42% top/cover no-repeat;
    }
    .hero::after {
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.25) 50%, rgba(10, 10, 10, 0.95) 100%);
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.2) 40%, rgba(10, 10, 10, 0.95) 100%);
    }
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    .hero h1 {
        font-size: clamp(26px, 8.5vw, 38px);
        font-size: clamp(18px, 5.5vw, 24px);
        margin-bottom: 4px;
        line-height: 1.15;
        letter-spacing: 0.5px;
    }
    .hero h1 span {
        display: inline;
        margin-left: 5px;
    }
    .hero .hero-motto {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 25px;
        padding: 0 15px;
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 0;
        padding: 0 5px;
        line-height: 1.3;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-card {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .news-img-container {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    .news-content {
        padding: 0 5px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}

/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pag-btn {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.pag-btn:hover:not([disabled]) {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.pag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.pag-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Youth Sector Styles */
.youth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.youth-card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.youth-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.youth-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.youth-tag {
    background: rgba(230, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 0, 0.2);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.youth-icon {
    font-size: 20px;
    color: var(--primary);
    opacity: 0.8;
}

.youth-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.youth-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
}

.youth-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}

.youth-details {
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-white);
}

.youth-details li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.youth-details strong {
    color: var(--text-gray);
    margin-right: 5px;
}

.youth-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Quick Contacts Styles */
.quick-contacts-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.quick-contact-item i {
    color: var(--primary);
    font-size: 16px;
}

.quick-contact-item a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .quick-contacts-flex {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        gap: 20px;
    }
    .footer-bottom-simple {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
