* {
  box-sizing: border-box;
}

:root {
  --bg: #0b0f18;
  --panel: #121826;
  --panel-2: #182133;
  --text: #f7f9fc;
  --muted: #8f99ab;
  --line: rgba(255,255,255,.08);
  --accent: #718cff;
  --accent-2: #5e76ee;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(68, 91, 200, .13), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 24, .92);
  backdrop-filter: blur(16px);
}

.header-inner,
.view,
.footer-inner {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-button,
.site-nav button {
  border: 0;
  background: transparent;
  color: inherit;
}

.brand-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 12px;
  font-weight: 900;
}

.brand-text {
  font-size: 19px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav button {
  color: var(--muted);
  padding: 0;
}

.site-nav button:hover {
  color: #fff;
}

.soon-link small {
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(113, 140, 255, .13);
  color: #8da2ff;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.view {
  display: none;
}

.active-view {
  display: block;
}

.hero {
  padding: 110px 0 90px;
  max-width: 960px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8da2ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.hero h1,
.detail-copy h1 {
  margin: 0;
  letter-spacing: -3px;
  line-height: .98;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(54px, 7vw, 92px);
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.search-wrap {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 900px;
}

.search-wrap input {
  flex: 1;
  min-width: 0;
  height: 62px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: var(--panel);
  color: #fff;
  font-size: 17px;
}

.search-wrap input:focus {
  border-color: rgba(113, 140, 255, .7);
  box-shadow: 0 0 0 4px rgba(113, 140, 255, .10);
}

.search-wrap > button {
  min-width: 120px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
}

.suggestions {
  position: absolute;
  top: 72px;
  left: 0;
  right: 130px;
  z-index: 40;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 24, 38, .98);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.suggestion-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-align: left;
}

.suggestion-row:hover {
  background: rgba(113, 140, 255, .09);
}

.suggestion-row img {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: contain;
  background: var(--panel-2);
}

.suggestion-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: #697387;
  font-size: 12px;
}

.quick-searches button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.quick-searches button:hover {
  color: #fff;
}

.section {
  padding: 54px 0 100px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -1.6px;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cosmetic-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease;
}

.cosmetic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(113, 140, 255, .25);
}

.card-image {
  aspect-ratio: 1 / 1.05;
  background: radial-gradient(circle at 50% 35%, #27324a, #151b28 74%);
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.card-copy {
  padding: 18px;
}

.card-copy h3 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.2;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.card-copy button {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8da2ff;
  font-size: 12px;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 100px;
}

.back-button {
  margin: 42px 0 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.back-button:hover {
  color: #fff;
}

.detail-art {
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 35%, #27324a, #151b28 74%);
}

.detail-art img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: contain;
  object-position: center bottom;
}

.detail-copy h1 {
  font-size: clamp(48px, 5vw, 78px);
}

.detail-description {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.meta-card {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.meta-card span {
  display: block;
  margin-bottom: 8px;
  color: #6d7789;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.meta-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.meta-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.watch-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 850;
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  color: #677186;
  font-size: 11px;
}

.footer-inner p {
  margin: 5px 0 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 1050px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-layout {
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .view,
  .footer-inner {
    width: min(100% - 32px, 1400px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .search-wrap {
    flex-direction: column;
  }

  .search-wrap > button {
    min-height: 56px;
  }

  .suggestions {
    right: 0;
    top: 70px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-art,
  .detail-art img {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

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