/* css/privacy-terms.css */
/* Privacy Policy & Terms of Use - Dedicated Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.legal-hero {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #0a0a0a 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #e50914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Main Content ===== */
.legal-content {
    padding: 60px 0;
    background: #0a0a0a;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ===== Legal Article ===== */
.legal-article {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e50914;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(229, 9, 20, 0.3);
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 25px 0 15px 0;
    color: #fff;
}

.legal-section p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-section p a {
    color: #e50914;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-section p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== Legal List ===== */
.legal-list {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.legal-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #e50914;
    font-weight: 700;
    font-size: 1.2rem;
}

.legal-list li strong {
    color: #fff;
}

.legal-list.numbered {
    list-style: none;
    counter-reset: item;
}

.legal-list.numbered li {
    counter-increment: item;
    padding-left: 32px;
}

.legal-list.numbered li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: #e50914;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== Highlight Box ===== */
.highlight-box {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.highlight-box strong {
    color: #e50914;
}

/* ===== Contact Box ===== */
.contact-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.contact-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e50914;
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-box strong {
    color: #fff;
}

/* ===== Table Styling ===== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.legal-table th {
    background: rgba(229, 9, 20, 0.2);
    color: #e50914;
    padding: 15px;
    text-align: right;
    font-weight: 700;
    border-bottom: 2px solid rgba(229, 9, 20, 0.3);
}

.legal-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover {
    background: rgba(229, 9, 20, 0.05);
}

/* ===== Legal Footer ===== */
.legal-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4%;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.tiktok:hover { background: #000; }
.social-icon.telegram:hover { background: #0088cc; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e50914;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===== Loading State ===== */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.loading i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #e50914;
    display: block;
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #ff6b6b;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    .legal-section h2 { font-size: 1.4rem; }
    .legal-section h3 { font-size: 1.1rem; }
    .container { padding: 0 5%; }
}

@media (max-width: 480px) {
    .legal-hero { height: 200px; margin-top: 70px; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-content p { font-size: 0.85rem; }
    .legal-section h2 { font-size: 1.2rem; }
    .legal-section p { font-size: 0.9rem; }
    .legal-table { font-size: 0.85rem; }
    .legal-table th, .legal-table td { padding: 10px; }
}
