/* =========================
   LEGAL PAGE SPECIFIC STYLES
   ========================= */

.legal-page-section {
    padding: 140px 0 80px;
    min-height: calc(100vh - 400px);
}

.legal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--current-border);
    flex-wrap: wrap;
}

.legal-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--current-text-gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.legal-tab:hover {
    color: var(--accent-gold);
    background: rgba(200, 169, 126, 0.05);
}

.legal-tab.active {
    color: var(--accent-maroon);
    border-bottom-color: var(--accent-gold);
}

body.dark-mode .legal-tab.active {
    color: var(--accent-gold-light);
}

.legal-content-wrapper {
    background: var(--card-gradient);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid var(--current-border);
    box-shadow: var(--shadow-light);
}

body.dark-mode .legal-content-wrapper {
    background: linear-gradient(145deg, var(--dark-secondary), var(--dark-tertiary));
    border-color: var(--dark-border);
}

.legal-section-content {
    display: none;
}

.legal-section-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.legal-section-content h2 {
    color: var(--accent-maroon);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-gold-light);
}

body.dark-mode .legal-section-content h2 {
    color: var(--accent-gold-light);
}

.legal-section-content h3 {
    color: var(--accent-maroon);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.dark-mode .legal-section-content h3 {
    color: var(--accent-gold);
}

.legal-section-content h3 i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.legal-section-content p {
    color: var(--current-text);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-section-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-section-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--current-text);
}

.legal-section-content li::marker {
    color: var(--accent-gold);
}

.legal-highlight {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.15), rgba(200, 169, 126, 0.05));
    border-left: 4px solid var(--accent-gold);
    padding: 20px 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 25px 0;
}

body.dark-mode .legal-highlight {
    background: rgba(200, 169, 126, 0.08);
}

.legal-contact-box {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-maroon));
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    text-align: center;
}

.legal-contact-box h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.legal-contact-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.legal-contact-box a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--current-text-gray);
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--current-border);
}

/* =========================
   CONTENT CREATOR PROGRAM STYLES
   ========================= */

/* Enhanced section header */
#creator {
    position: relative;
}

#creator::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.03), rgba(139, 69, 19, 0.02));
    border-radius: var(--radius-lg);
    z-index: -1;
}

#creator h2 {
    background: linear-gradient(135deg, var(--accent-maroon), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
}

body.dark-mode #creator h2 {
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#creator h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-maroon));
    border-radius: 2px;
}

/* Enhanced highlight box */
#creator .legal-highlight {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.15), rgba(139, 69, 19, 0.08));
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    padding: 25px 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(200, 169, 126, 0.1);
}

body.dark-mode #creator .legal-highlight {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.1), rgba(139, 69, 19, 0.05));
    box-shadow: 0 4px 20px rgba(200, 169, 126, 0.05);
}

#creator .legal-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(200, 169, 126, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#creator .legal-highlight strong {
    color: var(--accent-maroon);
    font-weight: 700;
    font-size: 1.1rem;
}

body.dark-mode #creator .legal-highlight strong {
    color: var(--accent-gold-light);
}

/* Enhanced section headers with icons */
#creator h3 {
    background: linear-gradient(135deg, var(--accent-maroon), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 15px 0 10px 0;
    margin: 40px 0 20px 0;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
}

body.dark-mode #creator h3 {
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#creator h3 i {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-maroon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    margin-right: 5px;
}

body.dark-mode #creator h3 i {
    background: rgba(200, 169, 126, 0.15);
}

#creator h3 i.fa-video {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

#creator h3 i.fa-comments,
#creator h3 i.fa-handshake,
#creator h3 i.fa-camera,
#creator h3 i.fa-gift,
#creator h3 i.fa-percentage,
#creator h3 i.fa-file-contract,
#creator h3 i.fa-ban,
#creator h3 i.fa-star {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-buttons .btn {
    padding: 15px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    min-width: 220px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-buttons .btn-primary {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-buttons .btn-primary:hover::before {
    left: 100%;
}

.contact-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.contact-buttons .btn-secondary {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.contact-buttons .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-buttons .btn-secondary:hover::before {
    left: 100%;
}

.contact-buttons .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
    background: linear-gradient(135deg, #C13584, #E4405F);
}

.contact-buttons .btn i {
    font-size: 1.1rem;
}

/* Enhanced list styling */
#creator ul {
    background: rgba(200, 169, 126, 0.02);
    border-radius: var(--radius);
    padding: 20px 20px 20px 45px;
    margin: 25px 0;
    border-left: 3px solid var(--accent-gold);
    position: relative;
}

body.dark-mode #creator ul {
    background: rgba(200, 169, 126, 0.05);
}

#creator ul li {
    position: relative;
    padding: 12px 0;
    line-height: 1.7;
    color: var(--current-text);
    transition: var(--transition);
    border-bottom: 1px solid rgba(200, 169, 126, 0.1);
}

#creator ul li:last-child {
    border-bottom: none;
}

#creator ul li:hover {
    color: var(--accent-gold);
    transform: translateX(8px);
    padding-left: 10px;
}

#creator ul li::before {
    content: '✦';
    position: absolute;
    left: -25px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

#creator ul li:hover::before {
    transform: scale(1.2);
}

#creator ul li strong {
    color: var(--accent-maroon);
    font-weight: 700;
    font-size: 1.05rem;
}

body.dark-mode #creator ul li strong {
    color: var(--accent-gold-light);
}

/* Enhanced contact box for creator section */
#creator .legal-contact-box {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-maroon));
    position: relative;
    overflow: hidden;
    padding: 40px;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
}

#creator .legal-contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

#creator .legal-contact-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    animation: slideShimmer 3s infinite;
}

@keyframes slideShimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#creator .legal-contact-box h4 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#creator .legal-contact-box p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

#creator .contact-buttons {
position: relative;
z-index: 1;
}

/* Enhanced Responsive Design - Mobile First */

/* Large Tablets and Small Desktops (768px to 1023px) */
@media (max-width: 1023px) {
.legal-page-section {
padding: 120px 0 60px;
}
.legal-content-wrapper {
padding: 40px 30px;
}
.legal-tabs {
gap: 8px;
margin-bottom: 30px;
}
.legal-tab {
padding: 12px 20px;
font-size: 0.95rem;
}
}

/* Tablets and Large Phones (576px to 767px) */
@media (max-width: 767px) {
.legal-page-section {
padding: 100px 0 50px;
}
.legal-content-wrapper {
padding: 30px 20px;
}
.legal-tabs {
flex-direction: column;
gap: 5px;
margin-bottom: 25px;
}
.legal-tab {
padding: 15px 20px;
text-align: center;
border-bottom: 2px solid var(--current-border);
border-radius: var(--radius);
}
.legal-tab.active {
border-bottom-color: var(--accent-gold);
background: rgba(200, 169, 126, 0.05);
}
.contact-buttons {
flex-direction: column;
align-items: center;
gap: 15px;
}
.contact-buttons .btn {
width: 100%;
max-width: 300px;
}
}

/* Large Phones (400px to 575px) */
@media (max-width: 575px) {
.legal-page-section {
padding: 80px 0 40px;
}
.legal-content-wrapper {
padding: 25px 15px;
}
.legal-tab {
padding: 12px 15px;
font-size: 0.9rem;
}
.legal-content h2 {
font-size: 1.8rem;
line-height: 1.3;
}
.legal-content h3 {
font-size: 1.5rem;
line-height: 1.3;
}
.legal-content p {
font-size: 0.95rem;
line-height: 1.6;
}
.legal-content ul li,
.legal-content ol li {
font-size: 0.95rem;
line-height: 1.6;
padding-left: 8px;
}
}

/* Small Phones (399px and below) */
@media (max-width: 399px) {
.legal-content-wrapper {
padding: 20px 12px;
}
.legal-tab {
padding: 10px 12px;
font-size: 0.85rem;
}
.legal-content h2 {
font-size: 1.6rem;
}
.legal-content h3 {
font-size: 1.4rem;
}
.legal-content p {
font-size: 0.9rem;
}
}

/* Responsive styles for contact buttons */
@media (max-width: 768px) {
.contact-buttons {
flex-direction: column;
align-items: center;
}
.contact-buttons .btn {
width: 100%;
max-width: 280px;
    }

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

    /* Enhanced mobile styles for creator section */
    #creator .legal-highlight {
        padding: 20px 25px;
        margin: 25px 0;
    }

    #creator ul {
        padding: 15px 15px 15px 35px;
    }

    #creator .legal-contact-box {
        padding: 30px 25px;
        margin-top: 30px;
    }

    #creator .legal-contact-box h4 {
        font-size: 1.3rem;
    }

    .contact-buttons .btn {
        min-width: 200px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}
