:root {
  --deep-aqua: #0f7c89;
  --fishing-coral: #ff8c42;
  --ink: #1a1a1a;
  --soft-gray: #6f7a87;
  --cloud: #f9fafb;
  --deep-navy: #040a2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cloud);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), 1120px);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #ffffff;
  background: rgba(4, 10, 47, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("./assets/main_hero_image.png");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 10, 47, 0.94) 0%, rgba(4, 10, 47, 0.72) 44%, rgba(4, 10, 47, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 10, 47, 0.45), rgba(4, 10, 47, 0.06));
}

.hero-content {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 132px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--fishing-coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: 5rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
  line-height: 1.72;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-button {
  width: 184px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: #ffffff;
  background: #060a12;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.store-button:hover {
  background: #111827;
  transform: translateY(-2px);
}

.store-button.accent {
  background: var(--deep-aqua);
}

.store-button.accent:hover {
  background: #0b6b76;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.05;
}

.store-button small {
  margin-bottom: 4px;
  font-size: 0.7rem;
  opacity: 0.78;
}

.store-button strong {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.store-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer {
  width: min(calc(100% - 40px), 1120px);
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  color: var(--soft-gray);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .site-header,
  .hero-content,
  .site-footer {
    width: calc(100% - 48px);
  }

  .hero h1 {
    width: min(680px, 100%);
    font-size: 4.25rem;
  }

  .hero-copy {
    width: min(580px, 100%);
  }
}

@media (max-width: 960px) {
  .hero h1 {
    width: min(600px, 100%);
    font-size: 3.6rem;
  }

  .hero-copy {
    width: min(540px, 100%);
    font-size: 1.08rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 58px;
    padding: 0 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: calc(100svh - 104px);
    align-items: flex-end;
  }

  .hero-media {
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4, 10, 47, 0.92) 0%, rgba(4, 10, 47, 0.76) 54%, rgba(4, 10, 47, 0.18) 100%),
      linear-gradient(90deg, rgba(4, 10, 47, 0.48), rgba(4, 10, 47, 0.08));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 112px 0 48px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .site-footer {
    width: calc(100% - 32px);
    min-height: 104px;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .store-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .store-button {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 420px) {
  .brand span {
    font-size: 0.96rem;
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.12;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.62;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.95rem;
  }

  .store-button strong {
    font-size: 1rem;
  }
}
