/*###### IMPORTS ###### */
@import "template.css";

/*--------------------------------------------------------------
# Legal Pages - Modern Clean Layout
--------------------------------------------------------------*/

/* Intro Box */
.intro-box {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 30, 226, 0.03) 0%, transparent 70%);
    animation: pulse-modern 15s ease-in-out infinite;
}

.intro-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    position: relative;
    z-index: 1;
}

.intro-box strong {
    color: #0b0c2a;
    font-weight: 700;
}

.intro-box a {
    color: #1e1ee2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.intro-box a:hover {
    border-bottom-color: #1e1ee2;
    color: #0f4585;
}

/*--------------------------------------------------------------
# Legal Content
--------------------------------------------------------------*/

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Article Cards */
.legal-article {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.legal-article:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.legal-article:nth-child(1) { animation-delay: 0.1s; }
.legal-article:nth-child(2) { animation-delay: 0.2s; }
.legal-article:nth-child(3) { animation-delay: 0.3s; }
.legal-article:nth-child(4) { animation-delay: 0.4s; }
.legal-article:nth-child(5) { animation-delay: 0.5s; }
.legal-article:nth-child(6) { animation-delay: 0.6s; }
.legal-article:nth-child(7) { animation-delay: 0.7s; }
.legal-article:nth-child(8) { animation-delay: 0.8s; }
.legal-article:nth-child(9) { animation-delay: 0.9s; }
.legal-article:nth-child(10) { animation-delay: 1s; }
.legal-article:nth-child(11) { animation-delay: 1.1s; }

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

/* Article Header */
.article-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e2e8f0;
}

.article-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e1ee2 0%, #0f4585 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-icon i {
    font-size: 1.5rem;
    color: white;
}

.article-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b0c2a;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Article Content */
.article-content {
    padding: 35px;
}

.article-content h4 {
    color: #0b0c2a;
    font-weight: 700;
    margin: 20px 0 10px;
    font-size: 1.05rem;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content strong {
    color: #0b0c2a;
    font-weight: 700;
}

.article-content a {
    color: #1e1ee2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-content a:hover {
    border-bottom-color: #1e1ee2;
    color: #0f4585;
}

/* Lists */
.article-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.article-content ul li::before {
    content: '\F285';
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    color: #1e1ee2;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Warning Box (for CGV exceptions, etc.)
--------------------------------------------------------------*/

.warning-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fb923c;
    border-radius: 16px;
    padding: 20px 25px;
    margin: 20px 0;
}

.warning-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9a3412;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.warning-box h4 i {
    color: #f97316;
    font-size: 1.3rem;
}

.warning-box p {
    color: #9a3412;
    margin-bottom: 15px;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.warning-box ul {
    margin: 10px 0 0 0;
}

.warning-box ul li {
    color: #9a3412;
}

.warning-box ul li::before {
    color: #f97316;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 768px) {
    .intro-box {
        padding: 30px 25px;
        margin-bottom: 40px;
    }

    .intro-box p {
        font-size: 1rem;
    }

    .article-header {
        padding: 25px 20px;
        gap: 15px;
    }

    .article-icon {
        width: 45px;
        height: 45px;
    }

    .article-icon i {
        font-size: 1.3rem;
    }

    .article-header h2 {
        font-size: 1.2rem;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-content h4 {
        font-size: 1rem;
    }

    .article-content p,
    .article-content ul li {
        font-size: 0.95rem;
    }

    .article-content ul li {
        padding-left: 30px;
    }

    .legal-content {
        gap: 20px;
    }

    .warning-box {
        padding: 18px 20px;
    }

    .warning-box h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-box {
        padding: 25px 20px;
    }

    .article-header {
        padding: 20px 15px;
    }

    .article-content {
        padding: 20px 15px;
    }

    .article-header h2 {
        font-size: 1.1rem;
    }

    .warning-box {
        padding: 15px 18px;
    }
}