:root {
  --bg: #060403;
  --bg-soft: #110905;
  --surface: rgba(18, 10, 6, 0.78);
  --surface-2: rgba(28, 16, 10, 0.86);
  --surface-3: rgba(10, 6, 4, 0.92);
  --text: #f4e0bd;
  --muted: #d8b88f;
  --muted-2: #b89062;
  --gold: #f3c27b;
  --gold-2: #d98b33;
  --gold-3: #8a541f;
  --line: rgba(243, 194, 123, 0.15);
  --line-2: rgba(243, 194, 123, 0.34);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1260px;
  --bg-fade-top: rgba(6,4,3,.07);
  --bg-fade-mid: rgba(6,4,3,.12);
  --bg-fade-deep: rgba(6,4,3,.2);
  --bg-fade-bottom: rgba(6,4,3,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #060403;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.bg-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      var(--bg-fade-top) 0,
      var(--bg-fade-mid) 30rem,
      var(--bg-fade-deep) 72rem,
      var(--bg-fade-bottom) 100%
    ),
    url('./assets/site-bg.png') center top/100% 100% no-repeat;
}
body[data-particles] {
  --bg-fade-top: rgba(6,4,3,.16);
  --bg-fade-mid: rgba(6,4,3,.24);
  --bg-fade-deep: rgba(6,4,3,.4);
  --bg-fade-bottom: rgba(6,4,3,.56);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 220, 159, 0.08) 0.7px, transparent 1px);
  background-size: 4px 4px;
  opacity: .25;
  mix-blend-mode: screen;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(8,5,3,.84), rgba(8,5,3,.58));
  border-bottom-color: rgba(243,194,123,.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: flex-start; justify-content: center;
  padding: 0; background: transparent; border: 0; box-shadow: none;
  /* allow the oversized logo to overflow the header downward */
  height: 64px; position: relative; overflow: visible;
}
.site-header.is-scrolled .brand {
  align-items: center;
  padding: 0; background: transparent; border: 0; box-shadow: none;
}
.brand img {
  height: 140px; width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.6));
  transition: height .3s ease, filter .3s ease;
}
.site-header.is-scrolled .brand img {
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.55));
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #f0d4ad; font-size: 1rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -10px; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,194,123,.95), transparent);
  opacity: 0; transform: scaleX(.4); transition: .18s ease;
}
.nav a:hover::after, .nav a.active::after { opacity: 1; transform: scaleX(1); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions .btn {
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: transparent;
  border-color: rgba(243,194,123,.45);
  box-shadow: none;
  color: #f7e1bc;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, color .18s ease, transform .18s ease;
}
.header-actions .btn:hover {
  background: rgba(243,194,123,.08);
  border-color: rgba(243,194,123,.7);
  box-shadow: 0 0 18px rgba(243,194,123,.18);
}
.site-header.is-scrolled .header-actions .btn {
  background: linear-gradient(180deg, rgba(35,20,10,.5), rgba(12,7,4,.92));
  border-color: var(--line-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 8px 20px rgba(0,0,0,.3);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(35,20,10,.44), rgba(12,7,4,.92));
  color: var(--text); font-weight: 600; letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 12px 30px rgba(0,0,0,.22);
  transition: .18s ease;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,226,181,.16), transparent);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 18px 34px rgba(0,0,0,.30), 0 0 18px rgba(217,139,51,.12); }
.btn:hover::before { transform: translateX(120%); transition: .7s ease; }
.btn-primary { }
.btn-ghost { background: rgba(255,255,255,.02); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(243,194,123,.15); background: rgba(255,255,255,.03); color: var(--gold);
  text-transform: uppercase; font-size: .76rem; letter-spacing: .11em;
}
.page-hero {
  position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; width: min(760px, 100%); padding: 48px 0 56px; }
.hero-title {
  margin: 18px 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 500;
}
.hero-copy { margin: 0 0 28px; color: #f0d5ae; font-size: 1.14rem; line-height: 1.8; max-width: 48rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.section { padding: 34px 0 48px; }
.section-title { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; font-weight: 500; }
.section-copy { margin: 0 0 24px; color: var(--muted); line-height: 1.8; max-width: 66ch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(20,11,6,.84), rgba(10,6,4,.95)); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.product-card .product-body { display: flex; flex-direction: column; flex: 1; }
.product-card .product-body .price-row { margin-top: auto; }
.product-card::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(243,194,123,.95), transparent);
}
.card-art {
  height: 250px; border-bottom: 1px solid rgba(243,194,123,.12);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,216,148,.26), transparent 16%),
    radial-gradient(circle at 60% 28%, rgba(243,162,66,.18), transparent 24%),
    linear-gradient(180deg, #211208, #0f0905);
  position: relative;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; opacity: .86; mix-blend-mode: screen; }
.product-body { padding: 22px 20px 20px; text-align: center; }
.product-body h3 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.9rem; line-height: 1.06; font-weight: 500; }
.product-body p {
  margin: 0 auto 18px; color: var(--muted); line-height: 1.65; max-width: 30ch;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.price-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.price { font-size: 2rem; font-weight: 700; color: #ffe2b8; }
.badge {
  padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(243,194,123,.22);
  color: var(--gold); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.feature-box, .guide-card, .resource-card, .detail-card, .faq-item, .dashboard-panel {
  background: linear-gradient(180deg, rgba(20,11,6,.82), rgba(10,6,4,.96));
  border: 1px solid rgba(243,194,123,.12); box-shadow: var(--shadow);
}
.feature-box { display: flex; gap: 18px; align-items: center; padding: 22px 20px; min-height: 120px; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,226,184,.3), rgba(138,84,31,.2) 55%, rgba(10,6,4,.95) 100%);
  border: 1px solid rgba(243,194,123,.35);
  box-shadow: inset 0 0 16px rgba(0,0,0,.6), 0 0 22px rgba(243,194,123,.1);
  display: grid; place-items: center; color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.feature-icon svg { width: 56px; height: 56px; display: block; filter: drop-shadow(0 0 6px rgba(255,208,137,.35)); }
.feature-box h3, .guide-card h3, .resource-card h3 { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; font-weight: 500; }
.feature-box p, .guide-card p, .resource-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.cta-center { text-align: center; padding: 54px 0 72px; }
.cta-center p { max-width: 760px; margin: 0 auto 26px; color: var(--muted); line-height: 1.8; font-size: 1.08rem; }
.page-shell {
  padding: 36px 0 64px;
  background:
    radial-gradient(circle at 72% 10%, rgba(217,139,51,.08), transparent 20rem),
    linear-gradient(180deg, rgba(11,7,4,.14) 0, rgba(8,5,3,.08) 12rem, rgba(6,4,3,0) 26rem);
}
body:not([data-particles]) .page-shell {
  background:
    radial-gradient(circle at 72% 10%, rgba(217,139,51,.05), transparent 18rem),
    linear-gradient(180deg, rgba(11,7,4,.07) 0, rgba(8,5,3,.03) 10rem, rgba(6,4,3,0) 20rem);
}
.breadcrumbs { display: flex; gap: 10px; align-items: center; color: var(--muted-2); font-size: .92rem; margin-bottom: 18px; }
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.hero-panel, .side-panel {
  background: linear-gradient(180deg, rgba(16,9,6,.84), rgba(9,6,4,.96));
  border: 1px solid rgba(243,194,123,.14); box-shadow: var(--shadow); overflow: hidden;
}
.hero-panel-media { aspect-ratio: 16 / 10; background: #120a05; }
.hero-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel-body { padding: 26px; }
.product-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.product-head h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; font-weight: 500; }
.product-subtitle { color: var(--muted); line-height: 1.8; font-size: 1.04rem; margin: 0 0 22px; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.stat-chip {
  padding: 12px 14px; background: rgba(255,255,255,.02); border: 1px solid rgba(243,194,123,.12); min-width: 150px;
}
.stat-chip strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.stat-chip span { color: var(--muted-2); font-size: .86rem; }
.side-panel { padding: 24px; position: sticky; top: 108px; }
.side-price { font-size: 2.4rem; font-weight: 800; color: #ffe5c1; margin-bottom: 6px; }
.side-note { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.side-list { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.side-list li { color: var(--muted); padding-left: 18px; position: relative; }
.side-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: .7em; }
.split-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-card { padding: 22px; }
.detail-card h2 { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 500; }
.detail-card p, .detail-card li { color: var(--muted); line-height: 1.8; }
.detail-card ul { margin: 0; padding-left: 18px; }
.faq-item { padding: 20px 22px; }
.faq-item h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 1px solid rgba(243,194,123,.12); }
.table {
  width: 100%; border-collapse: collapse; color: var(--muted);
}
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid rgba(243,194,123,.1); text-align: left; }
.table th { color: var(--gold); font-weight: 700; }
.resources-grid, .guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card, .guide-card { padding: 22px; }
.resource-card .meta, .guide-card .meta { color: var(--muted-2); font-size: .88rem; margin-bottom: 8px; }
.dashboard-grid { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.dashboard-panel { padding: 20px; }
.side-menu { display: grid; gap: 10px; }
.side-menu a { padding: 14px 16px; border: 1px solid rgba(243,194,123,.08); background: rgba(255,255,255,.02); color: var(--muted); }
.side-menu a.active { border-color: rgba(243,194,123,.26); background: rgba(243,194,123,.07); color: var(--text); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-box { padding: 18px; border: 1px solid rgba(243,194,123,.1); background: rgba(255,255,255,.02); }
.stat-box strong { display: block; font-size: 1.4rem; margin-bottom: 4px; }
.stat-box span { color: var(--muted-2); }
.site-footer {
  border-top: 1px solid rgba(243,194,123,.08); background: linear-gradient(180deg, rgba(7,5,3,0), rgba(7,5,3,.55)); padding: 24px 0 36px;
}
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-top { color: var(--muted-2); margin-bottom: 12px; }
.footer-bottom { color: #9d7753; font-size: .9rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(243,194,123,.24); color: var(--gold); }
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .guides-grid, .resources-grid { grid-template-columns: 1fr; }
  .product-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 860px) {
  .site-header .container { flex-wrap: wrap; justify-content: center; padding: 10px 0 16px; }
  .nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .header-actions { justify-content: center; }
  .page-hero { min-height: 720px; background-position: 62% center; }
  .hero-inner { padding: 36px 0 90px; }
  .split-two, .gallery-grid, .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .brand img { height: 56px; }
  .grid-4 { grid-template-columns: 1fr; }
  .product-body h3 { font-size: 1.65rem; }
  .hero-title { font-size: clamp(2.35rem, 10vw, 4rem); }
}
