/* =========================================
   1. IMPORTAZIONE FONT & RESET
   ========================================= */
@font-face {
    font-family: 'AquireBold';
    src: url('../fonts/AquireBold.otf') format('opentype');
}

@font-face {
    font-family: 'AquireLight';
    src: url('../fonts/AquireLight.otf') format('opentype');
}

* {
    box-sizing: border-box;
}

body {
    background-color: #05000a;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font Normale di base */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================================
   2. NAVIGAZIONE
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3%;
    padding-bottom: 2%;
    padding-top: 2%;
    background: rgba(5, 0, 10, 0.95);
    border-bottom: 2px solid #00ffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'AquireBold', sans-serif; /* Aquire per il Logo */
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 10px #bc13fe;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span { color: #00ffff; text-shadow: 0 0 10px #00ffff; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'AquireLight', sans-serif; /* Aquire Light per il Menu */
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover { color: #00ffff; text-shadow: 0 0 8px #00ffff; }

.right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons { display: flex; gap: 15px; }
.social-icons a { color: #fff; font-size: 1.1rem; transition: 0.3s; }
.social-icons a:hover { color: #bc13fe; text-shadow: 0 0 10px #bc13fe; transform: translateY(-2px); }

.lang-buttons { display: flex; gap: 8px; }
.lang-buttons button {
    background: transparent;
    border: 1px solid #bc13fe;
    color: white;
    font-family: 'Segoe UI', sans-serif; /* Font normale per i pulsanti lingua */
    font-weight: bold;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.lang-buttons button.active-lang {
    background: #bc13fe;
    box-shadow: 0 0 10px #bc13fe;
    border-color: #bc13fe;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.hero-bg.active { opacity: 1; }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 2;
}

.hero-content-static {
    position: relative; z-index: 3; max-width: 900px; padding: 20px;
    margin-top: 60px;
}

.neon-cyan {
    font-family: 'AquireBold', sans-serif; /* Aquire per il Titolo Gigante */
    font-size: 3.5rem;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content-static p {
    font-family: 'Segoe UI', sans-serif; /* Font normale per la descrizione */
    font-size: 1.3rem;
    color: #eee;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-purple {
    font-family: 'AquireBold', sans-serif; /* Aquire per i pulsanti importanti */
    display: inline-block;
    padding: 15px 40px;
    background-color: #bc13fe;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 15px #bc13fe;
    transition: 0.3s;
}
.btn-purple:hover { background-color: #d845ff; transform: scale(1.05); }

/* =========================================
   4. SEZIONI E GRIGLIE
   ========================================= */
.section-container {
    padding: 80px 5%;
    background-color: #05000a;
    border-bottom: 1px solid rgba(188, 19, 254, 0.2);
}

.section-title {
    font-family: 'AquireBold', sans-serif; /* Aquire per i Titoli delle Sezioni */
    color: #00ffff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    text-shadow: 0 0 10px #00ffff;
    border-bottom: 1px solid #bc13fe;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card {
    background: rgba(10, 10, 20, 0.8);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
    height: 100%;
}

.card:hover { transform: translateY(-5px); }

/* Stili Varianti */
.card-purple { border: 1px solid #bc13fe; box-shadow: 0 0 10px rgba(188, 19, 254, 0.3); }
.card-cyan { border: 1px solid #00ffff; box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); text-align: center; }

/* MODIFICA FONT TITOLI DENTRO LE CARD */
.card h3 {
    font-family: 'Segoe UI', sans-serif; /* FONT NORMALE */
    font-weight: 800; /* Molto grassetto per farlo sembrare un titolo */
    text-transform: uppercase; /* Tutto maiuscolo */
    letter-spacing: 0.5px;
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-purple h3 { color: #00ffff; }
.card-cyan h3 { color: #00ffff; text-shadow: 0 0 5px #00ffff; margin-top: 15px;}

.date { font-size: 0.8rem; color: #bbb; margin-bottom: 15px; display: block; }
.read-more { color: #00ffff; text-decoration: none; margin-top: auto; font-size: 0.9rem; font-weight: bold; }

.card-icon { font-size: 2.5rem; color: #00ffff; margin-bottom: 20px; }
.tag { font-weight: bold; margin-top: auto; display: block; padding-top: 15px;}
.tag.free { color: #00ff00; }
.tag.paid { color: #00ffff; }

/* Member Card */
.member-card { padding: 40px 20px; align-items: center; }
.member-img-container {
    width: 120px; height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #bc13fe;
    overflow: hidden;
    box-shadow: 0 0 15px #bc13fe;
}
.member-img-container img { width: 100%; height: 100%; object-fit: cover; }
.role { color: #bc13fe; font-weight: bold; margin-bottom: 15px; display: block; }

/* Pulsanti "Mostra tutto" */
.btn-container { text-align: center; margin-top: 50px; }
.btn-purple-glow {
    font-family: 'AquireBold', sans-serif;
    background: linear-gradient(90deg, #bc13fe, #7a00b3);
    color: white; padding: 15px 40px; text-decoration: none; border-radius: 5px;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.5); border: 1px solid #d845ff;
    display: inline-block;
    transition: 0.3s;
}
.btn-purple-glow:hover { box-shadow: 0 0 30px rgba(188, 19, 254, 0.8); transform: scale(1.02); }

/* Sponsors */
.sponsor-grid { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; text-align: center; align-items: center; }
.sponsor-item p { margin-top: 15px; font-weight: bold; color: #00ffff; font-family: 'Segoe UI', sans-serif;}

/* Footer */
footer { background: #020005; padding: 60px 5% 20px; border-top: 2px solid #bc13fe; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-section { min-width: 200px; }
.footer-section h4 { color: #00ffff; font-family: 'AquireBold', sans-serif; margin-bottom: 20px; font-size: 1.2rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li a { color: #aaa; text-decoration: none; line-height: 2.2; transition: 0.3s; }
.footer-section ul li a:hover { color: #bc13fe; padding-left: 5px; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #333; color: #555; font-size: 0.8rem; }


/* =========================================
   5. MEDIA QUERIES (OTTIMIZZAZIONE MOBILE)
   ========================================= */

@media (max-width: 1024px) {
    .hero-content-static { max-width: 90%; }
    .neon-cyan { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 15px;
        background: rgba(5, 0, 10, 0.98);
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.85rem;
    }

    .right-nav {
        width: 100%;
        justify-content: space-between;
        padding: 0 10px;
    }

    .hero-content-static {
        margin-top: 140px;
        padding: 0 15px;
    }

    .neon-cyan { font-size: 2rem; margin-bottom: 15px; }
    .hero-content-static p { font-size: 1rem; line-height: 1.5; margin-bottom: 30px; }
    .btn-purple { padding: 12px 30px; width: 100%; max-width: 300px; }

    .section-container { padding: 50px 5%; }
    .section-title { font-size: 1.5rem; margin-bottom: 30px; width: 100%; }

    .sponsor-grid { gap: 40px; }
    
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .footer-section { width: 100%; }
    .footer-section .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.5rem; }
    .cards-grid { grid-template-columns: 1fr; } 
    .section-title { font-size: 1.3rem; }
}