:root {
    --vault-bg: #010101;
    --card-bg: #080808;
    --hud-border: rgba(255, 255, 255, 0.08);
    --nav-height: 70px;
    --neon-blue: #0080ff;
    --neon-purple: #a855f7;
    --neon-green: #39FF14;
}

.vault-page-wrapper {
    background: var(--vault-bg);
    min-height: 100vh;
    padding-top: var(--nav-height);
}

/* --- Refined Vault Header --- */
.vault-header {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: #000;
}

.vault-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.25;
    pointer-events: none;
    background: #000;
}

#vault-hero-player {
    position: absolute;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    pointer-events: none;
}

.vault-main-title {
    font-family: 'Syne', sans-serif !important;
    font-size: clamp(3rem, 11vw, 9rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.06em !important;
    text-transform: uppercase;
    color: white;
    line-height: 0.8;
}

/* --- Sticky Category Tabs --- */
.vault-filter-tabs {
    position: sticky;
    top: var(--nav-height);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 20px 0;
    border-bottom: 1px solid var(--hud-border);
}

.filter-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4vw;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #444;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.filter-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.filter-btn.active {
    color: white;
    border-color: var(--neon-blue);
    background: rgba(0, 128, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 128, 255, 0.1);
}

/* --- Refined Video Cards --- */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0 120px;
}

.motion-card {
    position: relative;
    background: #000;
    border: 1px solid var(--hud-border);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.motion-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--thumb);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    filter: grayscale(1) brightness(0.6);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.motion-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.motion-card:hover::before {
    opacity: 0.9;
    filter: grayscale(0) brightness(1);
    transform: scale(1.04);
}

.hud-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: none;
    transition: border-color 0.4s ease;
}
.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.motion-card:hover .hud-corner {
    border-color: var(--neon-blue);
}

.motion-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 15;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    font-size: 0.45rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    border-left: 2px solid currentColor;
}

.hud-meta {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 15;
    font-family: monospace;
    font-size: 0.4rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: right;
    line-height: 1.5;
}

.motion-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

/* Small Label = Song Name */
.motion-song-label {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--neon-blue);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
    opacity: 0.9;
}

/* Large Heading = Artist Name */
.motion-artist-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: white;
    font-size: 1.6rem;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Mobile Fixes */
@media (max-width: 1024px) {
    .vault-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .vault-header { height: 50vh; }
    .vault-main-title { font-size: 3.5rem !important; }
    .vault-grid { grid-template-columns: 1fr; gap: 20px; }
    .motion-artist-title { font-size: 1.3rem; }
    .motion-song-label { font-size: 0.45rem; letter-spacing: 0.3em; }
    .motion-overlay { padding: 20px; }
    .vault-filter-tabs { padding: 12px 0; }
    .filter-btn { padding: 8px 16px; font-size: 0.5rem; }
}

@media (max-width: 480px) {
    .filter-group { gap: 6px; }
    .filter-btn { padding: 7px 8px; font-size: 0.45rem; flex: 1 1 45%; text-align: center; }
}