*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0b09;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.88);
  --brand-light: #e8c4a0;
  --font: "Noto Sans KR", system-ui, sans-serif;
  --font-display: "Outfit", "Noto Sans KR", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Sans KR", serif;
  --gutter: clamp(20px, 5vw, 32px);
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

.screen {
  position: relative;
  height: 100dvh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  overflow: hidden;
}

.screen__bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image: url("./assets/hero-resort.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.screen__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 6, 5, 0.55) 0%,
      rgba(8, 6, 5, 0.35) 50%,
      rgba(8, 6, 5, 0.7) 100%
    );
}

.screen__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5vw, 32px);
  width: min(640px, 100%);
  animation: fade-in 0.8s ease both;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 28px) clamp(28px, 6vw, 44px);
  border-radius: 999px;
  background: rgba(8, 6, 5, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.content-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: clamp(32px, 7vw, 48px) clamp(28px, 6vw, 44px);
  border-radius: 24px;
  background: rgba(8, 6, 5, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.logo {
  width: auto;
  height: clamp(64px, 14vw, 96px);
  max-width: clamp(220px, 56vw, 320px);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.divider {
  width: clamp(48px, 10vw, 64px);
  height: 1px;
  margin-bottom: clamp(24px, 5vw, 32px);
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
  opacity: 0.85;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  word-break: keep-all;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.lead {
  margin-top: clamp(16px, 4vw, 24px);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.brand-line {
  margin-top: clamp(28px, 6vw, 40px);
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-light);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .screen__bg {
    background-image: url("./assets/hero-resort-mobile.jpg");
    background-position: center top;
  }

  .content-panel {
    padding: clamp(28px, 7vw, 36px) clamp(22px, 5vw, 28px);
    border-radius: 20px;
  }

  .logo {
    height: clamp(56px, 16vw, 76px);
    max-width: clamp(200px, 58vw, 280px);
  }

  .lead br {
    display: none;
  }
}

@media (max-height: 700px) {
  .content-panel {
    padding: 24px 22px;
  }

  .logo {
    height: clamp(52px, 12vw, 64px);
  }

  h1 {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }

  .lead {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .brand-line {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen__content {
    animation: none;
  }
}
