/* ============================================================
   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: 24px;
}
.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; }
}
.hero-copy > *,
.hero-figure {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.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; }

/* ---------- 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; }
}
