header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

header h1 {
    font-size: 2.8rem;
    color: #d62828;
    text-shadow: 2px 2px 0 #fff, 4px 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

header p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
}

/* 📜 Sezione informativa */
.info {
    background: rgba(255, 255, 255, 0.85);
    padding: 25px 20px;
    border-left: 5px solid #e63946;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(214, 41, 41, 0.2);
}

.info h2 {
    color: #d62828;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.info p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 🔢 Lista numerata */
ol {
    padding-left: 25px;
    margin-top: 10px;
}

ol li {
    margin: 10px 0;
    background: #fff4f4;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.1);
    transition: background 0.3s ease;
}

ol li:hover {
    background: #ffe9e9;
}

/* 🎁 Pulsanti principali */
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    background: linear-gradient(45deg, #e63946, #d62828);
    color: #fff;
    font-weight: 600;
    padding: 15px 25px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(214, 41, 41, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(214, 41, 41, 0.4);
}

/* Pulsanti con colori tematici */
.btn.create {
    background: linear-gradient(45deg, #ff6b6b, #e63946);
}
.btn.join {
    background: linear-gradient(45deg, #4caf50, #2e7d32);
}
.btn.searchPage {
    background: linear-gradient(45deg, #2196f3, #1565c0);
}

.btn.create:hover {
    background: linear-gradient(45deg, #ff8585, #f44336);
}
.btn.join:hover {
    background: linear-gradient(45deg, #66bb6a, #388e3c);
}
.btn.searchPage:hover {
    background: linear-gradient(45deg, #42a5f5, #1976d2);
}

/* ✨ Responsive */
@media (max-width: 768px) {
    .container {
        padding: 25px 20px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .info h2 {
        font-size: 1.4rem;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }
}