/* Reset e impostazioni base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Titolo della Versione (Header) */
.titolo {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    background: #00ffff; /* Colore fisso per differenziarlo dalla home animata */
    color: #0000ff;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    border: 4px solid #000;
    padding: 30px 10px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
    margin-bottom: 20px;
}

/* Gestione spazi */
.spazio {
    width: 100%;
    height: 30px;
}

/* Card Argomento */
.argomento {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    background: #2d2d2d;
    border-radius: 20px;
    border: 2px solid #444;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.titoloargomento {
    font-size: 2rem;
    text-align: center;
    background: #3b3b3b;
    padding: 20px;
    color: #00ffff;
    text-transform: uppercase;
    border-bottom: 3px solid #00ffff;
    letter-spacing: 1px;
}

/* Testo e Tutorial */
.testo {
    font-size: 1.1rem;
    padding: 30px;
    color: #ccc;
}

/* Media (Immagini e Video) */
.foto, .video {
    width: 95%;
    max-width: 800px;
    display: block;
    margin: 20px auto;
    border: 4px solid #000;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Lista puntata (usando i trattini nel testo HTML) */
.testo br{
    display: inline-block;
    margin-top: 10px;
}

/* Tabella (se presente) */
.tabella {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.titolotabella {
    background: #00ffff;
    color: #000;
    font-weight: bold;
    padding: 10px;
}

td {
    border: 1px solid #444;
    padding: 12px;
    font-size: 1rem;
    color: #eee;
}

/* Sezione Reward Code Speciale */
.argomento:last-of-type {
    border: 2px dashed #00ffff;
}

.argomento:last-of-type .testo {
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .titolo {
        font-size: 1.8rem;
        border-radius: 0;
    }
    
    .titoloargomento {
        font-size: 1.4rem;
    }
    
    .testo {
        font-size: 1rem;
        padding: 20px;
    }

    .argomento {
        width: 95%;
    }
}