:root {
  --ink: #fff7f8;
  --muted: #baaab0;
  --deep: #070507;
  --line: rgba(255, 255, 255, .13);
  --rose: #ff315f;
  --rose-soft: #ff9bb2;
  --wine: #6e1932;
  --emerald: #45d88a;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, system-ui, sans-serif;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.site-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background: #070507;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 76% 42%, rgba(121, 19, 60, .25), transparent 30%),
    url("host-lagos-creator-v2.png") 67% center / cover no-repeat;
  filter: saturate(.7) contrast(1.12) brightness(.28) blur(15px);
  opacity: .55;
  transform: scale(1.08);
}

.photo-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 3, 4, .99) 0%, rgba(6, 4, 6, .92) 43%, rgba(6, 4, 6, .52) 100%),
    linear-gradient(0deg, rgba(4, 3, 4, .95) 0%, transparent 38%, rgba(4, 3, 4, .42) 100%),
    radial-gradient(circle at 74% 42%, transparent 0%, rgba(5, 3, 5, .08) 40%, rgba(5, 3, 5, .7) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .25;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.topbar {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 25px 0;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .16em;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 49, 95, .11);
  box-shadow: inset 0 0 17px rgba(255, 255, 255, .06), 0 0 24px rgba(255, 49, 95, .15);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.brand small {
  margin-left: 5px;
  color: var(--rose-soft);
  font-size: 8px;
  letter-spacing: .27em;
  vertical-align: top;
}

.midnight-clock {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #91848a;
  font-size: 8px;
  letter-spacing: .18em;
}
.midnight-clock strong {
  color: #f4eaed;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .06em;
}
.midnight-clock i { color: var(--rose-soft); font-size: 7px; font-style: normal; }

.language-picker {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #91848a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.language-picker select {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 0 30px 0 11px;
  background: rgba(15, 10, 12, .82);
  color: #f7edf0;
  color-scheme: dark;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}
.language-picker select:focus-visible {
  border-color: var(--rose-soft);
  box-shadow: 0 0 0 3px rgba(255, 49, 95, .16);
}

.hero {
  position: relative;
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin: auto;
  padding: 44px 0 72px;
  grid-template-columns: minmax(0, .93fr) minmax(440px, .72fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: center;
}

.hero-copy { max-width: 650px; }
.eyebrow {
  display: flex;
  gap: 10px;
  margin: 0 0 25px;
  align-items: center;
  color: #d8c6cc;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .2em;
}

.live-pulse {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 49, 95, .1), 0 0 15px var(--rose);
  animation: breathe 2.1s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: .65; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero h1 {
  margin: 0;
  color: #fffafa;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(58px, 6.4vw, 94px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .99;
  text-shadow: 0 7px 40px rgba(0, 0, 0, .5);
}

.hero h1 em {
  background: linear-gradient(92deg, #ff5379, #ffb2c3 63%, #e2c9d1);
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.intro {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.entry-panel { width: min(100%, 500px); margin-top: 26px; }

.offer-card {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 182, 96, .2);
  border-radius: 17px;
  padding: 14px 15px 12px;
  background:
    linear-gradient(120deg, rgba(112, 47, 17, .18), rgba(36, 14, 24, .58)),
    rgba(14, 8, 12, .56);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px);
}

.offer-head {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}
.offer-head span {
  color: #d7a677;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}
.offer-head strong {
  border: 1px solid rgba(255, 185, 104, .28);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 170, 85, .08);
  color: #ffc58e;
  font-size: 9px;
}

.cta-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cta-copy small {
  color: rgba(255, 255, 255, .78);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.benefit-grid div {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  padding: 10px 7px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}
.benefit-grid strong {
  display: block;
  color: #fff2e4;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}
.benefit-grid span {
  display: block;
  margin-top: 3px;
  color: #a99a9f;
  font-size: 7px;
}
.offer-card > p {
  margin: 9px 0 0;
  color: #796b70;
  font-size: 7px;
  text-align: center;
}
.preference-row {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  color: #8f8187;
  font-size: 10px;
}
.preference-row > div { display: flex; gap: 5px; }

.preference {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  color: #9c8e94;
  font-size: 9px;
  transition: 180ms ease;
}
.preference:hover, .preference:focus-visible {
  border-color: rgba(255, 155, 178, .5);
  outline: none;
}
.preference.active {
  border-color: rgba(255, 49, 95, .6);
  background: rgba(255, 49, 95, .14);
  color: #fff;
}

.primary-cta {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 66px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(105deg, #d91849 0%, #ff315f 55%, #ff6284 100%);
  box-shadow: 0 18px 46px rgba(232, 31, 80, .42), inset 0 1px rgba(255, 255, 255, .3);
  cursor: pointer;
  color: white;
  text-decoration: none;
  text-align: left;
  transition: 180ms ease;
  animation: cta-breathe 2.8s ease-in-out infinite;
}
.primary-cta::before {
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: transform 480ms ease;
}
.primary-cta:hover::before, .primary-cta:focus-visible::before { transform: translateX(430%) skewX(-18deg); }
.primary-cta strong {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.01em;
}
.primary-cta:hover, .primary-cta:focus-visible {
  box-shadow: 0 22px 54px rgba(232, 31, 80, .54);
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
  transform: translateY(-2px);
}
.primary-cta:active { transform: translateY(1px) scale(.995); }
.cta-arrow {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 18px 46px rgba(232, 31, 80, .36), inset 0 1px rgba(255, 255, 255, .3); }
  50% { box-shadow: 0 22px 58px rgba(255, 49, 95, .55), inset 0 1px rgba(255, 255, 255, .3); }
}
@media (prefers-reduced-motion: reduce) {
  .primary-cta { animation: none; }
  .primary-cta::before { display: none; }
}

.privacy-line {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  align-items: center;
  justify-content: center;
  color: #766a6f;
  font-size: 8px;
  letter-spacing: .04em;
}
.privacy-line span { color: var(--rose-soft); font-size: 6px; }

.legal-row {
  display: flex;
  width: min(100%, 470px);
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}
.age-seal {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 49, 95, .38);
  border-radius: 50%;
  color: var(--rose-soft);
  font-size: 10px;
  font-weight: 800;
}
.legal-row p { margin: 0; color: #685d62; font-size: 8px; line-height: 1.6; }
.legal-row a { color: #95878c; text-underline-offset: 2px; }

.live-layer {
  position: relative;
  align-self: end;
  min-height: 548px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 27px;
  overflow: visible;
  background:
    linear-gradient(0deg, rgba(7, 4, 6, .91) 0%, rgba(8, 5, 7, .08) 44%, rgba(7, 4, 6, .3) 100%),
    url("host-lagos-creator-v2.png") 70% center / auto 126% no-repeat,
    #0c080b;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, .64),
    0 0 0 7px rgba(255, 255, 255, .018),
    inset 0 1px rgba(255, 255, 255, .08);
}

.live-layer::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 49, 95, .1);
  border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .24);
  content: "";
  pointer-events: none;
}

.live-header {
  display: flex;
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .55);
  font-size: 8px;
  letter-spacing: .15em;
}
.live-header span:first-child { display: flex; gap: 9px; align-items: center; color: #fff; font-weight: 800; }
.live-header .live-pulse { width: 6px; height: 6px; }

.host-identity {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
}
.host-avatar {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: linear-gradient(145deg, #8c344d, #26131d);
  font-family: Georgia, serif;
  font-size: 12px;
}
.host-identity strong { display: block; font-size: 11px; }
.host-identity small { display: block; margin-top: 3px; color: #b3a5aa; font-size: 8px; }

.message-bubble {
  position: absolute;
  z-index: 3;
  right: -30px;
  top: 51%;
  width: 220px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px 18px 4px 18px;
  padding: 16px 17px;
  background: rgba(16, 9, 13, .78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(20px) saturate(1.2);
}
.message-bubble span { color: var(--rose-soft); font-size: 7px; font-weight: 800; letter-spacing: .18em; }
.message-bubble p {
  margin: 9px 0 6px;
  color: #fff;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 19px;
}
.message-bubble .second-message {
  margin-top: -1px;
  color: #ffc1d0;
  font-size: 13px;
}
.message-bubble small { color: #756a6e; font-size: 7px; }

.viewer-chip {
  position: absolute;
  z-index: 2;
  top: 67px;
  right: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(8, 5, 7, .42);
  backdrop-filter: blur(12px);
  color: #c9bbc0;
  font-size: 8px;
}
.viewer-chip span { color: var(--rose); }

.encrypted-label {
  position: absolute;
  z-index: 2;
  top: 69px;
  left: 19px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: rgba(255, 255, 255, .56);
  font-size: 7px;
  letter-spacing: .14em;
}
.encrypted-label span { color: var(--emerald); font-size: 5px; }

.live-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -25px;
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 8px;
  background: rgba(11, 7, 10, .88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.live-controls span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #d5c8cd;
  font-size: 10px;
}
.live-controls .hangup {
  border-color: rgba(255, 49, 95, .35);
  background: #d8224b;
  color: #fff;
  font-size: 18px;
}

footer {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 19px 0 23px;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  color: #5f5559;
  font-size: 8px;
}
footer nav { display: flex; gap: 19px; }
footer a { text-decoration: none; }
footer > span:last-child { text-align: right; }

.browser-help {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  padding: 18px;
  align-items: flex-end;
  justify-content: center;
  background: rgba(3, 2, 3, .76);
  backdrop-filter: blur(12px);
}
.browser-help[hidden] { display: none; }
body.help-open { overflow: hidden; }
.browser-help-card {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(145deg, #211016, #0d090b 72%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
  text-align: center;
}
.browser-help-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 49, 95, .14);
  color: var(--rose-soft);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}
.browser-help h2 { margin: 0; font-size: 23px; }
.browser-help p { margin: 10px 0 18px; color: #bdaeb3; font-size: 13px; line-height: 1.65; }
.browser-help p strong { color: #fff; }
.browser-help-retry,
.browser-help-close {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 13px 15px;
  cursor: pointer;
  text-decoration: none;
}
.browser-help-retry { background: var(--rose); color: #fff; font-weight: 850; }
.browser-help-close { margin-top: 7px; background: transparent; color: #8f8187; }

@media (max-width: 1000px) {
  .hero-photo { opacity: .3; }
  .photo-vignette {
    background: linear-gradient(180deg, rgba(5, 3, 5, .42) 0%, rgba(6, 4, 6, .68) 42%, rgba(5, 3, 5, .99) 76%);
  }
  .hero { padding-top: 36px; grid-template-columns: 1fr; gap: 68px; }
  .hero-copy { max-width: 650px; margin: 0 auto; text-align: center; }
  .entry-panel, .legal-row { margin-right: auto; margin-left: auto; }
  .preference-row { text-align: left; }
  .live-layer {
    order: -1;
    width: min(100%, 520px);
    min-height: 560px;
    margin: 10px auto 0;
    background-position: 70% center;
  }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer nav { justify-content: center; }
  footer > span:last-child { text-align: center; }
}

@media (max-width: 600px) {
  .site-shell { padding-bottom: 88px; }
  .topbar, .hero, footer { width: min(100% - 28px, 1240px); }
  .topbar { padding-top: 18px; }
  .language-picker > span { display: none; }
  .language-picker select { width: 122px; min-height: 34px; padding-left: 9px; }
  .hero-photo { background-position: 61% top; background-size: auto 61vh; background-repeat: no-repeat; }
  .hero { padding: 20px 0 55px; gap: 70px; }
  .hero-copy { margin-top: 0; }
  .live-layer {
    min-height: 57svh;
    max-height: 610px;
    border-radius: 22px;
    background-position: 70% center;
  }
  .message-bubble { right: 10px; width: 205px; }
  .hero h1 { font-size: clamp(48px, 14vw, 67px); }
  .intro { font-size: 13px; }
  .preference-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .preference-row > div { width: 100%; }
  .preference { flex: 1; }
  .primary-cta {
    position: fixed;
    right: 14px;
    bottom: 10px;
    left: 14px;
    z-index: 50;
    width: auto;
    min-height: 64px;
    padding: 9px 12px 9px 16px;
    box-shadow: 0 18px 46px rgba(232, 31, 80, .58), 0 0 0 1px rgba(255, 255, 255, .13);
    touch-action: manipulation;
  }
  .offer-card { padding: 13px 11px 11px; }
  .benefit-grid { gap: 5px; }
  .benefit-grid strong { font-size: 16px; }
}

@media (max-width: 430px) {
  .midnight-clock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
