/**
 * legal-pages.css
 * Shared styles for legal pages (terms.html, delivery.html)
 * Extracted from inline styles to ensure consistency
 */

:root {
    --bg-pure: #000000;
    --card-bg: #0d0d0d;
    --accent-gold: #c5a059;
    --accent-cream: #eaddca;
    --text-main: #ffffff;
    --text-dim: #eaddca;
    --border-glass: rgba(197, 160, 89, 0.15);
}

body {
    background: var(--bg-pure);
    color: var(--text-main);
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-top: 120px;
    margin: 0;
    line-height: 1.7;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.legal-page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, #c5a059 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.legal-page-header p {
    color: var(--accent-cream);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(197, 160, 89, 0.05);
    position: relative;
    overflow: hidden;
}

.legal-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.3), transparent);
}

.section-block {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-block h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-block h2 i {
    margin-right: 16px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    background: rgba(197, 160, 89, 0.15);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.section-block p {
    line-height: 1.85;
    color: var(--accent-cream);
    font-size: 1.05rem;
    margin-left: 64px;
    font-weight: 400;
}

.back-btn {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 1000;
    background: rgba(197, 160, 89, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-btn:hover {
    background: rgba(197, 160, 89, 0.15);
    color: #c5a059;
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(197, 160, 89, 0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .legal-page-header h1 {
        font-size: 2.2rem;
    }

    .legal-content-wrapper {
        padding: 40px 24px;
        border-radius: 24px;
        margin: 0 15px 60px;
    }

    .section-block p {
        margin-left: 0;
        margin-top: 16px;
    }

    .section-block h2 {
        font-size: 1.25rem;
    }

    .back-btn {
        top: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}