/* --- HERO --- */
.services-hero {
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, #05000a 0%, #1a002e 100%);
    border-bottom: 1px solid #00ffff;
}

.services-hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 10px; 
    text-shadow: 0 0 15px rgba(0,255,255,0.5); 
}

.services-hero p { 
    font-family: 'AquireLight', sans-serif; 
    color: #ccc; 
    font-size: 1.2rem; 
}

/* --- SEZIONI --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.bg-darker { background: rgba(0,0,0,0.3); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; font-family: 'AquireBold', sans-serif; }

.line-purple { width: 100px; height: 3px; background: #bc13fe; margin: 0 auto; box-shadow: 0 0 10px #bc13fe; }
.line-cyan { width: 100px; height: 3px; background: #00ffff; margin: 0 auto; box-shadow: 0 0 10px #00ffff; }
.line-gold { width: 100px; height: 3px; background: #ffd700; margin: 0 auto; box-shadow: 0 0 10px #ffd700; }

.neon-gold { color: #ffd700; text-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }

/* --- MAPPE FORTNITE --- */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.map-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    /* Importante per far sì che le card abbiano la stessa altezza */
    height: 100%;
}

.map-card:hover {
    transform: translateY(-10px);
    border-color: #bc13fe;
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.2);
}

.map-img-box {
    position: relative;
    height: 200px;
}

.map-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #bc13fe;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.8rem;
}

.map-content { 
    padding: 20px; 
    text-align: center; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.map-content h3 { color: #fff; margin-bottom: 10px; font-family: 'AquireBold', sans-serif; font-size: 1.4rem; }
.map-subtitle { color: #ccc; font-size: 0.95rem; margin-bottom: 15px; font-weight: bold; }

/* Lista Features Mappa (Nuovo Stile) */
.map-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 0.9rem;
    color: #aaa;
    /* Occupa spazio disponibile ma spinge il codice in fondo */
    flex-grow: 1; 
}

.map-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-features i { color: #00ffff; width: 20px; text-align: center; }

.map-footer {
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}

/* Box Codice (Sempre in fondo) */
.code-box {
    background: rgba(0,0,0,0.5);
    border: 1px dashed #00ffff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    margin-top: auto; /* Questo spinge il box in fondo alla card */
}

.code-box:hover { background: rgba(0, 255, 255, 0.1); border-color: #bc13fe; }
.code-box .code { font-family: monospace; font-size: 1.2rem; color: #00ffff; font-weight: bold; letter-spacing: 1px; }
.code-box i { color: #fff; }

/* --- SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, rgba(20,20,30,1), rgba(10,10,20,1));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    border-color: #00ffff;
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.service-card h3 { color: #fff; margin-bottom: 10px; font-family: 'AquireBold', sans-serif; font-size: 1.3rem; }
.service-card p { color: #aaa; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.service-card .sponsor-link {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #00ffff;
    border-radius: 25px;
    transition: 0.3s;
    text-decoration: none;
    font-weight: bold;
    color: #00ffff;
}

.service-card .sponsor-link:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.service-card .role-badge {
    margin-bottom: 15px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- SPONSORS --- */
.sponsors-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sponsor-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: 0.3s;
}

.sponsor-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Custom styling for Lega Tricolore */
.sponsor-row.lega-tricolore {
    border-color: rgba(0, 242, 255, 0.3);
}

.sponsor-row.lega-tricolore:hover {
    border-color: #00aaff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
}

.sponsor-row.lega-tricolore .role-badge {
    background: #00aaff !important; 
    color: #fff !important;
}

.sponsor-row.lega-tricolore .sponsor-link {
    color: #00aaff;
}

.sponsor-row.lega-tricolore .sponsor-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #00aaff;
}

.sponsor-logo {
    flex: 0 0 150px; 
    height: 150px;
    background: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    margin-right: 30px;
    border: 1px solid #333;
    overflow: hidden; 
    padding: 10px; 
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-info { flex: 1; }
.sponsor-info h3 { color: #fff; margin-bottom: 10px; font-family: 'AquireBold', sans-serif; font-size: 1.5rem; }

.role-badge { 
    background: #ffd700; 
    color: #000; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: bold; 
    vertical-align: middle; 
    text-transform: uppercase;
}

.sponsor-info p { color: #ccc; margin: 15px 0; line-height: 1.6; }
.sponsor-link { color: #ffd700; text-decoration: none; font-weight: bold; transition: 0.3s; }
.sponsor-link:hover { color: #fff; text-shadow: 0 0 5px #ffd700; }

.btn-container { text-align: center; margin-top: 40px; }
.btn-purple-glow {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(90deg, #bc13fe, #7a00b3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'AquireBold', sans-serif;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
    transition: 0.3s;
}
.btn-purple-glow:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(188, 19, 254, 0.7); }

@media (max-width: 768px) {
    .sponsor-row { flex-direction: column; text-align: center; }
    .sponsor-logo { margin: 0 0 20px 0; }
    .sponsor-info h3 { font-size: 1.3rem; }
    .services-hero h1 { font-size: 2.5rem; }
}