:root {
  --night: #0a1020;
  --night-soft: #111a31;
  --mist: #d7d2c8;
  --moon: #efe3b7;
  --star: #f8f2dd;
  --accent: #7fc8c6;
  --rose: #c08fb4;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(192, 143, 180, 0.18), transparent 30%),
    radial-gradient(circle at top left, rgba(127, 200, 198, 0.14), transparent 28%),
    linear-gradient(180deg, #08101d 0%, #101a31 45%, #090f1b 100%);
  color: var(--star);
  font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, h4, .section-title, .hero-title, .navbar-brand, .footer-title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

.navbar {
  background: linear-gradient(180deg, rgba(8, 16, 29, 0.95) 0%, rgba(8, 16, 29, 0.35) 100%);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.55rem;
}

.brand-mark__moon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  box-shadow: inset -6px 0 0 var(--moon);
  background: rgba(239, 227, 183, 0.1);
}

.nav-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding-inline: 1rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: auto 5% 8% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 227, 183, 0.18), rgba(239, 227, 183, 0));
  filter: blur(6px);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.92;
  margin-bottom: 1.2rem;
}

.hero-copy,
.text-white-50,
.form-text {
  color: rgba(248, 242, 221, 0.74) !important;
}

.hero-visual,
.moon-panel {
  background: linear-gradient(180deg, rgba(19, 30, 55, 0.94) 0%, rgba(14, 22, 41, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-image,
.detail-image,
.product-card__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.hero-image {
  min-height: 480px;
  max-height: 560px;
}

.floating-note {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(10, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.8rem 1rem;
}

.hero-visual {
  position: relative;
  padding: 1rem;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.metric-card,
.mini-panel {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  min-height: 100%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card strong,
.mini-panel strong {
  font-size: 1.3rem;
}

.metric-card span,
.mini-panel span {
  color: rgba(248, 242, 221, 0.68);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.96;
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease, border-color 180ms ease;
}

.product-card.revealed {
  transform: translateY(0);
  opacity: 1;
}

.product-card:hover {
  border-color: rgba(239, 227, 183, 0.35);
}

.product-card__image {
  height: 320px;
}

.product-card__body {
  padding: 1.4rem;
}

.btn-lunar {
  --bs-btn-color: #08101d;
  --bs-btn-bg: linear-gradient(135deg, #efe3b7 0%, #f5edd3 100%);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #08101d;
  --bs-btn-hover-bg: #f9f3dc;
  --bs-btn-hover-border-color: transparent;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(239, 227, 183, 0.18);
  background: linear-gradient(135deg, #efe3b7 0%, #f5edd3 100%);
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--star);
  min-height: 50px;
}

.form-control:focus,
.form-select:focus {
  color: var(--star);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 200, 198, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(127, 200, 198, 0.16);
}

.form-control::placeholder {
  color: rgba(248, 242, 221, 0.45);
}

.price-tag {
  font-size: 2.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(127, 200, 198, 0.14);
  border: 1px solid rgba(127, 200, 198, 0.2);
}

.cart-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 18px;
}

.sticky-summary {
  position: sticky;
  top: 110px;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--star);
}

.table > :not(caption) > * > * {
  padding-block: 1rem;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.alert {
  border-radius: 18px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(127, 200, 198, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(192, 143, 180, 0.15), transparent 30%),
    linear-gradient(180deg, #07111f, #111b31 55%, #0b1222);
}

.reveal-on-scroll {
  will-change: transform, opacity;
}

@media (max-width: 991.98px) {
  .hero-image {
    min-height: 300px;
  }

  .sticky-summary {
    position: static;
  }
}
