@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;800&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --bg-void: #020204;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #a855f7;
    --primary-dark: #7e22ce;
    --gold: #fbbf24;
    --accent: #10b981;
    --border: rgba(255, 255, 255, 0.08);
    --glass: blur(16px);
}

html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-void);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    margin: 0; overflow-x: hidden;
    line-height: 1.6;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- BACKGROUND FX --- */
#star-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; opacity: 0.8;
}

.grid-overlay {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.4;
}

/* --- TYPOGRAPHY --- */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #c084fc 50%, #818cf8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.3));
}

.text-gold-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- CARDS & PANELS --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}

.glass-panel::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
    opacity: 0; transition: 0.5s;
}
.glass-panel:hover::before { opacity: 1; }
.glass-panel:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

/* --- BUTTONS --- */
.btn-primary {
    position: relative; overflow: hidden;
    background: white; color: black;
    padding: 16px 40px; border-radius: 8px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    transition: 0.5s;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
    transform: scale(1.02); box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.btn-glass {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: white; padding: 16px 32px; border-radius: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
    transition: 0.3s;
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* --- MODALS --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.4s ease;
    backdrop-filter: blur(10px);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-box {
    background: #0a0a0c; border: 1px solid rgba(255,255,255,0.1);
    width: 95%; max-width: 600px; border-radius: 20px;
    position: relative; padding: 40px;
    transform: scale(0.95) translateY(20px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.modal-box.large { max-width: 900px; }
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s;
}
.modal-close:hover { background: red; transform: rotate(90deg); }

/* --- TABS --- */
.tab-triggers { display: flex; gap: 20px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.tab-btn {
    padding: 15px 0; color: #666; font-weight: 600; cursor: pointer;
    position: relative; transition: 0.3s; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em;
}
.tab-btn.active { color: white; }
.tab-btn::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: 0.3s;
}
.tab-btn.active::after { width: 100%; }

.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- ACCORDION --- */
.accordion-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; background: rgba(255,255,255,0.02); overflow: hidden; }
.accordion-header {
    padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: #ccc; transition: 0.3s;
}
.accordion-header:hover { background: rgba(255,255,255,0.05); color: white; }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out;
    background: rgba(0,0,0,0.2);
}
.accordion-body { padding: 20px; color: #888; font-size: 0.9rem; line-height: 1.6; }
.icon-plus { transition: 0.3s; }
.accordion-item.active .icon-plus { transform: rotate(45deg); color: var(--primary); }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- UTILS --- */
.play-btn {
    width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: 0.3s; position: relative;
}
.play-btn::before {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1); animation: pulse 2s infinite;
}
.play-btn:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.2); }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
