/* =========================================================
   LIZAPATCH v2.8 — STYLE
   Struktur:
   1.  Reset & Variables
   2.  Base Typography
   3.  Background Decor
   4.  Loader
   5.  Header
   6.  Logo & Avatar
   7.  Layout Shell
   8.  Hero Rotator
   9.  Category Pills
   10. Feed Head
   11. Feed Cards
   12. Buttons
   13. Sidebar
   14. Request Section
   15. Detail Page
   16. Footer
   17. Back-to-Top & Toast
   18. Responsive
   ========================================================= */

/* ===== 1. RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --lime: #84cc16;
  --amber: #f59e0b;
  --rose: #f43f5e;

  --bg: #f0eef9;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.55);
  --surface-tint: rgba(124, 92, 255, 0.06);

  --text: #14103a;
  --text-2: #3d3663;
  --text-muted: #6b6489;

  --border: rgba(124, 92, 255, 0.14);
  --border-strong: rgba(124, 92, 255, 0.25);

  --grad-1: linear-gradient(135deg, #7c5cff 0%, #06b6d4 100%);
  --grad-2: linear-gradient(135deg, #ec4899 0%, #7c5cff 100%);
  --grad-3: linear-gradient(135deg, #06b6d4 0%, #84cc16 100%);
  --grad-4: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --grad-brand: linear-gradient(135deg, #7c5cff 0%, #ec4899 50%, #06b6d4 100%);

  --shadow-sm: 0 2px 8px rgba(20, 16, 58, 0.06);
  --shadow: 0 10px 30px rgba(124, 92, 255, 0.10);
  --shadow-lg: 0 24px 60px rgba(124, 92, 255, 0.18);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.35s var(--ease);
}

[data-theme="dark"] {
  --bg: #0a0718;
  --surface: rgba(30, 22, 55, 0.72);
  --surface-solid: #1a1233;
  --surface-glass: rgba(30, 22, 55, 0.55);
  --surface-tint: rgba(167, 139, 250, 0.08);
  --text: #f0edff;
  --text-2: #cdc6e8;
  --text-muted: #8f88b3;
  --border: rgba(167, 139, 250, 0.16);
  --border-strong: rgba(167, 139, 250, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(124, 92, 255, 0.25);
}

/* ===== 2. BASE TYPOGRAPHY ===== */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== 3. BACKGROUND DECOR ===== */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: meshFloat 20s ease-in-out infinite;
}

.mesh-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  top: -180px; left: -120px;
}

.mesh-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%; right: -160px;
  animation-delay: -7s;
}

.mesh-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: -180px; left: 30%;
  animation-delay: -14s;
}

[data-theme="dark"] .mesh { opacity: 0.35; }

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 30px) scale(0.95); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

[data-theme="dark"] .grid-lines {
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.06) 1px, transparent 1px);
}

/* ===== 4. LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--violet);
  border-right-color: var(--cyan);
  border-bottom-color: var(--pink);
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.loader-text em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== 5. HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--t);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  display: block;
  line-height: 1;
}

.brand-text em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.live-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface-tint);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-chip strong { color: var(--violet); font-weight: 800; }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #84cc16;
  position: relative;
  box-shadow: 0 0 10px #84cc16;
  flex-shrink: 0;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #84cc16;
  opacity: 0.4;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: 10px;
  transition: all var(--t);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active { color: var(--violet); background: var(--surface-tint); }

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 14px; right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav-item svg { width: 13px; height: 13px; transition: transform var(--t); }

.has-sub { position: relative; }

.has-sub:hover > svg,
.has-sub.open > svg { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--t);
  z-index: 100;
}

.has-sub:hover .sub-menu,
.has-sub.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all var(--t);
}

.sub-menu a:hover {
  background: var(--surface-tint);
  color: var(--violet);
  padding-left: 16px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all var(--t);
}

.icon-btn svg { width: 17px; height: 17px; }

.icon-btn:hover {
  color: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px) rotate(-8deg);
}

.ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: none; }
[data-theme="dark"] .ico-moon { display: block; }

.mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
}

.mobile-btn span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

.mobile-btn.active span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.mobile-btn.active span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.search-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}

.search-panel.open {
  max-height: 100px;
  border-top-color: var(--border);
}

.search-panel-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-panel-inner > svg {
  width: 20px; height: 20px;
  color: var(--violet);
  flex-shrink: 0;
}

.search-panel-inner input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  padding: 8px 0;
}

.search-panel-inner input::placeholder { color: var(--text-muted); }

.search-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--t);
}

.search-close:hover {
  background: rgba(244, 63, 94, 0.1);
  color: var(--rose);
}

/* ===== 6. LOGO & AVATAR ===== */
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--t);
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.logo-light { opacity: 1; visibility: visible; }
.logo-dark  { opacity: 0; visibility: hidden; }

[data-theme="dark"] .logo-light { opacity: 0; visibility: hidden; }
[data-theme="dark"] .logo-dark  { opacity: 1; visibility: visible; }

.avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform var(--t);
}

.avatar:hover { transform: scale(1.05) rotate(-3deg); }

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: transparent;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* ===== 7. LAYOUT SHELL ===== */
.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.content { min-width: 0; }

/* ===== 8. HERO ROTATOR ===== */
.hero-rotator {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
  backdrop-filter: blur(20px);
}

.rotator-track { position: relative; }

.rotator-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px;
  align-items: center;
  min-height: 320px;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.6s var(--ease),
              transform 0.6s var(--ease),
              visibility 0.6s;
  pointer-events: none;
}

.rotator-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.rotator-slide::before,
.rotator-slide::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.rotator-slide::before {
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.25), transparent 65%);
}

.rotator-slide::after {
  bottom: -120px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 65%);
}

.rs-left { position: relative; z-index: 1; }

.rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface-tint);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 16px;
}

.rs-chip .chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
  animation: pulse 2s infinite;
}

.rs-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.rs-title .gradient-text {
  background: var(--grad-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.rs-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 480px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.rs-chip-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface-tint);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.rs-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.rs-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  z-index: 1;
}

.rs-visual {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 100px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: transparent;
}

.rs-visual::before { display: none; }

.rs-visual > span {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.4));
}

.rs-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  border-radius: inherit;
}

.rotator-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.rotator-dots { display: flex; gap: 6px; }

.rotator-dot {
  width: 24px; height: 4px;
  border-radius: 4px;
  background: var(--border-strong);
  transition: all var(--t);
  cursor: pointer;
}

.rotator-dot:hover { background: var(--violet-2); }

.rotator-dot.active {
  width: 36px;
  background: var(--grad-brand);
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.4);
}

.rotator-sort {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-tint);
  border-radius: 100px;
  border: 1px solid var(--border);
}

.sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--t);
}

.sort-btn svg { width: 12px; height: 12px; }
.sort-btn:hover { color: var(--violet); }
.sort-btn.active {
  background: var(--surface-solid);
  color: var(--violet);
  box-shadow: var(--shadow-sm);
}

/* ===== 9. CATEGORY PILLS ===== */
.pills-wrap {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.pills-wrap::-webkit-scrollbar { display: none; }

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}

.pill em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--surface-tint);
  color: var(--violet);
  transition: all var(--t);
  line-height: 1;
  min-width: 22px;
  text-align: center;
}

.pill:hover {
  color: var(--violet);
  background: var(--surface-tint);
}

.pill:hover em { background: rgba(124, 92, 255, 0.15); }

.pill.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.35);
}

.pill.active em {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* ===== 10. FEED HEAD ===== */
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.feed-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.feed-head p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.feed-head-actions { display: flex; gap: 8px; align-items: center; }

.sort-select select {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: all var(--t);
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='3' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.sort-select select:hover { border-color: var(--violet); }

.view-toggle {
  display: flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 2px;
}

.vt-btn {
  width: 34px; height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all var(--t);
}

.vt-btn svg { width: 15px; height: 15px; }
.vt-btn:hover { color: var(--violet); }
.vt-btn.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 10px rgba(124, 92, 255, 0.3);
}

/* ===== 11. FEED CARDS ===== */
.feed { display: grid; gap: 16px; transition: all var(--t); }
.feed.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feed.list { grid-template-columns: 1fr; }
.feed.list .card { flex-direction: row; align-items: stretch; }
.feed.list .card-thumb { width: 220px; aspect-ratio: auto; flex-shrink: 0; height: auto; }
.feed.list .card-body { padding: 20px 24px; }

.card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: cardIn 0.5s var(--ease) backwards;
  box-shadow: var(--shadow-sm);
  color: inherit;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card-thumb {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 15%, rgba(255,255,255,0.3), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,0.18), transparent 50%);
}

.card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
}

.card-emoji {
  font-size: 54px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
  transition: transform 0.5s var(--ease);
}

.card:hover .card-emoji { transform: scale(1.2) rotate(-8deg); }

.card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s var(--ease);
}

.card:hover .card-img { transform: scale(1.08); }

.thumb-graphics  { background: linear-gradient(135deg, #7c5cff, #06b6d4); }
.thumb-face      { background: linear-gradient(135deg, #ec4899, #7c5cff); }
.thumb-kit       { background: linear-gradient(135deg, #f59e0b, #f43f5e); }
.thumb-stadium   { background: linear-gradient(135deg, #06b6d4, #84cc16); }
.thumb-efootball { background: linear-gradient(135deg, #3b82f6, #7c5cff); }
.thumb-fifa      { background: linear-gradient(135deg, #10b981, #06b6d4); }
.thumb-pes       { background: linear-gradient(135deg, #a78bfa, #ec4899); }

.card-tag {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 9px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  z-index: 3;
  isolation: isolate;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

.card:hover .card-tag { transform: translateY(-1px) scale(1.04); }

.card-tag.new {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(6, 182, 212, 0.85));
  box-shadow:
    0 4px 14px rgba(124, 92, 255, 0.4),
    0 0 20px rgba(124, 92, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card-tag.new::before { background: #a5f3fc; }

.card-tag.hot {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.92), rgba(244, 63, 94, 0.88));
  box-shadow:
    0 4px 14px rgba(244, 63, 94, 0.4),
    0 0 20px rgba(236, 72, 153, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card-tag.hot::before {
  background: #fecdd3;
  animation: tagPulse 1.2s ease-in-out infinite;
}

.card-tag.updated {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(249, 115, 22, 0.88));
  box-shadow:
    0 4px 14px rgba(245, 158, 11, 0.4),
    0 0 20px rgba(249, 115, 22, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card-tag.updated::before { background: #fef3c7; }

.card-date {
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  color: #fff;
  z-index: 3;
  isolation: isolate;
  background: rgba(15, 10, 30, 0.42);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease);
}

.card-date::before {
  content: '';
  width: 10px; height: 10px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}

.card:hover .card-date {
  transform: translateY(-1px) scale(1.04);
  background: rgba(15, 10, 30, 0.55);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-cat::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
  letter-spacing: -0.01em;
}

.card:hover h3 { color: var(--violet); }

.card-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
}

.card-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  transition: all var(--t);
}

.card-dl svg { width: 13px; height: 13px; }
.card:hover .card-dl { gap: 8px; }

.card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 3px 8px;
  background: var(--surface-tint);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-meta .stat-dl  { color: var(--violet); }
.card-meta .stat-clk { color: var(--cyan); }

.load-wrap { display: flex; justify-content: center; padding: 32px 0 12px; }

/* ===== 12. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--t);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn svg { width: 16px; height: 16px; }

.btn-solid {
  background: var(--grad-brand);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 10px 25px rgba(124, 92, 255, 0.3);
  animation: gradientShift 8s ease infinite;
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(124, 92, 255, 0.45);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  color: var(--violet);
  border-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-download-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 14px;
}

/* Tombol disabled / belum tersedia */
.btn-disabled {
  background: var(--surface-tint);
  color: var(--text-muted);
  border: 1.5px dashed var(--border-strong);
  cursor: not-allowed;
  box-shadow: none;
  animation: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
  color: var(--text-muted);
}

/* Box download versi unavailable */
.download-unavailable {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(244, 63, 94, 0.04));
  border-color: rgba(245, 158, 11, 0.35);
}

.download-unavailable .dl-info h4 {
  color: var(--amber);
}

/* ===== 13. SIDEBAR ===== */
.side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}

.side-card:hover { box-shadow: var(--shadow); }

.side-sub {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(6, 182, 212, 0.08));
  border-color: var(--border-strong);
}

.side-sub-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.side-sub-top > div:not(.avatar) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.side-sub-top strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.side-sub-top strong::after {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-1);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
}

.side-sub-top > div > span {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.side-sub > p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.soc {
  aspect-ratio: 1;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: all var(--t);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.soc svg { width: 17px; height: 17px; }

.soc.wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.soc.ig { background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.soc.fb { background: linear-gradient(135deg, #1877f2, #0d5fce); }
.soc.tw { background: linear-gradient(135deg, #1d9bf0, #0c7abf); }
.soc.tg { background: linear-gradient(135deg, #2aabee, #229ed9); }

.soc:hover { transform: translateY(-4px) scale(1.08); }

.side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.side-head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 40px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.side-head h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text);
}

.side-live {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: #84cc16;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(132, 204, 22, 0.12);
  letter-spacing: 0.5px;
}

.side-live::before {
  content: '●';
  margin-right: 4px;
  animation: pulse 2s infinite;
}

.side-menu-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.side-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  transition: all var(--t);
  text-align: left;
}

.side-menu-btn:hover {
  background: var(--surface-tint);
  color: var(--violet);
}

.side-menu-btn.open {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.3);
}

.side-menu-btn svg {
  width: 14px; height: 14px;
  transition: transform var(--t);
  flex-shrink: 0;
}

.side-menu-btn.open svg { transform: rotate(180deg); }

.side-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), margin 0.35s var(--ease);
  margin-left: 10px;
  border-left: 2px solid var(--border);
  padding-left: 4px;
}

.side-menu-group.open .side-sub-menu {
  max-height: 400px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.side-sub-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--t);
}

.side-sub-menu li a:hover {
  color: var(--violet);
  background: var(--surface-tint);
  padding-left: 16px;
}

.mini-list { display: flex; flex-direction: column; gap: 6px; }

.mini-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--t);
  align-items: center;
}

.mini-item:hover {
  background: var(--surface-tint);
  transform: translateX(4px);
}

.mini-thumb {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.mini-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 60%);
}

.mini-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.mini-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}

.mini-item:hover .mini-title { color: var(--violet); }

.mini-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
  z-index: 1;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.tag-cloud a {
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t);
}

.tag-cloud a:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(124, 92, 255, 0.3);
}

/* ===== 14. REQUEST SECTION ===== */
.request-section {
  padding: 60px 24px 40px;
  margin-top: 20px;
  position: relative;
}

.request-inner { max-width: 1440px; margin: 0 auto; }

.request-head {
  text-align: center;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface-tint);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 16px;
}

.request-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.request-head h2 .gradient-text {
  background: var(--grad-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

.request-head p { font-size: 15px; color: var(--text-muted); }

.request-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.request-form {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row .form-field { margin-bottom: 0; }

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-tint);
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--t);
  font-family: inherit;
  resize: vertical;
  min-height: 46px;
}

.form-field textarea { min-height: 120px; line-height: 1.6; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--violet);
  background: var(--surface-solid);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.1);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='3' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
}

.form-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

.request-info { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all var(--t);
}

.info-card:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.info-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.info-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.info-card p strong { color: var(--violet); }

.community-box {
  padding: 18px;
  background: var(--surface-tint);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
}

.community-box > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.community-btns { display: flex; justify-content: center; gap: 10px; }
.community-btns .soc { width: 48px; height: 48px; border-radius: 14px; }

/* ===== 15. DETAIL PAGE ===== */
.detail-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.detail-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 20px;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-main { min-width: 0; }

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.detail-breadcrumb a {
  color: var(--violet);
  font-weight: 600;
  transition: all var(--t);
}

.detail-breadcrumb a:hover { text-decoration: underline; }

.detail-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.detail-hero {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  position: relative;
  overflow: hidden;
}

.detail-hero > span:not(.card-tag):not(.card-date) {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}

.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,0.2), transparent 55%);
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.4) 100%);
}

.detail-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.detail-hero .card-tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 3;
  padding: 6px 13px 6px 10px;
  font-size: 11px;
  border-radius: 100px;
}

.detail-hero .card-tag::before { width: 6px; height: 6px; }

.detail-hero .card-date {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 3;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 100px;
}

.detail-hero .card-date::before { width: 11px; height: 11px; }

.detail-body { padding: 32px; }

.detail-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.detail-cat::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.detail-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  background: var(--surface-tint);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.meta-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-box span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.meta-box strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.detail-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.detail-desc p + p { margin-top: 12px; }

/* Section block (Fitur / Cara Install / Credits) */
.detail-features,
.detail-carainstall,
.detail-credits {
  margin-bottom: 26px;
  padding: 20px;
  background: var(--surface-tint);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.detail-features h4,
.detail-carainstall h4,
.detail-credits h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-features h4::before,
.detail-carainstall h4::before,
.detail-credits h4::before {
  content: '';
  width: 3px; height: 16px;
  border-radius: 3px;
  background: var(--grad-brand);
}

.detail-features ul,
.detail-carainstall ul,
.detail-credits ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-features li,
.detail-carainstall li,
.detail-credits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
}

.detail-features li::before,
.detail-carainstall li::before,
.detail-credits li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-3);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Warna khusus per section */
.detail-carainstall {
  border-color: rgba(6, 182, 212, 0.35);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(124, 92, 255, 0.04));
}

.detail-carainstall h4::before { background: var(--grad-1); }

.detail-credits {
  border-color: rgba(236, 72, 153, 0.35);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(124, 92, 255, 0.04));
}

.detail-credits h4::before { background: var(--grad-2); }

.detail-download-box {
  padding: 24px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(6, 182, 212, 0.06));
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dl-info h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.dl-info p { font-size: 12.5px; color: var(--text-muted); }
.dl-info p strong { color: var(--violet); }

.related-section { margin-top: 40px; }

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.related-head h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-head h3::before {
  content: '';
  width: 4px; height: 22px;
  border-radius: 4px;
  background: var(--grad-brand);
}

.related-head p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.related-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t);
  color: inherit;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.related-thumb {
  height: 90px;
  display: grid;
  place-items: center;
  font-size: 34px;
  position: relative;
}

.related-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.25) 100%);
}

.related-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.related-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.related-card h4 {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}

.related-card:hover h4 { color: var(--violet); }

.related-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.related-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== 16. FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 24px 20px;
  margin-top: 40px;
  backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--violet);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1440px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12.5px;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-made {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-tint);
  color: var(--violet);
  font-weight: 700;
}

/* ===== 17. BACK-TO-TOP & TOAST ===== */
.btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all var(--t);
  z-index: 90;
}

.btt svg { width: 20px; height: 20px; }
.btt.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.btt:hover { transform: translateY(-4px) scale(1.05); }

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  padding: 12px 22px;
  border-radius: 100px;
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 400;
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== 18. RESPONSIVE ===== */
@media (max-width: 1200px) {
  .shell,
  .detail-shell {
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 20px;
  }
  .rotator-slide { padding: 28px; gap: 24px; }
}

@media (max-width: 980px) {
  .shell,
  .detail-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .side > .side-card:first-child { grid-column: 1 / -1; }
  .rotator-slide { grid-template-columns: 1fr; }
  .rs-right { min-height: 200px; }
  .rs-visual { max-width: 500px; margin: 0 auto; }
  .request-grid { grid-template-columns: 1fr; }
  .detail-features ul,
  .detail-carainstall ul,
  .detail-credits ul { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface-solid);
    padding: 14px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    align-items: stretch;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav.open .nav-item { padding: 12px 14px; justify-content: space-between; }
  .nav.open .nav-item.active::after { display: none; }
  .nav.open .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--surface-tint);
    margin: 4px 0;
    padding: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .nav.open .has-sub.open .sub-menu { max-height: 400px; }

  .mobile-btn { display: flex; }
  .header-inner { padding: 12px 16px; gap: 12px; }
  .brand-text strong { font-size: 18px; }
  .brand-mark { width: 42px; height: 42px; }
  .live-chip { padding: 6px 10px; font-size: 11px; }
  .live-chip span:not(.live-dot) { display: none; }
  .live-chip::after { content: 'Live'; font-weight: 700; }

  .rotator-slide { padding: 22px; }
  .rs-title { font-size: 22px; }
  .rs-desc { font-size: 13px; }

  .feed.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .feed.list .card { flex-direction: column; }
  .feed.list .card-thumb { width: 100%; aspect-ratio: 16/10; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .detail-body { padding: 22px; }
  .detail-hero { height: 200px; font-size: 90px; }
  .detail-download-box { flex-direction: column; align-items: stretch; text-align: center; }
  .related-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 640px) {
  .shell,
  .detail-shell { padding: 16px; gap: 16px; }
  .rotator-slide { padding: 20px; min-height: 0; }
  .rs-title { font-size: 20px; }
  .rs-desc { font-size: 12.5px; }
  .rs-visual { font-size: 70px; }
  .rotator-controls { padding: 12px 16px; }
  .sort-btn { padding: 6px 10px; font-size: 11px; }
  .pills-wrap { padding: 6px; }
  .pill { padding: 8px 13px; font-size: 12px; }
  .feed.grid { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .request-form { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { font-size: 11.5px; }
  .btt { bottom: 16px; right: 16px; width: 44px; height: 44px; }
  .toast { bottom: 76px; font-size: 12.5px; padding: 10px 18px; }
  .detail-meta-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .avatar { width: 60px; height: 60px; border-radius: 15px; }
  .side-sub-top strong { font-size: 14px; }
}