:root {
  color-scheme: dark;

  --bg: #090909;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.78);
  --subtle: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --glass: rgba(18, 18, 18, 0.34);
  --glass-strong: rgba(14, 14, 14, 0.46);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --font-body: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.backdrop__photo,
.backdrop__portrait,
.backdrop__gradient,
.backdrop__vignette,
.backdrop__grain {
  position: absolute;
  inset: 0;
}

.backdrop__photo {
  background-image: url("assets/goddess-ria-background.jpeg?v=20260406d");
  background-position: center 16%;
  background-size: cover;
  filter: blur(16px) brightness(0.34) saturate(1.02);
  transform: scale(1.14);
}

.backdrop__portrait {
  background-image: url("assets/goddess-ria-background.jpeg?v=20260406d");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: auto 92%;
  filter: brightness(0.92) saturate(1.02) contrast(1.03);
}

.backdrop__gradient {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.18));
}

.backdrop__vignette {
  background:
    radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.24));
}

.backdrop__grain {
  inset: -60px;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 14px 18px;
}

.frame {
  display: grid;
  gap: 18px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding-top: 12px;
}

.hero__badge {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(12, 12, 12, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  font-size: 1.7rem;
  font-weight: 700;
}

.hero__copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 2.85rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.hero__tagline,
.hero__summary,
.footer__text {
  margin: 0;
}

.hero__tagline {
  max-width: 24rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.2vw, 1.08rem);
  line-height: 1.5;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero__summary {
  max-width: 24rem;
  color: var(--subtle);
  font-size: 0.9rem;
  line-height: 1.55;
}

.linkSection {
  display: grid;
  gap: 12px;
}

.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sectionTitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.sectionBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(10, 10, 10, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sectionBadge--ghost {
  color: rgba(255, 255, 255, 0.78);
}

.linkStack {
  display: grid;
  gap: 12px;
}

.linkButton,
.modal__panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.02);
}

.linkButton {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.linkButton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 46%);
  opacity: 0.55;
  pointer-events: none;
}

.linkButton:hover,
.linkButton:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: none;
}

.linkButton--accent {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--glass-strong);
}

.linkButton__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.linkButton__icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.linkButton__copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.linkButton__title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.linkButton__caption {
  color: var(--subtle);
  font-size: 0.9rem;
  line-height: 1.45;
}

.linkButton__adult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 22px;
  margin-right: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.linkButton__chevron {
  color: rgba(255, 255, 255, 0.52);
  font-size: 1rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shareButton,
.modal__button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(20, 20, 20, 0.42);
  padding: 0 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shareButton:hover,
.shareButton:focus-visible,
.modal__button:hover,
.modal__button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  outline: none;
}

.footer__text {
  color: var(--subtle);
  font-size: 0.82rem;
  text-align: right;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(12px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 800px);
  display: grid;
  gap: 18px;
  justify-items: center;
  border-radius: 38px;
  padding: 38px 32px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(18, 18, 18, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(26, 26, 26, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 4.2rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

.modal__body {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.modal__body strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

.modal__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 4px;
}

.modal__field {
  display: grid;
  gap: 10px;
}

.modal__label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal__input {
  width: 100%;
  min-height: 72px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(20, 20, 20, 0.52);
  color: var(--text);
  padding: 0 28px;
  font-size: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.78) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 28px) calc(50% - 3px),
    calc(100% - 20px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.modal__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 3px rgba(255, 255, 255, 0.08);
}

.modal__error {
  min-height: 1.4em;
  width: 100%;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  text-align: center;
}

.modal__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
}

.modal__button {
  min-width: 0;
  min-height: 68px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

#adultLeave {
  width: min(100%, 268px);
}

#adultContinue {
  width: min(100%, 170px);
}

.modal__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal__button--ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(22, 22, 22, 0.34);
}

.modal__fine {
  margin: 0;
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 6;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(10, 8, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 640px) {
  .shell {
    padding-top: 22px;
  }

  .hero__title {
    font-size: clamp(2.1rem, 11vw, 2.6rem);
  }

  .hero__summary {
    font-size: 0.86rem;
  }

  .backdrop__portrait {
    background-size: auto 86%;
  }

  .linkButton {
    grid-template-columns: 44px 1fr auto auto;
    gap: 10px;
    padding: 14px 15px;
  }

  .linkButton__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .linkButton__caption {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__text {
    text-align: left;
  }

  .modal__fields,
  .modal__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .modal__panel {
    width: min(100%, 560px);
    padding: 30px 22px 24px;
    border-radius: 30px;
    gap: 16px;
  }

  .modal__badge {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .modal__title {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .modal__body {
    font-size: 1rem;
  }

  .modal__input {
    min-height: 62px;
    border-radius: 20px;
    padding: 0 22px;
    background-position:
      calc(100% - 22px) calc(50% - 3px),
      calc(100% - 14px) calc(50% - 3px);
  }

  .modal__button,
  #adultLeave,
  #adultContinue {
    width: 100%;
    min-height: 58px;
  }
}

@media (min-width: 900px) {
  .backdrop__photo {
    background-position: center 12%;
    filter: blur(18px) brightness(0.36) saturate(1.02);
    transform: scale(1.18);
  }

  .backdrop__portrait {
    background-position: center 14%;
    background-size: cover;
    filter: brightness(0.88) saturate(1.02) contrast(1.03);
  }
}

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