:root {
  --header-bg: #0c3bdd;
  --header-content: #ffffff;
  --header-content-hover: #fbbb00;
  --accent: #ff5501;
  --accent-hover: #e64d01;
  --accent-yellow: #fbbb00;
  --accent-yellow-hover: #e5a800;
  --bg-page: #041644;
  --bg-card: #ffffff;
  --text-primary: #334156;
  --text-secondary: #556f97;
  --border-light: #e2e8f1;
  --choice-bg: #e8e8e8;
  --choice-bg-active: #cee2ff;
  --star-color: #ffc107;
  --star-empty: #d4d4d4;
  --btn-primary: #0c3bdd;
  --btn-primary-hover: #076bee;
  --btn-disabled: #a0b4d1;
  --hero-bg: #041644;
  --glow-blue: rgba(0, 140, 255, 0.45);
  --modal-backdrop: rgba(4, 22, 68, 0.72);
  --content-max: 480px;
  --header-max: 1320px;
  --layout-max: 2200px;
  --layout-max-xl: 2600px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-card: 0 2px 12px rgba(6, 53, 122, 0.08);
  --font-family: "Nunito", system-ui, -apple-system, sans-serif;
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/Nunito-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/Nunito-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/Nunito-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "hvn-icons";
  src: url("../assets/HvnIconFont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-page);
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--btn-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--btn-primary-hover);
}

.btn-primary:disabled {
  background: var(--btn-disabled);
  cursor: not-allowed;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-secondary:hover {
  color: var(--btn-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.land-footer {
  padding: 16px 16px 24px;
  text-align: center;
}

.land-footer__text {
  font-size: 0.6875rem;
  line-height: 1.55;
  font-weight: 400;
  color: #a0b4d1;
}

@media (min-width: 1024px) {
  :root {
    --platform-max: clamp(300px, 28vw, 480px);
    --product-width: clamp(260px, 28vw, 480px);
    --scene-height: clamp(360px, calc(var(--platform-max) * 1.1), 520px);
    --product-slot-height: clamp(220px, calc(var(--product-width) * 0.88), 420px);
    --product-bottom: clamp(32px, calc(var(--platform-max) * 0.09), 52px);
    --hang-width: clamp(240px, 18vw, 400px);
    --hang-offset-x: clamp(40px, 5vw, 120px);
    --thumb-card-min: clamp(84px, 7vw, 128px);
    --nav-size: clamp(44px, 3.2vw, 64px);
    --nav-offset: clamp(160px, 14vw, 280px);
  }
}

@media (min-width: 1600px) {
  :root {
    --platform-max: clamp(380px, 34vw, 600px);
    --product-width: clamp(300px, 30vw, 560px);
    --scene-height: clamp(420px, calc(var(--platform-max) * 1.1), 580px);
    --product-slot-height: clamp(260px, calc(var(--product-width) * 0.88), 480px);
    --product-bottom: clamp(36px, calc(var(--platform-max) * 0.09), 56px);
    --thumb-card-min: clamp(96px, 6vw, 132px);
    --nav-size: clamp(52px, 3.6vw, 72px);
    --nav-offset: clamp(200px, 18vw, 340px);
  }
}

@media (min-width: 2000px) {
  :root {
    --platform-max: clamp(360px, 24vw, 520px);
    --product-width: clamp(340px, 26vw, 600px);
    --scene-height: clamp(420px, calc(var(--platform-max) * 1.1), 560px);
    --product-slot-height: clamp(280px, calc(var(--product-width) * 0.88), 520px);
    --product-bottom: clamp(40px, calc(var(--platform-max) * 0.09), 60px);
    --hang-width: clamp(280px, 16vw, 440px);
    --thumb-card-min: clamp(96px, 5.5vw, 140px);
    --nav-offset: clamp(200px, 12vw, 312px);
  }
}
