* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-purple: #9333ea;
    --secondary-purple: #a855f7;
    --light-purple: #c084fc;
    --dark-bg: #0a0e1a;
    --card-bg: #141824;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f35 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.faq-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.faq-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.15);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: rgba(147, 51, 234, 0.5);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease;
}

.faq-question:hover { color: var(--primary-purple); }

.faq-item.open .faq-question { color: var(--primary-purple); }

.faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(147, 51, 234, 0.15);
}

.faq-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-discord {
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

@media (max-width: 768px) {
    .faq-container { padding: 2rem 1rem; }
    .faq-header h1 { font-size: 1.8rem; }
    .faq-question { font-size: 0.95rem; padding: 1rem 1.2rem; }
}

@media (max-width: 480px) {
    .faq-header h1 { font-size: 1.5rem; }
    .faq-cta { padding: 1.5rem; }
}
