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

:root{
    --bg:#050505;
    --panel:#0b0b0b;
    --border:#1a1a1a;
    --text:#ffffff;
    --muted:#8d8d8d;
    --discord:#5865F2;
}

html,body{
    width:100%;
    height:100%;
    overflow:hidden;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,sans-serif;
}

canvas{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:0;
}

.page{
    position:relative;
    z-index:2;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.tabbar{
    position:fixed;
    top:24px;
    left:0;
    right:0;
    z-index:3;
    display:flex;
    justify-content:center;
    padding:0 20px;
}

.tabs{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:8px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(10,10,10,.72);
    backdrop-filter:blur(14px);
    box-shadow:0 12px 40px rgba(0,0,0,.28);
}

.tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:112px;
    padding:10px 18px;
    text-decoration:none;
    color:var(--muted);
    font-size:.82rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    border:1px solid transparent;
    transition:background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.tab:hover{
    color:var(--text);
    border-color:rgba(255,255,255,.08);
    background:rgba(255,255,255,.03);
    transform:translateY(-1px);
}

#selected-tab{
    color:var(--text);
    background:linear-gradient(135deg, rgba(88,101,242,.24), rgba(88,101,242,.1));
    border-color:rgba(88,101,242,.42);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}

.panel{
    width:min(1000px,90vw);
    background:var(--panel);
    border:1px solid var(--border);
}

.header{
    border-bottom:1px solid var(--border);
    padding:22px 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
}

.logo{
    width:48px;
    height:48px;
    object-fit:contain;
}

.brand h1{
    font-size:14px;
    font-weight:800;
    letter-spacing:.18em;
}

.brand p{
    margin-top:4px;
    color:var(--muted);
    font-size:13px;
}

.content{
    padding:48px 48px 40px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.hero{
    font-size:clamp(2.4rem,5vw,4.8rem);
    font-weight:800;
    line-height:0.95;
    letter-spacing:-0.06em;
    max-width:700px;
}

.description{
    margin-top:28px;
    max-width:620px;
    font-size:1rem;
    line-height:1.75;
    color:#b5b5b5;
}

.download-content{
    gap:0;
}

.download-card{
    margin-top:36px;
    width:min(100%,620px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:24px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.download-label{
    color:var(--muted);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.download-title{
    margin-top:10px;
    font-size:1.35rem;
    font-weight:800;
    letter-spacing:-0.03em;
}

.download-meta{
    margin-top:8px;
    color:#a7a7a7;
    font-size:.95rem;
    line-height:1.5;
}

.download-button{
    white-space:nowrap;
    min-width:180px;
}

.download-steps{
    width:min(100%,620px);
    margin-top:24px;
}

.download-step{
    display:flex;
    align-items:center;
    gap:10px;
}

.download-step span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    border-radius:999px;
    background:rgba(88,101,242,.18);
    color:var(--text);
    font-size:.8rem;
    font-weight:800;
    flex:none;
}

.download-note{
    margin-top:22px;
    color:#848484;
    font-size:.9rem;
}

.community-content{
    gap:0;
}

.community-card{
    margin-top:36px;
    width:min(100%,620px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:24px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.community-label{
    color:var(--muted);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.community-title{
    margin-top:10px;
    font-size:1.35rem;
    font-weight:800;
    letter-spacing:-0.03em;
}

.community-meta{
    margin-top:8px;
    color:#a7a7a7;
    font-size:.95rem;
    line-height:1.5;
}

.community-button{
    white-space:nowrap;
    min-width:180px;
}

.community-features{
    width:min(100%,620px);
    margin-top:24px;
}

.features{
    margin-top:40px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:center;
}

.feature{
    border:1px solid var(--border);
    padding:12px 14px;
    color:#d0d0d0;
    font-size:.9rem;
    font-weight:600;
}

.actions{
    margin-top:40px;
    display:flex;
    justify-content:center;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:14px 20px;
    font-weight:700;
    transition:.15s ease;
    border:1px solid transparent;
}

.btn-primary{
    background:var(--discord);
    color:white;
}

.btn-primary:hover{
    filter:brightness(1.08);
}

.btn-secondary{
    background:transparent;
    color:white;
    border-color:var(--border);
}

.btn-secondary:hover{
    border-color:#2a2a2a;
    background:#111;
}

.footer{
    margin-top:32px;
    color:#666;
    font-size:.85rem;
}

.scanline{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:1;
    background:
    repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,.012) 3px
    );
}

@media(max-width:900px){

    .tabbar{
        top:16px;
    }

    .tabs{
        width:min(100%,280px);
    }

    .tab{
        min-width:0;
        flex:1;
        padding:10px 12px;
    }

    .page{
        padding:20px;
        justify-content:center;
    }

    .content{
        padding:32px;
    }

    .download-card{
        flex-direction:column;
        align-items:stretch;
    }

    .community-card{
        flex-direction:column;
        align-items:stretch;
    }

    .download-button{
        width:100%;
        min-width:0;
    }

    .community-button{
        width:100%;
        min-width:0;
    }

    .hero{
        font-size:2.5rem;
    }

    .actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }
}
