/* Unholy Desires · the door  (v1.0) */

:root {
  --ink: #0a0607;
  --ink-2: #140a0c;
  --velvet: #7a1020;
  --velvet-deep: #3d0710;
  --crimson: #c4162f;
  --neon: #ff2d55;
  --brass: #d2ac80;        /* champagne gold from the UD logo */
  --brass-light: #ecd2ac;
  --brass-dark: #7d5d3b;
  --cream: #f0e6d8;
  --muted: #a8968c;
  --line: rgba(201, 162, 74, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(122, 16, 32, .35), transparent 70%),
    radial-gradient(ellipse 120% 60% at 50% 100%, rgba(61, 7, 16, .5), transparent 70%),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
em { font-style: italic; }

/* ---------- brand ---------- */
.brand {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 16px 0;
}
.brand-mark { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 500; font-size: 13px; letter-spacing: .32em; }
.brand-by { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }

/* ---------- neon ---------- */
.club { display: flex; flex-direction: column; align-items: center; padding: 26px 16px 40px; }
.neon { margin: 0 0 18px; text-align: center; font-weight: 400; line-height: 1; }
.neon-small {
  display: block; margin-bottom: 6px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .4em; text-transform: uppercase; color: var(--brass);
}
.neon-big {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(40px, 9vw, 68px);
  color: #ffe3e8;
  text-shadow:
    0 0 4px #fff,
    0 0 10px var(--neon),
    0 0 22px var(--neon),
    0 0 44px var(--crimson),
    0 0 80px var(--crimson);
  animation: flicker 7s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .55; }
}

/* ---------- entrance ---------- */
.entrance {
  position: relative;
  /* Shrinks on short screens so the security sign stays near the fold. */
  width: min(600px, 100%, max(360px, calc(100svh - 270px)));
  aspect-ratio: 600 / 590;
  margin-bottom: clamp(96px, 22%, 132px);
}

.doorframe {
  position: absolute; left: 50%; top: 0;
  width: 58%;
  aspect-ratio: 34 / 46;
  transform: translateX(-50%);
  padding: 4.2% 4.2% 0;
  background: linear-gradient(180deg, #24140f, #140a07);
  border: 1px solid var(--brass-dark);
  border-bottom: 0;
  box-shadow:
    inset 0 0 0 4px #1a0d09,
    inset 0 0 0 5px var(--brass-dark),
    0 0 60px rgba(196, 22, 47, .25),
    0 30px 60px rgba(0, 0, 0, .7);
}
.plaque {
  position: absolute; left: 50%; top: 1.1%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 1px 10px;
  font-size: clamp(8px, 1.6vw, 10px); font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: #2a1a06;
  background: linear-gradient(180deg, var(--brass-light), var(--brass) 55%, var(--brass-dark));
  border-radius: 2px;
}

.doorway {
  position: relative;
  width: 100%; height: 100%;
  perspective: 1400px;
  overflow: hidden;
  background: #050203;
}

.inside {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(255, 214, 160, .95), rgba(255, 106, 61, .6) 35%, rgba(138, 15, 28, .55) 65%, transparent 100%),
    linear-gradient(180deg, #2a0509, #0d0204);
  opacity: 0;
  transition: opacity 1.4s ease .5s;
}

.leaf {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background-color: #4d0b16;
  background-image:
    radial-gradient(circle, #170205 0 1.6px, rgba(0,0,0,.45) 2.4px, transparent 5px),
    radial-gradient(circle, #170205 0 1.6px, rgba(0,0,0,.45) 2.4px, transparent 5px),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(0,0,0,.42) 50%, transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), rgba(0,0,0,.42) 50%, transparent calc(50% + 1px)),
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(0,0,0,.25));
  background-size: 34px 34px, 34px 34px, 34px 34px, 34px 34px, 100% 100%;
  background-position: 0 0, 17px 17px, 0 0, 0 0, 0 0;
  box-shadow:
    inset 0 0 0 3px #2b050b,
    inset 0 0 0 4px var(--brass-dark),
    inset 0 0 40px rgba(0,0,0,.65);
  transition: transform 1.6s cubic-bezier(.6, .05, .2, 1) .45s;
  backface-visibility: hidden;
}
.leaf-left  { left: 0;  transform-origin: left center; }
.leaf-right { right: 0; transform-origin: right center; }
.leaf-right { background-image:
    radial-gradient(circle, #170205 0 1.6px, rgba(0,0,0,.45) 2.4px, transparent 5px),
    radial-gradient(circle, #170205 0 1.6px, rgba(0,0,0,.45) 2.4px, transparent 5px),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(0,0,0,.42) 50%, transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), rgba(0,0,0,.42) 50%, transparent calc(50% + 1px)),
    linear-gradient(270deg, rgba(255,255,255,.04), rgba(0,0,0,.25));
}

.handle {
  position: absolute; top: 38%;
  width: 7px; height: 22%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-light) 45%, var(--brass) 70%, var(--brass-dark));
  box-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.leaf-left  .handle { right: 9%; }
.leaf-right .handle { left: 9%; }

.carpet {
  position: absolute; left: 50%; bottom: 0;
  width: 92%; height: 24%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #5c0a17, #2a0409);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  opacity: .9;
}

/* ---------- velvet rope ---------- */
.barrier {
  position: absolute; left: 4%; right: 4%; bottom: 3%;
  height: 36%;
}
.post {
  position: absolute; bottom: 0;
  width: 4%; min-width: 14px; height: 86%;
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-light) 40%, var(--brass) 65%, var(--brass-dark));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 10px 20px rgba(0,0,0,.6);
}
.post::before { /* finial */
  content: ""; position: absolute; left: 50%; top: -14%;
  width: 170%; aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c9, var(--brass-light) 25%, var(--brass) 55%, var(--brass-dark));
}
.post::after { /* base */
  content: ""; position: absolute; left: 50%; bottom: -3px;
  width: 360%; height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brass-light), var(--brass-dark));
}
.post-left  { left: 0; }
.post-right { right: 0; }

.rope {
  position: absolute; top: 6%;
  width: calc(50% - 1%); height: 70%;
  overflow: visible;
  transition: transform 1s cubic-bezier(.5, 0, .3, 1), opacity .8s ease .5s;
}
.rope-left  { left: 2%;  transform-origin: 0 4%; }
.rope-right { right: 2%; transform-origin: 100% 4%; }
.rope path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.rope-shadow { stroke: rgba(0,0,0,.55); stroke-width: 15px; transform: translateY(3px); }
.rope-body   { stroke: #8f1426; stroke-width: 12px; }
.rope-sheen  { stroke: rgba(255, 120, 140, .35); stroke-width: 3px; transform: translateY(-2.5px); }

/* ---------- the security sign (login button) ---------- */
.sign {
  position: absolute; left: 50%; top: calc(6% + 70% * .74 - 4px);
  width: min(330px, 74%);
  transform: translateX(-50%);
  text-decoration: none;
  transform-origin: 50% 0;
  animation: sway 6s ease-in-out infinite;
  transition: transform .8s cubic-bezier(.5, 0, .7, .4), opacity .6s ease;
  z-index: 3;
}
@keyframes sway {
  0%, 100% { transform: translateX(-50%) rotate(-1.2deg); }
  50%      { transform: translateX(-50%) rotate(1.2deg); }
}
.sign-chains {
  display: block; height: 16px; margin: 0 auto;
  width: 46%;
  border-left: 2px dotted var(--brass);
  border-right: 2px dotted var(--brass);
}
.sign-face {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 16px 14px;
  text-align: center;
  background: linear-gradient(180deg, #1c0a0d, #0e0507);
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 3px #0e0507,
    inset 0 0 0 4px rgba(201, 162, 74, .45),
    0 14px 30px rgba(0,0,0,.7),
    0 0 26px rgba(196, 22, 47, .25);
  transition: box-shadow .3s ease, transform .3s ease;
}
.sign-line1 {
  font-family: var(--serif); font-size: clamp(17px, 3.6vw, 22px); font-weight: 500; line-height: 1.15;
  color: var(--cream);
}
.sign-line1 em { color: var(--neon); text-shadow: 0 0 12px rgba(255, 45, 85, .55); }
.sign-rule { width: 40%; height: 1px; background: var(--line); }
.sign-line2 {
  font-size: clamp(9px, 1.9vw, 11px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.sign-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 8px 16px;
  font-size: clamp(12px, 2.4vw, 14px); font-weight: 500;
  color: #1d1205;
  background: linear-gradient(180deg, var(--brass-light), var(--brass));
  border-radius: 2px;
}
.card-icon {
  width: 18px; height: 12px; border-radius: 2px;
  border: 1.5px solid #1d1205;
  background: linear-gradient(180deg, transparent 30%, #1d1205 30% 45%, transparent 45%);
}
.sign:hover .sign-face,
.sign:focus-visible .sign-face {
  box-shadow:
    inset 0 0 0 3px #0e0507,
    inset 0 0 0 4px var(--brass),
    0 14px 30px rgba(0,0,0,.7),
    0 0 40px rgba(255, 45, 85, .5);
}
.sign:focus-visible { outline: none; }
.sign:focus-visible .sign-cta { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- opening sequence ---------- */
.entrance.open .sign { animation: none; transform: translateX(-50%) translateY(60px) rotate(9deg); opacity: 0; }
.entrance.open .rope-left  { transform: rotate(78deg); opacity: .9; }
.entrance.open .rope-right { transform: rotate(-78deg); opacity: .9; }
.entrance.open .leaf-left  { transform: rotateY(-108deg); }
.entrance.open .leaf-right { transform: rotateY(108deg); }
.entrance.open .inside { opacity: 1; }

/* ---------- notices ---------- */
.notice, .welcome { text-align: center; max-width: 460px; margin: 0 auto 18px; }
.notice-title, .welcome-title {
  margin: 0 0 6px;
  font-family: var(--serif); font-size: clamp(26px, 5vw, 34px); font-weight: 500; line-height: 1.1;
}
.notice-title em, .welcome-title em { color: var(--neon); }
.notice-body { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.notice-btn {
  display: inline-block; padding: 9px 20px; text-decoration: none; font-weight: 500;
  color: #1d1205; background: linear-gradient(180deg, var(--brass-light), var(--brass));
}
.welcome-kicker {
  margin: 0 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--brass);
}
.welcome-skip { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.welcome { animation: rise 1s ease 1.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.below-door {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
}
.below-door a { text-decoration: none; }
.below-door a:hover { color: var(--cream); }
.below-door .divider { width: 210px; height: 1px; background: var(--line); }
.below-door .small { font-size: 12px; }

/* ---------- tiers ---------- */
.tiers { padding: 56px 16px 40px; max-width: 1120px; margin: 0 auto; text-align: center; }
.eyebrow {
  margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--brass);
}
.tiers h2 {
  margin: 0 0 40px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5vw, 46px); line-height: 1.1;
}
.tiers h2 em { color: var(--neon); }

.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  text-align: left;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  background: linear-gradient(180deg, rgba(36, 14, 18, .85), rgba(16, 7, 9, .9));
  border: 1px solid var(--line);
}
.card-head { text-align: center; margin-bottom: 14px; }
.card-icon-emoji { font-size: 26px; display: block; margin-bottom: 4px; }
.card h3 {
  margin: 0;
  font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: .02em;
}
.price { margin: 4px 0 0; color: var(--muted); }
.price .amount { font-family: var(--serif); font-size: 30px; color: var(--cream); font-weight: 600; }
.price .per { font-size: 13px; letter-spacing: .08em; }
.tagline {
  margin: 0 0 12px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.25; color: var(--brass-light);
}
.desc { margin: 0 0 18px; font-size: 14.5px; color: #d6c8bb; }
.benefits-label {
  margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--brass);
}
.benefits { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.benefits li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 14.5px;
  border-top: 1px solid rgba(201, 162, 74, .12);
}
.benefits li::before {
  content: "✓"; position: absolute; left: 2px; top: 6px; color: var(--brass);
}
.join {
  display: block; text-align: center; text-decoration: none;
  padding: 13px 18px;
  font-weight: 500; letter-spacing: .04em;
  border: 1px solid var(--brass);
  color: var(--cream);
  transition: background .2s ease, color .2s ease;
}
.join:hover, .join:focus-visible { background: var(--brass); color: #1d1205; }

.card-featured {
  border: 1px solid var(--neon);
  background: linear-gradient(180deg, rgba(70, 10, 22, .92), rgba(22, 6, 9, .95));
  box-shadow: 0 0 0 1px rgba(255, 45, 85, .25), 0 0 46px rgba(255, 45, 85, .28);
  transform: translateY(-10px);
}
.card-featured .join {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #e01f3e, #9e0f25);
  box-shadow: 0 0 20px rgba(255, 45, 85, .45);
}
.card-featured .join:hover, .card-featured .join:focus-visible { background: linear-gradient(180deg, #ff3a59, #b8142c); color: #fff; }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: var(--crimson);
  box-shadow: 0 0 18px rgba(255, 45, 85, .6);
}

.tiers-lede { margin: -26px auto 40px; max-width: 560px; color: var(--muted); font-size: 15px; }
.tiers-lede a { color: var(--brass); white-space: nowrap; }
.card-mask {
  display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 4px;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.card-mask i, .mask-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.m-gold    { background: #e0b95c; box-shadow: 0 0 8px rgba(224,185,92,.7); }
.m-emerald { background: #2fb07f; box-shadow: 0 0 8px rgba(47,176,127,.7); }
.m-ruby    { background: #e0234a; box-shadow: 0 0 8px rgba(224,35,74,.7); }
.benefits li b {
  display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
}
.benefits li.inherit { font-style: italic; color: var(--muted); }

.fineprint { margin: 32px 0 0; font-size: 13px; letter-spacing: .12em; color: var(--muted); }

.foot { padding: 30px 16px 40px; text-align: center; font-size: 12px; color: #6f625a; }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: #d2ac80; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .card-featured { transform: none; }
}
@media (max-width: 480px) {
  .entrance { margin-bottom: 92px; }
  .sign { width: 84%; }
  .sign-face { padding: 10px 10px 12px; gap: 4px; }
  .sign-chains { height: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-big, .sign { animation: none; }
  .leaf, .rope, .inside, .sign { transition-duration: .01s; transition-delay: 0s; }
}
