/* ==========================================================================
   BASE.CSS — Variables, Resets, Typography, Layout Utilities
   ========================================================================== */

:root {
    --bg-dark:        #07040e;
    --bg-card:        #0f0a1d;
    --bg-panel:       #140d26;
    --border-purple:  #23183d;
    --primary-purple: #7c3aed;
    --primary-glow:   #a78bfa;
    --text-white:     #f9fafb;
    --text-slate:     #9ca3af;
    --accent-gold:    #fbbf24;
    --discord-brand:  #5865F2;
    --discord-glow:   #7983f5;
    --success:        #10b981;

    --radius-premium: 16px;
    --radius-base:    10px;
    --fluid-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-alt { background-color: #0c0818; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-slate);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-base);
    border: none;
    cursor: pointer;
    transition: var(--fluid-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-purple);
}
.btn-secondary:hover {
    background-color: var(--bg-card);
    border-color: var(--primary-purple);
}

.btn-discord {
    background-color: var(--discord-brand);
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover {
    background-color: var(--discord-glow);
    transform: translateY(-2px);
}

.btn-discord-active {
    background-color: var(--discord-brand) !important;
    border-color: var(--discord-brand) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}
.btn-discord-active:hover {
    background-color: var(--discord-glow) !important;
}

.btn-small {
    padding: 8px 14px;
    font-size: 0.85rem;
    background-color: var(--bg-card);
    color: #fff;
    border: 1px solid var(--border-purple);
}
.btn-small:hover {
    border-color: var(--primary-purple);
}

.btn-block { width: 100%; }

.badge {
    background-color: rgba(124, 58, 237, 0.15);
    color: var(--primary-glow);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- Helpers --- */
.hidden { display: none !important; }

.desktop-only { display: flex; }

/* --- Media Queries (base) --- */
@media (max-width: 968px) {
    .desktop-only { display: none !important; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
}
