/* ===============================
   OkPunch Legal Pages - Styles
   =============================== */

/* Hero Section */
.legal-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-hero .last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Section */
.legal-content {
    padding: 60px 0 100px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--okpunch-gold);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--okpunch-gold);
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--okpunch-gold);
    border-radius: 50%;
}

.legal-section ul li strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--okpunch-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--okpunch-gold-dark);
    text-decoration: underline;
}

/* Contact Info Box */
.contact-info {
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid var(--okpunch-gold);
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contact-info p:first-child {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.contact-info i {
    color: var(--okpunch-gold);
    width: 20px;
    margin-right: 8px;
}

/* Table of Contents (optional) */
.legal-toc {
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 48px;
}

.legal-toc h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.legal-toc ul li:last-child {
    border-bottom: none;
}

.legal-toc ul li::before {
    display: none;
}

.legal-toc a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.legal-toc a:hover {
    color: var(--okpunch-gold);
}

.legal-toc a i {
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 0 40px;
    }
    
    .legal-hero h1 {
        font-size: 1.75rem;
    }
    
    .legal-content {
        padding: 40px 0 60px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1.05rem;
    }
    
    .contact-info {
        padding: 20px;
    }
}
