/* ============================================================
   ZULU ESSENCE — PAYWALL
   Append this entire block to the bottom of style.css
   ============================================================ */

#paywallOverlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pwFadeIn 0.35s ease forwards;
}

@keyframes pwFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pw-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
  pointer-events: auto;
  z-index: 0;
}

.pw-card {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255,255,255,0.06);
  animation: pwSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pwSlideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pw-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pw-close:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
}
.pw-close:active {
  transform: scale(0.95);
}

.pw-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.pw-headline {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 1px;
}

.pw-sub {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.42);
  margin: 0 0 32px;
  letter-spacing: 0.2px;
}

.pw-price-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 28px;
}

.pw-currency {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.pw-amount {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.pw-period {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.pw-perks {
  list-style: none;
  margin: 0 0 32px;
  padding: 20px 0;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pw-perks li {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pw-check {
  color: rgba(255,255,255,0.4);
  font-size: 9px;
}

.pw-cta {
  width: 100%;
  padding: 16px 28px;
  border-radius: 50px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  margin-bottom: 16px;
  text-decoration: none;
  box-sizing: border-box;
}

.pw-cta:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.15);
}

.pw-cta:active { transform: translateY(0); }

.pw-cta-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}

.pw-cta:hover .pw-cta-arrow {
  transform: translateX(3px);
}

.pw-crypto-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pw-crypto-note span {
  color: #fff;
  font-weight: 600;
}

.pw-legal {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.pw-code-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
  transition: color 0.2s ease;
}

.pw-code-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pw-pending-box {
  margin: 10px 0 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.pw-pending-msg {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 12px;
  line-height: 1.5;
}

.pw-confirm-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 40px;
  border: none;
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.pw-confirm-btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.pw-verify-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

.pw-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.pw-input:focus {
  border-color: #22c55e;
}

.pw-verify-status {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 6px;
  min-height: 16px;
}

.pw-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
  margin: 6px 0 10px;
  text-align: center;
}

.pw-reopen-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-decoration: underline;
  margin-top: 6px;
  transition: color 0.2s;
}

.pw-reopen-link:hover {
  color: #fff;
}

/* Subscribed state — visually unlocks premium tiles */
body.subscribed .tile-locked { cursor: pointer; }
body.subscribed .tile-locked img { filter: none; }
body.subscribed .tile-lock-badge { display: none; }

/* VIP Header Button */
.vip-header-btn {
  position: absolute;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-header-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

body.subscribed .vip-header-btn {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
}

/* VUI Unlock Button in player lock screen */
.vui-unlock-btn {
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.vui-unlock-btn:hover {
  transform: scale(1.05);
  background: #f0f0f0;
}