.legal-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--dark);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-section li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
}

.legal-section strong {
    color: var(--text);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--secondary);
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table thead {
    background: rgba(99, 102, 241, 0.2);
}

.cookie-table th {
    padding: 1rem;
    text-align: left;
    color: var(--text);
    font-weight: 600;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.cookie-table td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cookie-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* Cookie Revoke Section */
.cookie-revoke {
    background: rgba(99, 102, 241, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin: 2rem 0;
    text-align: center;
}

.cookie-revoke .btn {
    margin-bottom: 1rem;
}

.cookie-status {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Legal Back Button */
.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}
