/* Netflix-style dark media + members pages */
.theme-dark body { background: #0b0b0f; color: #e8e8ea; }
.theme-dark ::selection { background: rgba(255, 255, 255, .25); }
.topnav--dark { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topnav--dark.scrolled { background: rgba(11, 11, 15, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
.topnav--dark .brand, .topnav--dark .navlinks a.active { color: #fff; }
.topnav--dark .navlinks a { color: #c9c9cf; }
.topnav--dark .navlinks a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.topnav--dark .navlinks a.active::after { background: #fff; }
.topnav--dark .nav-toggle { color: #fff; }
.topnav--dark .nav-toggle:hover { background: rgba(255, 255, 255, .1); }
.topnav--dark .member-chip { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 820px) { .topnav--dark .navlinks { background: rgba(14, 14, 18, .97); border-color: #222; } }

/* ---------------------------------------------------------------- Hero */
.mx-hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; padding: 0 4vw 14vh; overflow: hidden; isolation: isolate; }
.mx-hero-media { position: absolute; inset: 0; z-index: -2; }
.mx-hero-media img, .mx-hero-media video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.mx-hero-fallback { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--accent) 60%, #000), #0b0b0f 70%); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.mx-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0b0b0f 0%, #0b0b0f 3%, rgba(11, 11, 15, .6) 16%, rgba(11, 11, 15, 0) 38%), linear-gradient(77deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 70%); }
.mx-hero-content { max-width: 640px; animation: heroIn 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }
.mx-tagline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; color: #d0d0d6; margin-bottom: 14px; font-weight: 600; }
.mx-tagline span + span::before { content: "•"; margin-right: 14px; color: #777; }
.mx-tagline .mx-badge + span::before { display: none; }
.mx-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.mx-title { font: 800 clamp(40px, 6.5vw, 86px)/0.98 var(--font-display); letter-spacing: -.035em; color: #fff; margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); text-wrap: balance; }
.mx-desc { font-size: clamp(16px, 1.5vw, 19px); color: #e2e2e6; line-height: 1.5; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); margin-bottom: 26px; }
.mx-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 6px; border: 0; cursor: pointer;
  font: 700 17px var(--font); transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s, opacity .2s; text-decoration: none !important; }
.mx-btn:active { transform: scale(.97); }
.mx-btn--play { background: #fff; color: #0b0b0f; }
.mx-btn--play:hover { background: rgba(255, 255, 255, .82); }
.mx-btn--ghost { background: rgba(109, 109, 110, .55); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mx-btn--ghost:hover { background: rgba(109, 109, 110, .38); }
.mx-btn--accent { background: var(--accent); color: #fff; }
.mx-btn--accent:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.mx-btn--block { width: 100%; }

/* ---------------------------------------------------------------- Rows */
.mx-rows { position: relative; z-index: 2; margin-top: -6vh; padding-bottom: 40px; }
.mx-row { margin-bottom: 3.2vw; }
.mx-row-title { display: flex; align-items: center; gap: 10px; padding: 0 4vw; margin: 0 0 12px; font: 700 clamp(18px, 1.6vw, 24px) var(--font-display); color: #f2f2f4; letter-spacing: -.01em; }
.mx-count { font-size: 13px; font-weight: 600; color: #8b8b93; }
.mx-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); color: #d6d6dc; letter-spacing: .04em; text-transform: uppercase; }
.mx-track-wrap { position: relative; }
.mx-track { display: flex; gap: .5vw; overflow-x: auto; overflow-y: visible; padding: 26px 4vw 34px; margin: -26px 0 -34px; scroll-snap-type: x mandatory; scroll-padding: 0 4vw; scrollbar-width: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.mx-track::-webkit-scrollbar { display: none; }
.mx-tile { position: relative; flex: 0 0 clamp(220px, 19.4vw, 340px); aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #1a1a20; scroll-snap-align: start;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), box-shadow .38s, z-index 0s .38s; color: #fff; text-align: left; font: inherit; }
.mx-tile:hover, .mx-tile:focus-visible { transform: scale(1.14); z-index: 5; box-shadow: 0 18px 40px rgba(0, 0, 0, .75); transition-delay: .12s, .12s, 0s; outline: none; }
.mx-track .mx-tile:first-child { transform-origin: left center; }
.mx-track .mx-tile:last-child { transform-origin: right center; }
.mx-thumb { position: absolute; inset: 0; }
.mx-thumb img, .mx-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mx-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #2a1f4a, #0f3a5c); }
.mx-thumb-fallback--audio { background: linear-gradient(135deg, #5a1f3f, #3a2a7a); }
.mx-kind { position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mx-tile-info { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, 0)); opacity: .0; transform: translateY(8px); transition: all .3s ease; }
.mx-tile:hover .mx-tile-info, .mx-tile:focus-visible .mx-tile-info { opacity: 1; transform: none; }
.mx-tile-play { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; flex-shrink: 0; }
.mx-tile-text { display: flex; flex-direction: column; min-width: 0; }
.mx-tile-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-tile-text small { font-size: 12px; color: #bdbdc4; }
@media (hover: none) { .mx-tile-info { opacity: 1; transform: none; padding-top: 30px; } .mx-tile-play { display: none; } }
.mx-arrow { position: absolute; top: 0; bottom: 0; width: 4vw; min-width: 36px; z-index: 6; border: 0; background: rgba(11, 11, 15, .55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; display: grid; place-items: center; }
.mx-arrow--l { left: 0; border-radius: 0 6px 6px 0; } .mx-arrow--r { right: 0; border-radius: 6px 0 0 6px; }
.mx-track-wrap:hover .mx-arrow { opacity: 1; }
.mx-arrow:hover { background: rgba(11, 11, 15, .8); }
.mx-arrow[disabled] { visibility: hidden; }
@media (hover: none) { .mx-arrow { display: none; } }
.ad-slot--dark { margin: 0 4vw 3vw; padding: 14px; border-radius: 8px; background: #141419; }
.ad-slot--dark .ad-label { color: #6f6f78; }
.mx-member-cta { text-align: center; padding: 8px 0 24px; }
.mx-member-cta a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #8d8d96; padding: 8px 14px; border-radius: 99px; border: 1px solid #26262d; transition: all .2s; }
.mx-member-cta a:hover { color: #fff; border-color: #44444d; text-decoration: none; }

/* --------------------------------------------------------------- Empty */
.mx-empty { position: relative; min-height: 80vh; display: grid; place-items: center; padding: 120px 20px 60px; overflow: hidden; }
.mx-empty-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%); filter: blur(30px); animation: float1 20s ease-in-out infinite; }
.empty--dark h3 { color: #fff; }
.empty--dark p { color: #a0a0aa; }
.empty--dark .empty-art .ring { border-color: rgba(255, 255, 255, .18); }

/* -------------------------------------------------------------- Player */
.mx-player { position: fixed; inset: 0; z-index: 200; background: rgba(4, 4, 6, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .3s ease; }
.mx-player[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.mx-player-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(14px, env(safe-area-inset-top)) 20px 10px; }
.mx-player-title { display: flex; flex-direction: column; min-width: 0; }
.mx-player-title strong { font: 700 20px var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-player-title span { font-size: 13px; color: #9b9ba4; }
.mx-icon { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; flex-shrink: 0; }
.mx-icon:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.mx-stage { display: grid; place-items: center; padding: 0 72px; min-height: 0; }
.mx-stage > * { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); animation: zoomIn .35s cubic-bezier(.2, .8, .2, 1); }
.mx-stage video { width: min(1400px, 100%); background: #000; }
.mx-stage img { object-fit: contain; }
.mx-audio { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px; background: #15151b; width: min(520px, 100%); }
.mx-audio-art { width: 220px; height: 220px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #5a1f3f, #3a2a7a); color: #fff; }
.mx-audio-art img { width: 100%; height: 100%; object-fit: cover; }
.mx-audio audio { width: 100%; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.mx-nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .2s; }
.mx-nav:hover { background: rgba(255, 255, 255, .22); }
.mx-nav--prev { left: 12px; } .mx-nav--next { right: 12px; }
.mx-nav[hidden] { display: none; }
.mx-player-desc { padding: 12px 20px max(18px, env(safe-area-inset-bottom)); color: #c4c4cc; font-size: 14.5px; text-align: center; max-width: 900px; margin: 0 auto; }
.mx-player-desc:empty { display: none; }

/* ------------------------------------------------------------- Members */
.mx-login { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 110px 20px 60px; overflow: hidden; isolation: isolate; }
.mx-login-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at top, #1a1a24, #0b0b0f 70%); }
.mx-login-bg span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.mx-login-bg span:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -100px; background: var(--accent); animation: float1 22s ease-in-out infinite; }
.mx-login-bg span:nth-child(2) { width: 460px; height: 460px; right: -140px; bottom: -120px; background: #7f2ae0; animation: float2 26s ease-in-out infinite; }
.mx-login-bg span:nth-child(3) { width: 300px; height: 300px; left: 45%; top: 40%; background: #e50914; opacity: .18; animation: float3 20s ease-in-out infinite; }
.mx-login-card { width: min(440px, 100%); padding: 44px 40px; border-radius: 14px; background: rgba(0, 0, 0, .66); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); text-align: center; animation: rise .7s cubic-bezier(.2, .8, .2, 1); }
.mx-login-card h1 { color: #fff; font-size: 30px; font-weight: 700; margin: 18px 0 6px; }
.mx-login-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), #7f2ae0); box-shadow: 0 16px 40px -12px var(--accent); }
.mx-muted { color: #a8a8b2; margin-bottom: 24px; }
.mx-form { display: grid; gap: 14px; text-align: left; }
.mx-field { position: relative; display: block; }
.mx-field input { width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 6px; border: 1px solid #3a3a42; background: #1f1f25; color: #fff; font: 16px var(--font); transition: border-color .2s, background .2s; }
.mx-field input:focus { outline: none; border-color: #fff; background: #26262d; }
.mx-field span { position: absolute; left: 16px; top: 18px; color: #8f8f99; font-size: 16px; pointer-events: none; transition: all .18s ease; }
.mx-field input:focus + span, .mx-field input:not(:placeholder-shown) + span { top: 8px; font-size: 12px; }
.mx-alert { background: #e87c03; color: #fff; padding: 12px 14px; border-radius: 6px; font-size: 14.5px; margin-bottom: 14px; text-align: left; }
.mx-fine { font-size: 13px; color: #7d7d87; margin: 20px 0 0; }
.mx-fine a, .mx-link { color: #d6d6dc; }
.mx-link { background: none; border: 0; cursor: pointer; font: 14px var(--font); margin-top: 16px; text-decoration: underline; min-height: 44px; }

.footer--dark { background: #0b0b0f; border-top: 1px solid #1d1d23; color: #8d8d96; margin-top: 0; }
.footer--dark .brand, .footer--dark .footer-col a { color: #c9c9cf; }
.footer--dark .footer-col h4 { color: #6f6f78; }
.footer--dark .footer-brand p, .footer--dark .footer-bottom { color: #7d7d87; }
.footer--dark .footer-bottom { border-color: #1d1d23; }
.theme-dark .cookie { background: rgba(24, 24, 30, .9); border-color: rgba(255, 255, 255, .08); color: #ddd; }
.theme-dark .cookie p { color: #c4c4cc; }
.theme-dark .cookie .btn-secondary { background: #2a2a31; color: #fff; border-color: #3a3a42; }
.theme-dark .cookie-icon { background: rgba(255, 255, 255, .08); color: #fff; }
.theme-dark .ad-slot--wide { background: #111116; padding: 14px; border-radius: 8px; }

@media (max-width: 640px) {
  .mx-hero { min-height: 72vh; padding-bottom: 12vh; }
  .mx-tile { flex-basis: 64vw; }
  .mx-track { gap: 8px; }
  .mx-stage { padding: 0 8px; }
  .mx-nav { top: auto; bottom: 70px; translate: none; width: 48px; height: 48px; }
  .mx-btn { flex: 1; padding: 0 18px; }
  .mx-login-card { padding: 34px 22px; }
}
