/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #ffffff;
}
::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333333;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #000000 #ffffff;
}

.legal-page {
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Cairo', sans-serif;
    color: #000;
    text-align: right;
    direction: rtl;
}
.bg-glow {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}
.legal-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(120px, 15vw, 160px) 24px 80px;
}
.legal-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    padding: clamp(30px, 8vw, 60px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.legal-header {
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 50px);
}
.legal-badge {
    display: inline-block;
    background: rgba(245, 200, 66, 0.1);
    color: #f5c842;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.legal-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}
.legal-title span {
    color: #f5c842;
}
.legal-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.legal-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    color: #000;
    margin: 40px 0 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.legal-content h2::before {
    content: '';
    display: block;
    width: 8px;
    height: 24px;
    background: #f5c842;
    border-radius: 4px;
}
.legal-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}
.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.legal-content li {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-right: 28px;
    position: relative;
}
.legal-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 4px;
    color: #f5c842;
    font-size: 0.9rem;
}
.legal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 40px 0;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}
.back-link:hover {
    color: #f5c842;
}

.footer-bottom-links a:hover {
    color: #f5c842 !important;
}
.footer-bottom p {
    color: rgba(0, 0, 0, 0.6) !important;
}
.footer-bottom-links a {
    color: rgba(0, 0, 0, 0.6);
}
