/* Legal Pages Styles */

.legal-page {
    min-height: calc(100vh - 180px);
    background: var(--bg-color);
    padding: 60px 20px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Page Header */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-family: "Special Elite", system-ui;
    font-size: 2.5rem;
    color: #c8af8b;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.legal-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.legal-header .update-date {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.5;
    margin-top: 10px;
}

/* Content Card */
.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    font-size: 1.4rem;
    color: #c8af8b;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(200, 175, 139, 0.3);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin: 20px 0 10px;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--heading-color);
}

.legal-content a {
    color: #c8af8b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #a89068;
    text-decoration: underline;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(200, 175, 139, 0.1), rgba(200, 175, 139, 0.05));
    border: 1px solid rgba(200, 175, 139, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.info-box.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border-color: rgba(255, 193, 7, 0.3);
}

.info-box.success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    border-color: rgba(39, 174, 96, 0.3);
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #c8af8b;
    margin-bottom: 10px;
}

.info-box p {
    margin-bottom: 0;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #c8af8b;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2.5rem;
    color: #c8af8b;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-card a {
    color: #c8af8b;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c8af8b;
    border-color: #c8af8b;
    color: white;
    transform: scale(1.1);
}

/* Back Button */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    border-color: #c8af8b;
    color: #c8af8b;
}

/* Table of Contents */
.toc {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.toc h4 {
    font-size: 1rem;
    color: #c8af8b;
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #c8af8b;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 40px 15px;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 25px 20px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Theme */
[data-theme="dark"] .legal-content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-card {
    background: var(--bg-color);
}