:root {
    --brand-accent: #ff4655;
    --brand-accent-rgb: 255, 70, 85;
}

/* Legal Pages General Container */
.legal-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 100px);
    position: relative;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.legal-hero {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(var(--brand-accent-rgb), 0.1);
    border: 1px solid rgba(var(--brand-accent-rgb), 0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-accent);
    margin-bottom: 25px;
    box-shadow: 0 0 40px rgba(var(--brand-accent-rgb), 0.2);
    position: relative;
}

.legal-icon-wrap::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    box-shadow: 0 0 20px var(--brand-accent);
    opacity: 0.4;
    z-index: -1;
}

.legal-hero h1 {
    color: var(--text-main, #f5f5f5);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.legal-hero p {
    color: var(--text-muted, #999999);
    font-size: 1.15rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Single Box Content */
.legal-single-box {
    background: rgba(22, 24, 28, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.last-updated {
    color: var(--brand-accent);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.last-updated::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.legal-text {
    color: var(--text-muted, #999999);
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-text h3 {
    color: var(--text-main, #f5f5f5);
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-text h3:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 16px;
}

.legal-text ul {
    margin-bottom: 24px;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 25px 25px 45px;
    border-radius: 12px;
    border-left: 3px solid rgba(255,255,255,0.1);
}

.legal-text ul li {
    margin-bottom: 12px;
}

.legal-text ul li:last-child {
    margin-bottom: 0;
}

.legal-text strong {
    color: var(--text-main, #f5f5f5);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-single-box {
        padding: 30px 25px;
    }
    .legal-hero h1 {
        font-size: 2.2rem;
    }
}
