/* Live room — luxury gate (opening week + member access) */

.live-room-body {
  min-height: 100vh;
  background: #0a0a0a;
  color: #f5f5f4;
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric backdrop — matches homepage discipline */
.live-room-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 18%, rgba(201, 162, 74, 0.12), transparent 62%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0, 0, 0, 0.85), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0e0d0b 50%, #0a0a0a 100%);
}

.live-room-body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 245, 244, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 244, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.live-room-wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 28px 96px;
}

.live-room-layout {
  display: block;
}

.live-room-layout-main {
  min-width: 0;
}

.live-room-wrap--join {
  max-width: 640px;
  padding-top: 72px;
}

.live-room-logo {
  display: block;
  margin: 0 auto 48px;
  text-align: center;
  opacity: 0.92;
}

.live-room-logo img {
  width: min(200px, 58vw);
  height: auto;
}

.live-room-card {
  padding: 40px 36px 44px;
  border: 1px solid rgba(201, 162, 74, 0.22);
  border-radius: 2px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(201, 162, 74, 0.08), transparent 65%),
    rgba(14, 14, 14, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 40px 100px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.live-room-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #e8c97a;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-room-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #c9a24a;
  flex-shrink: 0;
}

.live-room-title {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 14ch;
}

.live-room-title em {
  font-style: italic;
  font-weight: 400;
  color: #f5f5f4;
}

.live-room-tagline {
  font-family: "Fraunces", serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: rgba(232, 201, 122, 0.85);
  margin: 0 0 24px;
  line-height: 1.35;
}

.live-room-lead {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 245, 244, 0.58);
  margin: 0 0 32px;
  max-width: 46ch;
}

.live-room-host {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 245, 244, 0.08);
}

.live-room-host-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, 0.45);
  background: rgba(201, 162, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 400;
  color: #e8c97a;
  flex-shrink: 0;
}

.live-room-host-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f5f5f4;
  margin-bottom: 2px;
}

.live-room-host-text span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.4);
}

.live-room-form {
  margin-bottom: 8px;
}

.live-room-form label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.42);
  margin-bottom: 10px;
}

.live-room-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  color: #f5f5f4;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 245, 244, 0.18);
  border-radius: 2px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.live-room-form input::placeholder {
  color: rgba(245, 245, 244, 0.28);
}

.live-room-form input:focus {
  outline: none;
  border-color: rgba(201, 162, 74, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
}

.live-room-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px 32px;
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(135deg, #e8c97a 0%, #c9a24a 55%, #a8863a 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(201, 162, 74, 0.38);
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.live-room-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 36px rgba(201, 162, 74, 0.45);
}

.live-room-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.live-room-btn-arrow {
  font-size: 14px;
  line-height: 1;
}

.live-room-btn--ghost {
  background: transparent;
  color: #e8c97a;
  border: 1px solid rgba(201, 162, 74, 0.38);
  box-shadow: none;
  margin-top: 14px;
}

.live-room-btn--ghost:hover:not(:disabled) {
  background: rgba(201, 162, 74, 0.06);
  box-shadow: none;
}

.live-room-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 245, 244, 0.08);
}

.live-room-pillars span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.38);
}

.live-room-pillars span::before {
  content: '·';
  margin-right: 10px;
  color: rgba(201, 162, 74, 0.5);
}

.live-room-pillars span:first-child::before {
  content: none;
  margin: 0;
}

.join-room-quote {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(245, 245, 244, 0.08);
}

.join-room-quote p {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.55);
  margin: 0;
}

.join-room-quote figcaption {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.32);
}

.live-room-msg {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 2px;
}

.live-room-msg--error {
  color: #f0b0b0;
  background: rgba(120, 40, 40, 0.18);
  border: 1px solid rgba(200, 80, 80, 0.35);
}

.live-room-msg--success {
  color: #b8f0c8;
  background: rgba(40, 100, 60, 0.15);
  border: 1px solid rgba(100, 180, 120, 0.3);
}

.live-room-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.live-room-badge--live {
  color: #0a0a0a;
  background: linear-gradient(135deg, #a8f0c0, #7ee0a0);
}

.live-room-badge--member {
  color: #e8c97a;
  border: 1px solid rgba(201, 162, 74, 0.35);
  background: rgba(201, 162, 74, 0.06);
}

.live-room-meta {
  font-size: 13px;
  color: rgba(245, 245, 244, 0.4);
  margin-top: 22px;
  line-height: 1.55;
}

.live-room-meta a {
  color: #e8c97a;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 201, 122, 0.35);
}

.live-room-meta a:hover {
  border-bottom-color: #e8c97a;
}

.live-room-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 244, 0.32);
}

.live-room-footer a {
  color: rgba(232, 201, 122, 0.7);
  text-decoration: none;
}

.live-room-footer a:hover {
  color: #e8c97a;
}

.live-room-loading {
  text-align: center;
  padding: 64px 0;
  color: rgba(245, 245, 244, 0.45);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.live-room-divider {
  height: 1px;
  background: rgba(245, 245, 244, 0.08);
  margin: 28px 0;
}

/* Granted card: two-column layout with schedule panel on the right */
.live-room-granted-card {
  max-width: 820px;
}

.live-room-granted-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}

/* ── Live-room inline schedule panel ── */
.lr-schedule {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 74, 0.28);
  background: rgba(12, 12, 12, 0.9);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.lr-schedule:not([hidden]) {
  opacity: 1;
  transform: translateX(0);
}

/* ambient top glow */
.lr-schedule-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(201, 162, 74, 0.16), transparent 70%);
  animation: lr-sched-breathe 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lr-sched-breathe {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

.lr-schedule-inner {
  position: relative;
  z-index: 1;
  padding: 24px 22px;
}

.lr-schedule-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* pulsing live dot */
.lr-schedule-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8c97a;
  flex-shrink: 0;
  animation: lr-dot-pulse 2s ease-in-out infinite;
}

@keyframes lr-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 162, 74, 0.6); }
  60%  { box-shadow: 0 0 0 6px rgba(201, 162, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 74, 0); }
}

.lr-schedule-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.4);
}

.lr-schedule-title {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f5f5f4;
}

.lr-schedule-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(245, 245, 244, 0.62);
  white-space: pre-wrap;
  word-break: break-word;
}

.lr-schedule-body:empty::before {
  content: 'Schedule coming soon.';
  color: rgba(245, 245, 244, 0.25);
  font-style: italic;
}

.lr-schedule-updated {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 245, 244, 0.07);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 244, 0.26);
}

@media (max-width: 820px) {
  .live-room-granted-grid {
    grid-template-columns: 1fr;
  }

  .lr-schedule {
    order: -1;
  }
}

@media (max-width: 520px) {
  .live-room-wrap {
    padding: 40px 20px 72px;
  }
  .live-room-card {
    padding: 32px 24px 36px;
  }
  .live-room-title {
    max-width: none;
  }
}
