/* ===== LEGAL PAGES (Privacy Policy, Cookie Policy) ===== */

.legal-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 56px;
}

.legal-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 16px 0 12px;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-size: 14px;
    color: rgba(255,255,255,.4);
}

/* Content */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200,255,0,.1);
}

.legal-block h3 {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin: 24px 0 10px;
}

.legal-block p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    margin-bottom: 12px;
}

.legal-block ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
}

.legal-block ul li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    margin-bottom: 8px;
}

.legal-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #c8ff00;
    border-radius: 50%;
    opacity: .6;
}

.legal-block a {
    color: #c8ff00;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.legal-block a:hover {
    color: #fff;
}

.legal-block strong {
    color: rgba(255,255,255,.85);
}

.legal-block code {
    background: rgba(200,255,0,.08);
    color: #c8ff00;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'DM Sans', monospace;
}

/* Contact block */
.legal-contact {
    background: rgba(200,255,0,.04);
    border: 1px solid rgba(200,255,0,.1);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.legal-contact p {
    margin-bottom: 6px;
}

/* Cookie table */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 560px;
}

.cookie-table thead {
    background: rgba(200,255,0,.06);
}

.cookie-table th {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
}

.cookie-table td {
    padding: 12px 16px;
    color: rgba(255,255,255,.55);
    border-bottom: 1px solid rgba(255,255,255,.04);
    line-height: 1.5;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: rgba(200,255,0,.02);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .legal-section {
        padding: 120px 0 60px;
    }
    
    .legal-block h2 {
        font-size: 19px;
    }
    
    .legal-block h3 {
        font-size: 16px;
    }
    
    .legal-block p,
    .legal-block ul li {
        font-size: 14px;
    }
    
    .legal-contact {
        padding: 18px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 110px 0 48px;
    }
    
    .legal-header {
        margin-bottom: 40px;
    }
    
    .legal-block {
        margin-bottom: 32px;
    }
}
