* {
    box-sizing: border-box;
}

:root {
    --bg: #080808;
    --surface: rgba(18, 18, 18, 0.76);
    --surface-strong: rgba(24, 24, 24, 0.9);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.20);
    --text-main: #eeeeee;
    --text-muted: #b8b8b8;
    --text-soft: #8f8f8f;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text-main);
    background-attachment: fixed;
    background-color: #010208;
    background-image:
        radial-gradient(ellipse 55% 70% at 50% -5%,
        rgba(15, 55, 155, 0.55), transparent 60%),
        radial-gradient(ellipse 30% 30% at 20% 80%,
        rgba(6, 22, 75, 0.35), transparent 45%),
        radial-gradient(ellipse 25% 25% at 78% 78%,
        rgba(8, 28, 90, 0.30), transparent 45%);
}

/* Header / navigation */

header {
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 28, 90, 0.40);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(60, 120, 255, 0.12);
}

.site-header-inner {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    text-decoration: none;
}

nav a:hover {
    background: rgba(255,255,255, 0.10);
    color: #fff;
}

.site-logo {
    margin-right: auto;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.92;
}

.site-logo:hover {
    color: #ffffff;
    opacity: 1;
    background: none;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;
    text-decoration: none;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.nav-icon-link svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-icon-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* Brand */

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    line-height: 1;
}

.brand-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #f5f7ff;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(220, 226, 245, 0.68);
    text-transform: none;
}

/* Main layout */

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 42px 32px 56px;
    min-height: calc(100vh - 260px);
}

.section-title {
    margin-top: 54px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232, 237, 250, 0.78);
}

/* Home / Hero */

.home-intro {
    width: 100%;
    max-width: none;
    margin: 0 0 48px;
    padding: 38px 56px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    background:
        radial-gradient(circle at 18% 8%, rgba(64, 97, 180, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(12, 17, 31, 0.70), rgba(5, 7, 12, 0.42));
    box-shadow: 0 22px 90px rgba(0, 0, 0, 0.22);
}

.home-intro.home-hero {
    position: relative;
    overflow: hidden;
    background: rgba(7, 10, 18, 0.18);
}

.home-intro h1,
.home-intro p,
.home-intro-kicker {
    max-width: 760px;
}

.home-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 3.4vw, 54px);
    line-height: 1.04;
    font-weight: 700;
    color: #f5f7ff;
}

.home-intro p:last-child {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(232, 237, 250, 0.72);
}

.home-intro-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(220, 226, 245, 0.62);
}

.home-hero {
    position: relative;
    overflow: hidden;
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.85;
    filter: brightness(0.95) contrast(1.08) saturate(0.95);
    z-index: 0;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 18, 0.82) 0%,
            rgba(5, 8, 18, 0.58) 42%,
            rgba(5, 8, 18, 0.18) 100%
        );
    pointer-events: none;
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Cards */

.card {
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
}

.card h1 {
    margin: 0 0 8px;
    max-width: 980px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 650;
}

.card h2 {
    letter-spacing: -0.025em;
}

.card > p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.55;
}

.card h1 + p {
    padding-bottom: 28px;
}

.card > .set-back-row {
    margin-top: 46px;
    margin-bottom: 0;
}

/* Sets & Pages */

.sets-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px 80px;
}

.sets-header {
    margin-bottom: 24px;
    text-align: left;
}

.sets-header h1 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.sets-header h2 {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232, 237, 250, 0.78);
}

.sets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.set-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.set-card {
    padding: 15px;
    display: block;
    overflow: hidden;
    border-radius: 0px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.set-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

.set-card h2 {
    margin-top: 0;
}

.set-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.set-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.set-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.42) 34%,
            rgba(0, 0, 0, 0.08) 68%,
            rgba(0, 0, 0, 0.02) 100%
        );
    pointer-events: none;
}

.set-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 28% 22%, rgba(255,255,255,0.13), transparent 30%),
        linear-gradient(145deg, #242129, #09090b);
}

.set-cover-placeholder span {
    font-size: 4.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.26);
}

.set-overlay {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
}

.set-overlay h2 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.94);
}

.set-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
}

.set-info {
    padding: 18px 18px 20px;
}

.set-info h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.set-detail-meta {
    margin: 22px 0 34px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(220, 226, 245, 0.45);
}

.set-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 10px 14px 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.set-back-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.set-back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-2px);
}

.meta {
    color: #aaa;
    font-size: 14px;
}

.meta-dot {
    opacity: 0.5;
}

.empty-state {
    max-width: 520px;
    margin: 50px auto 0;
    padding: 28px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
}

/* Gallery & Masonry */

.public-media-grid {
    display: block;
    margin-top: 28px;
}

.public-media-grid.is-loading {
    opacity: 0;
    min-height: 220px;
}

.public-media-grid.is-ready {
    opacity: 1;
    transition: opacity 0.25s ease;
}

.masonry-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    align-items: start;
}

.masonry-column {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.public-media-item {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: none;
}

.public-media-item:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.public-media-link {
    display: block;
}

.public-media-item img,
.public-media-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #111111;
    border-radius: 0;
}

.public-media-item img {
    transition: transform 0.28s ease, filter 0.28s ease;
    transform: scale(1);
}

.public-media-item:hover img {
    transform: scale(1.035);
    filter: brightness(1.06);
}

.public-media-locked {
    position: relative;
    overflow: hidden;
    display: block;
    background: #050505;
}

.public-media-locked img {
    width: 100%;
    height: auto;
    display: block;
    transform: none;
    filter: none;
}

.public-media-item:hover .public-media-locked img {
    transform: none;
    filter: none;
}

.public-media-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.10);
    pointer-events: none;
}

.public-media-locked-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.public-media-locked-icon {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-loader {
    margin-top: 34px;
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    background: rgba(18, 18, 18, 0.72);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
}

.gallery-loader::before {
    content: "";
    width: 22px;
    height: 22px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    border: 3px solid #444;
    border-top-color: #ddd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Lightbox */

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 28px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-inner {
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 0px;
    background: #111;
    transition: opacity 0.18s ease;
}

.lightbox-video {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    display: none;
    background: #000;
}

.lightbox.is-video .lightbox-image {
    display: none;
}

.lightbox.is-video .lightbox-video {
    display: block;
}

.lightbox:not(.is-video) .lightbox-video {
    display: none;
}

.lightbox.is-video .lightbox-arrow {
    display: none;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    border-radius: 999px;
    line-height: 1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.lightbox-close {
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    font-size: 30px;
    padding-bottom: 3px;
}

.lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 34px;
    padding-bottom: 4px;
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.lightbox-close:hover {
    transform: translateY(-1px);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-1px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(1px);
}

.lightbox-loader {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 4px solid #444;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    opacity: 0;
    pointer-events: none;
}

.lightbox.is-loading .lightbox-loader {
    opacity: 1;
}

.lightbox.is-loading .lightbox-image {
    opacity: 0.45;
}

/* Videos */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
    gap: 22px;
    margin-top: 16px;
    justify-content: start;
}

.video-card {
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.26);
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
    background: #111111;
}

.lazy-video-card {
    overflow: hidden;
}

.lazy-video-button,
.lazy-video-locked {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #111;
    color: #eee;
    display: block;
    font: inherit;
    overflow: hidden;
}

.lazy-video-button {
    cursor: pointer;
}

.lazy-video-locked {
    cursor: default;
}

.lazy-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lazy-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.42)),
        rgba(0,0,0,0.12);
    z-index: 1;
}

.lazy-video-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
}

.lazy-video-play {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding-left: 4px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.18s ease, background 0.18s ease;
}

.lazy-video-text {
    font-size: 14px;
    color: rgba(255,255,255,0.86);
    letter-spacing: 0.02em;
}

.lazy-video-button:hover .lazy-video-play {
    transform: scale(1.06);
    background: rgba(255,255,255,0.12);
}

.lazy-video-button:hover .lazy-video-poster {
    filter: brightness(1.08);
}

/* Admin / Forms */

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.button {
    display: inline-block;
    background: #eee;
    color: #111;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.button:hover {
    background: #fff;
    text-decoration: none;
}

.button-small {
    padding: 6px 10px;
    font-size: 14px;
}

.button-secondary {
    background: #333;
    color: #eee;
    border: 1px solid #555;
}

.button-secondary:hover {
    background: #444;
}

.button-danger {
    background: #7a3434;
    color: #fff;
}

.button-danger:hover {
    background: #9b3f3f;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #333;
    padding: 10px;
    text-align: left;
}

.admin-table th {
    color: #bbb;
    font-weight: normal;
}

.admin-table .button {
    margin-right: 6px;
}

.admin-form {
    margin-top: 20px;
    max-width: 600px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    color: #ccc;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 10px;
    background: #151515;
    color: #eee;
    border: 1px solid #444;
    border-radius: 8px;
    font: inherit;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.small-select,
.small-input {
    padding: 6px 8px;
    background: #151515;
    color: #eee;
    border: 1px solid #444;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
}

.small-input {
    width: 70px;
}

.admin-actions-inline {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.checkbox-row {
    margin-top: 2px;
    margin-bottom: 18px;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(232, 237, 250, 0.68);
    font-size: 14px;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f5f7ff;
    cursor: pointer;
}

/* Alerts */

.alert {
    padding: 12px;
    border-radius: 8px;
    margin: 14px 0;
}

.alert-error {
    background: #351c1c;
    border: 1px solid #7a3434;
    color: #ffd2d2;
}

.alert-success {
    background: #1c3524;
    border: 1px solid #357a48;
    color: #d7ffd2;
}

/* Thumbnails */

.admin-thumb {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #444;
    background: #111;
}

.video-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 13px;
}

/* Auth / Account */

.auth-page {
    max-width: 620px;
}

.auth-panel {
    padding: 34px 36px 38px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 20% 0%, rgba(64, 97, 180, 0.13), transparent 42%),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.auth-panel h1 {
    margin-bottom: 12px;
}

.auth-lead {
    margin: 0 0 18px;
    color: rgba(232, 237, 250, 0.76);
    font-size: 15px;
    line-height: 1.6;
}

.auth-note {
    margin: 0 0 26px;
    color: rgba(232, 237, 250, 0.52);
    font-size: 14px;
    line-height: 1.6;
}

.auth-panel .form-row input {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-panel .form-row input:focus {
    outline: none;
    border-color: rgba(170, 195, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(90, 130, 255, 0.12);
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.auth-actions .button-secondary {
    background: transparent;
    color: rgba(232, 237, 250, 0.72);
    border-color: rgba(255, 255, 255, 0.14);
}

.account-summary {
    margin: 22px 0 26px;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
}

.account-summary p {
    margin: 12px 0 0;
    color: rgba(232, 237, 250, 0.72);
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.07);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 247, 255, 0.92);
}

.account-note {
    margin-top: 24px;
    color: rgba(232, 237, 250, 0.66);
    font-size: 14px;
    line-height: 1.6;
}

.member-note {
    margin-top: 38px;
    max-width: 720px;
    padding: 26px 28px;
    border-radius: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(64, 97, 180, 0.14), transparent 42%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(245, 247, 255, 0.92);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.member-note-kicker {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(220, 226, 245, 0.48);
}

.member-note-title {
    font-size: 18px;
    line-height: 1.35;
    color: rgba(245, 247, 255, 0.94);
}

.member-note-text {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(232, 237, 250, 0.62);
}

.member-note-button {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #101010;
    text-decoration: none;
    font-size: 14px;
}

.member-note-button:hover {
    background: #ffffff;
    color: #000000;
}

.member-note-wide {
    max-width: none;
    width: 100%;
    margin: 34px 0 26px;
}

/* Page Loader */

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(64, 97, 180, 0.18), transparent 42%),
        #050812;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader-brand {
    color: rgba(245, 247, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    animation: loaderPulse 1.6s ease-in-out infinite;
}

.page-loader-brand::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    margin: 16px auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(245, 247, 255, 0.62),
        transparent
    );
    animation: loaderLine 1.4s ease-in-out infinite;
}

/* Pagination */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 38px 0 0;
    flex-wrap: wrap;
}

.pagination-link {
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(232, 237, 250, 0.62);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.pagination-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.085);
    transform: translateY(-1px);
}

.pagination-link.is-current {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    cursor: default;
}

.pagination-ellipsis {
    min-width: 26px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 237, 250, 0.32);
    font-size: 14px;
}

.pagination-nav {
    width: 38px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
}

.pagination-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 34px 0 0;
}

.pagination-minimal-arrow {
    color: rgba(232, 237, 250, 0.62);
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.pagination-minimal-arrow:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.pagination-minimal-arrow.is-disabled {
    opacity: 0.22;
    pointer-events: none;
}

.pagination-minimal-current {
    color: rgba(232, 237, 250, 0.46);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Footer */

.site-footer {
    margin-top: 54px;
    padding: 42px 24px 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    background:
        radial-gradient(circle at 50% 0%, rgba(64, 97, 180, 0.08), transparent 36%),
        rgba(3, 6, 14, 0.30);
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    margin-bottom: 16px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(245, 247, 255, 0.38);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.36);
}

.footer-meta a {
    color: rgba(232, 237, 250, 0.52);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-meta a:hover {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

/* Misc Utilities */

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: inherit;
    cursor: default;
}

/* Keyframes */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */

@media (max-width: 1100px) {
    .masonry-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .masonry-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .sets-page {
        padding: 28px 0 64px;
    }

    .sets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .set-cover {
        aspect-ratio: 16 / 10;
    }

    .set-card {
        padding: 0;
        background: rgba(255, 255, 255, 0.035);
    }
    .set-overlay {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .set-overlay h2 {
        font-size: 1.18rem;
        line-height: 1.18;
    }

    .set-meta {
        font-size: 0.84rem;
    }
    .site-footer {
        margin-top: 42px;
        padding: 34px 16px 38px;
    }

    .footer-brand {
        margin-bottom: 14px;
        font-size: 0.72rem;
        letter-spacing: 0.22em;
    }

    .footer-meta {
        font-size: 0.75rem;
    }
}

@media (max-width: 720px) {
    header {
        position: relative;
        top: auto;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            radial-gradient(circle at 50% 0%, rgba(28, 61, 140, 0.34), transparent 48%),
            #071026;
    }

    .home-intro {
        padding: 28px 24px;
        margin-bottom: 38px;
    }

    .home-intro h1 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -0.6px;
    }

    .home-intro p:last-child {
        font-size: 15px;
        line-height: 1.65;
    }

    .card > h1 {
        font-size: 24px;
        line-height: 1.12;
        letter-spacing: -0.4px;
    }

    .card > h1 + p {
        font-size: 14px;
        line-height: 1.55;
    }

    .set-detail-meta {
        margin: 22px 0 30px;
        font-size: 11px;
        letter-spacing: 1.6px;
    }

    .auth-page {
        max-width: none;
    }

    .auth-panel {
        padding: 28px 22px 30px;
    }

    .auth-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-actions .button {
        text-align: center;
    }

    .member-note {
        padding: 22px 20px;
        margin-top: 30px;
    }

    .member-note-title {
        font-size: 16px;
    }

    .member-note-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .lightbox {
        padding: 12px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 36px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 14px 16px;
        gap: 14px;
    }

    main {
        padding: 24px 16px 42px;
    }

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

    .nav-icons {
        gap: 8px;
    }

    .nav-icon-link {
        width: 36px;
        height: 36px;
    }

    .nav-icon-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 520px) {
    .pagination-link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .pagination-nav {
        width: 34px;
        padding: 0;
        font-size: 19px;
    }
}

@media (max-width: 500px) {
    .masonry-columns {
        grid-template-columns: 1fr;
    }
}