/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Stile generale */
body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.7;
    color: #e2e8f0;
    min-height: 100vh;
    background: #1a0533;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

/* Header */
header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 20px 60px;
}

header h1 {
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e839a0;
    margin-bottom: 12px;
}

header .subtitle {
    font-size: 1.2em;
    color: rgba(168, 85, 247, 0.7);
    font-weight: 400;
}

/* Contenuto */
main {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

section {
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

section h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #c084fc;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

section p {
    color: #cbd5e1;
}

ul {
    list-style: none;
    margin-left: 0;
}

ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #cbd5e1;
}

ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: 700;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px;
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.85em;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    max-width: 750px;
    margin: 0 auto;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0c29;
}

::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 4px;
}

/* Selezione testo */
::selection {
    background: rgba(168, 85, 247, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 50px 16px 40px;
    }

    header h1 {
        font-size: 2.4em;
    }

    section {
        padding: 20px;
    }
}
