:root {
  --cream: #fff5d0;
  --cream-soft: #fff9e6;
  --orange: #f19a45;
  --brown: #61412b;
  --ink: #1f2228;
  --muted: #72706c;
  --line: rgba(70, 49, 31, 0.12);
  --navy: #07111f;
  --red: #aa2525;
  --green: #54be78;
  --shadow: 0 26px 70px rgba(39, 28, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    url("./assets/cream-bg.png") center / cover fixed,
    linear-gradient(180deg, var(--cream) 0%, #fffdf3 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.covert-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 70px;
  padding: 0 max(16px, 4vw);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background: rgba(255, 245, 208, 0.82);
  border-bottom: 1px solid rgba(97, 65, 43, 0.10);
  backdrop-filter: blur(18px);
}

.covert-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.covert-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(39,28,18,0.16));
}

.covert-nav {
  justify-self: center;
  display: flex;
  gap: 24px;
}

.covert-nav a {
  color: rgba(97, 65, 43, 0.70);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.language-switcher {
  justify-self: end;
  display: flex;
  gap: 5px;
}

.language-switcher button,
.lang-button {
  appearance: none;
  border: 1px solid rgba(97, 65, 43, 0.12);
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(97, 65, 43, 0.72);
  background: rgba(255, 255, 255, 0.36);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 950;
  cursor: pointer;
}

.language-switcher button.active,
.lang-button.active {
  color: #fff;
  background: var(--brown);
}

.product-hero,
.briefing-hero {
  position: relative;
  min-height: calc(100svh - 70px);
  padding: 80px max(20px, 7vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 46px;
  align-items: center;
  overflow: hidden;
}

.product-hero::before,
.briefing-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 154, 69, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-lead,
.section-head p,
.zones-card p,
.store-teaser-card p {
  color: var(--muted);
  line-height: 1.82;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brown), #2b1a11);
  box-shadow: 0 18px 42px rgba(97,65,43,0.20);
}

.button-ghost {
  color: var(--brown);
  border-color: rgba(97, 65, 43, 0.16);
  background: rgba(255,255,255,0.44);
}

.hero-characters {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.bumi-main {
  position: relative;
  z-index: 3;
  width: min(400px, 78vw);
  filter: drop-shadow(0 28px 42px rgba(41, 25, 12, 0.18));
  animation: floatBumi 5.6s ease-in-out infinite;
}

.bumi-side {
  position: absolute;
  width: min(170px, 28vw);
  opacity: 0.94;
  filter: drop-shadow(0 18px 28px rgba(41, 25, 12, 0.14));
  animation: floatBumi 6.8s ease-in-out infinite reverse;
}

.bumi-side-one {
  left: 1%;
  bottom: 10%;
  transform: rotate(-10deg);
}

.bumi-side-two {
  right: 2%;
  top: 6%;
  transform: rotate(8deg);
}

.bumi-side-three {
  left: 10%;
  top: 4%;
  transform: rotate(-5deg);
}

.bumi-side-four {
  right: 8%;
  bottom: 4%;
  transform: rotate(6deg);
}

.product-section {
  padding: 100px max(20px, 6vw);
}

.section-head {
  max-width: 880px;
}

.kit-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,0.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.info-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--brown);
  font-weight: 950;
}

.info-card h3 {
  margin: 26px 0 10px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.78;
}

.zones-section {
  background: #111824;
  color: #fff;
}

.zones-card {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 40px;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.zone-item {
  padding: 14px 15px;
  border-radius: 17px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 850;
}

.store-teaser-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  border-radius: 38px;
  background: rgba(255,255,255,0.64);
  box-shadow: var(--shadow);
}

.store-bumi {
  width: min(240px, 70vw);
  filter: drop-shadow(0 20px 30px rgba(41, 25, 12, 0.16));
}

.covert-footer {
  padding: 36px max(20px, 6vw);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(97, 65, 43, 0.62);
  font-size: 0.86rem;
}

/* Briefing page */
.briefing-page {
  min-height: 100vh;
}

.briefing-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
}

.briefing-card {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255,255,255,0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.briefing-title {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.briefing-lead {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.82;
}

.mission-language-grid {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.mission-language-button {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  color: #fff;
  background: var(--brown);
  text-decoration: none;
  font-weight: 950;
}

.mission-language-button span:last-child {
  opacity: 0.66;
  font-family: "Courier New", Courier, monospace;
}

.briefing-bumi {
  width: min(440px, 86vw);
  justify-self: center;
  filter: drop-shadow(0 28px 42px rgba(41, 25, 12, 0.18));
  animation: floatBumi 5.6s ease-in-out infinite;
}

/* Store page */
.store-page {
  background:
    url("../assets/cream-bg.png") center / cover fixed,
    linear-gradient(180deg, var(--cream) 0%, #fffdf3 100%);
}

.store-main {
  min-height: 100vh;
  padding: 96px max(16px, 5vw) 60px;
}

.store-header-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.today-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.today-date {
  margin: 0;
  color: var(--brown);
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.today-label {
  margin: 12px 0 0;
  color: var(--orange);
  font-weight: 950;
  letter-spacing: 0.16em;
}

.today-message {
  position: relative;
  z-index: 2;
  margin: 28px auto 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 34px;
  background: rgba(255,255,255,0.62);
  box-shadow: var(--shadow);
}

.today-message h1 {
  font-size: clamp(2rem, 5vw, 4.3rem);
}

.today-message p {
  color: var(--muted);
  line-height: 1.8;
}

.store-characters {
  position: relative;
  margin: 24px auto 0;
  min-height: 300px;
  max-width: 980px;
}

.store-character-center {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(280px, 62vw);
  display: block;
  filter: drop-shadow(0 20px 30px rgba(41,25,12,0.16));
  animation: floatBumi 5.6s ease-in-out infinite;
}

.store-character-side {
  position: absolute;
  z-index: 1;
  width: min(180px, 26vw);
  opacity: 0.94;
  filter: drop-shadow(0 16px 24px rgba(41,25,12,0.12));
  animation: floatBumi 6.8s ease-in-out infinite reverse;
}

.store-side-left {
  left: 4%;
  bottom: 10px;
  transform: rotate(-8deg);
}

.store-side-right {
  right: 4%;
  bottom: 18px;
  transform: rotate(8deg);
}

.schedule-grid {
  max-width: 980px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.schedule-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(41,25,12,0.10);
}

.schedule-card strong {
  display: block;
  font-size: 1.15rem;
}

.schedule-card p {
  color: var(--muted);
  line-height: 1.65;
}

.schedule-card.closed {
  opacity: 0.68;
}

.shop-area {
  max-width: 720px;
  margin: 38px auto 0;
  padding: 28px;
  text-align: center;
  border-radius: 30px;
  background: #111824;
  color: #fff;
}

.disabled-shop-button {
  opacity: 0.55;
  cursor: not-allowed;
}

.help-button {
  margin-left: 8px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  background: rgba(255,255,255,0.10);
  font-weight: 950;
}

.help-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

@keyframes floatBumi {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .covert-header {
    grid-template-columns: auto 1fr;
  }

  .covert-nav {
    display: none;
  }

  .product-hero,
  .briefing-hero,
  .zones-card,
  .store-teaser-card {
    grid-template-columns: 1fr;
  }

  .hero-characters {
    min-height: 390px;
  }

  .kit-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .zone-list {
    grid-template-columns: 1fr;
  }

  .store-teaser-card {
    text-align: center;
  }

  .store-bumi {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .covert-header {
    min-height: 64px;
    padding: 0 12px;
  }

  .covert-brand span {
    display: none;
  }

  .language-switcher button {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .product-hero,
  .briefing-hero {
    padding: 56px 18px;
  }

  .bumi-side,
  .store-character-side {
    display: none;
  }

  .store-characters {
    min-height: auto;
  }

  .product-section,
  .store-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .covert-footer {
    flex-direction: column;
  }
}
