
/* =========================================================
   THE NEXUS UNIVERSE
   PROJECT STORE v1.0
   Cosmic Portal Design System
========================================================= */

/* =========================================================
   1. DESIGN TOKENS
========================================================= */

:root {
    --store-bg: #05010a;
    --store-bg-soft: #0b0614;
    --store-surface: rgba(17, 10, 31, 0.78);
    --store-surface-hover: rgba(28, 16, 49, 0.94);

    --store-purple: #a020f0;
    --store-purple-light: #c084fc;
    --store-cyan: #00aaff;
    --store-pink: #ff66ff;

    --store-text: #ffffff;
    --store-text-muted: #aaa2bf;
    --store-text-subtle: #77708e;

    --store-border: rgba(175, 125, 255, 0.18);
    --store-border-hover: rgba(0, 170, 255, 0.58);

    --store-gradient:
        linear-gradient(
            110deg,
            var(--store-purple),
            var(--store-cyan) 58%,
            var(--store-pink)
        );

    --store-radius-sm: 10px;
    --store-radius-md: 16px;
    --store-radius-lg: 24px;

    --store-content-width: 1240px;

    --store-transition:
        220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* =========================================================
   2. PAGE FOUNDATION
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.store-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

    color: var(--store-text);
    background: var(--store-bg);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body.store-page *,
body.store-page *::before,
body.store-page *::after {
    box-sizing: border-box;
}

body.store-page button,
body.store-page input,
body.store-page select {
    font: inherit;
}

body.store-page button,
body.store-page a,
body.store-page select {
    -webkit-tap-highlight-color: transparent;
}

body.store-page a {
    color: inherit;
}

body.store-page button {
    color: inherit;
}

body.store-page ::selection {
    color: #ffffff;
    background: rgba(160, 32, 240, 0.65);
}

body.store-page :focus-visible {
    outline: 2px solid var(--store-cyan);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   3. COSMIC BACKGROUND
========================================================= */

#universe {
    position: fixed;
    inset: 0;
    z-index: -2;

    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(90, 20, 145, 0.15),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 38%,
            rgba(0, 100, 180, 0.12),
            transparent 43%
        ),
        var(--store-bg);
}

#stars-canvas {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0.72;
}

#nebula-layer {
    position: absolute;
    inset: -20%;

    background:
        radial-gradient(
            ellipse at 25% 30%,
            rgba(126, 34, 206, 0.13),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 72% 60%,
            rgba(0, 170, 255, 0.09),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(180, 30, 180, 0.07),
            transparent 45%
        );

    filter: blur(35px);
    opacity: 0.9;

    animation: nebulaDrift 30s ease-in-out infinite alternate;
}

@keyframes nebulaDrift {
    from {
        transform: translate3d(-1%, -1%, 0) scale(1);
    }

    to {
        transform: translate3d(1%, 1%, 0) scale(1.05);
    }
}


/* =========================================================
   4. NAVIGATION
========================================================= */

#store-navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;
    min-height: 76px;
    padding: 14px clamp(20px, 5vw, 72px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: rgba(5, 1, 10, 0.76);
    border-bottom: 1px solid rgba(180, 140, 255, 0.10);

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

#navbar-logo-wrapper {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    text-decoration: none;
}

#navbar-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

#store-navbar nav {
    display: flex;
    align-items: center;
}

#store-navbar .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 2vw, 28px);

    margin: 0;
    padding: 0;

    list-style: none;
}

#store-navbar .nav-link {
    position: relative;

    display: inline-block;
    padding: 9px 0;

    color: var(--store-text-muted);
    text-decoration: none;
    font-size: 0.9rem;

    transition: color var(--store-transition);
}

#store-navbar .nav-link:hover,
#store-navbar .nav-link.active {
    color: #ffffff;
}

#store-navbar .nav-link.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;
    border-radius: 2px;

    background: var(--store-gradient);
    box-shadow: 0 0 12px rgba(160, 32, 240, 0.45);
}

#store-navbar .nav-icon-button {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border: 1px solid var(--store-border);
    border-radius: 12px;

    color: #d7c9f5;
    background: rgba(160, 32, 240, 0.08);

    font-size: 1.4rem;
    cursor: pointer;

    transition:
        background var(--store-transition),
        border-color var(--store-transition),
        transform var(--store-transition);
}

#store-navbar .nav-icon-button:hover {
    background: rgba(160, 32, 240, 0.2);
    border-color: var(--store-border-hover);
    transform: translateY(-2px);
}


/* =========================================================
   5. SHARED SECTION STYLES
========================================================= */

#store-main {
    position: relative;
    z-index: 1;
}

.store-section {
    width: min(
        var(--store-content-width),
        calc(100% - 48px)
    );

    margin-inline: auto;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 30px;
}

.section-eyebrow,
.store-eyebrow {
    margin: 0 0 12px;

    color: #b9a0f9;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.section-description {
    margin: 12px 0 0;

    color: var(--store-text-muted);

    font-size: 0.96rem;
    line-height: 1.7;
}

.section-symbol {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    color: var(--store-purple-light);
    background: rgba(160, 32, 240, 0.09);

    border: 1px solid var(--store-border);
    border-radius: 15px;

    font-size: 1.5rem;

    box-shadow: 0 0 30px rgba(160, 32, 240, 0.07);
}


/* =========================================================
   6. PORTAL HERO
========================================================= */

.store-hero {
    position: relative;

    min-height: 620px;
    padding: 110px 24px 100px;

    display: grid;
    place-items: center;

    overflow: hidden;
    isolation: isolate;

    text-align: center;
}

.store-hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(100, 30, 170, 0.11),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            transparent 65%,
            var(--store-bg) 100%
        );

    pointer-events: none;
}

.store-hero-content {
    position: relative;
    z-index: 3;

    width: min(780px, 100%);
    margin-inline: auto;
}

.store-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 22px;

    color: #c4b5fd;
}

.status-indicator {
    width: 7px;
    height: 7px;
    flex-shrink: 0;

    border-radius: 50%;
    background: #8b5cf6;

    box-shadow: 0 0 12px rgba(160, 32, 240, 0.85);
}

.store-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.7rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.02;

    text-wrap: balance;

    text-shadow: 0 0 45px rgba(160, 32, 240, 0.13);
}

.title-period {
    color: var(--store-cyan);
}

.hero-title-accent {
    display: block;

    margin-top: 9px;

    background: linear-gradient(
        100deg,
        #d4b5ff 5%,
        #a78bfa 38%,
        #67d5ff 75%,
        #ff9df2 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    color: #c4b5fd;
}

.store-hero-description {
    max-width: 520px;
    margin: 25px auto 30px;

    color: #b7aecb;

    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 50px;
    padding: 0 24px;

    color: #ffffff;
    background:
        linear-gradient(
            110deg,
            rgba(160, 32, 240, 0.85),
            rgba(0, 130, 220, 0.85)
        );

    border: 1px solid rgba(205, 170, 255, 0.42);
    border-radius: 13px;

    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;

    box-shadow:
        0 8px 35px rgba(100, 30, 190, 0.18),
        inset 0 1px rgba(255, 255, 255, 0.13);

    transition:
        transform var(--store-transition),
        box-shadow var(--store-transition),
        border-color var(--store-transition);
}

.hero-cta:hover {
    transform: translateY(-3px);

    border-color: rgba(130, 210, 255, 0.75);

    box-shadow:
        0 12px 42px rgba(100, 30, 190, 0.3),
        0 0 22px rgba(0, 170, 255, 0.12);
}

.hero-cta span {
    font-size: 1.15rem;
}


/* =========================================================
   7. PORTAL VISUAL
========================================================= */

.portal-scene {
    position: absolute;
    z-index: -1;

    top: 50%;
    left: 50%;

    width: min(530px, 94vw);
    aspect-ratio: 1;

    transform: translate(-50%, -50%);

    pointer-events: none;
    opacity: 0.78;
}

.portal-glow {
    position: absolute;
    inset: 18%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(100, 35, 170, 0.17),
            rgba(0, 140, 255, 0.07) 42%,
            transparent 70%
        );

    filter: blur(22px);

    animation: portalGlow 7s ease-in-out infinite alternate;
}

.portal-ring {
    position: absolute;
    inset: 15%;

    border-radius: 50%;
    border-style: solid;

    transform-origin: center;
}

.portal-ring-outer {
    inset: 8%;

    border-width: 1px;

    border-color: rgba(160, 32, 240, 0.38);

    box-shadow:
        0 0 24px rgba(160, 32, 240, 0.08),
        inset 0 0 24px rgba(0, 170, 255, 0.04);

    animation: portalRotate 48s linear infinite;
}

.portal-ring-middle {
    inset: 14%;

    border-width: 2px;

    border-color: transparent;
    border-top-color: rgba(0, 170, 255, 0.68);
    border-right-color: rgba(160, 32, 240, 0.25);

    filter: drop-shadow(0 0 9px rgba(0, 170, 255, 0.25));

    animation: portalRotateReverse 30s linear infinite;
}

.portal-ring-inner {
    inset: 20%;

    border-width: 1px;

    border-color: rgba(190, 130, 255, 0.22);

    box-shadow:
        0 0 35px rgba(160, 32, 240, 0.09),
        inset 0 0 30px rgba(0, 170, 255, 0.04);

    animation: portalPulse 6s ease-in-out infinite;
}

.portal-core {
    position: absolute;
    inset: 25%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(10, 4, 24, 0.08) 20%,
            rgba(50, 12, 90, 0.06) 50%,
            transparent 72%
        );
}

.portal-particles {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 50% 9%,
            rgba(160, 32, 240, 0.9) 0 2px,
            transparent 4px
        ),
        radial-gradient(
            circle at 90% 52%,
            rgba(0, 170, 255, 0.9) 0 2px,
            transparent 4px
        ),
        radial-gradient(
            circle at 24% 85%,
            rgba(255, 102, 255, 0.8) 0 2px,
            transparent 4px
        ),
        radial-gradient(
            circle at 12% 35%,
            rgba(0, 170, 255, 0.75) 0 1px,
            transparent 3px
        );

    filter: drop-shadow(0 0 7px rgba(160, 32, 240, 0.7));

    animation: portalParticleOrbit 38s linear infinite;
}

@keyframes portalRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes portalRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes portalPulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.99);
    }

    50% {
        opacity: 1;
        transform: scale(1.015);
    }
}

@keyframes portalGlow {
    from {
        opacity: 0.55;
        transform: scale(0.94);
    }

    to {
        opacity: 0.95;
        transform: scale(1.06);
    }
}

@keyframes portalParticleOrbit {
    to {
        transform: rotate(360deg);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;

    transform: translateX(-50%);

    color: #807794;
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;

    transition: color var(--store-transition);
}

.hero-scroll-indicator:hover {
    color: #d7c9f5;
}

.scroll-indicator-line {
    display: block;

    width: 1px;
    height: 30px;

    background: linear-gradient(
        to bottom,
        rgba(160, 32, 240, 0.1),
        rgba(0, 170, 255, 0.8)
    );

    animation: scrollLinePulse 2.2s ease-in-out infinite;
}

@keyframes scrollLinePulse {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(0.8);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
}


/* =========================================================
   8. FEATURED PROJECTS
========================================================= */

.featured-section {
    position: relative;
    padding-top: 56px;
    padding-bottom: 100px;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.featured-card {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 340px;
    padding: 24px;

    overflow: hidden;

    background:
        linear-gradient(
            150deg,
            rgba(27, 15, 46, 0.93),
            rgba(10, 6, 20, 0.96)
        );

    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-lg);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);

    transition:
        transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
        border-color var(--store-transition),
        box-shadow var(--store-transition);
}

.featured-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            ellipse at 85% 8%,
            var(--project-accent, rgba(160, 32, 240, 0.2)),
            transparent 48%
        );

    opacity: 0.75;

    transition: opacity var(--store-transition);
}

.featured-card::after {
    content: "";

    position: absolute;
    top: 0;
    left: 18%;

    width: 64%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--project-accent, #a020f0),
        transparent
    );

    opacity: 0.75;
}

.featured-card:hover {
    transform: translateY(-6px);

    border-color: var(--store-border-hover);

    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.25),
        0 0 26px rgba(100, 35, 170, 0.09);
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card-visual {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 142px;
    margin-bottom: 22px;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            var(--project-accent-soft, rgba(160, 32, 240, 0.14)),
            transparent 68%
        );

    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 15px;
}

.featured-card-icon {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;

    color: var(--project-accent, #c084fc);

    background: rgba(5, 1, 10, 0.48);
    border: 1px solid var(--store-border);
    border-radius: 23px;

    font-size: 2rem;

    box-shadow: 0 0 34px var(--project-accent-soft, transparent);

    transition:
        transform 280ms ease,
        box-shadow 280ms ease;
}

.featured-card:hover .featured-card-icon {
    transform: translateY(-3px) scale(1.04);

    box-shadow: 0 0 45px var(--project-accent-soft, transparent);
}

.featured-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.featured-card h3 {
    margin: 0 0 10px;

    font-size: 1.35rem;
    font-weight: 720;
    letter-spacing: -0.035em;
}

.featured-card-description {
    margin: 0 0 20px;

    color: var(--store-text-muted);

    font-size: 0.9rem;
    line-height: 1.75;
}

.featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    width: 100%;
    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}


/* =========================================================
   9. PROJECT STATUS AND CATEGORY TAGS
========================================================= */

.project-tags,
.modal-project-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    color: #c8bbdf;
    background: rgba(160, 32, 240, 0.09);

    border: 1px solid rgba(160, 32, 240, 0.17);
    border-radius: 7px;

    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.25;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #bcb3ce;

    font-size: 0.74rem;
    font-weight: 600;
}

.project-status::before {
    content: "";

    width: 6px;
    height: 6px;
    flex-shrink: 0;

    border-radius: 50%;
    background: currentColor;
}

.project-status.status-available {
    color: #76e6ba;
}

.project-status.status-development {
    color: #ffc77a;
}

.project-status.status-experimental {
    color: #91cfff;
}


/* =========================================================
   10. PROJECT BUTTONS
========================================================= */

.project-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 40px;
    padding: 0 14px;

    color: #eee7ff;
    background: rgba(160, 32, 240, 0.1);

    border: 1px solid rgba(160, 32, 240, 0.27);
    border-radius: 10px;

    font-size: 0.8rem;
    font-weight: 650;

    cursor: pointer;

    transition:
        background var(--store-transition),
        border-color var(--store-transition),
        transform var(--store-transition);
}

.project-details-button:hover {
    transform: translateY(-1px);

    background: rgba(160, 32, 240, 0.2);
    border-color: rgba(160, 32, 240, 0.55);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;
    padding: 0 19px;

    color: #eee7ff;
    background: rgba(160, 32, 240, 0.11);

    border: 1px solid rgba(160, 32, 240, 0.3);
    border-radius: 11px;

    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;

    cursor: pointer;

    transition:
        background var(--store-transition),
        border-color var(--store-transition),
        transform var(--store-transition);
}

.secondary-button:hover {
    transform: translateY(-2px);

    background: rgba(160, 32, 240, 0.2);
    border-color: rgba(0, 170, 255, 0.55);
}


/* =========================================================
   11. PROJECT CATALOG
========================================================= */

.catalog-section {
    padding-top: 42px;
    padding-bottom: 100px;

    border-top: 1px solid rgba(180, 140, 255, 0.09);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 30px;
}

.catalog-search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;

    width: min(540px, 100%);
    min-height: 50px;
    padding: 0 15px;

    background: rgba(16, 9, 29, 0.82);

    border: 1px solid var(--store-border);
    border-radius: 13px;

    transition:
        border-color var(--store-transition),
        box-shadow var(--store-transition),
        background var(--store-transition);
}

.catalog-search-wrapper:focus-within {
    background: rgba(19, 11, 35, 0.96);

    border-color: rgba(0, 170, 255, 0.58);

    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.07);
}

.search-icon {
    color: #a99bc8;
    font-size: 1.45rem;
    line-height: 1;
}

.catalog-search {
    flex: 1;

    width: 100%;
    min-width: 0;
    padding: 14px 0;

    color: #ffffff;
    background: transparent;

    border: 0;
    outline: none;

    font-size: 0.9rem;
}

.catalog-search:focus-visible {
    outline: none;
}

.catalog-search::placeholder {
    color: #827895;
    opacity: 1;
}

.catalog-search::-webkit-search-cancel-button {
    display: none;
}

.clear-search-button {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    color: #bcb0d2;
    background: transparent;

    border: 0;
    border-radius: 8px;

    font-size: 1.4rem;
    cursor: pointer;
}

.clear-search-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.catalog-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.catalog-sort-wrapper label {
    color: var(--store-text-muted);
    font-size: 0.8rem;
}

.catalog-sort {
    min-height: 46px;
    padding: 0 34px 0 12px;

    color: #ded5f1;
    background-color: #110a1e;

    border: 1px solid var(--store-border);
    border-radius: 10px;

    font-size: 0.8rem;

    cursor: pointer;
}

.catalog-sort option {
    color: #ffffff;
    background: #110a1e;
}

.category-filter-section {
    margin-top: 24px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.category-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 0 15px;

    color: #aaa1bd;
    background: rgba(14, 8, 25, 0.72);

    border: 1px solid rgba(175, 125, 255, 0.13);
    border-radius: 10px;

    font-size: 0.82rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        color var(--store-transition),
        background var(--store-transition),
        border-color var(--store-transition),
        transform var(--store-transition);
}

.category-filter:hover {
    color: #ffffff;

    background: rgba(160, 32, 240, 0.1);
    border-color: rgba(160, 32, 240, 0.35);
}

.category-filter.active {
    color: #ffffff;

    background: linear-gradient(
        110deg,
        rgba(160, 32, 240, 0.19),
        rgba(0, 170, 255, 0.1)
    );

    border-color: rgba(160, 32, 240, 0.5);

    box-shadow: inset 0 0 18px rgba(160, 32, 240, 0.035);
}

.category-filter.active span {
    color: #c4a3ff;
}

.category-filter:active {
    transform: scale(0.97);
}

.catalog-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin: 27px 0 17px;
}

.catalog-results-count {
    margin: 0;

    color: var(--store-text-subtle);
    font-size: 0.8rem;
}

.reset-filters-button {
    padding: 7px 10px;

    color: #bda5f9;
    background: transparent;

    border: 0;
    border-radius: 7px;

    font-size: 0.8rem;
    cursor: pointer;

    transition:
        color var(--store-transition),
        background var(--store-transition);
}

.reset-filters-button:hover {
    color: #ffffff;
    background: rgba(160, 32, 240, 0.12);
}


/* =========================================================
   12. PROJECT GRID AND CARDS
========================================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 295px;
    padding: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(20, 12, 35, 0.89),
            rgba(9, 5, 17, 0.94)
        );

    border: 1px solid rgba(175, 125, 255, 0.15);
    border-radius: var(--store-radius-md);

    transition:
        transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
        border-color var(--store-transition),
        background var(--store-transition),
        box-shadow var(--store-transition);
}

.project-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            ellipse at 100% 0%,
            var(--project-accent-soft, rgba(160, 32, 240, 0.12)),
            transparent 58%
        );

    opacity: 0.65;

    transition: opacity var(--store-transition);
}

.project-card:hover {
    transform: translateY(-5px);

    background: var(--store-surface-hover);
    border-color: var(--store-border-hover);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.2),
        0 0 22px rgba(100, 35, 170, 0.06);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card-visual {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 110px;
    margin-bottom: 19px;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            var(--project-accent-soft, rgba(160, 32, 240, 0.15)),
            transparent 70%
        );

    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.project-card-icon {
    display: grid;
    place-items: center;

    width: 59px;
    height: 59px;

    color: var(--project-accent, #c084fc);
    background: rgba(5, 1, 10, 0.5);

    border: 1px solid rgba(175, 125, 255, 0.22);
    border-radius: 17px;

    font-size: 1.65rem;

    transition:
        transform 260ms ease,
        box-shadow 260ms ease;
}

.project-card:hover .project-card-icon {
    transform: scale(1.06);

    box-shadow: 0 0 24px var(--project-accent-soft, transparent);
}

.project-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.project-card h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 1.13rem;
    font-weight: 720;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.project-card-description {
    display: -webkit-box;

    margin: 0 0 17px;
    overflow: hidden;

    color: var(--store-text-muted);

    font-size: 0.85rem;
    line-height: 1.7;

    -webkit-box-orient: vertical;
    line-clamp: 3;
}

.project-card .project-tags {
    margin-top: auto;
    padding-top: 5px;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 17px;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================================
   13. LOADING AND EMPTY STATES
========================================================= */

.store-loading {
    grid-column: 1 / -1;

    margin: 0;
    padding: 40px 20px;

    color: var(--store-text-muted);

    font-size: 0.9rem;
    text-align: center;
}

.catalog-empty-state {
    padding: 70px 20px;

    text-align: center;

    border: 1px dashed rgba(175, 125, 255, 0.2);
    border-radius: var(--store-radius-lg);

    background: rgba(16, 9, 29, 0.35);
}

.empty-state-icon {
    margin-bottom: 16px;

    color: #a78bfa;
    font-size: 3rem;

    text-shadow: 0 0 30px rgba(160, 32, 240, 0.35);
}

.catalog-empty-state h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.catalog-empty-state p {
    margin: 0 auto 22px;
    max-width: 440px;

    color: var(--store-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   14. CLOSING BANNER
========================================================= */

.universe-banner {
    position: relative;
    isolation: isolate;

    width: min(
        var(--store-content-width),
        calc(100% - 48px)
    );

    min-height: 310px;
    margin: 0 auto 100px;
    padding: 55px clamp(24px, 5vw, 64px);

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            rgba(36, 15, 61, 0.91),
            rgba(9, 14, 32, 0.93)
        );

    border: 1px solid rgba(160, 100, 255, 0.23);
    border-radius: var(--store-radius-lg);
}

.banner-content {
    position: relative;
    z-index: 2;

    max-width: 570px;
}

.banner-content h2 {
    margin: 0;

    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 780;
    letter-spacing: -0.05em;
    line-height: 1.15;
}

.banner-content > p:not(.section-eyebrow) {
    margin: 17px 0 24px;

    color: var(--store-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.banner-decoration {
    position: absolute;
    z-index: -1;

    top: 50%;
    right: 8%;

    width: 260px;
    aspect-ratio: 1;

    transform: translateY(-50%);
}

.banner-orbit {
    position: absolute;
    inset: 0;

    border: 1px solid rgba(160, 32, 240, 0.34);
    border-radius: 50%;
}

.banner-orbit-one {
    transform: scale(1);
}

.banner-orbit-two {
    transform: scale(0.72) rotate(45deg);

    border-color: rgba(0, 170, 255, 0.34);
}

.banner-orbit-three {
    transform: scale(0.45) rotate(-25deg);

    border-color: rgba(255, 102, 255, 0.34);
}

.banner-decoration::after {
    content: "";

    position: absolute;
    inset: 36%;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(160, 32, 240, 0.23),
        rgba(0, 170, 255, 0.09),
        transparent 75%
    );

    filter: blur(9px);
}


/* =========================================================
   15. PROJECT DETAILS MODAL
========================================================= */

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: grid;
    place-items: center;

    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 1, 7, 0.83);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    animation: modalBackdropIn 180ms ease both;
}

.modal-panel {
    position: relative;
    z-index: 1;

    width: min(650px, 100%);
    max-height: min(82vh, 800px);

    overflow-y: auto;
    overscroll-behavior: contain;

    color: #ffffff;
    background:
        linear-gradient(
            150deg,
            rgba(25, 14, 43, 0.99),
            rgba(8, 5, 16, 0.99)
        );

    border: 1px solid rgba(175, 125, 255, 0.3);
    border-radius: 22px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(100, 35, 170, 0.1);

    animation: modalPanelIn 230ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;

    display: grid;
    place-items: center;

    width: 39px;
    height: 39px;

    color: #e5daf9;
    background: rgba(5, 1, 10, 0.72);

    border: 1px solid rgba(175, 125, 255, 0.24);
    border-radius: 12px;

    font-size: 1.5rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background var(--store-transition),
        transform var(--store-transition);
}

.modal-close:hover {
    background: rgba(160, 32, 240, 0.24);
    transform: rotate(4deg);
}

.modal-project-visual {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 180px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(160, 32, 240, 0.19),
            transparent 65%
        ),
        radial-gradient(
            ellipse at 75% 20%,
            rgba(0, 170, 255, 0.1),
            transparent 55%
        );

    border-bottom: 1px solid rgba(175, 125, 255, 0.13);
}

.modal-portal-decoration {
    width: 115px;
    aspect-ratio: 1;

    border: 1px solid rgba(160, 32, 240, 0.65);
    border-radius: 50%;

    box-shadow:
        0 0 20px rgba(160, 32, 240, 0.15),
        inset 0 0 22px rgba(0, 170, 255, 0.08);

    animation: modalPortalPulse 5s ease-in-out infinite;
}

@keyframes modalPortalPulse {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

.modal-project-content {
    padding: 28px;
}

.modal-project-status {
    margin: 18px 0 10px;

    color: #a9dfff;
    font-size: 0.8rem;
    font-weight: 650;
}

.modal-project-content h2 {
    margin: 0;

    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.modal-project-description {
    margin: 17px 0 22px;

    color: #bcb3ce;
    font-size: 0.94rem;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.modal-project-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 24px;
}

.modal-metadata-item {
    padding: 11px 13px;

    color: #c8bedc;
    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(175, 125, 255, 0.13);
    border-radius: 10px;

    font-size: 0.8rem;
}

.modal-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.modal-project-actions a,
.modal-project-actions button {
    min-height: 44px;
}


/* Modal animation helpers */

@keyframes modalBackdropIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalPanelIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   16. FOOTER
========================================================= */

.store-footer {
    position: relative;

    padding: 45px 24px 28px;

    text-align: center;

    background: rgba(4, 1, 8, 0.72);
    border-top: 1px solid rgba(175, 125, 255, 0.11);
}

.footer-brand {
    display: inline-block;

    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.02em;

    text-decoration: none;
}

.store-footer > p {
    margin: 10px 0;

    color: var(--store-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 23px;

    margin: 24px 0;
}

.footer-links a {
    color: #9288a8;

    font-size: 0.82rem;
    text-decoration: none;

    transition: color var(--store-transition);
}

.footer-links a:hover {
    color: #ffffff;
}

.store-footer .footer-copyright {
    margin-top: 26px;

    color: #6f6680;
    font-size: 0.76rem;
}


/* =========================================================
   17. RESPONSIVE: TABLETS
========================================================= */

@media (max-width: 1000px) {
    .featured-projects,
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .featured-card:last-child:nth-child(odd) .featured-card-visual {
        min-height: 120px;
    }

    .store-hero {
        min-height: 570px;
    }

    .portal-scene {
        width: min(480px, 92vw);
    }

    .banner-decoration {
        right: -2%;
        opacity: 0.65;
    }
}


/* =========================================================
   18. RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 650px) {
    #store-navbar {
        min-height: 66px;
        padding: 12px 18px;
        gap: 12px;
    }

    #navbar-logo svg {
        width: 145px;
    }

    #store-navbar .nav-links {
        gap: 13px;
    }

    #store-navbar .nav-link {
        font-size: 0.78rem;
    }

    #store-navbar .nav-links li:first-child {
        display: none;
    }

    #store-navbar .nav-links li:last-child {
        display: none;
    }

    #store-navbar .nav-icon-button {
        width: 35px;
        height: 35px;
    }

    .store-section {
        width: calc(100% - 36px);
    }

    .store-hero {
        min-height: 530px;
        padding: 90px 20px 90px;
    }

    .store-hero h1 {
        font-size: clamp(2.55rem, 11vw, 4rem);
    }

    .store-hero-description {
        max-width: 360px;
        font-size: 0.92rem;
    }

    .portal-scene {
        width: min(410px, 112vw);
        opacity: 0.56;
    }

    .hero-scroll-indicator {
        bottom: 23px;
    }

    .featured-section {
        padding-top: 36px;
        padding-bottom: 72px;
    }

    .catalog-section {
        padding-top: 35px;
        padding-bottom: 72px;
    }

    .section-heading {
        align-items: flex-start;
        margin-bottom: 23px;
    }

    .section-heading h2 {
        font-size: 1.9rem;
    }

    .section-symbol {
        width: 40px;
        height: 40px;
    }

    .featured-projects,
    .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .featured-card {
        min-height: 300px;
        padding: 19px;
    }

    .featured-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .featured-card-visual {
        min-height: 120px;
    }

    .project-card {
        min-height: 0;
        padding: 18px;
    }

    .project-card-visual {
        min-height: 100px;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;

        margin-top: 24px;
    }

    .catalog-search-wrapper {
        width: 100%;
    }

    .catalog-sort-wrapper {
        justify-content: space-between;
    }

    .catalog-sort {
        flex: 1;
        max-width: 220px;
    }

    .category-filters {
        gap: 8px;
    }

    .category-filter {
        min-height: 38px;
        padding: 0 11px;
        font-size: 0.77rem;
    }

    .catalog-results-bar {
        margin-top: 23px;
    }

    .universe-banner {
        width: calc(100% - 36px);

        min-height: 300px;
        margin-bottom: 70px;
        padding: 35px 25px;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-decoration {
        top: auto;
        right: -90px;
        bottom: -105px;

        width: 230px;

        transform: none;
        opacity: 0.35;
    }

    .project-modal {
        padding: 12px;
    }

    .modal-panel {
        max-height: 90vh;
        border-radius: 17px;
    }

    .modal-project-visual {
        min-height: 135px;
    }

    .modal-project-content {
        padding: 22px;
    }

    .store-footer {
        padding-inline: 18px;
    }
}


/* =========================================================
   19. RESPONSIVE: VERY SMALL SCREENS
========================================================= */

@media (max-width: 380px) {
    #navbar-logo svg {
        width: 125px;
    }

    #store-navbar .nav-links {
        gap: 9px;
    }

    #store-navbar .nav-link {
        font-size: 0.72rem;
    }

    .store-hero h1 {
        font-size: 2.35rem;
    }

    .category-filter {
        padding-inline: 9px;
        font-size: 0.73rem;
    }

    .modal-project-content {
        padding: 18px;
    }
}


/* =========================================================
   20. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.store-page *,
    body.store-page *::before,
    body.store-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   THE NEXUS UNIVERSE
   PROJECT EXPLORER EXTENSION
========================================================= */

body.store-page .featured-card,
body.store-page .project-card {
    cursor: pointer;
}

body.store-page .featured-card:focus-visible,
body.store-page .project-card:focus-visible {
    outline: 2px solid var(--store-cyan);
    outline-offset: 4px;
}

body.store-page .project-card-visual,
body.store-page .featured-card-visual,
body.store-page .modal-project-visual {
    isolation: isolate;
}

body.store-page .project-image,
body.store-page .explorer-project-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: -1;
}

body.store-page .project-card-icon {
    position: relative;
    z-index: 1;
}

body.store-page .project-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

body.store-page .project-card-info > h3 {
    margin: 12px 0 9px;
    color: #fff;
    font-size: 1.13rem;
    font-weight: 720;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

body.store-page .project-card-info > p {
    margin: 0 0 17px;
    color: var(--store-text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

body.store-page .project-card-info .project-card-footer {
    width: 100%;
    margin-top: auto;
}

body.store-page .featured-card-content > h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 720;
    letter-spacing: -0.035em;
}

body.store-page .featured-card-content .project-tags {
    margin-bottom: 12px;
}

body.store-page .project-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(5, 1, 10, 0.35);
    font-size: 0.68rem;
    line-height: 1.2;
}

body.store-page .project-status::before {
    width: 6px;
    height: 6px;
}

body.store-page .status-online,
body.store-page .status-available {
    color: #76e6ba;
}

body.store-page .status-development,
body.store-page .status-in-development {
    color: #ffc77a;
}

body.store-page .status-coming-soon {
    color: #c4b5fd;
}

body.store-page .status-offline {
    color: #ff929e;
}

body.store-page .status-experimental,
body.store-page .status-beta,
body.store-page .status-prototype {
    color: #91cfff;
}

body.store-page .store-error {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    background: rgba(25, 10, 30, 0.75);
    border: 1px solid rgba(255, 120, 160, 0.25);
    border-radius: var(--store-radius-md);
}

body.store-page .store-error p {
    color: var(--store-text-muted);
    line-height: 1.7;
}

body.store-page .modal-panel {
    width: min(820px, 100%);
    max-height: min(88vh, 940px);
}

body.store-page .modal-project-content {
    padding: clamp(20px, 4vw, 34px);
}

body.store-page .modal-project-status {
    width: fit-content;
    margin: 15px 0 12px;
}

body.store-page .modal-project-status[hidden] {
    display: none !important;
}

body.store-page .modal-project-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

body.store-page .explorer-home-metadata {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

body.store-page .explorer-metadata-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--store-border);
    border-radius: 12px;
}

body.store-page .explorer-metadata-label {
    color: var(--store-text-subtle);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.store-page .explorer-metadata-value {
    color: #eee7ff;
    font-size: 0.88rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body.store-page .modal-project-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 26px;
}

body.store-page .modal-project-actions > a,
body.store-page .modal-project-actions > button {
    text-decoration: none;
}

body.store-page .explorer-divider {
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(160, 32, 240, 0.4),
        rgba(0, 170, 255, 0.3),
        transparent
    );
}

body.store-page .explorer-tabs {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 20px;
    padding: 0 0 9px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(160, 32, 240, 0.5) transparent;
    border-bottom: 1px solid rgba(175, 125, 255, 0.12);
}

body.store-page .explorer-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    color: var(--store-text-muted);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
    transition:
        color var(--store-transition),
        background var(--store-transition),
        border-color var(--store-transition),
        transform var(--store-transition);
}

body.store-page .explorer-tab:hover {
    color: #fff;
    background: rgba(160, 32, 240, 0.1);
    border-color: rgba(160, 32, 240, 0.24);
}

body.store-page .explorer-tab[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(
        110deg,
        rgba(160, 32, 240, 0.22),
        rgba(0, 170, 255, 0.12)
    );
    border-color: rgba(160, 32, 240, 0.42);
    box-shadow: inset 0 0 18px rgba(160, 32, 240, 0.04);
}

body.store-page .explorer-tab[aria-selected="true"] .explorer-tab-icon {
    color: #8fe2ff;
}

body.store-page .explorer-tab-icon {
    color: var(--store-purple-light);
    font-size: 1rem;
}

body.store-page .explorer-tab-content {
    min-height: 145px;
    animation: explorerContentIn 220ms ease both;
}

@keyframes explorerContentIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.store-page .explorer-content-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 730;
    letter-spacing: -0.02em;
}

body.store-page .explorer-subtitle {
    margin: 23px 0 10px;
    color: #ded2f7;
    font-size: 0.9rem;
    font-weight: 700;
}

body.store-page .explorer-copy {
    margin: 0 0 15px;
    color: var(--store-text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.store-page .explorer-list {
    display: grid;
    gap: 9px;
    margin: 14px 0 20px;
    padding: 0;
    list-style: none;
}

body.store-page .explorer-list li {
    position: relative;
    padding: 12px 14px 12px 37px;
    color: #d9d0eb;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(175, 125, 255, 0.11);
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
}

body.store-page .explorer-list li::before {
    content: "✦";
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--store-cyan);
    text-shadow: 0 0 12px rgba(0, 170, 255, 0.35);
}

body.store-page .explorer-connection-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 20px;
}

body.store-page .explorer-connection-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(160, 32, 240, 0.11),
            transparent 65%
        ),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--store-border);
    border-radius: 13px;
}

body.store-page .explorer-connection-label {
    color: #d9c7ff;
    font-size: 0.78rem;
    font-weight: 700;
}

body.store-page .explorer-connection-value {
    max-width: 100%;
    color: #fff;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
    user-select: text;
}

body.store-page .explorer-connection-port {
    color: var(--store-text-muted);
    font-size: 0.78rem;
}

body.store-page .explorer-copy-button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.76rem;
}

body.store-page .explorer-copy-button.is-success {
    color: #a7f3d0;
    border-color: rgba(118, 230, 186, 0.45);
    background: rgba(16, 185, 129, 0.12);
}

body.store-page .explorer-actions-empty {
    flex-basis: 100%;
    margin: 0;
    padding: 10px 0;
}

body.store-page .category-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c4a3ff;
}

body.store-page .project-card-footer .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 650px) {
    body.store-page .modal-panel {
        max-height: 92vh;
    }

    body.store-page .explorer-home-metadata,
    body.store-page .explorer-connection-list {
        grid-template-columns: minmax(0, 1fr);
    }

    body.store-page .explorer-tab {
        min-height: 39px;
        padding-inline: 12px;
        font-size: 0.77rem;
    }

    body.store-page .modal-project-actions {
        align-items: stretch;
    }

    body.store-page .modal-project-actions > a,
    body.store-page .modal-project-actions > button {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.store-page .explorer-tab-content {
        animation: none;
    }
}