/* ===================================
   LEGAL PAGES STYLESHEET
   Privacy Policy & Terms of Service
   =================================== */

/* Legal Page Container */
.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8a2be2, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Legal Content */
.legal-content {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.1);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
}

/* Legal Sections */
.legal-section {
    margin-bottom: 50px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #8a2be2, #ff1493);
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.legal-section ul,
.legal-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    position: relative;
}

.legal-section ul li::marker {
    color: #8a2be2;
}

.legal-section ol li::marker {
    color: #8a2be2;
    font-weight: 600;
}

/* Highlight Boxes */
.legal-highlight {
    background: rgba(138, 43, 226, 0.1);
    border-left: 4px solid #8a2be2;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.legal-highlight p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Contact Info in Legal Pages */
.legal-contact {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(255, 20, 147, 0.15));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.legal-contact h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-contact p {
    margin-bottom: 10px;
}

.legal-contact a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-contact a:hover {
    color: #ff1493;
    text-decoration: underline;
}

/* Table of Contents */
.legal-toc {
    background: rgba(138, 43, 226, 0.08);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.legal-toc h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #fff;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-toc li {
    margin-bottom: 10px;
}

.legal-toc a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.legal-toc a:hover {
    color: #8a2be2;
    transform: translateX(5px);
}

/* Strong Text */
.legal-section strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Links in Legal Content */
.legal-section a {
    color: #8a2be2;
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #ff1493;
    border-bottom-color: #ff1493;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }

    .legal-toc {
        padding: 20px;
    }
}