:root {
  /* Rose / crimson — red + pink family */
  --bg0: #faf5f7;
  --bg1: #f3e8ee;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: rgba(76, 5, 25, 0.1);
  --text: #1c1014;
  --muted: #8a6a76;
  --brand: #e11d48;
  --brand-deep: #be123c;
  --brand-soft: rgba(225, 29, 72, 0.12);
  --gold: #e11d48;
  --cyan: #db2777;
  --accent: #e11d48;
  --danger: #9f1239;
  --ok: #be123c;
  --radius: 20px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(76, 5, 25, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% -6%, rgba(225, 29, 72, 0.12), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(219, 39, 119, 0.1), transparent 32%),
    linear-gradient(180deg, #fff8fb 0%, var(--bg0) 48%, #f3e8ee 100%);
  min-height: 100vh;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.15em; fill: currentColor; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  background: rgba(255, 255, 255, 0.94);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand img { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 0.6rem; align-items: center; }
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  font-weight: 650;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48 45%, #db2777);
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.28);
}
.btn-ghost {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}
.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 3.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--text);
}
.hero h1 span {
  background: linear-gradient(120deg, #fb7185, #e11d48 45%, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-feedback-mobile { display: none; }
@media (max-width: 768px) {
  .hero-feedback-mobile { display: inline-flex; }
}
.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(225, 29, 72, 0.16), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(219, 39, 119, 0.1), transparent 44%),
    linear-gradient(160deg, #ffffff, #f5f2ef);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual img {
  width: min(180px, 46%);
  filter: drop-shadow(0 16px 28px rgba(225, 29, 72, 0.22));
  animation: floatY 5s ease-in-out infinite;
}
.hero-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
}
.hero-orb.a { background: rgba(217, 119, 6, 0.35); top: 12%; left: 10%; }
.hero-orb.b { background: rgba(225, 29, 72, 0.3); bottom: 12%; right: 12%; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

section { padding: 4.2rem 0; }
.section-head { margin-bottom: 2rem; max-width: 36rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}
.section-head p { margin: 0; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

.cards { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  }
}
.card h3 {
  font-family: var(--font-display);
  margin: 0.8rem 0 0.4rem;
  font-size: 1.2rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.platform-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.platform-row img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 4px;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.6rem 0;
}
.pkg-price span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.badge {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48 50%, #db2777);
  font-weight: 700;
}
.stock-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-top: 0.9rem;
}
.stock-meter > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #fb7185, #be123c);
  transition: width 1.2s ease;
}

.steps { display: grid; gap: 1rem; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(255,255,255,0.55);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.panel-page {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - 80px);
}
.panel {
  width: min(460px, 100%);
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.panel.wide { width: min(920px, 100%); }
.panel h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}
.panel .sub { color: var(--muted); margin: 0 0 1.4rem; }
.field { margin-bottom: 0.95rem; text-align: left; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text);
  padding: 0.85rem 0.95rem;
  outline: none;
}
.field input:focus, .field select:focus { border-color: rgba(225, 29, 72, 0.45); background: #fff; }
.error { color: var(--danger); font-size: 0.88rem; min-height: 1.2em; }
.muted-link { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 1rem; }
.muted-link a { color: var(--cyan); font-weight: 600; }
.google-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.25rem;
}
.google-disabled {
  width: 100%;
  margin-top: 0.75rem;
  opacity: 0.7;
  cursor: not-allowed;
  border: 1px dashed var(--line);
  background: #f8fafc;
  color: var(--muted);
  border-radius: 14px;
  padding: 0.85rem;
}
.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 1rem 0;
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.option-list { display: grid; gap: 0.75rem; }
.option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--text);
  cursor: pointer;
}
.option.selected, .option:hover {
  border-color: rgba(225, 29, 72, 0.5);
  background: rgba(225, 29, 72, 0.06);
}
.option img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.option .meta { flex: 1; min-width: 0; }
.option strong { display: block; }
.option span { color: var(--muted); font-size: 0.85rem; }

.checkout-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr 1fr; }
}
.pay-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  word-break: break-all;
  color: var(--text);
}
.pay-address {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  word-break: break-all;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  color: var(--text);
}
.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
.qr-wrap {
  width: min(100%, 224px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-wrap canvas,
.qr-wrap img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  display: block;
  background: #ffffff;
  border-radius: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.qr-caption {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(225, 29, 72, 0.12);
  color: var(--cyan);
}
.status-pill.warn { background: rgba(217, 119, 6, 0.14); color: #d97706; }
.status-pill.bad { background: rgba(225, 29, 72, 0.12); color: var(--danger); }
.status-pill.ok { background: rgba(22, 163, 74, 0.12); color: #16a34a; }

/* Compact order history — each order in its own box */
.oh-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.oh-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
}
.oh-box.pending { border-left: 3px solid #d97706; }
.oh-box.success { border-left: 3px solid #16a34a; }
.oh-box.fail { border-left: 3px solid #dc2626; }
.oh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.oh-title {
  font-size: 1rem;
  font-weight: 700;
}
.oh-status {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}
.oh-status.pending {
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
}
.oh-status.success {
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
}
.oh-status.fail {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.1);
}
.oh-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.oh-addr, .oh-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
  line-height: 1.4;
}
.oh-note { color: #9f1239; }
.oh-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th, table.data td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
table.data th { color: var(--muted); font-weight: 600; }

.mobile-cards { display: none; }
@media (max-width: 720px) {
  .nav-links, .nav-actions .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .desktop-table { display: none; }
  .mobile-cards { display: grid; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-visual img { animation: none; }
  html { scroll-behavior: auto; }
}
