/* ============================================================
   Wismabet Slottoto — Premium Dark Luxury UI
   Design: Dark Burgundy + Charcoal + Elegant Gold (Accent)
   Layout: CSS Grid + Flexbox | No Framework
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #2B0A15;
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% -10%, rgba(132, 28, 58, 0.85), transparent 60%),
    radial-gradient(ellipse 900px 600px at 100% 10%, rgba(96, 22, 42, 0.70), transparent 55%),
    radial-gradient(ellipse 800px 500px at 0% 90%, rgba(80, 18, 36, 0.55), transparent 60%),
    linear-gradient(180deg, #330D19 0%, #220811 30%, #1B060E 65%, #1F0812 100%);
  background-attachment: fixed;
  color: #ECE6DC;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

:root {
  --wine-900: #1A040B;
  --wine-800: #2A0914;
  --wine-700: #3B0E1D;
  --wine-600: #521428;
  --wine-500: #761E3A;
  --burgundy-400: #8F2947;
  --charcoal-900: #0B0B0E;
  --charcoal-800: #121217;
  --charcoal-700: #1A1A21;
  --gold-400: #EBD07B;
  --gold-500: #D4AF37;
  --gold-600: #B8972C;
  --gold-700: #8E7220;
  --text-100: #FCF9F3;
  --text-200: #EFE8DB;
  --text-300: #C7BFAD;
  --text-400: #9A9280;
  --border: rgba(212, 175, 55, 0.16);
  --border-strong: rgba(212, 175, 55, 0.32);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px -6px rgba(212, 175, 55, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1240px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { margin: 0 0 0.6em; color: var(--text-100); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.25rem); }
p  { margin: 0 0 1em; color: var(--text-200); }
a  { color: var(--gold-500); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--gold-400); }
small { font-size: 0.85rem; color: var(--text-400); }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.section {
  padding: clamp(56px, 9vw, 112px) 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.tight { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15, 5, 10, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px -12px rgba(0,0,0,0.6);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}

/* ---------- HEADER SEARCH ---------- */
.header-search {
  position: relative;
  flex: 1;
  max-width: 520px;
  display: none;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-400);
  z-index: 2;
  pointer-events: none;
}
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px 0 44px;
  border-radius: 999px;
  background: rgba(20, 8, 14, 0.65);
  border: 1px solid var(--border);
  color: var(--text-100);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.search-input::placeholder { color: var(--text-400); }
.search-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  background: rgba(20, 8, 14, 0.85);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text-100);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
}
.brand img {
  height: 38px;
  width: auto;
  display: inline-block;
  transform-origin: center center;
  perspective: 1000px;
  backface-visibility: hidden;
  animation: logoFloat 3s ease-in-out infinite, logoShine 2.1s ease-in-out infinite;
  animation-delay: 0.12s, 0.25s;
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.26));
  will-change: transform, filter;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-6px) rotate(-0.6deg) scale(1.012); }
}
@keyframes logoShine {
  0%, 100% { filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.26)) brightness(1) saturate(1); }
  35%      { filter: drop-shadow(0 8px 22px rgba(212, 175, 55, 0.52)) brightness(1.1) saturate(1.08); }
  50%      { filter: drop-shadow(0 10px 26px rgba(212, 175, 55, 0.62)) brightness(1.12) saturate(1.1); }
  65%      { filter: drop-shadow(0 8px 22px rgba(212, 175, 55, 0.52)) brightness(1.08) saturate(1.06); }
}
.primary-nav {
  display: none;
  align-items: center;
  gap: 8px;
}
.primary-nav a {
  color: var(--text-200);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}
.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.05);
}
.nav-cta {
  display: none;
  align-items: center;
  gap: 10px;
}
.mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-100);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hamburger:hover,
.hamburger:focus { background: rgba(212,175,55,0.06); border-color: var(--border-strong); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-100);
  border-radius: 2px;
  margin: 2px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(12, 4, 8, 0.97);
  backdrop-filter: blur(12px);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer .container { padding-top: 14px; padding-bottom: 18px; }
.mobile-drawer a {
  display: block;
  padding: 12px 4px;
  color: var(--text-200);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-drawer a:last-child { border-bottom: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: linear-gradient(180deg, #EBD07B 0%, #D4AF37 55%, #B3902A 100%);
  color: #2A1800;
  box-shadow: 0 8px 24px -8px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover,
.btn-primary:focus {
  color: #2A1800;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--gold-400);
  border-color: var(--border-strong);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(212,175,55,0.08);
  color: var(--gold-400);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-100);
  border-color: var(--border);
}
.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--gold-400);
  border-color: var(--border-strong);
  background: rgba(212,175,55,0.04);
}
.btn-sm { min-height: 40px; padding: 0.5rem 0.95rem; font-size: 0.85rem; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 8vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy .lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--text-300);
  max-width: 52ch;
  margin-bottom: 1.8rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.8rem;
}
.micro-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--text-300);
  font-size: 0.9rem;
  align-items: center;
}
.micro-info .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-600);
  display: inline-block;
  opacity: 0.8;
}
.micro-info strong { color: var(--gold-400); font-weight: 600; }

.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), var(--shadow-gold);
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  background: var(--wine-800);
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(60,14,26,0.15), transparent 40%, rgba(0,0,0,0.35));
  pointer-events: none;
}
.hero-figure img,
.hero-figure source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.floating-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(12, 4, 8, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 8px;
}
.floating-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5EC27B; box-shadow: 0 0 10px #5EC27B;
}

/* ---------- INTRO / EDITORIAL ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}
.editorial-copy h2 { margin-bottom: 0.5em; }
.editorial-copy .lede {
  font-size: 1.05rem;
  color: var(--text-200);
}
.editorial-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1254 / 705;
  max-width: 100%;
  margin-inline: auto;
  background: var(--wine-800);
}
.editorial-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FEATURE CARDS ---------- */
.features { padding-top: clamp(32px, 5vw, 56px); }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { max-width: 60ch; margin: 0 auto; color: var(--text-300); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(60, 20, 36, 0.45), rgba(20, 8, 14, 0.85)),
    var(--charcoal-900);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212,175,55,0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft), 0 18px 40px -20px rgba(212, 175, 55, 0.25);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(84, 28, 49, 0.5));
  border: 1px solid var(--border-strong);
  color: var(--gold-400);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.card h3 { margin-bottom: 0.4em; color: var(--text-100); }
.card p { margin: 0; color: var(--text-300); font-size: 0.95rem; }

/* ---------- MOBILE EXPERIENCE ---------- */
.mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.phone-wrap {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}
.phone {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  background: linear-gradient(160deg, #0D0D12, #1A1A22);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 0 2px rgba(212,175,55,0.08);
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 14px;
  background: #000;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, var(--wine-500), var(--wine-800) 60%, var(--wine-900));
  padding: 38px 18px 20px;
  display: flex; flex-direction: column;
}
.phone-screen::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45));
  pointer-events: none;
}
.phone-brand {
  color: var(--gold-400);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.phone-title {
  color: var(--text-100);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.phone-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: auto;
  margin-bottom: 14px;
}
.tile {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(212,175,55,0.18), rgba(84,28,49,0.5));
  border: 1px solid var(--border-strong);
}
.tile:nth-child(2) { background: linear-gradient(135deg, rgba(84,28,49,0.6), rgba(20,8,14,0.6)); }
.tile:nth-child(3) { background: linear-gradient(135deg, rgba(20,8,14,0.6), rgba(212,175,55,0.14)); }
.tile:nth-child(4) { background: linear-gradient(135deg, rgba(60,20,36,0.7), rgba(15,5,10,0.8)); }
.phone-cta {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #EBD07B, #D4AF37);
  color: #2A1800;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  color: var(--text-200);
  border-bottom: 1px dashed var(--border);
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  top: 1.05rem; left: 0;
  width: 22px; height: 22px;
  border-radius: 8px;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.bullets li::after {
  content: "";
  position: absolute;
  top: 1.35rem; left: 7px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}
.bullets strong { color: var(--text-100); font-weight: 600; }

/* ---------- INFORMATION ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.info-card {
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(40, 12, 24, 0.55), rgba(16, 6, 10, 0.8));
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.info-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.info-card h3 {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold-400);
  margin-bottom: 0.4em;
}
.info-card h3 .idx {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border-strong);
  color: var(--gold-400);
  font-size: 0.8rem; font-weight: 700;
}
.info-card p { margin: 0; color: var(--text-300); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(30,10,18,0.5), rgba(14,6,10,0.7));
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(50,16,28,0.6), rgba(18,8,12,0.85));
}
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--text-100);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font: inherit;
}
.faq-trigger:hover { background: rgba(212,175,55,0.03); }
.faq-trigger h3 { margin: 0; font-size: 1rem; color: inherit; font-weight: 600; }
.faq-trigger .chev {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--gold-400);
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); background: rgba(212,175,55,0.08); }
.faq-trigger .chev svg { width: 16px; height: 16px; }
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}
.faq-panel[aria-hidden="false"] { max-height: 600px; padding-bottom: 20px; }
.faq-panel p { margin: 0; color: var(--text-300); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: linear-gradient(180deg, #0C0307 0%, #080205 100%);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--text-400);
  max-width: 46ch;
  font-size: 0.9rem;
}
.footer-nav h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-nav a { color: var(--text-300); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-400);
}

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

/* ---------- MOTION ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
/* ========================================================
   SAFETY FALLBACK WAJIB (TIDAK BOLEH BERGANTUNG ANIMASI):
   Default hero content SELALU VISIBLE opacity=1 agar user
   Mac/Windows dengan SETTING REDUCED MOTION (Accessibility)
   atau ADBLOCK blokir animasi TIDAK MENDAPAT FULL BLACKOUT
   CONTENT HILANG SEMUA (screenshot user lapor "jelek").
   Animasi hanya ADD-ON enhancement, BUKAN visibility utama!
   ======================================================== */
.hero-copy > *,
.hero-figure {
  opacity: 1 !important;                       /* SELALU VISIBLE — Fallback */
  animation: fadeUp 0.7s ease forwards;       /* Enhancement only */
}
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.12s; }
.hero-copy .lead { animation-delay: 0.2s; }
.hero-copy .cta-row { animation-delay: 0.28s; }
.hero-copy .micro-info { animation-delay: 0.36s; }
.hero-figure { animation-delay: 0.22s; }

/* ========================================================
   ACCESSIBILITY: PENGGUNA REDUCED MOTION (MAC/WINDOWS)
   Matikan SEMUA animasi + FORCE opacity=1 100% VISIBLE.
   Ini SOLUSI UTAMA user lapor "desktop jelek full gelap".
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  .hero-copy > *,
  .hero-figure {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    opacity: 1 !important;
  }
}

/* ---------- FLOATING BUTTONS (WA + TELEGRAM) ---------- */
.float-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.float-stack a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: floatPulse 2.8s ease-in-out infinite;
}
.float-stack a:hover,
.float-stack a:focus {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.1);
}
.float-stack .lc { background: linear-gradient(135deg,#D4AF37,#8B6914); }
.float-stack svg { width: 28px; height: 28px; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(0,0,0,0.55), 0 0 0 0 rgba(212,175,55,0); }
  50%      { box-shadow: 0 14px 34px -6px rgba(0,0,0,0.65), 0 0 0 6px rgba(212,175,55,0.12); }
}
@media (min-width: 768px) {
  .float-stack { right: 22px; bottom: 22px; gap: 12px; }
  .float-stack a { width: 58px; height: 58px; }
  .float-stack svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   PWA — INSTALL BANNER (Kompas style bottom mini popup)
   ============================================================ */
.pwa-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 88px;
  max-width: 760px;
  margin-inline: auto;
  z-index: 90;
  background: linear-gradient(160deg, rgba(18,4,12,0.96), rgba(45,10,21,0.96));
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 18px;
  color: #FCF9F3;
  box-shadow: 0 20px 60px -18px rgba(0,0,0,0.72), 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(22px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1), opacity 0.3s ease;
}
.pwa-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pwa-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px 14px 14px;
}
.pwa-banner__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #15050D;
  border: 1px solid rgba(212,175,55,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.pwa-banner__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pwa-banner__copy h2 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #F4E9C8;
  letter-spacing: 0.1px;
}
.pwa-banner__copy p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.35;
  color: #B8AD96;
}
.pwa-banner__hint {
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px dashed rgba(212,175,55,0.2);
  font-size: 0.77rem !important;
  line-height: 1.5 !important;
  color: #D9C68D !important;
}
.pwa-banner__hint strong {
  color: #F2D87E;
  font-weight: 700;
}
.pwa-banner__actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pwa-banner__actions button,
.pwa-banner__actions a {
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.pwa-banner__dismiss {
  background: transparent;
  color: #C7BFAD;
  border-color: rgba(255,255,255,0.08);
}
.pwa-banner__dismiss:hover { filter: brightness(1.1); color: #E6DDC6; }
.pwa-banner__cta {
  background: rgba(212,175,55,0.08);
  color: #EBD07B;
  border-color: rgba(212,175,55,0.34);
}
.pwa-banner__cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pwa-banner__install {
  background: linear-gradient(135deg,#D4AF37,#8B6914);
  color: #1B0611;
  border-color: rgba(212,175,55,0.75);
  box-shadow: 0 10px 24px -12px rgba(212,175,55,0.65);
}
.pwa-banner__install:hover:not(:disabled) { transform: translateY(-1px) scale(1.02); filter: brightness(1.06); }
.pwa-banner__install:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

@media (max-width: 640px) {
  .pwa-banner { bottom: 86px; left: 10px; right: 10px; }
  .pwa-banner__inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px 12px 12px 12px;
  }
  .pwa-banner__icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 12px; }
  .pwa-banner__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ============================================================
   RESPONSIVE — TABLET  ( >= 768px )
   ============================================================ */
@media (min-width: 768px) {
  h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .primary-nav { display: none; }
  .nav-cta { display: none; }
  .mobile-cta { display: inline-flex; }
  .hamburger { display: inline-flex; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   RESPONSIVE — DESKTOP  ( >= 1024px )
   ============================================================ */
@media (min-width: 1024px) {
  .primary-nav { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .mobile-cta { display: none; }
  .hamburger { display: none; }
  .mobile-drawer { display: none !important; }

  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-figure { max-width: 100%; width: 100%; aspect-ratio: 1 / 1; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-grid.reverse > :first-child { order: 2; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-grid { grid-template-columns: 0.8fr 1.2fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP ( >= 1400px )
   ============================================================ */
@media (min-width: 1400px) {
  :root { --container: 1280px; }
}

/* ============================================================
   BREADCRUMB SITE
   ============================================================ */
.site-breadcrumb {
  background: rgba(12, 4, 8, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-400);
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-list li + li::before {
  content: "›";
  color: var(--text-400);
  font-weight: 600;
  margin-right: 4px;
}
.breadcrumb-list a {
  color: var(--text-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.breadcrumb-list a:hover { color: var(--gold-400); }
.breadcrumb-list [aria-current="page"] {
  color: var(--gold-400);
  font-weight: 600;
}

/* ============================================================
   QUICK CATEGORY CHIPS
   ============================================================ */
.quick-cat { padding: clamp(24px, 4vw, 40px) 0; }
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 8, 14, 0.6);
  border: 1px solid var(--border);
  color: var(--text-200);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}
.chip:hover {
  border-color: var(--border-strong);
  color: var(--gold-400);
  transform: translateY(-1px);
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-600);
  display: inline-block;
}
.chip-active {
  background: linear-gradient(180deg, rgba(235, 208, 123, 0.14), rgba(212, 175, 55, 0.06));
  border-color: var(--gold-500);
  color: var(--gold-400);
  box-shadow: 0 6px 20px -8px rgba(212, 175, 55, 0.4);
}
.chip-active .chip-dot { background: var(--gold-500); box-shadow: 0 0 8px var(--gold-500); }

/* ============================================================
   MARKETPLACE GRID
   ============================================================ */
.marketplace { padding-top: clamp(32px, 5vw, 64px); }
.mp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.mp-card {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 10, 20, 0.5), rgba(14, 6, 10, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.mp-card:hover,
.mp-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 175, 55, 0.1);
}
.mp-img {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wine-800);
}
.mp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mp-card:hover .mp-img img { transform: scale(1.04); }
.mp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.badge-primary {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-400);
}
.badge-accent {
  background: rgba(143, 41, 71, 0.3);
  border: 1px solid rgba(190, 60, 100, 0.4);
  color: #FFB3C6;
}
.badge-dark {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-200);
}
.mp-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 4, 8, 0.6);
  border: 1px solid var(--border);
  color: var(--text-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mp-fav svg { width: 18px; height: 18px; }
.mp-fav:hover,
.mp-fav.is-fav {
  color: #FF6B8A;
  border-color: rgba(255, 107, 138, 0.4);
  background: rgba(255, 107, 138, 0.12);
}
.mp-fav.is-fav svg { fill: rgba(255, 107, 138, 0.3); }
.mp-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mp-cat {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mp-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-100);
  line-height: 1.35;
}
.mp-desc {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--text-300);
  line-height: 1.5;
  flex: 1;
}
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.5rem; font-size: 1rem; }

/* ============================================================
   FEATURED BANNER
   ============================================================ */
.featured { padding: clamp(24px, 4vw, 56px) 0; }
.featured-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(143, 41, 71, 0.3), transparent 55%),
    linear-gradient(135deg, rgba(30, 10, 20, 0.85), rgba(15, 6, 10, 0.95));
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
.featured-copy .lede { font-size: clamp(1rem, 1.25vw, 1.08rem); color: var(--text-200); margin-bottom: 1.4rem; max-width: 56ch; }
.featured-figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), var(--shadow-gold);
}
.featured-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   CATEGORY CARDS (Slot DANA / Totoslot Sections)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.cat-card {
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.cat-primary {
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(40, 14, 24, 0.7), rgba(16, 6, 10, 0.9));
}
.cat-accent {
  background:
    radial-gradient(ellipse at top left, rgba(143, 41, 71, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(36, 12, 22, 0.7), rgba(14, 6, 10, 0.9));
}
.cat-head { display: flex; flex-direction: column; gap: 10px; }
.cat-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cat-primary .cat-tag { background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.35); color: var(--gold-400); }
.cat-accent .cat-tag { background: rgba(143, 41, 71, 0.25); border: 1px solid rgba(190, 60, 100, 0.4); color: #FFB3C6; }
.cat-head h3 { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.cat-card p { margin: 0; color: var(--text-200); flex: 1; }
.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

/* ============================================================
   MOBILE SEC (PHONE WRAP UPDATE — KEEP EXISTING + ADDITIONS)
   ============================================================ */
.mobile-sec .editorial-copy { display: flex; flex-direction: column; gap: 8px; }
.mobile-sec .lede { margin-bottom: 0.4rem; }

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(10, 4, 7, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.mb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--text-400);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.mb-item svg { width: 22px; height: 22px; }
.mb-item:hover,
.mb-item.mb-active {
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.06);
}
.mb-cta {
  position: relative;
  margin-top: -18px;
  padding-top: 12px;
  background: linear-gradient(180deg, #EBD07B 0%, #D4AF37 55%, #B3902A 100%);
  color: #2A1800 !important;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.6);
  border-radius: 16px;
}
.mb-cta svg { stroke: #2A1800; }
.mb-cta:hover { background: linear-gradient(180deg, #F0D888, #DDB43B); }

/* ============================================================
   FOOTER CENTERED (SIMPLE PREMIUM)
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0C0307 0%, #070204 100%);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 14vw, 120px);
  margin-top: 0;
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer-brand-logo { margin-bottom: 4px; }
.footer-brand-logo img {
  height: 46px;
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.26));
}
.footer-tag {
  max-width: 62ch;
  color: var(--text-300);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.footer-tag strong { color: var(--gold-400); }
.footer-copyright {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
  color: var(--text-400);
  font-size: 0.82rem;
}

/* ============================================================
   PRODUCT DETAIL MODAL (MARKETPLACE)
   ============================================================ */
.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mp-modal.is-open { display: flex; }
.mp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 4, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.mp-modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  margin: 16px;
  background: linear-gradient(180deg, #1A070F 0%, #11040A 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(212, 175, 55, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalPop 0.3s cubic-bezier(.2,.9,.3,1);
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
body.mp-lock { overflow: hidden; }
.mp-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 4, 8, 0.8);
  border: 1px solid var(--border);
  color: var(--text-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mp-modal__close svg { width: 18px; height: 18px; }
.mp-modal__close:hover {
  color: var(--gold-400);
  border-color: var(--gold-500);
  transform: rotate(90deg);
}
.mp-breadcrumb {
  padding: 16px 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-400);
}
.mp-breadcrumb a { color: var(--text-300); }
.mp-breadcrumb a:hover { color: var(--gold-400); }
.mp-sep { color: var(--text-400); font-weight: 600; }
.mp-breadcrumb [aria-current="page"] { color: var(--gold-400); font-weight: 600; }

.mp-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 16px 22px 8px;
  overflow-y: auto;
  flex: 1;
}

/* --- GALLERY --- */
.mp-gallery { display: flex; flex-direction: column; gap: 12px; }
.mp-gallery__main {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--wine-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.mp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mp-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--wine-900);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mp-thumb:hover { transform: translateY(-1px); }
.mp-thumb-active {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

/* --- INFO --- */
.mp-info { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.mp-info__cat {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-400);
}
.mp-info__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}
.mp-info__desc {
  margin: 0;
  color: var(--text-200);
  font-size: 0.98rem;
  line-height: 1.65;
}
.mp-info__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(12, 4, 8, 0.5);
  border: 1px solid var(--border);
}
.mp-meta-item { display: flex; flex-direction: column; gap: 2px; }
.mp-meta-label { font-size: 0.75rem; color: var(--text-400); letter-spacing: 0.04em; text-transform: uppercase; }
.mp-meta-value { font-size: 0.92rem; font-weight: 600; color: var(--text-100); }
.mp-info__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- TABS --- */
.mp-detail-tabs {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  overflow-y: auto;
}
.mp-tabs__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 4, 7, 0.5);
  position: sticky;
  top: 0;
  z-index: 3;
}
.mp-tab {
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-400);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mp-tab:hover { color: var(--text-200); }
.mp-tab-active {
  color: var(--gold-400);
  border-bottom-color: var(--gold-500);
}
.mp-tabs__body { padding: 18px 22px 28px; }
.mp-tab-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6em;
  color: var(--text-100);
}
.mp-tab-panel p { color: var(--text-200); }
.mp-guide-list {
  padding-left: 20px;
  margin: 0;
  color: var(--text-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.mp-card-small { border-radius: var(--radius-md); }
.mp-card-small .mp-body { padding: 12px 14px 14px; gap: 4px; }
.mp-card-small .mp-title { font-size: 0.95rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.mp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.94);
  padding: 24px;
}
.mp-lightbox.is-open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mp-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}
.mp-lightbox__close svg { width: 20px; height: 20px; }
.mp-lightbox__close:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); }
.mp-lightbox__figure {
  margin: 0;
  max-width: 1000px;
  max-height: 88vh;
}
.mp-lightbox__figure img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

/* ============================================================
   ADDITIONAL UTIL / SR-ONLY KEEP EXISTING
   ============================================================ */
.btn-block { width: 100%; }

/* ============================================================
   RESPONSIVE — TABLET ( >= 768px ) + MARKETPLACE
   ============================================================ */
@media (min-width: 768px) {
  .mp-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-banner { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .featured-figure { max-width: 100%; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — DESKTOP ( >= 1024px ) — HEADER SEARCH + MARKETPLACE
   ============================================================ */
@media (min-width: 1024px) {
  .header-search { display: inline-flex; }
  .mp-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-bottom { display: none; }
  .site-footer { padding-bottom: clamp(48px, 7vw, 80px); }
  .mp-detail-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; padding: 22px 32px 10px; }
  .mp-breadcrumb { padding: 20px 32px 0; }
  .mp-tabs__head { padding: 0 32px; }
  .mp-tabs__body { padding: 22px 32px 34px; }
  .mp-info__meta { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — ONLY MOBILE (< 768px): CTA STICKY
   ============================================================ */
@media (max-width: 767px) {
  .hero { padding-top: clamp(16px, 4vw, 28px); padding-bottom: clamp(32px, 7vw, 56px); }
  .site-breadcrumb { padding: 8px 0; }
  .quick-cat { padding: 20px 0 8px; }
  .chip-wrap { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; scrollbar-width: thin; }
  .chip-wrap::-webkit-scrollbar { height: 3px; }
  .chip { flex-shrink: 0; padding: 8px 14px; font-size: 0.85rem; }
  .mp-modal__panel { margin: 0; max-height: 100vh; height: 100vh; border-radius: 0; }
  .mp-gallery__main { aspect-ratio: 1 / 1; }
  .mp-info__cta {
    position: sticky;
    bottom: 0;
    padding: 14px 0 10px;
    margin: 10px -22px -8px;
    padding-inline: 22px;
    background: linear-gradient(180deg, transparent, #11040A 30%);
  }
}
@media (max-width: 560px) {
  .mp-related-grid { grid-template-columns: 1fr; }
  .mp-info__meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION (extra)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .mp-modal__panel { animation-duration: 0.001ms; }
  .mp-card:hover .mp-img img { transform: none; }
  .mp-modal__close:hover { transform: none; }
}
