/* ===== Base ===== */
html {
    background-color: #070a0e;
}

body {
    background-color: #070a0e;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(0, 122, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(0, 200, 255, 0.08) 0%, transparent 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: aliceblue;
    text-align: center;
}

/* ===== Header ===== */
.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 20px;
}

.header-section .title {
    font-family: "BungeeLocal", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
}

/* ===== Contenuto ===== */
main {
    max-width: 900px;
    margin: 10px auto;
    padding: 5px 20px;
}

main > section {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(12, 18, 24, 0.75));
    border: 1px solid rgba(100, 200, 255, 0.25);
    border-radius: 24px;
    padding: 32px 28px;
    margin: 24px 0;
    backdrop-filter: blur(12px);
}

h1 {
    font-family: "BungeeLocal", sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
}

h2 { font-weight: 600; }

p { color: #9baac2; line-height: 1.6; }
.lead { color: aliceblue; font-size: 1.15rem; }

ul, ol {
    text-align: left;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.6;
}

li { margin-bottom: 12px; color: #9baac2; }
li strong { color: aliceblue; }

code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 6px;
}

/* ===== Pulsante download ===== */
.download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.35), rgba(0, 68, 180, 0.15));
    border: 1px solid rgba(100, 200, 255, 0.2);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.5), rgba(0, 68, 180, 0.25));
    border-color: rgba(100, 200, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== Esempi ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 22px;
}

@media (max-width: 600px) {
    .cards { grid-template-columns: 1fr; }
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(100, 200, 255, 0.15);
    border-radius: 24px;
    padding: 14px;
}

.card img { width: 100%; height: auto; display: block; border-radius: 14px; background: #fff; }
.card .note { font-size: 14px; }

.card summary {
    cursor: pointer;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
}

.card summary:hover { background: rgba(0, 122, 255, 0.3); }
.card details p { font-style: italic; color: aliceblue; }

/* ===== Footer ===== */
.site-footer {
    padding: 24px 20px;
    border-top: 1px solid rgba(31, 41, 55, 0.8);
    font-size: 14px;
}

.site-footer a { color: #64c8ff; }

.footer-social-title {
    color: #e5e7eb;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0 auto;
    max-width: none;
    background: transparent;
    border: none;
}

.footer-social-list li { margin: 0; }

.footer-social-link {
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    border: none;
}

.footer-social-link i {
    font-size: 1.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover i {
    background: linear-gradient(45deg, #405de6, #833ab4, #c13584, #fd1d1d, #f56040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
}