/* =================================================================== */
/* 1. GLOBAL & SETUP                                                   */
/* =================================================================== */
:root {
    --primary-green: #00ff00;
    --dark-bg: #111115;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --warning-red: #ff4d4d;
    --discord-blue: #5865F2;
    --glass-bg-color: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    --glass-border-color: rgba(255, 255, 255, 0.15);
    --border-radius-main: 24px;
    --border-radius-card: 16px;
}

body {
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at top, rgba(30, 40, 50, 0.8), transparent 70%);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10;
}

.main-content {
    max-width: 900px;
    margin: 20px auto;
}

.glass-effect {
    background: var(--glass-bg-color);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

h1, h2, h3 { color: var(--text-primary); font-weight: 600; }
h2 { color: var(--primary-green); text-align: center; margin-bottom: 40px; font-size: 2em; }
.hero-icon, .pledge-icon { color: var(--primary-green); }

/* =================================================================== */
/* 2. SHARED ELEMENTS (BACK BUTTON, HERO SECTION)                      */
/* =================================================================== */
.back-button-container { margin-bottom: 20px; }
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}
.back-button:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.1); }
.back-button i { margin-right: 5px; }

.page-hero {
    padding: 40px;
    border-radius: var(--border-radius-main);
    text-align: center;
    margin-bottom: 60px;
}
.hero-icon { font-size: 3em; margin-bottom: 15px; }
.page-hero h1 { font-size: 2.5em; margin-bottom: 15px; line-height: 1.2; }
.page-hero .hero-subtitle { font-size: 1.1em; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }


/* =================================================================== */
/* 3. "HOW IT WORKS" PAGE - NEW ALTERNATING LAYOUT                     */
/* =================================================================== */
.feature-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between feature sections */
    margin-bottom: 60px;
}
.feature-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border-radius: var(--border-radius-main);
}
.feature-section.reverse {
    flex-direction: row-reverse;
}
.feature-icon-container {
    flex-basis: 30%; /* Icon takes up about 30% of the space */
    text-align: center;
    font-size: 6em; /* Large, impactful icons */
    color: var(--primary-green);
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.3));
}
.feature-text-container {
    flex-basis: 70%;
    text-align: left;
}
.feature-text-container h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-green);
}
.feature-text-container p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.process-section { margin-bottom: 60px; }
.process-timeline { padding: 40px; border-radius: var(--border-radius-main); position: relative; }
/* ... (Timeline styles remain the same) ... */
.process-timeline::before { content: ''; position: absolute; left: 40px; top: 40px; bottom: 40px; width: 3px; background-color: var(--primary-green); opacity: 0.3; border-radius: 2px; }
.timeline-item { display: flex; align-items: flex-start; position: relative; padding-left: 50px; }
.timeline-item:not(:last-child) { margin-bottom: 40px; }
.timeline-dot { position: absolute; left: 28px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background-color: var(--primary-green); border: 4px solid var(--dark-bg); box-shadow: 0 0 10px var(--primary-green); }
.timeline-content h3 { font-size: 1.3em; margin: 0 0 10px 0; }
.timeline-content p { color: var(--text-secondary); margin: 0; line-height: 1.6; }

.security-pledge { padding: 40px; border-radius: var(--border-radius-main); text-align: center; border: 2px solid var(--warning-red); box-shadow: 0 0 25px rgba(255, 77, 77, 0.2); }
.pledge-icon { font-size: 3em; margin-bottom: 15px; color: var(--warning-red); }
.security-pledge h2 { color: var(--warning-red); margin-bottom: 15px; }
.security-pledge p { font-size: 1.1em; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }


/* =================================================================== */
/* 4. FAQ PAGE STYLES                                                  */
/* =================================================================== */
.faq-accordion { padding: 10px 30px; border-radius: var(--border-radius-main); margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--glass-border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background: none; border: none; display: flex; justify-content: space-between; align-items: center; padding: 25px 0; cursor: pointer; text-align: left; color: var(--text-primary); font-family: 'Poppins', sans-serif; font-size: 1.2em; font-weight: 500; }
.faq-question i { color: var(--primary-green); font-size: 1.1em; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding-bottom 0.4s ease; }
.faq-answer p { color: var(--text-secondary); line-height: 1.7; margin: 0; padding-bottom: 0; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 25px; }
.faq-item.active .faq-question i { transform: rotate(135deg); }
.faq-answer .inline-link { color: var(--primary-green); text-decoration: none; font-weight: 600; }
.faq-answer .inline-link:hover { text-decoration: underline; }

.faq-contact-cta { padding: 40px; border-radius: var(--border-radius-main); text-align: center; }
.faq-contact-cta h2 { margin-top: 0; }
.faq-contact-cta p { max-width: 500px; margin: 0 auto 30px auto; color: var(--text-secondary); }
.cta-button { background: linear-gradient(45deg, var(--primary-green), #00aa00); color: #111; border: none; padding: 15px 35px; font-size: 1.2em; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
.cta-button.discord-button { background: var(--discord-blue); color: white; display: inline-flex; align-items: center; gap: 10px; }
.cta-button.discord-button:hover { background: var(--discord-blue); filter: brightness(1.1); }


/* =================================================================== */
/* 5. CONTACT PAGE STYLES                                              */
/* =================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.contact-card { display: flex; flex-direction: column; text-decoration: none; padding: 40px; border-radius: var(--border-radius-card); text-align: center; color: var(--text-primary); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); border-color: var(--primary-green); }
.contact-card .card-icon { font-size: 3.5em; margin-bottom: 25px; transition: transform 0.3s ease; color: var(--primary-green); }
.contact-card:hover .card-icon { transform: scale(1.1); }
.contact-card h3 { font-size: 1.5em; margin-bottom: 15px; }
.contact-card p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }
.card-cta-link { font-weight: 600; color: var(--primary-green); transition: letter-spacing 0.3s ease; margin-top: auto; }
.contact-card:hover .card-cta-link { letter-spacing: 0.5px; }


/* =================================================================== */
/* 6. RESPONSIVE DESIGN (FOR ALL SECTION PAGES)                        */
/* =================================================================== */
@media (max-width: 768px) {
    /* How It Works Page - Responsive stacking */
    .feature-section, .feature-section.reverse {
        flex-direction: column;
        text-align: center;
    }
    .feature-text-container {
        text-align: center;
    }
    .feature-icon-container {
        font-size: 4em; /* Slightly smaller icon on mobile */
        margin-bottom: 20px;
    }

    /* General */
    .process-timeline::before { left: 20px; }
    .timeline-dot { left: 8px; }
    .timeline-item { padding-left: 40px; }
    .faq-question { font-size: 1.1em; }
    .page-hero h1, h2 { font-size: 1.8em; }
}