/* Bouquet With Friends — Warm Botanical Pressroom Design System
 * Theme lock: warm linen paper (#FCF9F4), botanical forest ink (#1E352B),
 * singular velvet-rose accent (#C4334B), antique brass gold (#C6973F) strictly for Golden Vase.
 * Shape lock: pill buttons (999px), soft editorial cards (18px), crisp inputs (12px).
 */

:root {
  --bg: #FCF9F4;
  --surface: #FFFDF9;
  --surface-tint: #F5EFE6;
  --border: #E6DDD0;
  --border-strong: #D4C7B6;
  --ink: #1E352B;
  --ink-muted: #51655B;
  --ink-soft: #75867D;
  --accent: #C4334B;
  --accent-hover: #A4253B;
  --accent-soft: #FBECEF;
  --forest-soft: #EBF2EE;
  --gold: #B8862D;
  --gold-soft: #FDF5E4;
  --gold-border: #E5C887;
  --rose-holo: #C93A78;
  --rose-soft: #FDF0F6;
  --rose-border: #E8A8C3;
  --shadow-sm: 0 2px 10px rgba(30, 53, 43, 0.05);
  --shadow-md: 0 12px 32px rgba(30, 53, 43, 0.08);
  --radius-card: 18px;
  --radius-input: 12px;
  --radius-pill: 999px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button, input, textarea, select { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--radius-pill);
}
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* Top Seasonal Cross-Promo Strip (LNY -> Valentine funnel) */
.promo-bar {
  background: var(--ink);
  color: #F7F2EA;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.promo-bar a { color: #F7D488; font-weight: 600; text-decoration: underline; }

/* Single-line 68px Navigation */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 249, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700; white-space: nowrap;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand-name { font-family: var(--font-serif); font-size: 19px; letter-spacing: -0.02em; }

.nav-links {
  display: flex; align-items: center; gap: 18px;
}
.nav-links a {
  color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.lang-select {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons — High contrast WCAG AA+, tactile :active */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform 0.14s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, border-color 0.16s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--accent); color: #FFFDF9; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFDF9; }

.btn-dark { background: var(--ink); color: #FCF9F4; }
.btn-dark:hover { background: #14261E; color: #FCF9F4; }

.btn-outline {
  background: var(--surface); color: var(--ink); border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--surface-tint); border-color: var(--ink); color: var(--ink); }

.btn-gold {
  background: linear-gradient(135deg, #C7953B 0%, #9E6E1F 100%);
  color: #FFFDF9;
  border-color: #9E6E1F;
}
.btn-gold:hover { filter: brightness(1.05); color: #FFFDF9; }

.btn-rose {
  background: linear-gradient(135deg, #DB518C 0%, #AD2A62 100%);
  color: #FFFDF9;
  border-color: #AD2A62;
}
.btn-rose:hover { filter: brightness(1.06); color: #FFFDF9; }

.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* Asymmetric Split Hero (fits desktop viewport cleanly) */
.hero {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 22px;
  max-width: 52ch;
}

/* 10-Second Creator Card */
.creator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  padding: 11px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 51, 75, 0.12);
}
.field-hint { font-size: 12.5px; color: var(--ink-soft); }
.field-error { font-size: 13px; color: var(--accent); font-weight: 500; min-height: 18px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-choice {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pill-choice .swatch {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15);
}
.pill-choice[aria-pressed="true"], .pill-choice.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
}

.hero-stage {
  background: linear-gradient(180deg, #FBF6EE 0%, #F3E9DC 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 20px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.stage-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.stage-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-weight: 600;
  color: var(--ink);
}

/* Saved Bouquets Strip ("Welcome Back") */
.welcome-strip {
  margin-top: 18px;
  background: var(--forest-soft);
  border: 1px solid #CFE0D6;
  border-radius: var(--radius-card);
  padding: 14px 18px;
}
.welcome-strip h2 {
  font-size: 14px; margin: 0 0 8px; color: var(--ink); font-weight: 700;
}
.saved-list { display: flex; flex-wrap: wrap; gap: 8px; }
.saved-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid #C4D7CC;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.saved-chip:hover { border-color: var(--ink); color: var(--ink); }

/* Editorial Sections — Varied layout families, zero repetition */
.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section-tint { background: var(--surface-tint); }
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-lead { color: var(--ink-muted); max-width: 62ch; margin: 0 0 28px; font-size: 16.5px; }

/* 4-step editorial timeline (2x2 asymmetric numbered cards) */
.steps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.step-card h3 { margin: 0 0 6px; font-size: 18px; font-family: var(--font-serif); }
.step-card p { margin: 0; color: var(--ink-muted); font-size: 15px; }

/* Two-column editorial prose + sidebar highlight */
.editorial-split {
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 36px; align-items: start;
}
.prose h2 { margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-serif); font-size: 20px; margin: 22px 0 8px; }
.prose p { margin: 0 0 14px; color: var(--ink-muted); max-width: 65ch; }
.prose ul, .prose ol { padding-left: 20px; color: var(--ink-muted); margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.aside-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  position: sticky; top: 88px;
}
.aside-box h3 { font-family: var(--font-serif); margin: 0 0 10px; font-size: 20px; }
.note-sample {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink);
}
.note-sample small { display: block; color: var(--ink-soft); margin-top: 4px; font-size: 12px; }

/* Flower species showcase strip */
.species-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.species-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.species-tile.premium { border-color: var(--gold-border); background: var(--gold-soft); }
.species-tile svg { width: 56px; height: 56px; margin: 0 auto 8px; }
.species-tile strong { display: block; font-size: 14px; color: var(--ink); }
.species-tile span { font-size: 12px; color: var(--ink-soft); }

/* FAQ Accordion */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600; font-size: 15.5px; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 20px 16px;
  color: var(--ink-muted); font-size: 15px; margin: 0;
}

/* Live Moderated Q&A Wall */
.qa-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.comment-list { display: grid; gap: 12px; }
.comment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.comment-meta { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 4px; display: flex; justify-content: space-between; }
.comment-body { margin: 0; font-size: 14.5px; color: var(--ink); }
.comment-reply {
  margin-top: 10px; padding: 10px 12px;
  background: var(--forest-soft); border-radius: 10px; font-size: 13.5px; color: var(--ink);
}

/* Bouquet Live App (/b/:slug) */
.bouquet-layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; padding: 28px 0 56px;
}
.bouquet-sticky-col {
  position: sticky;
  top: 86px;
}
.bouquet-canvas-card {
  background: linear-gradient(180deg, #FCF7EE 0%, #F1E5D5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
  position: relative;
}

/* ============================================================================
 * SECRET-RARE 3D HOLOGRAPHIC COLLECTOR EDITIONS (inspired by simeydotme/pokemon-cards-css)
 * Two selectable luxury collector themes:
 *   1. .holo-gold-card  — 24K Luxury Gold Foil & Burnished Bronze Glare
 *   2. .holo-rose-card  — Rose Quartz Pearl Pink & Pink-Diamond Prismatic Foil
 * Static .holo-stage owns pointer coordinates so 3D tilt NEVER triggers rect feedback jitter.
 * ============================================================================ */
.holo-stage {
  perspective: 1000px;
}
.holo-card {
  --px: 50%;
  --py: 46%;
  --p-left: 0.5;
  --p-top: 0.46;
  --p-center: 0.28;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  border: 3.5px solid transparent;
}
.holo-card > .holo-content {
  position: relative;
  z-index: 2;
}

/* ---------- Theme 1: 24K Luxury Gold Foil ---------- */
.holo-gold-card {
  --glitter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23FFFBE0'%3E%3Ccircle cx='14' cy='22' r='1.3' opacity='.95'/%3E%3Ccircle cx='42' cy='10' r='1' opacity='.8'/%3E%3Ccircle cx='88' cy='26' r='1.5' opacity='1'/%3E%3Ccircle cx='106' cy='58' r='1.1' opacity='.85'/%3E%3Ccircle cx='28' cy='68' r='1.4' opacity='.9'/%3E%3Ccircle cx='62' cy='52' r='1' opacity='.8'/%3E%3Ccircle cx='96' cy='96' r='1.6' opacity='.95'/%3E%3Ccircle cx='18' cy='104' r='1.1' opacity='.8'/%3E%3Ccircle cx='54' cy='90' r='1.3' opacity='.9'/%3E%3Cpath d='M74 72l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z' opacity='1'/%3E%3Cpath d='M30 34l1.2 3.2 3.2 1.2-3.2 1.2-1.2 3.2-1.2-3.2-3.2-1.2 3.2-1.2z' opacity='.95'/%3E%3Cpath d='M100 18l1 2.8 2.8 1-2.8 1-1 2.8-1-2.8-2.8-1 2.8-1z' opacity='.9'/%3E%3C/g%3E%3C/svg%3E");
  --foil-etch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20L20 0L40 20L20 40Z M10 20L20 10L30 20L20 30Z' fill='none' stroke='%23FFE89C' stroke-width='0.8' opacity='0.58'/%3E%3Ccircle cx='20' cy='20' r='1.4' fill='%23FFF2B8' opacity='0.5'/%3E%3C/svg%3E");
  background:
    radial-gradient(circle at 50% 42%, #F9DF8B 0%, #D9A234 48%, #986210 100%) padding-box,
    linear-gradient(135deg, #FFF7D6 0%, #F1C963 22%, #8F5A0E 48%, #FAE08C 74%, #6D4105 100%) border-box;
  box-shadow:
    0 22px 54px rgba(108, 69, 10, 0.38),
    0 4px 12px rgba(108, 69, 10, 0.24),
    inset 0 0 0 1px rgba(255, 248, 212, 0.76),
    inset 0 0 0 7px rgba(112, 66, 6, 0.16);
}
.holo-gold-card .bouquet-title {
  color: #2A1905;
  text-shadow: 0 1px 0 rgba(255, 244, 198, 0.72);
}
.holo-gold-card .bouquet-subtitle {
  color: #462B06;
}
.holo-gold-card svg {
  filter: drop-shadow(0 10px 18px rgba(84, 48, 4, 0.26));
}
.holo-gold-card .slot-btn {
  background: rgba(255, 250, 234, 0.84);
  border-color: rgba(142, 92, 16, 0.45);
  color: #4A2F08;
  backdrop-filter: blur(4px);
}
.holo-gold-card .slot-btn.filled {
  background: rgba(255, 252, 240, 0.95);
  border-color: rgba(176, 121, 28, 0.72);
}

/* ---------- Theme 2: Rose Quartz Pearl Pink Foil ---------- */
.holo-rose-card {
  --glitter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23FFF5FA'%3E%3Ccircle cx='16' cy='24' r='1.3' opacity='.95'/%3E%3Ccircle cx='46' cy='12' r='1.1' opacity='.85'/%3E%3Ccircle cx='88' cy='28' r='1.6' opacity='1'/%3E%3Ccircle cx='104' cy='60' r='1.2' opacity='.85'/%3E%3Ccircle cx='26' cy='70' r='1.4' opacity='.9'/%3E%3Ccircle cx='64' cy='50' r='1.1' opacity='.85'/%3E%3Ccircle cx='94' cy='96' r='1.6' opacity='.95'/%3E%3Ccircle cx='20' cy='102' r='1.2' opacity='.85'/%3E%3Ccircle cx='56' cy='88' r='1.3' opacity='.9'/%3E%3Cpath d='M74 72l1.7 4.6 4.6 1.7-4.6 1.7-1.7 4.6-1.7-4.6-4.6-1.7 4.6-1.7z' fill='%23FFFFFF' opacity='1'/%3E%3Cpath d='M30 34l1.3 3.4 3.4 1.3-3.4 1.3-1.3 3.4-1.3-3.4-3.4-1.3 3.4-1.3z' fill='%23FFE0EE' opacity='.95'/%3E%3Cpath d='M100 18l1.1 3 3 1.1-3 1.1-1.1 3-1.1-3-3-1.1 3-1.1z' fill='%23FFF7DA' opacity='.92'/%3E%3C/g%3E%3C/svg%3E");
  --foil-etch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20L20 0L40 20L20 40Z M10 20L20 10L30 20L20 30Z' fill='none' stroke='%23FFD6EA' stroke-width='0.8' opacity='0.6'/%3E%3Ccircle cx='20' cy='20' r='1.4' fill='%23FFF0F7' opacity='0.52'/%3E%3C/svg%3E");
  background:
    radial-gradient(circle at 50% 40%, #FFD6E8 0%, #E57EAA 46%, #A33166 100%) padding-box,
    linear-gradient(135deg, #FFF5F9 0%, #F9B2CE 22%, #8C1E52 48%, #FFD6E8 74%, #701440 100%) border-box;
  box-shadow:
    0 22px 54px rgba(136, 32, 80, 0.36),
    0 4px 12px rgba(136, 32, 80, 0.22),
    inset 0 0 0 1px rgba(255, 240, 247, 0.80),
    inset 0 0 0 7px rgba(122, 22, 68, 0.16);
}
.holo-rose-card .bouquet-title {
  color: #380C21;
  text-shadow: 0 1px 0 rgba(255, 238, 246, 0.78);
}
.holo-rose-card .bouquet-subtitle {
  color: #4E1430;
}
.holo-rose-card svg {
  filter: drop-shadow(0 10px 18px rgba(102, 18, 56, 0.24));
}
.holo-rose-card .slot-btn {
  background: rgba(255, 245, 250, 0.86);
  border-color: rgba(164, 46, 100, 0.42);
  color: #5A1636;
  backdrop-filter: blur(4px);
}
.holo-rose-card .slot-btn.filled {
  background: rgba(255, 250, 253, 0.96);
  border-color: rgba(196, 62, 122, 0.68);
}

/* Layer 1 (BEHIND artwork): Dramatic Iridescent Sunpillar + Etched Foil Lattice */
.holo-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    var(--foil-etch),
    repeating-linear-gradient(
      128deg,
      rgba(255, 226, 128, 0.58) 0%,
      rgba(255, 164, 134, 0.50) 12%,
      rgba(255, 238, 148, 0.65) 24%,
      rgba(148, 238, 224, 0.48) 36%,
      rgba(196, 174, 255, 0.46) 48%,
      rgba(255, 216, 102, 0.60) 60%
    ),
    radial-gradient(
      farthest-corner circle at var(--px) var(--py),
      rgba(255, 251, 224, 0.88) 4%,
      rgba(220, 162, 46, 0.36) 38%,
      rgba(42, 25, 4, 0.08) 85%
    );
  background-size: 40px 40px, 260% 260%, 100% 100%;
  background-position:
    center center,
    calc(var(--p-left) * 100%) calc(var(--p-top) * 100%),
    center center;
  background-blend-mode: overlay, hard-light, normal;
  mix-blend-mode: color-dodge;
  opacity: calc(0.56 + var(--p-center) * 0.34);
  filter: brightness(calc(0.92 + var(--p-center) * 0.22)) contrast(1.28) saturate(1.6);
}
.holo-rose-card .holo-shine {
  background-image:
    var(--foil-etch),
    repeating-linear-gradient(
      128deg,
      rgba(255, 182, 216, 0.62) 0%,
      rgba(255, 226, 206, 0.54) 12%,
      rgba(255, 168, 214, 0.66) 24%,
      rgba(182, 234, 255, 0.50) 36%,
      rgba(222, 184, 255, 0.52) 48%,
      rgba(255, 174, 212, 0.62) 60%
    ),
    radial-gradient(
      farthest-corner circle at var(--px) var(--py),
      rgba(255, 248, 252, 0.90) 4%,
      rgba(232, 118, 170, 0.40) 38%,
      rgba(68, 14, 42, 0.08) 85%
    );
}

/* Layer 2: Sweeping 45-degree Metallic Foil Specular Bar */
.holo-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(
    115deg,
    rgba(255, 245, 200, 0) 20%,
    rgba(255, 238, 168, 0.58) 42%,
    rgba(255, 253, 240, 0.94) 50%,
    rgba(236, 184, 62, 0.55) 58%,
    rgba(255, 245, 200, 0) 80%
  );
  background-size: 240% 240%;
  background-position: calc((1 - var(--p-left)) * 100%) calc((1 - var(--p-top)) * 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
}
.holo-rose-card .holo-shine::before {
  background-image: linear-gradient(
    115deg,
    rgba(255, 232, 244, 0) 20%,
    rgba(255, 198, 224, 0.60) 42%,
    rgba(255, 252, 254, 0.95) 50%,
    rgba(242, 142, 188, 0.56) 58%,
    rgba(255, 232, 244, 0) 80%
  );
}

/* Layer 3: Parallax Twinkling Star & Diamond Micro-Glitter */
.holo-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--glitter), var(--glitter);
  background-size: 120px 120px, 84px 84px;
  background-position:
    calc(50% - (14px * var(--p-left))) calc(50% - (14px * var(--p-top))),
    calc(42% + (10px * var(--p-left))) calc(58% + (10px * var(--p-top)));
  mix-blend-mode: screen;
  opacity: calc(0.62 + var(--p-center) * 0.38);
}

/* Layer 4 (ABOVE artwork): Sheer Crystalline Glass Sheen — catches light without washing out flowers or text */
.holo-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 252, 235, 0.26) 49%,
      rgba(255, 255, 255, 0) 64%
    ),
    radial-gradient(
      farthest-corner circle at var(--px) var(--py),
      rgba(255, 253, 242, 0.36) 0%,
      rgba(255, 230, 145, 0.12) 28%,
      rgba(52, 30, 4, 0.26) 94%
    );
  background-size: 240% 240%, 100% 100%;
  background-position: calc((1 - var(--p-left)) * 100%) calc((1 - var(--p-top)) * 100%), center center;
  mix-blend-mode: overlay;
  opacity: 0.72;
}
.holo-rose-card .holo-glare {
  background-image:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 242, 248, 0.28) 49%,
      rgba(255, 255, 255, 0) 64%
    ),
    radial-gradient(
      farthest-corner circle at var(--px) var(--py),
      rgba(255, 250, 253, 0.38) 0%,
      rgba(255, 194, 224, 0.14) 28%,
      rgba(86, 18, 52, 0.28) 94%
    );
}

/* Theme Picker Switcher (24K Gold vs Rose Quartz Pink) */
.theme-switch-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}
.theme-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: rgba(255, 253, 249, 0.85);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.theme-pill:hover {
  border-color: var(--ink);
}
.theme-pill .swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.theme-pill .swatch-gold {
  background: linear-gradient(135deg, #FFF3BD 0%, #DFAD42 55%, #9B6712 100%);
}
.theme-pill .swatch-rose {
  background: linear-gradient(135deg, #FFE4F0 0%, #EC8AB4 55%, #B53A70 100%);
}
.theme-pill[data-theme-pick="gold"][aria-pressed="true"] {
  border-color: #B8862D;
  background: linear-gradient(135deg, #FFF9E4 0%, #F7E1A4 100%);
  color: #4D3006;
  box-shadow: 0 2px 10px rgba(184, 134, 45, 0.22);
}
.theme-pill[data-theme-pick="rose"][aria-pressed="true"] {
  border-color: #C93A78;
  background: linear-gradient(135deg, #FFF3F8 0%, #FAD0E2 100%);
  color: #5B1234;
  box-shadow: 0 2px 10px rgba(201, 58, 120, 0.22);
}

.upgrade-card-gold {
  background: var(--gold-soft);
  border-color: var(--gold-border);
}
.upgrade-card-rose {
  background: var(--rose-soft);
  border-color: var(--rose-border);
}

/* Luxury Upgrade Modal Styling (Gold & Rose Quartz variants) */
.modal-box.modal-gold {
  max-width: 500px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF2DE 100%);
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 28px 72px rgba(90, 58, 12, 0.34);
}
.modal-box.modal-rose {
  max-width: 500px;
  background: linear-gradient(180deg, #FFFDFE 0%, #FCEBF3 100%);
  border: 1.5px solid var(--rose-border);
  box-shadow: 0 28px 72px rgba(132, 32, 78, 0.32);
}
.modal-box.modal-rose .gold-perks li::before {
  color: var(--rose-holo);
}
.gold-preview-mini {
  padding: 16px 14px 14px;
  margin: 0 0 16px;
}
.gold-preview-mini .gold-mini-svg {
  max-width: 196px;
  margin: 0 auto;
}
.gold-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink);
}
.gold-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gold-perks li::before {
  content: "✦";
  color: var(--gold);
  font-weight: 700;
}
.gold-modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.modal-inline-msg {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  min-height: 18px;
}

.bouquet-header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px; text-align: left;
}
.bouquet-title { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 30px); margin: 0; }
.bouquet-subtitle { font-size: 13.5px; color: var(--ink-muted); }
.gold-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #FFF7DB 0%, #F1CF7A 52%, #E2B34E 100%);
  color: #5C3B08; border: 1px solid #C89635;
  border-radius: var(--radius-pill); padding: 5px 13px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(184, 134, 45, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.rose-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #FFF4F9 0%, #F9B2D0 52%, #E16B9D 100%);
  color: #551031; border: 1px solid #C74D82;
  border-radius: var(--radius-pill); padding: 5px 13px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(201, 58, 120, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.bloom-slots-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px;
}
.slot-btn {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 8px 4px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11.5px; color: var(--ink-muted);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.slot-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.slot-btn.filled { border-style: solid; border-color: var(--border); color: var(--ink); font-weight: 600; }
.slot-btn.wrap-gold { background: var(--gold-soft); border-color: var(--gold-border); }
.slot-btn.wrap-crystal { background: #F0F6FA; border-color: #B4D2E4; }
.slot-btn.wrap-aurora { background: #F4EFF8; border-color: #C7B2DA; }
.slot-btn .slot-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.panel-card + .panel-card { margin-top: 16px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.code-pill {
  font-family: var(--font-mono); font-size: 17px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 8px 14px; display: inline-block;
}

.petals-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--gold-soft); border: 1px solid var(--gold-border);
  border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 13.5px;
}

.flower-picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px;
}
.flower-opt {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px 6px; cursor: pointer; text-align: center; font-size: 12px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.flower-opt.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }

.wrap-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.wrap-opt {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px; cursor: pointer; text-align: left; font-size: 13px;
}
.wrap-opt strong { display: block; color: var(--ink); }
.wrap-opt span { font-size: 12px; color: var(--ink-soft); }
.wrap-opt.active { border-color: var(--accent); background: var(--accent-soft); }

/* Modal overlay */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(30, 53, 43, 0.56);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-box {
  width: 100%; max-width: 480px; max-height: 90dvh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-card);
  border: 1px solid var(--border); padding: 24px;
  box-shadow: 0 24px 60px rgba(30, 53, 43, 0.25);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}
.modal-head h3 { font-family: var(--font-serif); margin: 0; font-size: 22px; }
.icon-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg); cursor: pointer; font-size: 18px; line-height: 1;
}

.pack-list { display: grid; gap: 10px; margin: 14px 0; }
.pack-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: var(--bg); cursor: pointer; text-align: left;
}
.pack-btn.popular { border-color: var(--accent); background: var(--accent-soft); }
.pack-btn strong { display: block; font-size: 15px; }
.pack-btn small { color: var(--ink-muted); font-size: 12.5px; }
.pack-price { font-size: 17px; font-weight: 700; color: var(--ink); }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  font-size: 12px; color: var(--ink-soft); margin-top: 12px;
}

/* Mini Games Grid (/games) */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.game-card h3 { font-family: var(--font-serif); margin: 0; font-size: 21px; }
.game-stage {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  min-height: 240px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.mem-tile {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-tint); cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.mem-tile.open, .mem-tile.matched { background: var(--surface); border-color: var(--accent); }

/* Legal tables */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.data-table th, .data-table td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left;
}
.data-table th { background: var(--surface-tint); font-weight: 600; }

/* Cross-Promo Matrix Banner & Footer */
.sister-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px;
}
.sister-card {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 18px 20px; color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sister-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.sister-card small { color: var(--accent); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.sister-card strong { display: block; font-family: var(--font-serif); font-size: 19px; margin: 4px 0; }
.sister-card p { margin: 0; font-size: 14px; color: var(--ink-muted); }

.site-footer {
  padding: 36px 0 48px;
  background: var(--surface-tint);
  font-size: 13.5px; color: var(--ink-muted);
}
.footer-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Gentle organic sway on bouquet stems */
@keyframes gentleSway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}
.sway-stem { transform-origin: 180px 300px; animation: gentleSway 5.5s ease-in-out infinite; }
.sway-stem:nth-child(even) { animation-delay: -2.4s; }

@media (prefers-reduced-motion: reduce) {
  .sway-stem { animation: none !important; }
  .holo-card { transform: none !important; }
  * { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Mobile responsive collapse (< 860px) */
@media (max-width: 860px) {
  .hero-grid, .editorial-split, .qa-grid, .bouquet-layout, .games-grid, .sister-strip {
    grid-template-columns: 1fr;
  }
  .steps-grid { grid-template-columns: 1fr; }
  .aside-box, .bouquet-sticky-col { position: static; }
  .bloom-slots-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links a.hide-mobile { display: none; }
  .nav-links { gap: 10px; }
  .brand-name { font-size: 16px; }
  .brand img { width: 26px; height: 26px; }
  .lang-select { padding: 4px 8px; font-size: 12px; max-width: 88px; }
  .hero { padding: 20px 0 36px; }
  .hero-kicker { font-size: 12px; line-height: 1.35; border-radius: 12px; }
}
@media (max-width: 520px) {
  .nav-links a { display: none; }
  .brand-name { font-size: 16.5px; }
}
