/* ===========================================
   REVPEAK v3 — style.css
   Font: Syne (judul) + DM Sans (body)
   Tema: Editorial modern, warm off-white
=========================================== */

/* ===========================
   DESIGN TOKENS
=========================== */
:root {
  --bg:           #F6F4F0;
  --surface:      #FFFFFF;
  --surface2:     #EFECE6;
  --border:       #E2DED6;
  --text:         #1A1916;
  --text-muted:   #6B6560;
  --text-light:   #706B67;
  --accent:       #E03E0B;
  --accent-dark:  #BB320A;
  --accent-bg:    rgba(224,62,11,0.08);
  --gold:         #D4900A;
  --green:        #059669;
  --green-bg:     rgba(16,185,129,0.08);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.09);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.13);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --transition:   0.22s ease;
}

[data-theme="dark"] {
  --bg:           #111110;
  --surface:      #1B1B19;
  --surface2:     #232321;
  --border:       #2C2C2A;
  --text:         #F0EDE8;
  --text-muted:   #938D86;
  --text-light:   #979189;
  --accent:       #FF5722;
  --accent-dark:  #E04011;
  --accent-bg:    rgba(255,87,34,0.1);
  --gold:         #E6A817;
  --green:        #10B981;
  --green-bg:     rgba(16,185,129,0.12);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.3);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.5);
}

/* ===========================
   BASE RESET
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   LOGO SHARED
=========================== */
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.logo-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo-text span { color: var(--accent); }

/* ===========================
   DRAWER OVERLAY
=========================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===========================
   DRAWER
=========================== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  background: var(--surface);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid var(--border);
}

.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.drawer-close:hover {
  background: var(--surface2);
  color: var(--text);
}

.drawer-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.drawer-link:hover { background: var(--surface2); color: var(--text); }
.drawer-link.active { color: var(--accent); font-weight: 600; }

.drawer-link-icon {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}

.drawer-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.drawer-theme-label { font-size: 14px; color: var(--text-muted); }

/* Toggle pill */
.theme-toggle-pill {
  width: 46px;
  height: 26px;
  background: var(--border);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.theme-toggle-pill[aria-checked="true"] { background: var(--accent); }

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  pointer-events: none;
}

.theme-toggle-pill[aria-checked="true"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.drawer-version {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-top { padding: 0; }

.header-top-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 10px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--transition);
  order: 3;
  margin-left: auto;
}

.hamburger:hover { background: var(--surface2); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  transition: all 0.28s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 1;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Search bar */
.header-search-wrap {
  padding: 0 0 12px;
}

.header-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  left: 13px;
  color: var(--text-light);
  pointer-events: none;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--surface2);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.search-input::placeholder { color: var(--text-light); }

.search-clear {
  position: absolute;
  right: 12px;
  color: var(--text-light);
  font-size: 13px;
  display: none;
  padding: 4px;
  border-radius: 50%;
  transition: background var(--transition);
}

.search-clear:hover { background: var(--border); color: var(--text); }
.search-clear.visible { display: flex; align-items: center; justify-content: center; }

/* ===========================
   TABS BAR
=========================== */
.tabs-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 97px;
  z-index: 190;
}

.tabs-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}

.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  color: var(--text-muted);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-icon { font-size: 15px; }

/* ===========================
   SITE INTRO (NEW)
   H1 + editorial tagline + trust badges
=========================== */
.site-intro {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 22px 0 20px;
}

.site-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-intro-text { flex: 1; min-width: 260px; }

.site-intro-heading {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.site-intro-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-intro-sub em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.site-trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  background: var(--green-bg);
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
}

[data-theme="dark"] .trust-badge {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section { padding: 28px 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* Hero Main Card */
.hero-main {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}

.hero-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: linear-gradient(135deg, #2D2C29, #3A3936);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.hero-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.hero-views-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.hero-main-body {
  padding: 22px 24px 24px;
}

.hero-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.rating-star { color: var(--gold); font-weight: 600; }

/* CTA Button — editorial, not pushy */
.btn-baca {
  padding: 9px 22px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.btn-baca:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

/* Hero Sidebar */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-side-card {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.hero-side-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.side-thumb {
  width: 72px;
  min-width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-body { flex: 1; overflow: hidden; min-width: 0; }

.side-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.side-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Hero Skeleton */
.hero-main-skeleton {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.sk-hero-img {
  width: 100%;
  height: 300px;
}

.hero-side-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sk-side {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sk-side-img {
  width: 72px;
  min-width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
}

.sk-side-body { flex: 1; padding-top: 4px; }

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--text);
  padding: 18px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ===========================
   MAIN SECTION
=========================== */
.main-section { padding: 28px 0 48px; }

/* Category Chips */
.cat-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 18px;
}

.cat-chips-scroll::-webkit-scrollbar { display: none; }

.cat-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.cat-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}

.section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
  display: flex;
  align-items: center;
  gap: 3px;
}

.section-more:hover { gap: 7px; }

/* ===========================
   CONTENT GRID
=========================== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===========================
   CONTENT CARD
=========================== */
.content-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Card Media */
.card-media {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.content-card:hover .card-media img { transform: scale(1.05); }

/* Media overlay badges */
.card-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 50px;
}

.ribbon-review { background: var(--accent); color: #fff; }
.ribbon-list   { background: #7C3AED; color: #fff; }
.ribbon-video  { background: #0369A1; color: #fff; }
.ribbon-news   { background: #0D9348; color: #fff; }

.card-rating-pill {
  position: absolute;
  bottom: 9px;
  left: 10px;
  background: rgba(0,0,0,0.58);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.card-video-badge {
  position: absolute;
  bottom: 9px;
  right: 10px;
  background: rgba(0,0,0,0.58);
  color: #fff;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.card-trending-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(212,144,10,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* Card Body */
.card-body { padding: 15px 16px 16px; }

.card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 6px;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-time {
  font-size: 12px;
  color: var(--text-light);
}

.card-views {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Skeleton */
.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-img { aspect-ratio: 16/10; width: 100%; border-radius: 0; }
.sk-body { padding: 15px 16px 16px; }
.sk-line { height: 12px; margin-bottom: 8px; }

/* ===========================
   EMPTY STATE
=========================== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.empty-icon { font-size: 52px; margin-bottom: 16px; }
.empty-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-desc  { font-size: 14px; color: var(--text-muted); }

/* ===========================
   LOAD MORE
=========================== */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 36px;
}

.btn-load-more {
  padding: 12px 40px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-load-more:hover { background: var(--accent); color: #fff; transform: scale(1.02); }
.btn-load-more:disabled { opacity: 0.5; pointer-events: none; }

/* ===========================
   TOAST
=========================== */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--text);
  color: var(--bg);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  animation: toastIn 0.28s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   SCROLL TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 26px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(224,62,11,0.4);
  z-index: 50;
}

.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: scale(1.1) translateY(-2px); }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--text);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--accent); }

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Affiliate note di footer */
.footer-affiliate-note {
  font-size: 12px;
  color: #8C8880;
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
}

.footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.footer-email:hover { color: var(--accent); }

.footer-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #8C8880;
}

.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background var(--transition);
}

.social-links a:hover { background: var(--accent); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .site-intro-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-trust-badges { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-side-skeleton { display: grid; grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .site-intro { padding: 16px 0 14px; }
  .site-intro-heading { font-size: 17px; }
  .site-trust-badges { gap: 6px; }
  .trust-badge { font-size: 11px; padding: 5px 10px; }
  .content-grid { grid-template-columns: 1fr; }
  .hero-sidebar { grid-template-columns: 1fr; }
  .hero-side-skeleton { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { min-width: 45%; padding: 8px; }
  .stat-divider { display: none; }
  .hero-main-img { height: 220px; }
  .hero-title { font-size: 18px; }
}
