:root{
    --bg:#09090f;
    --bg2:#12121b;
    --card:#181826;
    --card-hover:#202033;
    --border:#2d2d45;
    --purple:#8b5cf6;
    --purple2:#a855f7;
    --text:#ffffff;
    --muted:#9ca3af;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter,sans-serif;
}

body{
    background:linear-gradient(180deg,var(--bg),var(--bg2));
    color:var(--text);
    min-height:100vh;
}

.background{
    position:fixed;
    inset:0;
    z-index:-1;
    background:
        radial-gradient(circle at top left,#8b5cf625,transparent 35%),
        radial-gradient(circle at bottom right,#a855f720,transparent 40%);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px 8%;
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(12px);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--purple);
    box-shadow:0 0 15px var(--purple);
}

.logo h1{
    font-size:30px;
    font-weight:800;
}

nav{
    display:flex;
    gap:24px;
}

nav a{
    color:var(--muted);
    text-decoration:none;
    transition:.2s;
}

nav a:hover{
    color:white;
}

.hero{
    width:min(1200px,92%);
    margin:70px auto;
}

.hero-text{
    text-align:center;
    margin-bottom:40px;
}

.hero-text h2{
    font-size:48px;
    margin-bottom:14px;
}

.hero-text p{
    color:var(--muted);
    max-width:650px;
    margin:auto;
    line-height:1.7;
}

.search-panel{
    background:rgba(24,24,38,.75);
    backdrop-filter:blur(18px);
    border:1px solid var(--border);
    border-radius:18px;
    padding:24px;
}

#search,
select{
    width:100%;
    padding:15px;
    border-radius:12px;
    background:#11111a;
    color:white;
    border:1px solid var(--border);
    outline:none;
    transition:.2s;
}

#search:focus,
select:focus{
    border-color:var(--purple);
}

.filters{
    margin-top:15px;
}

.addons{
    width:min(1200px,92%);
    margin:auto;
    padding-bottom:70px;
}

.addon-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:24px;
}

.addon-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    transition:.25s;
}

.addon-card:hover{
    background:var(--card-hover);
    border-color:var(--purple);
    transform:translateY(-5px);
}

.card-top{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.card-top img{
    width:46px;
    height:46px;
    border-radius:50%;
}

.addon-name{
    font-size:22px;
    font-weight:700;
}

.addon-version{
    margin-left:auto;
    background:rgba(139,92,246,.15);
    color:#c4b5fd;
    border:1px solid rgba(139,92,246,.3);
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
}

.addon-description{
    color:var(--muted);
    line-height:1.6;
    margin:18px 0 28px;
}

.card-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.addon-author{
    color:#c4b5fd;
    font-size:14px;
}

.download-btn{
    background:linear-gradient(135deg,var(--purple),var(--purple2));
    color:white;
    text-decoration:none;
    padding:11px 20px;
    border-radius:12px;
    font-weight:600;
    transition:.2s;
}

.download-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 20px rgba(139,92,246,.35);
}

footer{
    text-align:center;
    padding:35px;
    border-top:1px solid var(--border);
    color:var(--muted);
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:var(--purple);
    border-radius:999px;
}

::-webkit-scrollbar-track{
    background:#11111a;
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-text h2{
        font-size:36px;
    }

    .addon-grid{
        grid-template-columns:1fr;
    }

}
