/* Topbar */
.topbar{
    position: sticky; top:0; z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(6,6,12,.55);
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__in{
    display:flex; align-items:center; gap:16px;
    padding: 14px 0;
}

.brand{
    display:flex; align-items:baseline; gap:10px;
    font-weight:900; letter-spacing:-0.02em;
}
.brand__dot{
    width:10px; height:10px; border-radius:999px;
    background: var(--c1);
    box-shadow:
            0 0 0 6px rgba(0,255,136,.14),
            0 0 22px rgba(0,255,136,.35);
}
.brand__name{ font-size: 18px; }
.brand__sub{
    font-size: 12px;
    color: rgba(255,255,255,.70);
    font-weight: 900;
    letter-spacing: .26em;
    text-shadow: 0 0 18px rgba(0,183,255,.22);
}

.nav{ display:flex; gap:14px; margin-left: 10px; }
.nav a{
    padding: 10px 12px;
    color: rgba(255,255,255,.74);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.nav a:hover{
    background: rgba(255,255,255,.06);
    color: var(--text);
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.14);
}

.topbar__actions{ margin-left:auto; display:flex; align-items:center; gap:10px; }

.burger{ display:none; margin-left:auto; background:none; border:0; padding:10px; border-radius: 12px; }
.burger span{ display:block; width:22px; height:2px; background: rgba(255,255,255,.72); margin:5px 0; border-radius: 2px; }

.mobileNav{
    display:none;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(255,255,255,.10);
}
.mobileNav a{ display:block; padding: 12px 0; color: rgba(255,255,255,.74); }
.mobileNav a:hover{ color: var(--text); }

@media (max-width: 820px){
    .nav{ display:none; }
    .topbar__actions{ display:none; }
    .burger{ display:block; }
    .mobileNav.is-open{ display:block; }
}

/* Buttons — neon + shimmer */
.btn{
    position: relative;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: var(--text);
    padding: 11px 14px;
    border-radius: 16px;
    cursor:pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
    overflow:hidden;
}
.btn::after{
    content:"";
    position:absolute;
    inset:-40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    transform: translateX(-60%) skewX(-18deg);
    opacity:0;
}
.btn:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    filter: brightness(1.05);
}
.btn:hover::after{
    opacity:1;
    animation: shimmer .9s ease;
}
@keyframes shimmer{
    from{ transform: translateX(-70%) skewX(-18deg); }
    to{ transform: translateX(70%) skewX(-18deg); }
}
.btn:active{ transform: translateY(0); }

.btn--primary{
    border-color: rgba(0,255,136,.28);
    background:
            radial-gradient(120px 80px at 15% 20%, rgba(0,255,136,.20), transparent 60%),
            linear-gradient(180deg, rgba(0,255,136,.18), rgba(0,183,255,.10));
    box-shadow:
            0 18px 60px rgba(0,255,136,.12),
            0 14px 50px rgba(0,183,255,.10);
}
.btn--primary:hover{
    border-color: rgba(0,255,136,.40);
    box-shadow:
            0 22px 70px rgba(0,255,136,.16),
            0 18px 55px rgba(180,0,255,.10);
}
.btn--ghost{
    background: rgba(255,255,255,.04);
}

.ico{ margin-right: 8px; }

/* Sections */
.section{ padding: 62px 0; }
.section__head{
    display:flex; align-items:flex-end; justify-content:space-between;
    gap:18px; margin-bottom: 18px;
}
@media (max-width: 900px){
    .section__head{ flex-direction:column; align-items:stretch; }
}

/* Filters */
.filters{
    display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap;
}
.field{ display:flex; flex-direction:column; gap:6px; }
.label{ font-size: 12px; color: rgba(255,255,255,.72); }

.input, .select{
    min-width: 220px;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input:focus, .select:focus{
    border-color: rgba(0,255,136,.32);
    box-shadow:
            0 0 0 6px rgba(0,255,136,.10),
            0 0 0 1px rgba(0,183,255,.16) inset;
    background: rgba(255,255,255,.06);
}

/* Grid */
.grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{ grid-template-columns: 1fr;} }

/* Cards — neon border + hover 3D + glow */
.card{
    position:relative;
    border-radius: var(--r2);
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.12);
    overflow:hidden;
    box-shadow: var(--shadow);
    cursor:pointer;
    transform: translateZ(0);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.card::before{
    content:"";
    position:absolute; inset:-1px;
    background: linear-gradient(120deg, rgba(0,255,136,.0), rgba(0,183,255,.18), rgba(180,0,255,.18), rgba(255,43,214,.12), rgba(0,255,136,.0));
    opacity: .0;
    transition: opacity .18s ease;
    pointer-events:none;
}
.card::after{
    content:"";
    position:absolute;
    left:-40%;
    top:-30%;
    width: 60%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-18deg);
    opacity: 0;
}
.card:hover{
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(0,255,136,.22);
    background: rgba(255,255,255,.075);
    box-shadow:
            0 38px 110px rgba(0,0,0,.68),
            0 0 0 1px rgba(0,183,255,.08) inset;
}
.card:hover::before{ opacity: 1; }
.card:hover::after{
    opacity: 1;
    animation: cardSweep .95s ease;
}
@keyframes cardSweep{
    from{ left:-50%; opacity: 0; }
    20%{ opacity: 1; }
    to{ left:130%; opacity: 0; }
}

.card__img{
    height: 158px;
    background: rgba(0,0,0,.28);
    overflow:hidden;
    position:relative;
}
.card__img::after{
    content:"";
    position:absolute; inset:0;
    background: radial-gradient(500px 180px at 30% 10%, rgba(0,255,136,.12), transparent 60%),
    radial-gradient(500px 180px at 70% 10%, rgba(180,0,255,.10), transparent 60%);
    opacity:.9;
    pointer-events:none;
}
.card__img img{
    width:100%; height:100%;
    object-fit:cover;
    opacity:.92;
    transform: scale(1.05);
    transition: transform .35s ease, filter .35s ease, opacity .35s ease;
    filter: saturate(1.08) contrast(1.05);
}
.card:hover .card__img img{
    transform: scale(1.12);
    opacity:.98;
    filter: saturate(1.22) contrast(1.10);
}

.card__body{ padding: 14px; }
.card__title{
    font-weight: 950;
    letter-spacing:-0.03em;
    margin: 0 0 6px;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.card__desc{
    margin:0;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    line-height: 1.5;
    min-height: 2.9em;
}
.card__row{
    display:flex; justify-content:space-between; align-items:center;
    margin-top: 12px; gap:10px;
}

.pillTag{
    font-size: 12px;
    color: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Badges — strong neon */
.badge{
    position:absolute; top: 10px; left: 10px;
    font-size: 12px; font-weight:900; letter-spacing:.10em;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.badge--live{
    border-color: rgba(0,255,136,.38);
    color: rgba(0,255,136,.95);
    text-shadow: 0 0 14px rgba(0,255,136,.32);
}
.badge--wip{
    border-color: rgba(255,179,0,.38);
    color: rgba(255,179,0,.92);
    text-shadow: 0 0 14px rgba(255,179,0,.24);
}
.badge--soon{
    border-color: rgba(0,183,255,.28);
    color: rgba(0,183,255,.90);
    text-shadow: 0 0 14px rgba(0,183,255,.22);
}

/* Empty */
.empty{
    margin-top: 14px;
    border-radius: var(--r2);
    padding: 18px;
    border: 1px dashed rgba(255,255,255,.18);
    background: rgba(255,255,255,.04);
}
.empty__title{ font-weight: 950; margin-bottom: 6px; }

/* Modal — neon frame + smooth */
.modal{ position:fixed; inset:0; z-index: 80; }
.modal__backdrop{
    position:absolute; inset:0;
    background: radial-gradient(900px 700px at 50% 20%, rgba(0,183,255,.10), rgba(0,0,0,.72));
}
.modal__panel{
    position:relative;
    width: min(880px, calc(100% - 26px));
    margin: 70px auto;
    border-radius: 26px;
    background: rgba(10,10,18,.92);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 40px 130px rgba(0,0,0,.75);
    overflow:hidden;
    animation: pop .16s ease-out;
}
.modal__panel::before{
    content:"";
    position:absolute; inset:-2px;
    background: linear-gradient(120deg, rgba(0,255,136,.20), rgba(0,183,255,.18), rgba(180,0,255,.18), rgba(255,43,214,.14));
    opacity:.35;
    filter: blur(10px);
    pointer-events:none;
}
@keyframes pop{
    from{ transform: translateY(10px) scale(.985); opacity:0; }
    to{ transform: translateY(0) scale(1); opacity:1; }
}

.modal__x{
    position:absolute; top: 10px; right: 10px;
    width: 42px; height: 42px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: var(--text);
    cursor:pointer;
    z-index: 2;
}

.modal__media{ position:relative; height: 250px; background: rgba(0,0,0,.35); }
.modal__media img{ width:100%; height:100%; object-fit:cover; opacity:.96; }
.modal__content{ padding: 16px; position:relative; z-index:1; }
.modal__title{ margin: 0 0 8px; font-weight: 950; letter-spacing:-0.03em; }
.modal__desc{ margin:0 0 12px; color: rgba(255,255,255,.72); line-height:1.7; }

.metaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px; }
.metaPill{
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.82);
}
.modal__actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Footer */
.footer{ padding: 30px 0 42px; border-top: 1px solid rgba(255,255,255,.10); }
.footer__in{ display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }

@media (hover:hover){
    .card:hover{ transform: translateY(-5px) rotateX(1.4deg) rotateY(-1.2deg) scale(1.012); }
}
