/* ══════════════════════════════════════════
   ZOE LANE EXCLUSIVE – PREMIUM THEME
   Dark aesthetic · Glass · Cinematic
   ══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

/* ── Body ────────────────────────────────── */
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #020000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: rgba(180,220,240,.5); text-decoration:none; transition:color .3s; }
a:hover { color: rgba(180,220,240,.8); }
img { display:block; max-width:100%; }

/* ══════════════════════════════════════════
   LOGIN PAGE – FIXED BG + CENTERED CARD
   ══════════════════════════════════════════ */

/* ── Fixed background image ──────────────── */
.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.login-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 25%;
  filter: brightness(.55) saturate(.85);
}

/* ── Full-screen centered wrapper ────────── */
.login-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* ── Login card ──────────────────────────── */
.login-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
  background: rgba(2, 0, 0, .55);
  backdrop-filter: blur(18px) saturate(.9);
  -webkit-backdrop-filter: blur(18px) saturate(.9);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 40px 28px 36px;
}

/* ── Title / subtitle ────────────────────── */
.login-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.login-sub {
  margin-top: 6px;
  margin-bottom: 20px;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: lowercase;
  color: rgba(255,255,255,.45);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
  font-style: italic;
}

/* ── Photo strip mosaic ──────────────────── */
.photo-strip {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 6px;
  height: 64px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.photo-strip img {
  height: 100%;
  width: auto;
  object-fit: cover;
  filter: brightness(.5) saturate(.6);
  transition: filter .4s, transform .4s;
  border-radius: 3px;
  flex-shrink: 0;
}
.photo-strip img:hover {
  filter: brightness(.8) saturate(1);
  transform: scale(1.05);
}

/* ── Form styles ─────────────────────────── */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

.form-field {
  position: relative;
}

.login-form label {
  display: block;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 6px;
  text-align: left;
}

.login-form input {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  outline: none;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.login-form input:focus {
  border-color: rgba(180,220,240,.2);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 20px rgba(180,220,240,.04);
}
.login-form input::placeholder {
  color: rgba(255,255,255,.12);
  font-style: italic;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all .4s;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,220,240,.06), transparent 50%);
  opacity: 0;
  transition: opacity .4s;
}
.btn:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(180,220,240,.18);
  box-shadow: 0 4px 20px rgba(180,220,240,.06);
  transform: translateY(-1px);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); opacity:.8; }

.btn-accent {
  background: linear-gradient(135deg, rgba(120,25,35,.2), rgba(120,25,35,.1));
  border-color: rgba(120,25,35,.25);
  color: rgba(255,255,255,.75);
}
.btn-accent::after {
  background: linear-gradient(135deg, rgba(120,25,35,.12), transparent 50%);
}
.btn-accent:hover {
  background: linear-gradient(135deg, rgba(120,25,35,.3), rgba(120,25,35,.15));
  border-color: rgba(120,25,35,.4);
  box-shadow: 0 4px 20px rgba(120,25,35,.1);
  color: #fff;
}

.btn-small {
  padding: 10px 24px;
  font-size: .7rem;
  width: auto;
}

/* ── Divider ─────────────────────────────── */
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: rgba(255,255,255,.12);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
}

/* ── Admin button (nearly invisible) ─────── */
.admin-btn {
  margin-top: 28px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: color .3s, background .3s, border-color .3s;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1;
}
.admin-btn:hover {
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
}

.login-error {
  color: rgba(180,60,60,.7);
  font-size: .75rem;
  letter-spacing: .08em;
  min-height: 1.2em;
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   INNER PAGES – NAV
   ══════════════════════════════════════════ */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: rgba(2,0,0,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7) !important;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(180,220,240,.4);
  transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: rgba(255,255,255,.75); }
.nav-links .logout-link { color: rgba(120,25,35,.45); }
.nav-links .logout-link:hover { color: rgba(120,25,35,.7); }
.nav-links .logout-link::after { background: rgba(120,25,35,.4); }

/* ══════════════════════════════════════════
   INNER PAGE BACKGROUND
   ══════════════════════════════════════════ */
body.inner-page { background: #020000; }
body.inner-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 1200px 600px at 50% 20%,
      rgba(10,8,12,1) 0%,
      #020000 70%);
}
body.inner-page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 350px at 50% -40px,
      rgba(180,220,240,.05) 0%,
      transparent 70%),
    radial-gradient(ellipse 500px 250px at 50% 110%,
      rgba(120,25,35,.04) 0%,
      transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 30%,
      rgba(180,220,240,.015) 0%,
      transparent 60%);
}

/* ══════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════ */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  animation: fade-in .6s ease-out;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.22);
  letter-spacing: .12em;
  font-style: italic;
  margin-bottom: 52px;
}

/* ── Photo Grid ──────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}
.photo-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}
.photo-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 40px rgba(180,220,240,.03);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photo-card:hover img { transform: scale(1.04); }

/* Shimmer placeholder */
.photo-card .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.06);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.02) 100%);
  background-size: 300% 300%;
  animation: shimmer 4s ease infinite;
}
@keyframes shimmer {
  0%   { background-position: 100% 100%; }
  50%  { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.photo-card .photo-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: .6rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}

/* ── Lightbox ────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.lightbox.active {
  display: flex;
  animation: lb-in .3s ease;
}
@keyframes lb-in { from { opacity:0; } to { opacity:1; } }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 1.8rem;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color .3s, transform .3s;
}
.lightbox-close:hover { color: rgba(255,255,255,.6); transform: scale(1.1); }

/* ── Video Grid ──────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.video-card .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.06);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.02) 100%);
  background-size: 300% 300%;
  animation: shimmer 4s ease infinite;
}
.video-card .play-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.08);
  transition: color .3s, transform .3s;
}
.video-card:hover .play-icon { color: rgba(255,255,255,.2); transform: scale(1.1); }
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Upgrade Banner ──────────────────────── */
.upgrade-banner {
  text-align: center;
  padding: 48px 28px;
  margin: 48px 0;
  border: 1px solid rgba(120,25,35,.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(120,25,35,.06), rgba(120,25,35,.02)),
    rgba(255,255,255,.01);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.upgrade-banner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,25,35,.3), transparent);
}
.upgrade-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 12px;
}
.upgrade-banner p {
  font-size: .82rem;
  color: rgba(255,255,255,.28);
  margin-bottom: 28px;
  letter-spacing: .06em;
}
.price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.price-period {
  font-size: .7rem;
  color: rgba(255,255,255,.22);
  letter-spacing: .12em;
  margin-bottom: 28px;
}

/* ── Locked overlay ──────────────────────── */
.locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,0,0,.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.lock-icon {
  font-size: 1.6rem;
  color: rgba(255,255,255,.08);
}

/* ── Account ─────────────────────────────── */
.account-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.account-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.account-row:last-child { border-bottom: none; }
.account-label {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.account-value {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.tier-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tier-photos {
  background: rgba(180,220,240,.06);
  border: 1px solid rgba(180,220,240,.12);
  color: rgba(180,220,240,.7);
}
.tier-premium {
  background: rgba(120,25,35,.1);
  border: 1px solid rgba(120,25,35,.2);
  color: rgba(200,160,140,.7);
}

/* ── Toast ───────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 14px 32px;
  background: rgba(15,15,15,.95);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  font-size: .75rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  z-index: 2000;
  transition: transform .4s ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Footer ──────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,.03);
  font-size: .6rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.12);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .login-wrapper { padding: 16px 12px; }
  .login-card { max-width: 340px; padding: 28px 18px 28px; border-radius: 14px; }
  .login-title { font-size: 1.4rem; letter-spacing: .28em; }
  .login-sub { font-size: .65rem; }
  .photo-strip { height: 48px; }
  .page-nav { padding: 14px 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .55rem; }
  .main { padding: 36px 16px 60px; }
  .section-title { font-size: 1.3rem; letter-spacing: .22em; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .video-grid { grid-template-columns: 1fr; }
  .account-card { padding: 28px 18px; }
  .upgrade-banner { padding: 32px 18px; }
}

@media (max-width: 380px) {
  .login-card { padding: 22px 14px 22px; }
  .login-title { font-size: 1.2rem; letter-spacing: .2em; }
  .photo-strip { height: 40px; }
}

@media (max-height: 600px) {
  .login-wrapper { padding: 12px; }
  .login-card { padding: 20px 16px 20px; }
  .photo-strip { height: 40px; margin-bottom: 12px; }
}
