/* css/custom.css */
/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0C0F14; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #F7B500; }

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button Shine Animation */
@keyframes shine {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}
.legal-content h2 { margin-top: 3rem; margin-bottom: 1rem; color: white; font-size: 1.5rem; font-weight: 700; border-bottom: 1px solid #1A1D24; padding-bottom: 0.5rem; }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; color: #F7B500; font-size: 1.125rem; font-weight: 600; }
.legal-content p { margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.6; }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-v24-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap; /* Evita il blocco del testo durante il caricamento */
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-v24-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}
.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.content-section p, .content-section li {
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.content-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
}
.content-section ul li::before {
    content: "•";
    color: #F7B500;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Stili per le tabelle della Privacy */
.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #333;
}
.privacy-table th {
    background-color: #1A1D24;
    color: #F7B500;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #333;
}
.privacy-table td {
    background-color: #0C0F14;
    color: #9ca3af;
    padding: 1rem;
    border-bottom: 1px solid #1f2937;
}
.privacy-table tr:last-child td {
    border-bottom: none;
}

/* Responsive Table per Mobile */
@media (max-width: 640px) {
    .privacy-table, .privacy-table tbody, .privacy-table tr, .privacy-table td, .privacy-table th {
        display: block;
    }
    .privacy-table tr { margin-bottom: 1rem; border-bottom: 2px solid #333; }
    .privacy-table td { border-bottom: 1px solid #1f2937; padding-left: 50%; position: relative; }
    .privacy-table th { display: none; }
    .privacy-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        font-weight: 600;
        color: #e5e7eb;
    }
}


