/* ============================================================
   VST Plugins Hub — "Aurora" catalog styles (companion to aurora-vst theme)
   AI-product aesthetic: midnight bg, aurora glow, glass cards, animations.
   ============================================================ */

:root {
    --vst-bg: #070b14;
    --vst-card: rgba(18, 27, 44, 0.62);
    --vst-border: rgba(148, 163, 184, 0.13);
    --vst-text: #e8eef8;
    --vst-dim: #93a3ba;
    --vst-accent: #7c5cfc;
    --vst-cyan: #38d0f8;
    --vst-amber: #f5a524;
    --vst-amber-hover: #ffbe4d;
    --vst-radius: 16px;
}

* { box-sizing: border-box; }

body::before {
    content: "";
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(560px 420px at 12% -4%, rgba(124, 92, 252, 0.20), transparent 60%),
        radial-gradient(640px 480px at 88% -6%, rgba(56, 208, 248, 0.16), transparent 62%),
        radial-gradient(700px 560px at 50% 108%, rgba(124, 92, 252, 0.10), transparent 65%);
    animation: vst-aurora 18s ease-in-out infinite alternate;
}
body::after {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes vst-aurora {
    0%   { opacity: 0.85; transform: translateY(0) scale(1); }
    50%  { opacity: 1;    transform: translateY(-16px) scale(1.04); }
    100% { opacity: 0.9;  transform: translateY(10px) scale(1.02); }
}

@keyframes vst-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vst-shine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(240%) skewX(-18deg); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- archive ---------- */

.vstc-wrap { max-width: 1180px; margin: 0 auto; padding: 44px 20px 72px; }

.vstc-hero { text-align: center; margin-bottom: 42px; }
.vstc-hero h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em;
    margin: 0 0 12px; line-height: 1.12;
    background: linear-gradient(92deg, #ffffff 20%, #b9a8ff 55%, #7ee3ff 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: vst-fade-up .6s ease both;
}
.vstc-hero-sub {
    color: var(--vst-dim); max-width: 660px; margin: 0 auto 30px;
    line-height: 1.6; font-size: 1.04rem;
    animation: vst-fade-up .6s .08s ease both;
}

.vstc-searchbar {
    position: relative;
    display: flex; align-items: center; max-width: 740px; margin: 0 auto 16px;
    background: rgba(14, 21, 36, 0.7);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--vst-border);
    border-radius: 999px; padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
    animation: vst-fade-up .6s .16s ease both;
    transition: border-color .25s, box-shadow .25s;
}
.vstc-searchbar:focus-within {
    border-color: rgba(124, 92, 252, 0.55);
    box-shadow: 0 14px 40px rgba(124, 92, 252, 0.22);
}
.vstc-searchbar svg { color: var(--vst-dim); flex: none; }
.vstc-searchbar input {
    flex: 1; background: none; border: none; outline: none; color: var(--vst-text);
    font-size: 1.04rem; padding: 12px 14px; min-width: 0; font-family: inherit;
}
.vstc-searchbar input::placeholder { color: #5d6c84; }
.vstc-searchbar button {
    flex: none; border: none; cursor: pointer; border-radius: 999px; padding: 13px 28px;
    background: linear-gradient(135deg, #7c5cfc 0%, #38d0f8 100%);
    color: #fff; font-weight: 700; font-size: .95rem; position: relative; overflow: hidden;
    box-shadow: 0 6px 20px rgba(124, 92, 252, 0.35);
    transition: transform .15s, box-shadow .2s; font-family: inherit;
}
.vstc-searchbar button::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}
.vstc-searchbar button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(56, 208, 248, 0.4); }
.vstc-searchbar button:hover::after { animation: vst-shine .9s ease; }

.vstc-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; animation: vst-fade-up .6s .22s ease both; }
.vstc-filters select {
    background: rgba(14, 21, 36, 0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: var(--vst-text);
    border: 1px solid var(--vst-border); border-radius: 12px;
    padding: 11px 14px; font-size: .92rem; outline: none; min-width: 160px;
    appearance: none; -webkit-appearance: none; font-family: inherit;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2393a3ba' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.vstc-filters select:focus { border-color: rgba(124, 92, 252, 0.55); box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.15); }
.vstc-filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(124, 92, 252, 0.12); color: #cabfff !important;
    border: 1px solid rgba(124, 92, 252, 0.35); border-radius: 12px;
    padding: 11px 20px; cursor: pointer; font-weight: 700; font-size: .92rem;
    transition: background .2s, transform .15s; font-family: inherit;
}
.vstc-filter-btn:hover { background: rgba(124, 92, 252, 0.24); transform: translateY(-1px); }

.vstc-hero-stat {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    color: var(--vst-dim); font-size: .86rem;
    background: rgba(14, 21, 36, 0.6); border: 1px solid var(--vst-border);
    border-radius: 999px; padding: 7px 16px;
    animation: vst-fade-up .6s .26s ease both;
}
.vstc-hero-stat b { color: #8fe6ff; font-weight: 700; }

.vstc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 18px; }

.vstc-card {
    position: relative;
    background: var(--vst-card);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--vst-border);
    border-radius: var(--vst-radius); overflow: hidden; text-decoration: none;
    color: var(--vst-text); display: flex; flex-direction: column;
    animation: vst-fade-up .5s ease both;
    transition: transform .2s ease, border-color .2s, box-shadow .25s;
}
.vstc-card:nth-child(1) { animation-delay: .02s; } .vstc-card:nth-child(2) { animation-delay: .06s; }
.vstc-card:nth-child(3) { animation-delay: .10s; } .vstc-card:nth-child(4) { animation-delay: .14s; }
.vstc-card:nth-child(5) { animation-delay: .18s; } .vstc-card:nth-child(6) { animation-delay: .22s; }
.vstc-card:nth-child(7) { animation-delay: .26s; } .vstc-card:nth-child(8) { animation-delay: .30s; }
.vstc-card:nth-child(n+9) { animation-delay: .34s; }
.vstc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 92, 252, 0.45);
    box-shadow: 0 18px 44px rgba(5, 8, 16, 0.6), 0 0 0 1px rgba(124, 92, 252, 0.18),
                0 12px 34px rgba(124, 92, 252, 0.14);
}
.vstc-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 1.5px; z-index: 1;
    background: linear-gradient(90deg, transparent, #7c5cfc, #38d0f8, transparent);
    opacity: 0; transition: opacity .25s;
}
.vstc-card:hover::before { opacity: 1; }

.vstc-card-cover { aspect-ratio: 4 / 3; background: #0b1322; overflow: hidden; position: relative; }
.vstc-card-cover img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
    transition: transform .3s ease, filter .3s ease;
}
.vstc-card:hover .vstc-card-cover img { transform: scale(1.05); filter: brightness(1.06); }
.vstc-cover-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #33456b; font-weight: 800; font-size: 1.3rem; letter-spacing: .12em;
    background: repeating-linear-gradient(45deg, #0b1322 0 12px, #0d1526 12px 24px);
}
.vstc-plugin-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(7, 11, 20, 0.72); backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 165, 36, 0.4); color: #f5b95c;
    border-radius: 8px; padding: 4px 9px; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
}
.vstc-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.vstc-card h2 { font-size: .97rem; line-height: 1.38; font-weight: 650; margin: 2px 0 0; color: #f2f6fc; }
.vstc-card-meta { margin-top: auto; color: var(--vst-dim); font-size: .82rem; display: flex; gap: 12px; align-items: center; }

.vstc-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(124, 92, 252, 0.10); color: #b6a8f0;
    border: 1px solid rgba(124, 92, 252, 0.22);
    border-radius: 999px; padding: 3px 11px; font-size: .73rem; font-weight: 700;
    letter-spacing: .02em; width: fit-content;
}
.vstc-chip svg { flex: none; }
.vstc-chip-brand { background: rgba(56, 168, 248, 0.10); color: #7cc3f8; border-color: rgba(56, 168, 248, 0.25); }
.vstc-chip-type { background: rgba(245, 165, 36, 0.10); color: #f0bb67; border-color: rgba(245, 165, 36, 0.28); }

.pagination, .nav-links { margin-top: 36px; text-align: center; }
.page-numbers {
    display: inline-block; padding: 10px 16px; margin: 0 3px; border-radius: 11px;
    background: rgba(14, 21, 36, 0.7); border: 1px solid var(--vst-border);
    color: var(--vst-text) !important; text-decoration: none; font-weight: 600;
    transition: border-color .2s, transform .15s;
}
.page-numbers:hover { border-color: rgba(124, 92, 252, 0.5); transform: translateY(-2px); }
.page-numbers.current {
    background: linear-gradient(135deg, #7c5cfc, #38d0f8); border-color: transparent;
    box-shadow: 0 6px 18px rgba(124, 92, 252, 0.35);
}
.vstc-empty { color: var(--vst-dim); text-align: center; padding: 48px 0; }

/* ---------- single ---------- */

.vstc-single { max-width: 940px; margin: 0 auto; padding: 34px 20px 72px; }
.vstc-crumbs { color: var(--vst-dim); font-size: .88rem; margin-bottom: 24px; }
.vstc-crumbs a { color: #6aa5ff; text-decoration: none; }
.vstc-crumbs a:hover { text-decoration: underline; }
.vstc-crumbs span { margin: 0 7px; color: #46587a; }

.vstc-single-top {
    display: flex; gap: 34px; align-items: flex-start; flex-wrap: wrap;
    background: var(--vst-card);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--vst-border);
    border-radius: 20px; padding: 30px;
    box-shadow: 0 24px 60px rgba(4, 7, 14, 0.55);
    position: relative; overflow: hidden;
    animation: vst-fade-up .5s ease both;
}
.vstc-single-top::before {
    content: ""; position: absolute; inset: -40% -20% auto; height: 70%;
    background: radial-gradient(460px 220px at 30% 30%, rgba(124, 92, 252, 0.16), transparent 65%),
                radial-gradient(420px 200px at 75% 20%, rgba(56, 208, 248, 0.13), transparent 65%);
    pointer-events: none;
}
.vstc-single-cover {
    flex: 0 0 300px; max-width: 300px; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--vst-border); background: #0b1322;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    position: relative; z-index: 1;
}
.vstc-single-cover img { width: 100%; display: block; }
.vstc-shot-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.vstc-shot-thumbs img { width: 88px; height: 60px; object-fit: cover; border-radius: 6px; }
.vstc-single-head { flex: 1; min-width: 300px; position: relative; z-index: 1; }
.vstc-single h1 {
    font-size: clamp(1.45rem, 2.8vw, 2.05rem); font-weight: 800; margin: 0 0 15px;
    line-height: 1.22; letter-spacing: -0.02em;
    background: linear-gradient(92deg, #ffffff 30%, #c9bdff 70%, #8fe6ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.vstc-single-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }

.vstc-official {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(34, 197, 94, 0.10); color: #52e28a !important;
    border: 1px solid rgba(34, 197, 94, 0.32); border-radius: 999px; padding: 5px 14px;
    font-size: .8rem; font-weight: 700; text-decoration: none;
    transition: background .2s, box-shadow .2s;
}
.vstc-official:hover { background: rgba(34, 197, 94, 0.2); box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2); }

.vstc-glance {
    background: rgba(10, 15, 27, 0.65);
    border: 1px solid var(--vst-border); border-radius: 14px;
    padding: 17px 21px; margin-bottom: 24px;
}
.vstc-glance h2 { font-size: .95rem; margin: 0 0 10px; color: #c4d1e6; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.vstc-glance table { width: 100%; border-collapse: collapse; }
.vstc-glance th { text-align: left; color: #71829c; width: 110px; padding: 6px 0; font-weight: 500; font-size: .9rem; vertical-align: top; }
.vstc-glance td { padding: 6px 0; font-size: .94rem; color: var(--vst-text); }

.vstc-download { margin-top: 8px; }
.vstc-btn {
    display: inline-flex; align-items: center; gap: 11px;
    background: linear-gradient(180deg, var(--vst-amber-hover), var(--vst-amber));
    color: #241402 !important; font-weight: 800; font-size: 1.05rem;
    padding: 16px 36px; border-radius: 14px; text-decoration: none;
    position: relative; overflow: hidden;
    box-shadow: 0 12px 30px rgba(245, 165, 36, 0.32);
    transition: transform .16s, box-shadow .2s;
}
.vstc-btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}
.vstc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245, 165, 36, 0.45); }
.vstc-btn:hover::after { animation: vst-shine .9s ease; }
.vstc-hidden-note { color: var(--vst-dim); font-style: italic; }

.vstc-content { line-height: 1.75; color: #ccd7e8; font-size: 1.02rem; margin-top: 32px; animation: vst-fade-up .5s .12s ease both; }
.vstc-content h2 { color: #fff; }
.vstc-tags { margin-top: 24px; color: #5d7092; font-size: .9rem; }

/* ---------- prev/next navigation between cards ---------- */

.vstc-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    margin-top: 34px;
}
.vstc-nav-link {
    display: flex; flex-direction: column; gap: 6px;
    background: rgba(14, 21, 36, 0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--vst-border); border-radius: 14px;
    padding: 16px 18px; text-decoration: none;
    transition: border-color .2s, transform .15s, background .2s;
}
.vstc-nav-link:hover {
    border-color: rgba(124, 92, 252, 0.45);
    transform: translateY(-2px);
    background: rgba(20, 30, 52, 0.8);
}
.vstc-nav-next { text-align: right; }
.vstc-nav-label { color: #7c5cfc; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.vstc-nav-title { color: var(--vst-text); font-size: .95rem; font-weight: 650; line-height: 1.35; }
@media (max-width: 640px) { .vstc-nav { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
    .vstc-single-top { padding: 20px; }
    .vstc-single-cover { flex: 1 1 100%; max-width: 260px; margin: 0 auto; }
    .vstc-filters select { min-width: 130px; }
}
