/* --- Terms and Conditions Page Specific Styles --- */
.page-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 60px;
}

body.dark-mode .page-hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c4d 100%);
}

.page-hero-title {
    font-size: 3.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero-subtitle {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.content-section {
    padding: 40px 0 80px;
    background-color: #fcfcfc;
}

body.dark-mode .content-section {
    background-color: #1f1f3a;
}

.terms-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

body.dark-mode .terms-content {
    background-color: #2c2c4d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-content h2 {
    font-size: 2em;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #007bff;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

body.dark-mode .terms-content h2 {
    color: #00c6ff;
    border-bottom-color: #3a3a5e;
}

.terms-content p {
    margin-bottom: 20px;
    color: #444;
}

body.dark-mode .terms-content p {
    color: #c0c0c0;
}

.terms-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.terms-content ul li {
    margin-bottom: 10px;
    color: #444;
}

body.dark-mode .terms-content ul li {
    color: #c0c0c0;
}

.terms-content .last-updated {
    text-align: right;
    font-style: italic;
    color: #888;
    margin-top: 40px;
    font-size: 0.9em;
}

body.dark-mode .terms-content .last-updated {
    color: #999;
}

/* Responsive adjustments for Terms page */
@media (max-width: 768px) {
    .page-hero-section {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    .page-hero-title {
        font-size: 2.5em;
    }
    .page-hero-subtitle {
        font-size: 1em;
    }
    .terms-content {
        padding: 25px;
    }
    .terms-content h2 {
        font-size: 1.8em;
    }
    .terms-content p, .terms-content ul li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2em;
    }
    .terms-content h2 {
        font-size: 1.6em;
    }
}
/* --- Styles for specific content sections (About Us, Privacy, How It Works, Payments) --- */
/* Re-using .terms-content for Privacy Policy and About Us for general text blocks */
.about-content h2, .privacy-content h2 {
    font-size: 2em;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #007bff;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

body.dark-mode .about-content h2, body.dark-mode .privacy-content h2 {
    color: #00c6ff;
    border-bottom-color: #3a3a5e;
}

.about-content ul {
    list-style: none; /* Override default list style */
    margin-left: 0;
    margin-bottom: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

body.dark-mode .about-content ul li {
    color: #c0c0c0;
}

.about-content ul li i {
    color: #28a745; /* Green checkmark */
    font-size: 1.2em;
}

/* FAQ Page Styles */
.faq-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .faq-content {
    background-color: #2c2c4d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

body.dark-mode .faq-item {
    border-bottom-color: #3a3a5e;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

body.dark-mode .faq-question {
    color: #e0e0e0;
}

.faq-question:hover {
    color: #007bff;
}

body.dark-mode .faq-question:hover {
    color: #00c6ff;
}

.faq-question i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 20px;
}

.faq-answer p {
    margin-top: 10px;
    padding-bottom: 10px;
    color: #555;
    font-size: 1em;
}

body.dark-mode .faq-answer p {
    color: #c0c0c0;
}

/* How It Works Page Styles */
.how-it-works-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .how-it-works-content {
    background-color: #2c2c4d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.how-it-works-content h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #007bff;
    text-align: center;
}

body.dark-mode .how-it-works-content h2 {
    color: #00c6ff;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
}

.step-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0f2ff; /* Light blue */
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    flex-shrink: 0; /* Prevent shrinking */
}

.step-icon.green-icon { /* For advertiser steps */
    background-color: #e6ffed; /* Light green */
    color: #28a745;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

body.dark-mode .step-icon {
    background-color: #3a3a5e;
    color: #00c6ff;
}
body.dark-mode .step-icon.green-icon {
    background-color: #3a5e3a;
    color: #28a745;
}


.step-text h3 {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #333;
}

body.dark-mode .step-text h3 {
    color: #e0e0e0;
}

.step-text p {
    color: #555;
    line-height: 1.6;
}

body.dark-mode .step-text p {
    color: #c0c0c0;
}

.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 123, 255, 0.5), rgba(0, 0, 0, 0));
    margin: 60px 0;
}
body.dark-mode .divider {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 198, 255, 0.5), rgba(255, 255, 255, 0));
}


/* Payments Page Styles */
.payments-details-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .payments-details-content {
    background-color: #2c2c4d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payments-details-content h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: #007bff;
    text-align: center;
}

body.dark-mode .payments-details-content h2 {
    color: #00c6ff;
}

.payments-details-content p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

body.dark-mode .payments-details-content p {
    color: #c0c0c0;
}

.payment-method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.method-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .method-card {
    background-color: #3a3a5e;
    border-color: #4a4a6e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.method-card img {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.method-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
}

body.dark-mode .method-card h3 {
    color: #e0e0e0;
}

.method-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    text-align: center; /* Override default p alignment */
}

body.dark-mode .method-card p {
    color: #c0c0c0;
}

.method-card ul {
    list-style: none;
    padding: 0;
    font-size: 0.9em;
    color: #777;
}
body.dark-mode .method-card ul {
    color: #b0b0b0;
}

.method-card ul li {
    margin-bottom: 5px;
}

.deposit-methods ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.deposit-methods ul li {
    background-color: #e6ffe6;
    color: #218838;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

body.dark-mode .deposit-methods ul li {
    background-color: #3a5e3a;
    color: #a7f7a7;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}
