:root {
    color-scheme: dark;
    --background: #07030d;
    --foreground: #fff0f5;
    --primary: #c4285c;
    --primary-foreground: #ffffff;
    --primary-glow: #e0347e;
    --secondary-glow: #ff8a50;
    --steel: #9a7888;
    --muted-foreground: #c8a0b4;
    --border: rgba(200, 60, 110, 0.16);
    --gradient-vip: linear-gradient(135deg, #e0347e, #ff8a50);
    --gradient-radial:
        radial-gradient(circle at 18% 8%,  rgba(195, 40, 90, 0.26), transparent 32rem),
        radial-gradient(circle at 86% 18%, rgba(255, 130, 70, 0.20), transparent 34rem),
        radial-gradient(circle at 50% 100%, rgba(140, 20, 65, 0.16), transparent 32rem);
    --shadow-vip: 0 20px 70px rgba(195, 40, 90, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--foreground);
    background: var(--background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vip-logo {
    display: block;
    width: min(100%, 58rem);
    height: auto;
    margin-inline: auto;
    filter:
        drop-shadow(0 0 16px rgba(255, 255, 255, 0.12))
        drop-shadow(0 18px 42px rgba(195, 40, 90, 0.18));
}

.gate-logo {
    width: min(100%, 23rem);
    max-height: 5rem;
    object-fit: contain;
}

.hero-logo {
    width: min(100%, 58rem);
}

.admin-logo {
    width: min(100%, 26rem);
    margin-bottom: 1.35rem;
}

.section-logo {
    display: block;
    width: min(100%, 24rem);
    height: auto;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 10px 26px rgba(195, 40, 90, 0.18));
}

.page-bg {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(7, 3, 13, 0.52) 0%, rgba(7, 3, 13, 0.88) 88%),
        var(--gradient-radial);
}

.page-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 28%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
    mask-image: radial-gradient(circle at 50% 35%, #000, transparent 76%);
}

.atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%,  rgba(195, 40, 90, 0.15), transparent 42rem),
        radial-gradient(circle at 50% 18%, rgba(255, 138, 80, 0.09), transparent 28rem);
}

.eyebrow {
    margin: 0 0 2rem;
    color: var(--steel);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.48em;
    text-transform: uppercase;
}

body {
    overflow-x: hidden;
}

.gate {
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.gate-panel {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: linear-gradient(145deg, rgba(20, 5, 18, 0.90), rgba(8, 2, 7, 0.74));
    box-shadow: var(--shadow-vip), 0 30px 90px rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(18px);
    text-align: center;
    overflow: hidden;
}

.gate-panel h1,
.hero h1,
.collection-title {
    margin: 0;
    line-height: 0.9;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    overflow-wrap: normal;
    word-break: normal;
}

.gate-panel h1 {
    font-size: clamp(2rem, 10.4vw, 4.35rem);
}

.hero h1 {
    font-size: clamp(3.2rem, 9.5vw, 8.5rem);
}

.collection-title {
    margin-top: 1.2rem;
    font-size: clamp(1.55rem, 5.6vw, 2.8rem);
}

.hero .collection-title {
    font-size: clamp(2rem, 4.8vw, 4.25rem);
}

.gate-panel h1 span,
.hero h1 span,
.collection-title span {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

.gate-panel h1 span:last-child,
.hero h1 span:last-child,
.collection-title span:last-child {
    background-image: linear-gradient(90deg, var(--primary-glow), var(--steel), var(--secondary-glow), var(--primary-glow));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

.lede,
.hero-copy,
.empty-state,
.meta,
.admin-muted {
    color: var(--muted-foreground);
}

.lede {
    margin: 2rem auto 0;
    max-width: 28rem;
}

.private-note {
    margin: 1.5rem 0 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.gate-form {
    margin-top: 2rem;
    text-align: left;
}

label {
    display: block;
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

input,
textarea,
select {
    width: 100%;
    min-height: 3rem;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.8rem 0.9rem;
    color: var(--foreground);
    background: rgba(0, 0, 0, 0.42);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(200, 40, 90, 0.7);
    box-shadow: 0 0 0 3px rgba(200, 40, 90, 0.18);
}

button,
.button,
.vault-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3rem;
    border: 0;
    border-radius: 7px;
    padding: 1rem 1.35rem;
    color: var(--primary-foreground);
    background: var(--gradient-vip);
    box-shadow: 0 10px 40px rgba(195, 40, 90, 0.38);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

button {
    width: 100%;
}

button:hover,
.vault-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 54px rgba(255, 138, 80, 0.42);
}

.error {
    color: #ff9eb5;
    font-weight: 800;
}

.admin-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
}

.site-shell > .topbar,
.site-shell > .hero,
.site-shell > .library-section {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    width: min(11rem, 32vw);
}

.brand-lockup img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.72;
    filter: drop-shadow(0 8px 18px rgba(195, 40, 90, 0.18));
}

.topbar nav,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.topbar a,
.admin-actions a {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero {
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 5rem;
    text-align: center;
}

.hero-copy {
    max-width: 34rem;
    margin: 2.5rem auto 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.hero-actions-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.no-signup-note {
    color: var(--muted-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
}

.proof-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 6rem;
    color: rgba(167, 130, 150, 0.64);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.proof-row span:nth-child(even) {
    width: 2rem;
    height: 1px;
    background: rgba(200, 100, 140, 0.18);
}

.library-section {
    position: relative;
    padding: 4rem 0 5rem;
    border-top: 1px solid rgba(200, 60, 110, 0.1);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-heading .eyebrow {
    margin-bottom: 0.75rem;
}

.section-heading h2,
.admin-shell h1,
.admin-card h2 {
    margin: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.max-note {
    border: 1px solid var(--border);
    border-radius: 7px;
    margin: 0 0 1.25rem;
    padding: clamp(1rem, 3vw, 1.4rem);
    background:
        linear-gradient(145deg, rgba(24, 5, 18, 0.88), rgba(8, 1, 6, 0.78)),
        radial-gradient(circle at 15% 0%, rgba(195, 40, 90, 0.16), transparent 24rem);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.max-note .eyebrow {
    margin-bottom: 0.65rem;
}

.max-note div {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.7;
}

.library-controls {
    display: grid;
    grid-template-columns: 1fr minmax(12rem, 18rem);
    gap: 0.8rem;
    align-items: start;
    margin: 0 0 1rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-button {
    width: auto;
    min-height: 2.4rem;
    border: 1px solid var(--border);
    padding: 0.55rem 0.75rem;
    color: var(--muted-foreground);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.filter-button[data-active="true"] {
    color: #ffffff;
    background: var(--gradient-vip);
    box-shadow: 0 10px 32px rgba(195, 40, 90, 0.18);
}

.library-search {
    min-height: 2.4rem;
}

.curated-section {
    margin-bottom: 1.5rem;
}

.compact-heading {
    margin-bottom: 0.85rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.media-card,
.admin-card {
    border: 1px solid var(--border);
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(24, 5, 18, 0.88), rgba(8, 1, 6, 0.78));
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.media-card.is-featured {
    border-color: rgba(255, 138, 80, 0.38);
    box-shadow:
        0 0 0 1px rgba(255, 138, 80, 0.08),
        0 22px 70px rgba(0, 0, 0, 0.32);
}

.media-card img,
.media-card video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background:
        radial-gradient(circle at 50% 20%, rgba(195, 40, 90, 0.20), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(255, 138, 80, 0.12), transparent 40%),
        rgba(255, 255, 255, 0.04);
}

.video-unsupported {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(0, 0, 0, 0.36);
    color: var(--steel);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.photo-expand {
    display: block;
    width: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    cursor: zoom-in;
}

.photo-expand:hover {
    transform: none;
    box-shadow: none;
}

.photo-expand img {
    transition: transform 180ms ease, filter 180ms ease;
}

.photo-expand:hover img {
    transform: scale(1.025);
    filter: brightness(1.08);
}

.lightbox-open {
    overflow: hidden;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(4, 1, 9, 0.93);
    backdrop-filter: blur(14px);
}

.photo-lightbox img {
    align-self: center;
    justify-self: center;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.photo-lightbox-close {
    width: auto;
    justify-self: end;
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.75rem;
}

.photo-lightbox-nav {
    position: fixed;
    top: 50%;
    width: auto;
    min-height: 2.8rem;
    padding: 0.7rem 0.9rem;
    transform: translateY(-50%);
    font-size: 0.75rem;
}

.photo-lightbox-prev {
    left: clamp(1rem, 3vw, 2rem);
}

.photo-lightbox-next {
    right: clamp(1rem, 3vw, 2rem);
}

.photo-lightbox-caption {
    justify-self: center;
    color: var(--muted-foreground);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.media-body,
.admin-card {
    padding: 1rem;
}

.media-body h3 {
    margin: 0;
    font-size: 1rem;
}

.media-body p {
    margin: 0.55rem 0 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.tag {
    border: 1px solid rgba(255, 138, 80, 0.32);
    border-radius: 999px;
    padding: 0.28rem 0.5rem;
    color: #ff8a50;
    background: rgba(255, 138, 80, 0.10);
    font-size: 0.72rem;
    font-weight: 800;
}

/* ─── Download link ─────────────────────────────────────────────── */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    width: auto;
    box-shadow: none;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.82;
    transition: opacity 150ms ease, color 150ms ease;
    cursor: pointer;
}

.download-link:hover {
    opacity: 1;
    color: var(--secondary-glow);
    transform: none;
    box-shadow: none;
}

/* ─── Max Zillion name text ─────────────────────────────────────── */
.max-name-text {
    display: block;
    margin: 0 auto 0;
    font-size: clamp(0.82rem, 2vw, 0.96rem);
    font-weight: 800;
    letter-spacing: 0.46em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
}

.empty-state {
    margin: 1rem 0 0;
}

.admin-shell {
    padding: 2rem 0 4rem;
}

.admin-page {
    overflow-x: hidden;
}

.admin-login-card {
    width: min(34rem, 100%);
    margin: clamp(2rem, 8vh, 6rem) auto 0;
    text-align: center;
}

.admin-login-card h1,
.admin-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.admin-login-card h1 span {
    display: block;
}

.admin-login-card h1 span:last-child {
    background-image: linear-gradient(90deg, var(--primary-glow), var(--steel), var(--secondary-glow), var(--primary-glow));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

.admin-login-card .admin-muted {
    margin: 1.4rem auto 0;
    max-width: 26rem;
}

.admin-login-card form {
    margin-top: 1.8rem;
    text-align: left;
}

.admin-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
    margin: 1rem 0 1rem;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: clamp(1.1rem, 3vw, 2rem);
    background: linear-gradient(145deg, rgba(24, 5, 18, 0.80), rgba(8, 1, 6, 0.64));
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.admin-hero .eyebrow,
.admin-card .eyebrow {
    margin-bottom: 0.75rem;
}

.admin-hero .admin-muted {
    max-width: 42rem;
    margin: 1rem 0 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(6rem, 1fr));
    gap: 0.7rem;
}

.admin-stats div {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
}

.admin-stats strong,
.admin-stats span {
    display: block;
}

.admin-stats strong {
    font-size: 1.5rem;
    line-height: 1;
}

.admin-stats span {
    margin-top: 0.35rem;
    color: var(--muted-foreground);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: 1rem;
    align-items: start;
}

.bulk-form {
    display: grid;
    gap: 1rem;
}

.bulk-panel {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.035);
}

.bulk-panel form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: end;
}

.bulk-panel button {
    align-self: end;
}

.admin-card {
    padding: 1.1rem;
}

.status-card {
    margin-bottom: 1rem;
}

.status-card p {
    margin: 0.35rem 0 0;
}

.admin-divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.4rem 0;
}

.field {
    margin-bottom: 1rem;
}

.admin-list {
    display: grid;
    gap: 0.7rem;
}

.admin-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.24);
}

.select-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.select-item input {
    width: auto;
    min-height: 0;
}

.admin-item p {
    margin: 0.35rem 0 0;
}

.metadata-editor {
    margin-top: 0.85rem;
}

.metadata-editor summary {
    display: inline-flex;
    cursor: pointer;
    color: #ff8a50;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.metadata-editor form {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.85rem;
}

.metadata-editor button {
    width: auto;
    justify-self: start;
}

.inline-form {
    display: inline;
}

.inline-form button {
    width: auto;
    min-height: 2.3rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.75rem;
}

/* ─── Library loading spinner ───────────────────────────────────── */
.library-spinner-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #07030d;
    transition: opacity 0.7s ease;
}

.spinner-label {
    margin: 1.6rem 0 0;
    color: var(--steel);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.46em;
    text-transform: uppercase;
}

.library-spinner-overlay.spinner-done {
    opacity: 0;
    pointer-events: none;
}

#spinnerCanvas {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(400px, 82vw);
    height: min(400px, 82vw);
}

#spinnerCanvas canvas {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* ─── Secret Vaults ─────────────────────────────────────────────── */
.vault-section {
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.vault-section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vault-section-label {
    margin: 0;
    color: var(--steel);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.48em;
    text-transform: uppercase;
}

.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.vault-card {
    position: relative;
    border: 1px solid rgba(255, 138, 80, 0.20);
    border-radius: 7px;
    padding: 1.4rem;
    background: linear-gradient(145deg, rgba(18, 4, 12, 0.94), rgba(8, 1, 6, 0.88));
    box-shadow: 0 0 36px rgba(255, 138, 80, 0.04), 0 18px 50px rgba(0, 0, 0, 0.44);
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.vault-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 138, 80, 0.05), transparent 60%);
    pointer-events: none;
}

.vault-card:hover {
    border-color: rgba(255, 138, 80, 0.40);
    box-shadow: 0 0 54px rgba(255, 138, 80, 0.09), 0 22px 60px rgba(0, 0, 0, 0.52);
}

.vault-card.vault-unlocked {
    border-color: rgba(200, 40, 90, 0.30);
    box-shadow: 0 0 36px rgba(200, 40, 90, 0.07), 0 18px 50px rgba(0, 0, 0, 0.44);
}

.vault-card.vault-unlocked:hover {
    border-color: rgba(200, 40, 90, 0.50);
    box-shadow: 0 0 54px rgba(200, 40, 90, 0.10), 0 22px 60px rgba(0, 0, 0, 0.52);
}

.vault-name {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff8a50;
}

.vault-unlocked .vault-name {
    color: #ffffff;
}

.vault-teaser {
    margin: 0 0 1.2rem;
    color: var(--muted-foreground);
    font-size: 0.82rem;
    line-height: 1.65;
}

.vault-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.3rem;
    border: 1px solid rgba(255, 138, 80, 0.30);
    border-radius: 7px;
    padding: 0.55rem 0.85rem;
    background: rgba(255, 138, 80, 0.07);
    color: #ff8a50;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
    box-shadow: none;
}

.vault-btn:hover {
    background: rgba(255, 138, 80, 0.14);
    border-color: rgba(255, 138, 80, 0.55);
    transform: none;
    box-shadow: none;
}

.vault-unlocked .vault-btn {
    border-color: rgba(200, 40, 90, 0.30);
    background: rgba(200, 40, 90, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.vault-unlocked .vault-btn:hover {
    background: rgba(200, 40, 90, 0.16);
    border-color: rgba(200, 40, 90, 0.50);
}

/* Vault password modal */
.vault-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 1, 9, 0.88);
    backdrop-filter: blur(14px);
}

.vault-modal {
    position: relative;
    width: min(26rem, 100%);
    border: 1px solid rgba(255, 138, 80, 0.24);
    border-radius: 7px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(145deg, rgba(18, 4, 12, 0.97), rgba(8, 1, 6, 0.95));
    box-shadow: 0 0 80px rgba(255, 138, 80, 0.07), 0 40px 100px rgba(0, 0, 0, 0.65);
    text-align: center;
}

.vault-modal-title {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ff8a50;
}

.vault-modal-hint {
    margin: 0 0 1.5rem;
    color: var(--muted-foreground);
    font-size: 0.82rem;
    line-height: 1.6;
}

.vault-modal form {
    text-align: left;
}

.vault-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: auto;
    min-height: 2rem;
    padding: 0.4rem 0.65rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--steel);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    box-shadow: none;
}

.vault-modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: none;
}

/* Vault items view */
.vault-items-panel {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.vault-items-eyebrow {
    margin: 0 0 1rem;
    color: var(--steel);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

@media (max-width: 820px) {
    .admin-shell {
        width: min(100% - 1rem, 1180px);
    }

    .site-shell > .topbar,
    .site-shell > .hero,
    .site-shell > .library-section {
        width: min(100% - 1rem, 1180px);
    }

    .topbar,
    .section-heading,
    .admin-item {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .library-controls,
    .bulk-panel form {
        grid-template-columns: 1fr;
    }

    .admin-hero {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        width: 100%;
    }

    .proof-row {
        gap: 0.8rem;
        letter-spacing: 0.24em;
    }

    .proof-row span:nth-child(even) {
        width: 1.1rem;
    }
}

@media (max-width: 520px) {
    .gate {
        padding: 0.75rem;
    }

    .gate-panel {
        padding: 1.25rem;
    }

    .gate-panel h1 {
        font-size: clamp(1.65rem, 11.6vw, 3.1rem);
        letter-spacing: -0.03em;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 12.2vw, 4.65rem);
        letter-spacing: -0.035em;
    }

    .collection-title {
        font-size: clamp(1.35rem, 9vw, 2.2rem);
    }

    .hero .collection-title {
        font-size: clamp(1.65rem, 10vw, 3rem);
    }

    .brand-lockup {
        width: min(13rem, 56vw);
    }

    .gate-logo {
        width: min(100%, 18rem);
        max-height: 4rem;
    }

    .hero-logo {
        width: min(100%, 31rem);
    }

    .brand-lockup,
    .topbar a,
    .hero-actions > span {
        letter-spacing: 0.18em;
    }

    .hero {
        min-height: calc(100vh - 7rem);
        padding-bottom: 3rem;
    }

    .hero-copy {
        margin-top: 2rem;
    }

    .photo-lightbox-nav {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .proof-row {
        margin-top: 4rem;
    }
}

/* ─── Age Gate ──────────────────────────────────────────────────── */
.age-gate-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 1, 9, 0.97);
    backdrop-filter: blur(20px);
}

.age-gate-panel {
    position: relative;
    width: min(32rem, 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: clamp(2rem, 6vw, 3.5rem);
    background: linear-gradient(145deg, rgba(22, 5, 18, 0.96), rgba(8, 2, 7, 0.92));
    box-shadow: var(--shadow-vip), 0 40px 100px rgba(0, 0, 0, 0.65);
    text-align: center;
}

.age-gate-panel h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.age-gate-note {
    color: var(--muted-foreground);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 26rem;
    margin-inline: auto;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.age-gate-actions button {
    width: 100%;
    max-width: 18rem;
}

.age-gate-no {
    color: var(--muted-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.65;
    transition: opacity 150ms ease;
}

.age-gate-no:hover {
    opacity: 1;
}

/* ─── Admin / section headings ──────────────────────────────────── */
.admin-login-card h1,
.admin-hero h1,
.admin-card h2,
.section-heading h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* ─── Hero copy ─────────────────────────────────────────────────── */
.hero-copy {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 240, 245, 0.78);
    letter-spacing: 0.01em;
    line-height: 1.7;
}

/* ─── Egress tips block ─────────────────────────────────────────── */
.egress-tips p {
    margin: 0 0 0.7rem;
    font-size: 0.84rem;
    line-height: 1.65;
}

.egress-tips p:last-child {
    margin-bottom: 0;
}

.egress-tips code {
    display: inline;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.82em;
    color: #ff8a50;
}

.egress-tips strong {
    color: rgba(255,255,255,0.88);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 3rem;
}

.footer-message-link {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    opacity: 0.6;
    transition: opacity 150ms ease, color 150ms ease;
}

.footer-message-link:hover {
    opacity: 1;
    color: var(--primary-glow);
}
