/* Privacy Page Specific Styles */

.privacy-header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-coffee);
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.privacy-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    background: linear-gradient(135deg, var(--primary-coffee) 0%, var(--primary-cream) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.privacy-content {
    min-height: 70vh;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.privacy-content h1 {
    color: var(--primary-cream);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-coffee) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
    font-style: italic;
}

.privacy-section {
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(139, 69, 19, 0.05) 100%);
    border: 2px solid rgba(210, 180, 140, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: var(--primary-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(210, 180, 140, 0.1);
}

.privacy-section h2 {
    color: var(--primary-cream);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section h2::before {
    content: "🔒";
    font-size: 1.2em;
}

.privacy-section:nth-child(2) h2::before { content: "📊"; }
.privacy-section:nth-child(3) h2::before { content: "🎮"; }
.privacy-section:nth-child(4) h2::before { content: "🔄"; }
.privacy-section:nth-child(5) h2::before { content: "🛡️"; }
.privacy-section:nth-child(6) h2::before { content: "📧"; }

.privacy-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.privacy-section a {
    color: var(--primary-cream);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-section a:hover {
    color: var(--primary-coffee);
    text-decoration: underline;
}

/* RTL Support for Arabic */
.rtl .privacy-header .container {
    flex-direction: row-reverse;
}

.rtl .privacy-section h2 {
    flex-direction: row-reverse;
}

.rtl .privacy-content h1,
.rtl .last-updated {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .privacy-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .privacy-content {
        padding: 40px 0;
    }
    
    .privacy-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .privacy-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .privacy-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .privacy-content h1 {
        font-size: 1.8rem;
    }
    
    .privacy-section {
        padding: 15px;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Animation for sections */
.privacy-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-section:nth-child(5) { animation-delay: 0.5s; }
.privacy-section:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}