/* ================================================
   HuntPhone – Global Stylesheet v2.0
   Brand: Hunt Purple + Phone Gold
   Light/Dark Mode dengan CSS Variables
   Font: Sora (display) + DM Sans (body)
   ================================================ */



/* ── LIGHT MODE (default) ───────────────────────── */
:root {
  /* Brand Core */
  --hunt-purple:   #7B2FF7;
  --deep-purple:   #6D28D9;
  --soft-purple:   #A78BFA;
  --phone-gold:    #F7B500;
  --dark-gold:     #A87900;
  --soft-gold:     #FFE7A3;

  /* Brand Gradient */
  --brand-gradient: linear-gradient(135deg, #7B2FF7 0%, #9333EA 50%, #F7B500 100%);
  --hero-gradient:  linear-gradient(180deg, #FFF8E7 0%, #FFF1CC 100%);

  /* Backgrounds */
  --bg-page:       #FFF8E7;
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #FFF1CC;
  --bg-tertiary:   #FFF9F0;

  /* Text */
  --text-primary:   #221B3A;
  --text-secondary: #5B5675;
  --text-muted:     #7E7A96;
  --text-link:      #6D28D9;
  --text-gold:      #B7791F;

  /* Borders */
  --border:         #E9DCC0;
  --border-strong:  #D4C4A0;

  /* Navbar */
  --header-bg:      #6D28D9;
  --header-border:  #8B5CF6;
  --nav-bg:         #6D28D9;
  --nav-hover:      #7C3AED;
  --nav-border:     #8B5CF6;
  --nav-text:       rgba(255,255,255,0.82);
  --nav-active:     #FFFFFF;

  /* Search */
  --search-bg:        #FFF9F0;
  --search-input-bg:  #FFFFFF;
  --search-border:    #E9DCC0;
  --search-text:      #221B3A;
  --search-ph:        #7E7A96;
  --search-btn-bg:    #7B2FF7;
  --search-btn-txt:   #FFFFFF;

  /* Section headers */
  --sec-header-bg:     #F8F1FF;
  --sec-header-txt:    #6D28D9;
  --sec-header-border: #E9D8FD;

  /* Accent */
  --accent:        #6D28D9;
  --accent-hover:  #7C3AED;
  --accent-light:  #F8F1FF;
  --accent-border: #E9D8FD;
  --accent-gold:   #F7B500;
  --accent-gold-light: #FFF8E7;

  /* Green (used in review badges / verdict box) */
  --green-300:  #86efac;
  --green-400:  #4ade80;
  --green-600:  #16a34a;
  --green-700:  #15803d;

  /* Cards */
  --card-bg:       #FFFFFF;
  --card-border:   #E9DCC0;
  --card-hover:    #F8F1FF;
  --card-shadow:   rgba(109,40,217,0.08);

  /* Tags/Pills */
  --pill-bg:        #F8F1FF;
  --pill-border:    #E9D8FD;
  --pill-txt:       #6D28D9;
  --pill-active-bg: #6D28D9;
  --pill-active-txt:#FFFFFF;

  /* Sidebar */
  --sidebar-hdr-bg:  #F8F1FF;
  --sidebar-hdr-txt: #6D28D9;

  /* Footer */
  --footer-bg:      #221B3A;
  --footer-border:  #342B52;
  --footer-txt:     #9A92B8;
  --footer-link:    #C9C2E4;

  /* Toggle */
  --toggle-bg:     #F0E6FF;
  --toggle-icon:   #6D28D9;

  /* Status */
  --success:  #22C55E;
  --warning:  #F59E0B;
  --error:    #EF4444;
  --info:     #3B82F6;

  /* Misc */
  --shadow:    0 1px 4px var(--card-shadow), 0 1px 2px rgba(0,0,0,.03);
  --shadow-lg: 0 8px 32px var(--card-shadow);
  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

/* ── DARK MODE ──────────────────────────────────── */
[data-theme="dark"] {
  --hunt-purple:   #9D55FF;
  --deep-purple:   #8B6B1B;
  --soft-purple:   #C4B5FD;
  --phone-gold:    #FFD166;
  --dark-gold:     #A87900;

  --brand-gradient: linear-gradient(135deg, #9D55FF 0%, #A855F7 50%, #FFD166 100%);
  --hero-gradient:  linear-gradient(180deg, #120F1F 0%, #1B1630 100%);

  --bg-page:       #120F1F;
  --bg-primary:    #1E1A2E;
  --bg-secondary:  #1B1630;
  --bg-tertiary:   #211C38;

  --text-primary:   #F5F3FF;
  --text-secondary: #C9C2E4;
  --text-muted:     #9A92B8;
  --text-link:      #C4B5FD;
  --text-gold:      #FFD166;

  --border:         #342B52;
  --border-strong:  #4A3B6E;

  --header-bg:      #8B6B1B;
  --header-border:  #C9971A;
  --nav-bg:         #8B6B1B;
  --nav-hover:      #A87900;
  --nav-border:     #C9971A;
  --nav-text:       rgba(255,255,255,0.80);
  --nav-active:     #FFFFFF;

  --search-bg:        #1B1630;
  --search-input-bg:  #211C38;
  --search-border:    #342B52;
  --search-text:      #F5F3FF;
  --search-ph:        #9A92B8;
  --search-btn-bg:    #9D55FF;
  --search-btn-txt:   #FFFFFF;

  --sec-header-bg:     #211C38;
  --sec-header-txt:    #C4B5FD;
  --sec-header-border: #342B52;

  --accent:        #9D55FF;
  --accent-hover:  #A855F7;
  --accent-light:  #211C38;
  --accent-border: #342B52;
  --accent-gold:   #FFD166;
  --accent-gold-light: #2A2347;

  /* Green (used in review badges / verdict box) */
  --green-300:  #86efac;
  --green-400:  #4ade80;
  --green-600:  #16a34a;
  --green-700:  #15803d;

  --card-bg:       #1E1A2E;
  --card-border:   #342B52;
  --card-hover:    #2B2345;
  --card-shadow:   rgba(0,0,0,0.35);

  --pill-bg:        #211C38;
  --pill-border:    #342B52;
  --pill-txt:       #C4B5FD;
  --pill-active-bg: #9D55FF;
  --pill-active-txt:#FFFFFF;

  --sidebar-hdr-bg:  #211C38;
  --sidebar-hdr-txt: #C4B5FD;

  --footer-bg:      #0D0A18;
  --footer-border:  #211C38;
  --footer-txt:     #9A92B8;
  --footer-link:    #C9C2E4;

  --toggle-bg:     #2A2347;
  --toggle-icon:   #C4B5FD;

  --shadow:    0 1px 4px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.55);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.55;
  transition: background .3s ease, color .3s ease;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  /* Light mode: putih di kiri (area logo) → purple → gold di kanan */
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #e8d5ff 15%,
    #6D28D9 35%,
    #7B2FF7 60%,
    #9333EA 78%,
    #C97B1A 92%,
    #F7B500 100%
  );
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 56px;
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(109,40,217,0.25);
  gap: 14px;
  transition: background .3s ease, border-color .3s ease;
}

[data-theme="dark"] .site-header {
  /* Dark mode: deep purple di kiri (area logo) → dark gold di kanan */
  background: linear-gradient(
    90deg,
    #1B1630 0%,
    #2A1F4A 12%,
    #4B2A8A 30%,
    #7B3F00 60%,
    #A87900 82%,
    #C9971A 100%
  );
  box-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  margin-top:2px;
  width: auto;
  display: block;
  /* Logo tampil natural di area putih/terang sebelah kiri navbar */
  filter: none;
  object-fit: contain;
}
.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  /* Di area putih/terang, teks pakai warna brand */
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  -webkit-text-fill-color: rgba(255,255,255,0.6);
  background: none;
  display: block;
  margin-top: -3px;
  font-family: 'DM Sans', sans-serif;
}

/* ── THEME TOGGLE ───────────────────────────────── */
.theme-toggle-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  backdrop-filter: blur(4px);
}
.theme-btn:hover {
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}
.theme-btn.active {
  background: rgba(0,0,0,0.4);
  border-color: #fff;
  color: #fff;
  font-weight: 700;
}
.theme-btn .tb-icon { font-size: 13px; }
.auto-badge {
  font-size: 8px;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(247,181,0,0.3);
  color: #FFE7A3;
  border: 1px solid rgba(247,181,0,0.5);
  margin-left: 2px;
  font-weight: 700;
}

/* ── NAV ────────────────────────────────────────── */
.main-nav {
  /* Light: purple kiri → sedikit gold hint di kanan */
  background: linear-gradient(
    90deg,
    #5B21B6 0%,
    #6D28D9 40%,
    #7B2FF7 75%,
    #8B4513 95%,
    #A06820 100%
  );
  display: flex;
  padding: 0 20px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  overflow-x: auto;
  scrollbar-width: none;
  transition: background .3s ease;
}

[data-theme="dark"] .main-nav {
  background: linear-gradient(
    90deg,
    #120F1F 0%,
    #1B1630 20%,
    #3B1F00 65%,
    #7B5200 88%,
    #A87900 100%
  );
  border-bottom: 1px solid rgba(201,151,26,0.25);
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text);
  padding: 10px 15px;
  display: block;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: all .15s;
  letter-spacing: 0.1px;
}
.main-nav a:hover {
  color: #fff;
  background: var(--nav-hover);
  border-bottom-color: var(--phone-gold);
}
.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--phone-gold);
  font-weight: 700;
}

/* ── SEARCH BAR ─────────────────────────────────── */
.search-bar {
  background: var(--search-bg);
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--search-border);
  transition: background .3s ease;
  position: relative;
  z-index: 200;
}
.search-bar-wrap {
  position: relative;
  flex: 1;
}
.search-bar-wrap input,
.search-bar > input {
  width: 100%;
  background: var(--search-input-bg);
  border: 1.5px solid var(--search-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--search-text);
  outline: none;
  transition: border-color .15s, background .3s ease, box-shadow .15s;
}
.search-bar-wrap input:focus,
.search-bar > input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123,47,247,0.1);
}
.search-bar-wrap input::placeholder,
.search-bar > input::placeholder { color: var(--search-ph); }

.search-bar button {
  background: var(--search-btn-bg);
  color: var(--search-btn-txt);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.search-bar button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123,47,247,0.3);
}

/* ── AUTOCOMPLETE DROPDOWN ──────────────────────── */
.ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 99999;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.ac-dropdown::-webkit-scrollbar { width: 4px; }
.ac-dropdown::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.ac-dropdown.open { display: block; }

/* Saat dropdown terbuka, search bar naik ke atas semua elemen */
.search-bar:has(.ac-dropdown.open),
.search-bar-wrap:has(.ac-dropdown.open) {
  z-index: 99998 !important;
}

.ac-group-header {
  padding: 7px 13px 5px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .8px;
  background: var(--sec-header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}
.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background .1s;
  border-bottom: 1px solid var(--border);
}
.ac-item:last-of-type { border-bottom: none; }
.ac-item:hover, .ac-item.ac-active { background: var(--accent-light); }
.ac-item:hover .ac-title, .ac-item.ac-active .ac-title { color: var(--accent); }
.ac-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--bg-tertiary); }
.ac-thumb-phone { width: 30px; height: 42px; border-radius: 5px; object-fit: contain; flex-shrink: 0; background: var(--bg-secondary); }
.ac-info { flex: 1; min-width: 0; }
.ac-title { font-size: 12px; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.4; transition: color .1s; }
.ac-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.ac-badge { font-size: 9px; padding: 1px 6px; border-radius: 10px; background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--pill-txt); flex-shrink: 0; font-weight: 600; }
.ac-badge.berita { background: var(--accent-gold-light); border-color: rgba(247,181,0,0.3); color: var(--accent-gold); }
.ac-highlight { color: var(--accent); font-weight: 700; }
.ac-footer { padding: 9px 13px; font-size: 11px; color: var(--text-muted); text-align: center; border-top: 1px solid var(--border); background: var(--bg-secondary); cursor: pointer; transition: color .1s, background .1s; }
.ac-footer:hover { color: var(--accent); background: var(--accent-light); }
.ac-empty { padding: 16px 13px; font-size: 12px; color: var(--text-muted); text-align: center; }

/* ── PAGE WRAPPER ───────────────────────────────── */
.page-wrap {
  display: grid;
  grid-template-columns: 1fr 228px;
  gap: 14px;
  padding: 14px 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.main-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ── SECTION CARDS ──────────────────────────────── */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background .3s, border-color .3s;
}
.section-header {
  background: var(--sec-header-bg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sec-header-border);
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--sec-header-txt);
  text-transform: uppercase;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-header h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--brand-gradient);
  border-radius: 2px;
}
.section-header a {
  font-size: 11px;
  color: var(--text-muted);
  transition: color .15s;
  font-weight: 500;
}
.section-header a:hover { color: var(--accent); }

/* ── BREADCRUMB ─────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); padding: 4px 0; }
.breadcrumb a { color: var(--text-link); }
.breadcrumb-sep { color: var(--border-strong); }

/* ── PAGE TITLE ─────────────────────────────────── */
.page-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 8px 0 4px;
  border-bottom: 2.5px solid var(--accent);
  margin-bottom: 4px;
}

/* ── TAG PILLS ──────────────────────────────────── */
.tag-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1px solid var(--pill-border);
  color: var(--pill-txt);
  background: var(--pill-bg);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.tag-pill:hover, .tag-pill.active {
  background: var(--pill-active-bg);
  color: var(--pill-active-txt);
  border-color: var(--accent);
}

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123,47,247,0.3);
}
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all .15s;
}
.btn-gold {
  background: var(--phone-gold);
  color: #221B3A;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.btn-gold:hover { background: var(--dark-gold); color: #fff; }

/* ── PAGINATION (Google-style sliding window) ───── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;   /* window dikontrol JS, tidak boleh wrap */
  gap: 4px;
  padding: 14px 0;
  overflow: hidden;
}
.page-btn {
  min-width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--accent);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  flex-shrink: 0;        /* tombol tidak boleh menyusut */
  line-height: 1;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
  pointer-events: none;
}
.page-btn:hover:not(.active) {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-1px);
}
/* Tombol ‹ Sebelumnya / Berikutnya › */
.page-btn.page-prev,
.page-btn.page-next {
  font-size: 17px;
  font-weight: 700;
  min-width: 34px;
}
.page-btn.page-prev:hover,
.page-btn.page-next:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: none;
}

/* ── SIDEBAR ────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 12px; }
.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background .3s, border-color .3s;
}
.sidebar-header {
  background: var(--sidebar-hdr-bg);
  padding: 9px 14px;
  border-bottom: 1px solid var(--sec-header-border);
}
.sidebar-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--sidebar-hdr-txt);
  text-transform: uppercase;
  letter-spacing: .7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sidebar-header h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 11px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* ── AD PLACEHOLDER ─────────────────────────────── */
.ad-placeholder {
  background: var(--bg-secondary);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  flex-direction: column;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 18px 20px;
  margin-top: 8px;
  transition: background .3s;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 11px;
  color: var(--footer-link);
  transition: color .15s;
  font-family: 'DM Sans', sans-serif;
}
.footer-links a:hover { color: var(--phone-gold); }
.footer-copy {
  font-size: 11px;
  color: var(--footer-txt);
  font-family: 'DM Sans', sans-serif;
}

/* ── BRAND GRID ─────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 1px;
  border-radius: 6px;
  overflow: hidden;
}
.brand-cell {
  background: var(--card-bg);
  padding: 9px 4px;
  text-align: center;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.brand-cell:hover { background: var(--accent-light); color: var(--accent); }
.brand-icon {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  background: var(--bg-tertiary);
}

/* ── THUMB PLACEHOLDER ──────────────────────────── */
.thumb-placeholder {
  background: var(--bg-tertiary);
  border-radius: 5px;
  flex-shrink: 0;
}

/* ── REVIEW / ARTICLE COMPONENTS ───────────────── */
.review-stars { color: var(--phone-gold); font-size: 11px; letter-spacing: -1px; }
.review-merk { color: var(--accent-gold); font-weight: 600; font-size: 11px; }
.review-merk-badge {
  font-size: 9px;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(247,181,0,0.12);
  border: 1px solid rgba(247,181,0,0.40);
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: .3px;
}

/* ── ARTICLE / NEWS CARDS (used in berita, review pages) ── */
.news-article {
  display: flex;
  gap: 11px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background .12s;
}
.news-article:last-child { border-bottom: none; }
.news-article:hover { background: var(--card-hover); }
.article-thumb-link { flex-shrink: 0; }
.article-thumb {
  width: 140px;
  height: 90px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--bg-tertiary);
}
.article-body { flex: 1; min-width: 0; }
.article-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color .15s;
  font-family: 'DM Sans', sans-serif;
}
.article-title:hover { color: var(--accent); }
.article-excerpt {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-date { color: var(--text-muted); }
.article-category {
  background: var(--pill-bg);
  color: var(--pill-txt);
  border: 1px solid var(--pill-border);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* ── REVIEW CARD (grid) ─────────────────────────── */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  box-shadow: var(--shadow);
}
.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.review-card-thumb-wrap { width:100%; height:160px; background:var(--bg-secondary); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.review-card-thumb { width:100%; height:100%; object-fit:contain; padding:12px; display:block; }

.review-card-body { padding: 10px 12px 12px; }
.review-card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 5px;
  transition: color .15s;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.review-card-title:hover { color: var(--accent); }
.star-row { color: var(--phone-gold); font-size: 11px; margin-bottom: 5px; letter-spacing: -1px; }
.star-half { opacity: 0.4; } /* setengah bintang: lebih transparan */
.review-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--text-muted); }
.review-card-date { color: var(--text-muted); }

/* ── FINDER FORM ────────────────────────────────── */
.finder-form { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.finder-row { display: flex; flex-direction: column; gap: 3px; }
.finder-row label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'DM Sans', sans-serif;
}
.finder-row select {
  width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: var(--search-input-bg);
  color: var(--text-primary);
  outline: none;
  transition: border-color .15s;
  cursor: pointer;
}
.finder-row select:focus { border-color: var(--accent); }
.finder-btn {
  margin-top: 4px;
  padding: 8px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.2px;
}
.finder-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(123,47,247,0.3); }

/* ── HP POPULER LIST ────────────────────────────── */
.popular-item {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background .12s;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--card-hover); }
.popular-rank {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.popular-item:nth-child(1) .popular-rank { color: var(--phone-gold); }
.popular-item:nth-child(2) .popular-rank { color: var(--soft-purple); }
.popular-item:nth-child(3) .popular-rank { color: var(--accent); }
.popular-thumb { width: 33px; height: 40px; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--bg-tertiary); }
.popular-info { flex: 1; min-width: 0; }
.popular-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
  font-family: 'DM Sans', sans-serif;
}
.popular-name:hover { color: var(--accent); }
.popular-sub { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ── NEWS DOT LIST ──────────────────────────────── */
.news-list-item {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background .12s;
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item:hover { background: var(--card-hover); }
.news-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
}
.news-list-text {
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  flex: 1;
  display: block;
  line-height: 1.4;
  transition: color .15s;
}
.news-list-text:hover { color: var(--accent); }
.news-list-time { font-size: 10px; color: var(--text-muted); white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   BRAND LOGO ENHANCEMENTS
══════════════════════════════════════════════════════════ */
.brand-icon-wrap {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand-initial {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.brand-name {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.brand-cell svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════════════════════
   VIEW COUNTER BADGE
══════════════════════════════════════════════════════════ */
.view-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 500;
}
.view-counter-badge .vc-icon { font-size: 13px; }
.view-counter-live {
  font-weight: 600;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   KOMENTAR REALTIME
══════════════════════════════════════════════════════════ */
.comment-item {
  padding: 11px 14px;
  border-bottom: 0.5px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.comment-user   { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.comment-time   { font-size: 10px; color: var(--text-secondary); margin-left: auto; }
.comment-text   { font-size: 12px; color: var(--text-primary); line-height: 1.55; margin-top: 6px; }
.comment-meta   { display: flex; align-items: center; gap: 8px; }
.comment-form   { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.comment-form textarea {
  font-size: 12px;
  padding: 8px 10px;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  resize: vertical;
  min-height: 80px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}
.comment-form textarea:focus { border-color: var(--accent); }
.comment-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}
.comment-submit:hover    { opacity: .88; }
.comment-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════
   SYARAT & KEBIJAKAN PAGES
══════════════════════════════════════════════════════════ */
.legal-body {
  padding: 18px 20px;
  line-height: 1.75;
  color: var(--text-primary);
  font-size: 13px;
}
.legal-body h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text-primary);
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p  { margin: 0 0 10px; color: var(--text-secondary); }
.legal-body ul { padding-left: 18px; margin: 0 0 10px; }
.legal-body ul li { margin-bottom: 5px; color: var(--text-secondary); }
.legal-body a  { color: var(--accent); text-decoration: underline; }
.legal-update  {
  font-size: 11px;
  color: var(--text-muted);
  padding: 10px 20px;
  border-top: 0.5px solid var(--border);
}

/* ── TOMBOL KEMBALI (back-btn.js) ───────────────────────── */
.back-btn-wrap { margin-bottom:6px; }
.back-btn {
  display:inline-flex; align-items:center; gap:5px;
  font-size:12px; font-weight:500;
  color:var(--accent); background:var(--accent-light);
  border:0.5px solid var(--accent-border, var(--border));
  border-radius:20px; padding:4px 12px 4px 9px;
  text-decoration:none; transition:background .15s, color .15s;
  width:fit-content;
}
.back-btn:hover { background:var(--accent); color:#fff; }

/* ── SIDEBAR REVIEW ITEM (dipakai 3 widget js) ──────────── */
.sidebar-review-item {
  display:flex; gap:10px; align-items:flex-start;
  padding:8px 12px; border-bottom:1px solid var(--border);
}
.sidebar-review-item:last-child { border-bottom:none; }
.sidebar-review-thumb {
  width:48px; height:60px;
  object-fit:contain; border-radius:4px; flex-shrink:0;
  background:var(--bg-secondary);
}
.sidebar-review-name {
  font-size:11px; font-weight:500; color:var(--text-primary);
  display:block; line-height:1.35;
}
.sidebar-review-name:hover { color:var(--accent); }
.sidebar-review-sub { font-size:10px; color:var(--text-secondary); margin-top:2px; }
.stars-sm { font-size:10px; color:var(--phone-gold, #f59e0b); letter-spacing:-1px; margin-top:1px; }

/* ── LINK ITEM (sidebar navigasi: kontak, legal, sitemap) ── */
.link-item { padding:7px 12px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:7px; font-size:12px; color:var(--text-primary); text-decoration:none; cursor:pointer; }
.link-item:last-child { border-bottom:none; }
.link-item:hover { background:var(--bg-tertiary); color:var(--accent); }
.link-item.active { color:var(--accent); font-weight:600; }
.link-icon { font-size:14px; }
