/* ============================================================
   INFO PAGES — Dashboard overlay
   Loaded after styles.css; overrides to warm-black + gold theme
   terms · privacy · contact · faq
   ============================================================ */

/* ── Terms / Privacy sections → proper cards ─────────────── */
.terms-section {
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.13);
    border-bottom: 1px solid rgba(234, 156, 34, 0.13); /* override the white separator */
    border-radius: 20px;
    padding: 26px 28px;
    margin-bottom: 12px;
    transition: border-color 0.22s;
}

.terms-section:hover {
    border-color: rgba(234, 156, 34, 0.28);
}

.terms-section:last-child {
    border-bottom: 1px solid rgba(234, 156, 34, 0.13);
    margin-bottom: 0;
    padding-bottom: 26px;
}

.terms-header {
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-number {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 16px;
}

.terms-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.terms-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.72;
}

.terms-text p { margin-bottom: 14px; }

.terms-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-subtitle::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 13px;
    background: #EA9C22;
    border-radius: 2px;
    flex-shrink: 0;
}

.terms-subsection p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.72;
}

/* Last-updated pill */
.terms-update {
    display: inline-flex;
    background: rgba(234, 156, 34, 0.07);
    border: 1px solid rgba(234, 156, 34, 0.2);
    border-radius: 40px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

/* Contact card at bottom of terms/privacy */
.terms-contact {
    margin-top: 20px;
    padding: 32px;
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.14);
    border-radius: 22px;
    text-align: center;
}

.contact-card {
    max-width: 400px;
}

.contact-card i { font-size: 36px; margin-bottom: 14px; }

.contact-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 22px;
    line-height: 1.6;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar-sticky {
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.14);
    border-radius: 20px;
    padding: 22px;
    top: 96px;
    backdrop-filter: none;
}

.sidebar-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Make sidebar links compact & dashboard-style */
.sidebar-link {
    padding: 9px 12px;
    border-radius: 10px;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    gap: 10px;
    font-size: 13px;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: transparent;
    border-left-color: rgba(234, 156, 34, 0.3);
    transform: none;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(240, 93, 17, 0.1), transparent);
    border-left-color: #EA9C22;
    color: #EA9C22;
}

.sidebar-link.active .link-number {
    background: rgba(234, 156, 34, 0.15);
    color: #EA9C22;
}

.link-number {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.38);
    transition: background 0.18s, color 0.18s;
}

.sidebar-links { gap: 3px; margin-bottom: 18px; }

.sidebar-actions {
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.sidebar-actions .btn-primary,
.sidebar-actions .btn-secondary {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
}

/* ── Contact page specific ────────────────────────────────── */

/* Notice banner — gold toned */
.contact-notice {
    border-radius: 20px;
    background: rgba(234, 156, 34, 0.07);
    border: 1px solid rgba(234, 156, 34, 0.22);
    padding: 24px;
    margin-bottom: 24px;
}

.notice-header { gap: 12px; margin-bottom: 14px; }
.notice-header i { font-size: 22px; }
.notice-header h2 { font-size: 17px; font-weight: 700; }

.notice-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 10px;
}

/* Discord support block — dark card with subtle Discord accent line */
.discord-support-section {
    background: #0e0d0b;
    border: 1px solid rgba(88, 101, 242, 0.15);
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.discord-support-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #5865F2 0%, #EA9C22 50%, #5865F2 100%);
    opacity: 0.5;
}

.discord-header {
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    padding: 12px;
}

.discord-header .discord-title {
    font-size: 20px;
    font-weight: 800;
}

.discord-header .discord-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.48);
}

/* Step cards */
.step-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    gap: 14px;
}

.step-card:hover {
    background: rgba(88, 101, 242, 0.05);
    border-color: rgba(88, 101, 242, 0.22);
    transform: translateY(-2px);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}

.step-content h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step-content p  { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.55; }

.discord-steps { gap: 14px; margin-bottom: 24px; }

.discord-join { padding-top: 4px; }

.btn-discord-large {
    border-radius: 14px;
    padding: 18px 28px;
    gap: 16px;
    max-width: 460px;
    transition: all 0.25s ease;
}

.btn-discord-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(88, 101, 242, 0.28);
}

.btn-title { font-size: 15px; font-weight: 700; }
.btn-subtitle { font-size: 12px; opacity: 0.7; }

.discord-link-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 12px;
}

/* Support guidelines block */
.support-guidelines {
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.13);
    border-radius: 22px;
    padding: 26px 28px;
    margin-bottom: 20px;
}

.guidelines-title {
    font-size: 17px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 18px;
}

.guidelines-grid { gap: 12px; }

.guideline-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.guideline-card:hover {
    background: rgba(234, 156, 34, 0.04);
    border-color: rgba(234, 156, 34, 0.22);
    transform: translateY(-2px);
}

.guideline-card i   { font-size: 22px; margin-bottom: 0; }
.guideline-card h3  { font-size: 14px; font-weight: 700; margin: 0; }
.guideline-card p   { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.55; margin: 0; }

/* Warning / no-other-methods card */
.no-other-methods { margin-bottom: 0; }

.warning-card {
    padding: 22px 24px;
    gap: 18px;
    border-radius: 18px;
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.warning-card i  { font-size: 24px; }
.warning-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.warning-card p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 10px; }
.warning-card ul { padding-left: 20px; margin: 6px 0 10px; }
.warning-card li { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 5px; padding-left: 0; }
.warning-card li::before { display: none; }

/* Discord info sidebar card */
.discord-info-card {
    margin-top: 14px;
    padding: 18px;
    background: rgba(88, 101, 242, 0.07);
    border: 1px solid rgba(88, 101, 242, 0.18);
    border-radius: 14px;
}

.discord-info-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.discord-info-content { gap: 9px; margin-bottom: 14px; }

.info-item {
    font-size: 12px;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.info-item i { font-size: 13px; }

/* ── FAQ page specific ────────────────────────────────────── */

/* Override the homepage faq section styles for standalone FAQ page */
.faq {
    padding: 40px 0 80px;
    background: transparent;
}

.faq-glow { display: none; } /* remove the homepage blob bg */

.faq-grid {
    display: block; /* override the 2-col homepage layout */
}

/* FAQ left header — make it full width / inline heading */
.faq-left {
    width: 100%;
    margin-bottom: 36px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faq-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.faq-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

/* FAQ items — dashboard card style */
.faq-item {
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.12);
    border-radius: 16px;
    margin-bottom: 8px;
    transition: border-color 0.22s;
}

.faq-item:hover  { border-color: rgba(234, 156, 34, 0.28); background: #0e0d0b; }
.faq-item.active { border-color: rgba(234, 156, 34, 0.35); background: #0e0d0b; }

.faq-question {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    gap: 12px;
}

.faq-question:hover { color: #fff; }
.faq-question i     { font-size: 18px; flex-shrink: 0; }

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 20px 18px;
}

.faq-answer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.7;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Category group headers */
.faq-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    margin: 28px 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.faq-group-title:first-child { margin-top: 0; }

/* Support link card at bottom of FAQ */
.faq-support-link {
    margin-top: 28px;
    padding: 18px 22px;
    background: #0e0d0b;
    border: 1px solid rgba(234, 156, 34, 0.14);
    border-radius: 16px;
    text-align: center;
}

.faq-support-link p { font-size: 13px; margin-bottom: 8px; }
.faq-support-link a { font-size: 13px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .terms-wrapper { grid-template-columns: 1fr; gap: 24px; }
    .terms-sidebar  { display: none; }
}

@media (max-width: 768px) {
    .terms-section { padding: 20px; }
    .terms-contact { padding: 24px; }
    .discord-steps { grid-template-columns: 1fr; }
    .guidelines-grid { grid-template-columns: 1fr; }
    .support-guidelines { padding: 20px; }
    .discord-support-section { padding: 20px; }
}
