/**
 * Riags Store — css/01-base.css
 * Versi: v5.8
 * Scope: Variables (:root, dark/light theme), base resets, particle canvas,
 *        utilities & typography, SPA page view system, buttons global,
 *        shine sweep CTA effect, and global responsive media queries.
 */

/* ==========================================================================
   RIAGS STORE - EXCLUSIVE GAMING VAULT CSS (MULTI-PAGE SPA)
   Version: v4.5 — Rapikan Navbar Mobile + Hapus Tombol WhatsApp Navbar
   Colors: Dragon Red (#d32f2f), Steel Black (#0a0b0e - #1a1d29), Blade Gold (#f59e0b)
   Accent: WhatsApp Green (#25D366)
   Clean, Fast, Responsive (Desktop 3-4 cols, Mobile strictly 2 cols)
   ========================================================================== */

/* 1. CSS VARIABLES (DARK MODE ONLY) */
:root {
  /* Brand Palettes */
  --primary-red: #d32f2f;
  --primary-red-hover: #b71c1c;
  --primary-red-light: #ff4d6d;
  --primary-red-glow: rgba(211, 47, 47, 0.45);
  --primary-red-subtle: rgba(211, 47, 47, 0.12);

  --blade-gold: #f59e0b;
  --blade-gold-hover: #d97706;
  --blade-gold-light: #fde047;
  --blade-gold-glow: rgba(245, 158, 11, 0.35);
  --blade-gold-subtle: rgba(245, 158, 11, 0.12);

  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;

  /* WhatsApp Brand Colors */
  --wa-green: #25D366;
  --wa-green-hover: #1ebd58;
  --wa-green-dark: #128C7E;
  --wa-green-glow: rgba(37, 211, 102, 0.4);
  --wa-green-subtle: rgba(37, 211, 102, 0.15);

  /* Surfaces & Backgrounds */
  --bg-body: #0a0b0e;
  --bg-surface: #12141c;
  --bg-card: rgba(18, 21, 30, 0.88);
  --bg-card-hover: rgba(26, 30, 44, 0.96);
  --bg-input: #0e1017;
  --bg-elevated: #1a1d29;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold-hover: rgba(245, 158, 11, 0.65);
  --border-red: rgba(211, 47, 47, 0.4);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-gaming: 'Rajdhani', 'Plus Jakarta Sans', 'Impact', 'Arial Black', system-ui, sans-serif;
  --font-display: 'Rajdhani', 'Plus Jakarta Sans', sans-serif;
  /* [FIX-10] Font Mono Premium */
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', 'Courier New', monospace;
  /* [VIS-03] Font Kicker Gaming/Sci-Fi — Standardized to Rajdhani */
  --font-kicker: 'Rajdhani', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 24px rgba(245, 158, 11, 0.25);
  --shadow-red: 0 0 28px rgba(211, 47, 47, 0.3);
  --shadow-wa: 0 4px 18px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* [FX-04] Optimal transition easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

/* [TH-01] 1.1 LIGHT THEME VARIABLES & OVERRIDES */

/* Light Theme Body Background — SOLID PUTIH BERSIH TANPA POLA */

/* [TH-01] [PX-NAV] Light Theme Component Overrides */

/* [V27-19] Light mode — protocol icon background */

/* [V27-20] Light mode — game hub bg lebih terlihat */

/* [V27-21] Light mode — flash sale section */

/* ==========================================================================
   [V30-01] HERO SECTION LIGHT MODE OVERRIDES
   ========================================================================== */

/* [FX-04] GPU Acceleration & optimal transitions */
.btn,
.product-card,
.game-hub-card,
.flash-sale-card,
.news-card,
.modal-card-dialog,
.filter-pill,
.pay-tab-btn,
.faq-item,
.icon-btn {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* [FX-09] Focus ring aksesibilitas + smooth scroll */
*:focus-visible {
  outline: 2px solid var(--blade-gold);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset 0.2s var(--ease-out-expo);
}

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

/* 2. BASE RESET & GLOBAL CONTROLS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-body);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select {
  font-family: inherit;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* CRITICAL SAFEGUARD: SVG tidak boleh melebihi container */
svg {
  max-width: 100%;
  height: auto;
}

/* 3. DYNAMIC PARTICLE CANVAS (FONDASI TETAP) */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 4. UTILITIES & TYPOGRAPHY */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-gradient-red {
  background: linear-gradient(135deg, #ff3355 0%, #d32f2f 50%, #b71c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 60%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red { color: var(--primary-red); }
.text-gold { color: var(--blade-gold); }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 0.875rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

/* 5. SPA MULTI-PAGE VIEW SYSTEM (FADE-IN SLIDE-UP) */
.spa-main-container {
  position: relative;
  min-height: calc(100vh - 250px);
  z-index: 1;
}

/* [FX-06] Page transition halus — update easing */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  will-change: opacity, transform;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: pageFadeSlideIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes pageFadeSlideIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.995); }
  60% { opacity: 0.9; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.page-content-pad {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* 6. BUTTONS */
/* [FX-02] Icon button & sound toggle button */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-main);
  border-color: var(--border-gold-hover);
  background: var(--bg-elevated);
}

/* [FX-05] Ripple effect saat klik */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-btn .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleExpand 0.6s var(--ease-out-expo);
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* [FX-05] Press feedback — semua tombol utama */
.btn:active,
.btn-view-detail:active,
.btn-wa-nav:active,
.btn-buy-now-solid:active,
.btn-credit-outline:active,
.filter-pill:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s var(--ease-out-expo) !important;
}

/* [FX-05] Card press feedback */
.product-card:active,
.game-hub-card:active,
.flash-sale-card:active {
  transform: scale(0.985);
  transition: transform 0.12s var(--ease-out-expo);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-arrow {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform var(--transition-fast);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0b0e;
  border-color: #fde047;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.btn-gold:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-glow {
  animation: pulseGoldGlow 3s infinite alternate;
}

@keyframes pulseGoldGlow {
  0% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35); }
  100% { box-shadow: 0 6px 28px rgba(245, 158, 11, 0.65); }
}

.btn-outline-gold {
  background: transparent;
  color: var(--blade-gold);
  border: 1px solid var(--blade-gold);
}

.btn-outline-gold:hover {
  background: var(--blade-gold-subtle);
  transform: translateY(-2px);
}

/* WhatsApp Buttons */
.wa-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-wa-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-wa);
  transition: all var(--transition-fast);
}

.btn-wa-nav:hover {
  background: var(--wa-green-hover);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

/* [V4.4] Mobile label WA hidden by default (desktop & tablet show desktop label) */
.wa-label-mobile {
  display: none;
}

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.btn-wa-hero:hover {
  background: var(--wa-green);
  color: #ffffff;
  border-color: var(--wa-green);
  box-shadow: var(--shadow-wa);
  transform: translateY(-2px);
}

.btn-wa-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-wa);
  transition: all var(--transition-fast);
}

.btn-wa-full:hover {
  background: var(--wa-green-hover);
}

/* Tombol "Lihat Detail →" pada Kartu Produk */
.btn-view-detail {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(211, 47, 47, 0.15) 100%);
  color: var(--blade-gold);
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.btn-view-detail:hover {
  background: linear-gradient(135deg, var(--blade-gold) 0%, #d97706 100%);
  color: #0a0b0e;
  border-color: var(--blade-gold-light);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.badge-verif-mini {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blade-gold);
  background: var(--blade-gold-subtle);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}


/* ==========================================================================
   [V29-04] EFEK KILAU BERJALAN (SHINE SWEEP) PADA SEMUA TOMBOL CTA
   ========================================================================== */
.btn-wa-nav,
.btn-wa-hero,
.btn-wa-full,
.btn-buy-now-solid,
.btn-contact-wa,
.feedback-submit-btn,
.pay-cta-btn.btn-wa-nav,
.btn-terms-submit,
.btn-gold,
.btn-outline-gold,
.btn-credit-outline,
.btn-view-detail {
  position: relative;
  overflow: hidden;
}

.btn-wa-nav::after,
.btn-wa-hero::after,
.btn-wa-full::after,
.btn-buy-now-solid::after,
.btn-contact-wa::after,
.feedback-submit-btn::after,
.pay-cta-btn.btn-wa-nav::after,
.btn-terms-submit::after,
.btn-gold::after,
.btn-outline-gold::after,
.btn-credit-outline::after,
.btn-view-detail::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--shine-color, rgba(255, 255, 255, 0.4)) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shineSweep 3.5s infinite;
  animation-delay: var(--shine-delay, 0s);
  pointer-events: none;
  z-index: 2;
}

.btn-wa-nav:hover::after,
.btn-wa-hero:hover::after,
.btn-wa-full:hover::after,
.btn-buy-now-solid:hover::after,
.btn-contact-wa:hover::after,
.feedback-submit-btn:hover::after,
.pay-cta-btn.btn-wa-nav:hover::after,
.btn-terms-submit:hover::after,
.btn-gold:hover::after,
.btn-outline-gold:hover::after,
.btn-credit-outline:hover::after,
.btn-view-detail:hover::after {
  animation-duration: 1.5s;
}

/* Specific button shine colors & delays */
.btn-wa-nav,
.btn-wa-hero,
.btn-wa-full,
.btn-contact-wa,
.pay-cta-btn.btn-wa-nav,
.btn-terms-submit {
  --shine-color: rgba(212, 255, 226, 0.55);
  --shine-delay: 0.2s;
}

.btn-gold {
  --shine-color: rgba(255, 245, 200, 0.7);
  --shine-delay: 0.5s;
}

.btn-outline-gold,
.btn-credit-outline {
  --shine-color: rgba(245, 158, 11, 0.35);
  --shine-delay: 0.75s;
}

/* [V30-05] Penyesuaian warna shine effect di light mode */

.btn-buy-now-solid,
.feedback-submit-btn,
.btn-view-detail {
  --shine-color: rgba(255, 255, 255, 0.4);
  --shine-delay: 0s;
}

@keyframes shineSweep {
  0% {
    left: -150%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    left: 150%;
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Safeguard: prefers-reduced-motion & reduce-fx */
@media (prefers-reduced-motion: reduce) {
  .btn-wa-nav::after,
  .btn-wa-hero::after,
  .btn-wa-full::after,
  .btn-buy-now-solid::after,
  .btn-contact-wa::after,
  .feedback-submit-btn::after,
  .pay-cta-btn.btn-wa-nav::after,
  .btn-terms-submit::after,
  .btn-gold::after,
  .btn-outline-gold::after,
  .btn-credit-outline::after,
  .btn-view-detail::after {
    animation: none !important;
    display: none !important;
  }
}

.reduce-fx .btn-wa-nav::after,
.reduce-fx .btn-wa-hero::after,
.reduce-fx .btn-wa-full::after,
.reduce-fx .btn-buy-now-solid::after,
.reduce-fx .btn-contact-wa::after,
.reduce-fx .feedback-submit-btn::after,
.reduce-fx .pay-cta-btn.btn-wa-nav::after,
.reduce-fx .btn-terms-submit::after,
.reduce-fx .btn-gold::after,
.reduce-fx .btn-outline-gold::after,
.reduce-fx .btn-credit-outline::after,
.reduce-fx .btn-view-detail::after {
  animation: none !important;
  display: none !important;
}


/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS (STRICTLY 2 COLS GRID ON MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .section {
    padding: 3rem 0;
  }

  .about-grid-layout {
    grid-template-columns: 1fr;
  }

  .visi-misi-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Container & Global Mobile Spacing */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .section-desc {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Mobile Navigation & Brand */
  .nav-container {
    padding: 0.65rem 1rem;
  }

  .navbar-sticky.scrolled .nav-container {
    padding: 0.45rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    gap: 0.6rem;
  }

  .logo-shield {
    width: 2.15rem;
    height: 2.15rem;
  }

  .logo-svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .logo-brand {
    font-size: 1.25rem;
  }

  .badge-verif-mini {
    font-size: 0.58rem;
    padding: 0.1rem 0.35rem;
  }

  /* [V4.5] Task 1: Hapus tombol WhatsApp dari navbar mobile */
  #navWhatsAppBtn {
    display: none !important;
  }

  /* [V4.5] Task 3a: Pastikan Grid Proporsional */
  .nav-container {
    padding: 0.65rem 1rem;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
  }

  /* [V4.5] Task 4: Optimasi Brand Logo Teks di Mobile */
  .brand-logo-text--mobile {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
  }

  .brand-logo-text--mobile .logo-brand {
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.1;
  }

  .brand-logo {
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
  }

  /* [V4.5] Task 5: Optimasi Group Actions Mobile */
  .nav-actions {
    gap: 0.5rem;
    justify-self: end;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hamburger-btn-svg {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 2rem 0 1.5rem;
    min-height: auto;
  }

  .hero-badge-pill {
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.75rem;
  }

  .pill-text {
    font-size: 0.72rem;
  }

  .hero-headline {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .hero-subheadline {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
  }

  .hero-cta-group,
  .protocol-cta-group {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 0.65rem;
  }

  .protocol-cta-group {
    margin-top: 1.75rem;
    margin-bottom: 0;
  }

  .hero-cta-group .btn,
  .protocol-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Protocol Grid Mobile */
  .protocol-section {
    padding: 2rem 0;
  }

  .protocol-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .protocol-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
    gap: 0.75rem;
  }

  .protocol-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .protocol-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .protocol-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Flash Sale Section & Anti-Collision Cards */
  .flash-sale-section {
    padding: 2rem 0;
  }

  .flash-sale-header-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .flash-countdown-box {
    align-items: flex-start !important;
    width: 100%;
  }

  .flash-sale-card {
    width: 250px !important;
    flex-shrink: 0 !important;
    border-radius: var(--radius-md);
  }


  .flash-sale-card .card-game-tag {
    top: 0.4rem !important;
    left: 0.4rem !important;
    font-size: 0.6rem !important;
    padding: 0.15rem 0.45rem !important;
    max-width: 65% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .flash-sale-card .flash-badge-glowing {
    top: auto !important;
    bottom: 0.4rem !important;
    right: 0.4rem !important;
    font-size: 0.6rem !important;
    padding: 0.15rem 0.5rem !important;
  }

  .flash-sale-card .card-body {
    padding: 0.75rem;
  }

  .flash-sale-card .card-title {
    font-size: 0.875rem !important;
    height: 2.6em !important;
  }

  .flash-sale-card .card-price-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
  }

  .flash-sale-card .price-strike {
    font-size: 0.72rem;
  }

  .flash-sale-card .price-flash-gold {
    font-size: 1.15rem;
  }

  /* [PX-01] Fix testimonials mobile override — kalah cascade dari base */
  .testimonials-section {
    padding: 2rem 0 !important;
  }

  .testimonials-scroll-wrapper {
    margin: 0 -1rem !important;
    padding: 0 1rem !important;
  }

  .testimonials-track {
    scroll-padding-left: 1rem !important;
    gap: 0.85rem !important;
    padding: 0.25rem 0 1rem !important;
  }

  .testimonial-card {
    flex: 0 0 82vw !important;
    max-width: 320px !important;
    scroll-snap-align: start !important;
    padding: 1.5rem 1.15rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }

  .testimonial-quote-icon {
    font-size: 3rem !important;
    top: -4px !important;
    left: 1rem !important;
  }

  .testimonial-text {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
  }

  .testimonial-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
  }

  .testimonial-name {
    font-size: 0.875rem !important;
  }

  /* News Section Mobile */
  .news-section {
    padding: 2rem 0;
  }

  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .news-card {
    border-radius: var(--radius-md) !important;
  }

  .news-thumb-wrap {
    height: 125px !important;
  }

  .news-body {
    padding: 1rem !important;
  }

  /* Stock Game Page: Hub & Toolbar */
  .arsenal-toolbar {
    padding: 1rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: var(--radius-md) !important;
    gap: 0.85rem !important;
  }

  .toolbar-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .search-box-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  .filter-groups-wrapper {
    gap: 0.75rem !important;
  }

  /* Anti-Zigzag Filter Pills: Label di atas, pills di bawah rata kiri rapi */
  .filter-subgroup {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .filter-group-label {
    min-width: auto !important;
    margin-bottom: 0.15rem !important;
    font-size: 0.7rem !important;
  }

  .filter-pills-list {
    width: 100% !important;
    gap: 0.35rem !important;
  }

  .filter-pill {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
    min-height: 40px !important;
    display: inline-flex;
    align-items: center;
  }

  .sort-selector-wrapper {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .sort-select {
    width: 100% !important;
  }

  /* Product Card 2-Kolom (Bebas Tabrakan 100%) */
  .product-grid, .skeleton-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .product-card {
    border-radius: var(--radius-md) !important;
  }


  /* Game tag di sudut kiri atas */
  .card-game-tag {
    top: 0.4rem !important;
    left: 0.4rem !important;
    font-size: 0.58rem !important;
    padding: 0.12rem 0.4rem !important;
    max-width: 58% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Badge status di sudut kanan bawah banner — DIJAMIN TIDAK AKAN PERNAH TABRAKAN! */
  .card-badge-status {
    top: auto !important;
    bottom: 0.4rem !important;
    right: 0.4rem !important;
    font-size: 0.58rem !important;
    padding: 0.12rem 0.4rem !important;
  }

  .card-body {
    padding: 0.65rem !important;
  }

  .card-ign-code {
    font-size: 0.62rem !important;
    padding: 0.1rem 0.38rem !important;
    margin-bottom: 0.2rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-title {
    font-family: var(--font-gaming) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-specs-row {
    margin-bottom: 0.4rem !important;
    gap: 0.25rem !important;
  }

  .card-spec-pill {
    padding: 0.12rem 0.38rem !important;
    font-size: 0.62rem !important;
  }

  .card-skin-highlights {
    font-size: 0.72rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
  }

  .card-footer {
    padding-top: 0.5rem !important;
    gap: 0.45rem !important;
  }

  /* [PRD v0.2 CRD-3] Price row bertumpuk rapi & simetris di mobile */
  .card-price-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
  }

  .card-price-stack {
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0.05rem !important;
  }

  .card-price-label {
    font-size: 0.62rem !important;
  }

  .price-original-strike {
    font-size: 0.68rem !important;
  }

  .card-price {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
  }

  .btn-view-detail {
    padding: 0.45rem 0.5rem !important;
    font-size: 0.72rem !important;
    min-height: 40px !important;
  }

  /* Modal on Mobile */
  .modal-backdrop {
    padding: 0.5rem !important;
  }

  .modal-card-dialog {
    max-height: 94vh !important;
    border-radius: var(--radius-md) !important;
  }


  /* [V29-01] Modal header meta mobile: nowrap, space-between, dan status badge mepet kanan */
  .modal-header-meta {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    bottom: 0.45rem !important;
    left: 0.65rem !important;
    right: 0.65rem !important;
  }

  .modal-header-meta .card-game-tag {
    position: static !important;
    max-width: none !important;
    font-size: 0.68rem !important;
  }

  .modal-header-meta .card-badge-status {
    position: static !important;
    font-size: 0.68rem !important;
    margin-left: auto !important;
  }

  .modal-content-scrollable {
    padding: 0 !important;
  }

  .modal-content-scrollable > *:not(.modal-header-visual) {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .modal-content-scrollable > .modal-header-visual + * {
    padding-top: 0.85rem;
  }

  .modal-content-scrollable > *:last-child {
    padding-bottom: 0.85rem;
  }

  .modal-rank-badge {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.75rem !important;
  }

  .modal-product-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.75rem !important;
  }

  .spec-matrix-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    margin-bottom: 0.85rem !important;
  }

  .spec-matrix-item {
    padding: 0.5rem 0.65rem !important;
  }

  .spec-item-icon {
    font-size: 1.1rem !important;
  }

  .spec-label {
    font-size: 0.65rem !important;
  }

  .spec-value {
    font-size: 0.8rem !important;
  }

  .modal-highlight-section {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .highlight-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.4rem !important;
  }

  .skin-bullet-item {
    font-size: 0.78rem !important;
  }

  .modal-seller-notes-card {
    padding: 0.65rem 0.85rem !important;
    margin-bottom: 0.75rem !important;
  }

  .modal-price-card {
    padding: 0.65rem 0.85rem !important;
  }

  .modal-big-price {
    font-size: 1.35rem !important;
  }

  .guarantee-badge {
    font-size: 0.68rem !important;
  }

  .modal-footer-actions {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
    padding: 0.75rem 0.85rem !important;
  }

  .btn-buy-now-solid,
  .btn-credit-outline {
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
    justify-content: center;
    min-height: 42px !important;
  }

  /* Step 2 S&K on Mobile */
  .terms-step-header {
    padding: 1rem 0.85rem 0.35rem !important;
  }

  .step-indicator-breadcrumbs {
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.45rem !important;
  }

  .terms-heading {
    font-size: 1.25rem !important;
  }

  .terms-scroll-box {
    margin: 0.65rem 0.85rem !important;
    padding: 0.85rem !important;
    min-height: 120px !important;
  }

  .terms-numbered-list li {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  .terms-checkbox-wrap {
    padding: 0 0.85rem 0.75rem !important;
  }

  .custom-checkbox-container {
    font-size: 0.8rem !important;
    align-items: flex-start !important;
  }

  /* About Page Mobile */
  .about-grid-layout {
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .about-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .about-card-title {
    font-size: 1.25rem !important;
  }

  .about-card-body p {
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
  }

  .owner-avatar-shield {
    width: 75px !important;
    height: 75px !important;
  }

  .owner-name {
    font-size: 1.35rem !important;
  }

  .visi-misi-section {
    margin-top: 2rem !important;
  }

  .visi-misi-grid {
    gap: 1rem !important;
  }

  .visi-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  /* Payment Page Mobile */
  .payment-tabs-nav {
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .pay-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
  }

  .pay-instructions-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.25rem !important;
  }

  .pay-card-title {
    font-size: 1.35rem !important;
  }

  .steps-flow-list {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .step-item {
    padding: 0.85rem 0.75rem !important;
    gap: 0.75rem !important;
  }

  .step-num {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1rem !important;
  }

  .step-content h4 {
    font-size: 0.9rem !important;
  }

  .step-content p {
    font-size: 0.8rem !important;
  }

  .tenor-table-wrapper {
    padding: 1rem 0.75rem !important;
    margin: 1.5rem 0 1rem !important;
  }

  .tenor-table th, .tenor-table td {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.75rem !important;
  }

  .payment-methods-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .security-warning-card {
    padding: 1rem !important;
    gap: 0.75rem !important;
    border-radius: var(--radius-md) !important;
  }

  .warning-text {
    font-size: 0.8125rem !important;
  }

  /* Contact Page & FAQ Mobile */
  .contact-layout-grid {
    gap: 1.25rem !important;
  }

  .contact-main-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .admin-profile-header {
    gap: 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  .admin-avatar-wrap {
    width: 56px !important;
    height: 56px !important;
  }

  .admin-name {
    font-size: 1.25rem !important;
  }

  .faq-section {
    margin-top: 2rem !important;
  }

  .faq-question-btn {
    padding: 0.9rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .faq-answer-inner {
    padding: 0 1rem 0.85rem !important;
    font-size: 0.85rem !important;
  }

  /* Feedback Reactions: 5 Emoji dalam 1 Baris */
  .feedback-section {
    margin-top: 2rem !important;
    padding-top: 1rem !important;
  }

  .feedback-options {
    display: flex !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    padding: 0.85rem 0.35rem !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
  }

  .feedback-option {
    min-width: 0 !important;
    min-height: 70px !important;
    padding: 0.2rem !important;
    flex: 1 !important;
  }

  .feedback-face {
    width: 42px !important;
    height: 42px !important;
  }

  .feedback-label {
    font-size: 0.62rem !important;
    max-width: 58px !important;
    line-height: 1.15 !important;
  }

  .feedback-thanks {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .feedback-section:has(input[name="feedbackRating"]:checked) .feedback-thanks {
    max-height: 520px !important;
    padding: 1.25rem 1rem !important;
    margin-top: 1rem !important;
  }

  .thanks-icon {
    font-size: 2rem !important;
  }

  .thanks-title {
    font-size: 1.25rem !important;
  }

  .thanks-desc {
    font-size: 0.85rem !important;
  }

  .feedback-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
  }

  /* Floating Toast Mobile */
  .toast-container {
    bottom: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    align-items: center !important;
  }

  .toast-item {
    max-width: 360px !important;
    width: 100% !important;
    font-size: 0.8rem !important;
    padding: 0.65rem 1rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Footer on Mobile */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Bold heading on mobile */
  .hero-headline,
  .section-title,
  .card-title,
  .game-hub-title {
    font-weight: 900;
    letter-spacing: 0.01em;
  }

  /* [V28-01] Paksa konten tombol WA center di mobile */
  .modal-footer-actions .btn,
  .pay-cta-wrapper .btn,
  .btn-contact-wa,
  .feedback-submit-btn,
  .btn-buy-now-solid,
  .btn-credit-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  /* Pastikan span text juga center saat wrapping */
  .modal-footer-actions .btn > span,
  .pay-cta-wrapper .btn > span,
  .btn-contact-wa > span,
  .feedback-submit-btn > span {
    text-align: center !important;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
  }

  /* [V28-02] Tombol modal detail — center rapi */
  #modalBtnBuyNow,
  #modalBtnCredit,
  #termsSubmitWABtn,
  #termsBackBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* [V28-04] Mobile navbar shrink parallax */
  .navbar-sticky.scrolled {
    transform: scaleY(0.96);
  }

  .navbar-sticky.scrolled .nav-container {
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* [QA-01] Navbar padding konsisten sejajar dengan .container di mobile <=480px */
  .nav-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .navbar-sticky.scrolled .nav-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* [QA-02] Testimonials slider negative margin sesuai padding container */
  .testimonials-scroll-wrapper {
    margin: 0 -0.85rem !important;
    padding: 0 0.85rem !important;
  }

  /* [QA-03] Padding kartu kalkulator lebih nyaman di layar <=480px */
  .calculator-card,
  .calc-how-card {
    padding: 1.15rem 0.85rem !important;
  }

  .hero-headline {
    font-size: 1.85rem !important;
  }

  .product-grid, .skeleton-grid {
    gap: 0.5rem !important;
  }

  .card-body {
    padding: 0.55rem !important;
  }

  .card-title {
    font-size: 0.78rem !important;
  }

  .card-price {
    font-size: 0.95rem !important;
  }

  .btn-view-detail {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.45rem !important;
    min-height: 40px !important;
  }
}

/* [FX-17] Mode hemat efek untuk perangkat low-end */
.reduce-fx .particle-canvas {
  display: none !important;
}

.reduce-fx .product-card:hover,
.reduce-fx .game-hub-card:hover {
  transform: none;
}

/* ==========================================================================
   BANNER PROMO AKUN PREMIUM (BERANDA)
   ========================================================================== */
.promo-banner-section {
  padding: 1.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.promo-banner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.75rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6),
              0 0 20px -5px rgba(245, 158, 11, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.promo-banner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75),
              0 0 28px -4px rgba(245, 158, 11, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.promo-banner-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.2) 0%, rgba(245, 158, 11, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.promo-banner-content {
  flex: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1;
}

.promo-kicker {
  display: inline-block;
  font-family: var(--font-kicker);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blade-gold, #f59e0b);
}

.promo-headline {
  font-family: var(--font-gaming);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin: 0;
  letter-spacing: 0.02em;
}

.promo-desc {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.975rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
}

.promo-banner-action {
  flex-shrink: 0;
  z-index: 1;
}

.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-gaming);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.promo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
}

.promo-btn-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.25s ease;
}

.promo-cta-btn:hover .promo-btn-arrow {
  transform: translateX(4px);
}

/* Light mode overrides */

@media (max-width: 768px) {
  .promo-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    gap: 1.35rem;
  }

  .promo-headline {
    font-size: 1.45rem;
  }

  .promo-desc {
    font-size: 0.9rem;
  }

  .promo-banner-action {
    width: 100%;
  }

  .promo-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }
}

/* ==========================================================================
   [TS-02] TESTIMONIALS — CSS-ONLY SCROLL SNAP
   ========================================================================== */

.testimonials-section {
  padding: 3.5rem 0;
  overflow: hidden;
}

.testimonials-scroll-wrapper {
  position: relative;
  margin: 0 -1.25rem; /* Full-bleed di mobile */
  padding: 0 1.25rem;
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.testimonials-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Keyboard focus */
.testimonials-track:focus-visible {
  outline: 2px solid var(--blade-gold);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

/* [TS-03] Testimonial Card */
.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.testimonial-quote-icon {
  position: absolute;
  top: -8px;
  left: 1.5rem;
  font-family: var(--font-gaming);
  font-size: 4rem;
  font-weight: 900;
  color: var(--blade-gold);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.testimonial-rating {
  display: flex;
  gap: 0.15rem;
}

.star {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.star.filled {
  color: var(--blade-gold);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* [TS-04] Scroll Hint */
.testimonials-hint {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  animation: hintPulse 2s infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Sembunyikan hint di desktop */
@media (min-width: 992px) {
  .testimonials-hint {
    display: none;
  }
}

/* [TS-05] Desktop: tampilkan lebih banyak kartu */
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 380px;
  }
}

/* [TS-06] [PX-04] Fix 480px testimonial card — kalah !important dari 768px */
@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 280px !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
  }

  .testimonial-text {
    font-size: 0.875rem;
  }

  .testimonial-avatar {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* [TS-07] Light Theme */

/* ==========================================================================
   FIX IPHONE SAFARI SPEC VALUE TYPOGRAPHY & 2-COLUMN GRID
   ========================================================================== */
.spec-line-value {
  font-size: clamp(0.7rem, 2.5vw, 0.8rem) !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .spec-matrix-grid,
  .spec-text-block {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .spec-line {
    padding: 0.5rem 0.55rem !important;
    gap: 0.45rem !important;
  }
  .spec-line-label {
    font-size: 0.62rem !important;
    letter-spacing: 0.5px !important;
  }
  .spec-line-value {
    font-size: clamp(0.7rem, 2.5vw, 0.8rem) !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    font-variant-numeric: tabular-nums;
  }
}

