:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --surface: rgba(255, 253, 247, 0.82);
  --surface-strong: #fffdf8;
  --ink: #082a22;
  --muted: #61706a;
  --line: rgba(25, 45, 37, 0.14);
  --brand: #0f7c6c;
  --brand-strong: #073126;
  --brand-soft: #dff4ed;
  --blue: #315e8c;
  --shadow: 0 30px 90px rgba(14, 31, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.public-page,
.redirect-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(15, 124, 108, 0.12), transparent 38%),
    linear-gradient(242deg, rgba(49, 94, 140, 0.1), transparent 42%),
    linear-gradient(180deg, #fbf8f0, var(--bg));
  padding: 24px;
}

.public-page::before,
.redirect-page::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(8, 42, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 42, 34, 0.045) 1px, transparent 1px);
  background-position: center;
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.entry-shell {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  min-height: calc(100dvh - 48px);
  display: grid;
  place-items: center;
}

.entry-panel {
  position: relative;
  width: 100%;
  min-height: min(620px, calc(100dvh - 48px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 56px 48px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.entry-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(125deg, transparent 0 45%, rgba(15, 124, 108, 0.08) 45% 54%, transparent 54%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), transparent 68%);
}

.entry-content {
  position: relative;
  z-index: 1;
}

.entry-content {
  width: min(620px, 100%);
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
}

.logo-frame {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(8, 42, 34, 0.12);
}

.hotel-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #092f24;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-name,
.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-name {
  color: var(--brand-strong);
}

.eyebrow {
  color: var(--muted);
}

.entry-panel h1,
.redirect-shell h1 {
  margin: 10px 0 0;
  color: var(--brand-strong);
  font-size: 4.9rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.entry-copy,
.redirect-shell p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.45;
}

.primary-action {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    var(--brand);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(15, 124, 108, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.entry-content .primary-action {
  width: min(360px, 100%);
  margin-top: 34px;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15, 124, 108, 0.34);
}

.primary-action:active {
  transform: translateY(0);
}

.primary-action:focus-visible {
  outline: 4px solid rgba(15, 124, 108, 0.24);
  outline-offset: 4px;
}

.action-arrow {
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-1px);
}

.redirect-shell {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 42px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.redirect-shell h1 {
  font-size: 2.5rem;
}

.redirect-shell .primary-action {
  width: 100%;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .entry-panel {
    min-height: auto;
    padding: 42px;
  }

  .entry-panel h1 {
    font-size: 4rem;
  }
}

@media (max-width: 680px) {
  .public-page,
  .redirect-page {
    padding: 14px;
  }

  .entry-shell {
    min-height: calc(100dvh - 28px);
  }

  .entry-panel {
    padding: 24px;
  }

  .brand-lockup {
    margin-bottom: 30px;
  }

  .logo-frame {
    width: 62px;
    height: 62px;
  }

  .hotel-logo {
    width: 50px;
    height: 50px;
  }

  .entry-panel h1 {
    font-size: 3rem;
  }

  .entry-copy {
    font-size: 1.05rem;
  }

  .primary-action {
    min-height: 58px;
  }

}

@media (max-width: 420px) {
  .entry-panel h1 {
    font-size: 2.45rem;
  }

  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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