*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --primary-dark: #7c3aed;
    --accent: #a78bfa;
    --bg-dark: #020617;
    --bg-panel: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(139, 92, 246, 0.2);
    --glass: rgba(11, 2, 23, 0.8);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(167, 139, 250, 0.05) 0%, transparent 25%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--primary); color: #fff; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

#enter-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(2, 2, 23, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
#enter-overlay.hide {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.enter-content {
    text-align: center;
    animation: fadeUp 0.8s ease;
    position: relative;
    z-index: 2;
}
.enter-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.enter-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.link-accent { color: var(--primary); font-weight: 500; }
.enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--primary-glow);
}
.enter-btn:hover, .enter-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--primary-glow);
    outline: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 2, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 72px;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 32px;
    gap: 24px;
}
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand-icon img {
    height: 36px;
    width: 36px;
    border-radius: 6px;
}
.brand-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.audio-controls {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.ctrl-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.ctrl-btn:hover {
    background: rgba(102, 92, 246, 0.25);
    color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
}
.menu-toggle .bar {
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

nav {
    display: flex;
    gap: 8px;
}
nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}
nav a:hover {
    color: #fff;
    background: rgba(102, 92, 246, 0.1);
}
nav a.active {
    color: #fff;
    background: rgba(92, 102, 246, 0.2);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
#grid-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #fff;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
}
.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}
.card:hover::after {
    width: 80%;
}
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}
.card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}
.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/*  Product Module Cards  */

.modules-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(139, 92, 246, 0.04) 50%, var(--bg-dark) 100%);
    padding: 80px 24px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.module-card {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 0 60px rgba(139, 92, 246, 0.08);
}


.module-card-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.module-card-header h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.status-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 50px;
}

.status-preorder {
    background: rgba(139, 92, 246, 0.25);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.status-live {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-soon {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.15);
}


.module-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.module-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}


.pricing-block {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.price-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.price-label {
    color: var(--text-muted);
}

.price-value {
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 0.95rem;
}


.btn-action {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.btn-action.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.btn-action.active:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.55);
    transform: translateY(-2px);
}

.btn-action.disabled {
    background: rgba(139, 92, 246, 0.06);
    color: var(--text-muted);
    border: 1px dashed rgba(139, 92, 246, 0.15);
    cursor: not-allowed;
}


@media (max-width: 768px) {
    .module-card-header { padding: 16px 20px; }
    .module-card-body { padding: 20px; }
    .module-card-header h3 { font-size: 1.15rem; }
}
/* End Product Cards */

.contact-section {
    text-align: center;
}
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.contact-wrapper h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.contact-wrapper p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-discord:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}
.btn-discord svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

footer {
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.95);
    color: var(--text-muted);
    text-align: center;
    padding: 28px 24px;
    font-size: 0.85rem;
}
.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-link {
    color: var(--primary);
    font-size: 0.85rem;
    transition: color 0.2s;
    opacity: 0.7;
}
.footer-link:hover { color: #fff; opacity: 1; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-profiles {
    min-height: 60vh;
    background: transparent;
    padding-top: 140px;
}

.hero-profiles .hero-title .highlight {
    color: #8b5cf6;
    text-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.profile-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.profile-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.role {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.social-links a:hover {
    color: #fff;
    background: #8b5cf6;
    border-color: #8b5cf6;
}

#profiles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 900px) {
    .modules-grid { grid-template-columns: 1fr; }
    .grid-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    header { height: 60px; }
    .header-inner {
        height: 60px;
        padding: 0 16px;
        gap: 12px;
    }
    .brand-icon img { height: 32px; width: 32px; }
    .brand-name { font-size: 1.2rem; }
    .menu-toggle { display: flex; }
    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px 16px;
        gap: 4px;
        z-index: 99;
    }
    nav.mobile-open { display: flex; }
    nav a { width: 100%; padding: 12px 16px; font-size: 0.95rem; border-radius: 6px; }
    .audio-controls { display: none; }
    .hero { padding: 100px 20px 60px; min-height: 90vh; }
    .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
    .grid-layout { grid-template-columns: 1fr; }
    .section { padding: 60px 20px; }
    .modules-section { padding: 60px 20px; }
    .contact-section { padding: 60px 20px; }
    .module-card-inner { padding: 24px 20px; }
    .module-header h3 { font-size: 1.15rem; }
    .footer-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    header { height: 56px; }
    .header-inner { height: 56px; padding: 0 12px; }
    .brand-icon img { height: 28px; width: 28px; }
    .brand-name { font-size: 1rem; }
    nav { top: 56px; }
    .hero { padding: 80px 16px 50px; min-height: 85vh; }
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; padding: 12px 24px; }
    .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
    .module-card-inner { padding: 20px 16px; }
    .btn-discord { padding: 12px 24px; font-size: 0.9rem; }
}