/* ==========================================================================
   NOVELXA V2 - UNIFIED PREMIUM DESIGN SYSTEM (NOVEL & CHAT AI)
   Palette: Dark Charcoal (#090a0f) + Novelxa Orange Accent (#ff6b35)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* ==========================================================================
     NOVELXA WHITE MODERN UI DESIGN TOKENS
     Light Canvas (#F8F9FD) + Vibrant Orange Accent (#FF6A2A) + Dark Slate Text (#111827)
     ========================================================================== */
  --bg-main: #F8F9FD;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FCFDFE;
  --bg-input: #F3F4F8;
  --bg-glass: rgba(255, 255, 255, 0.96);

  --accent: #FF6A2A;
  --accent-hover: #FF7A32;
  --accent-light: #FF8A4A;
  --accent-gradient: linear-gradient(135deg, #FF6A2A 0%, #FF8A4A 100%);
  --accent-glow: 0 4px 18px rgba(255, 106, 42, 0.22);

  --text-main: #111827;
  --text-muted: #4B5563;
  --text-dim: #9CA3AF;

  --border-subtle: #F0F2F5;
  --border-medium: #E5E7EB;
  --border-glow: rgba(255, 106, 42, 0.35);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-reader: 'Lora', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.07);

  --header-height: 68px;
  --bottom-nav-height: 64px;
}

/* STRICT READER ISOLATION SAFEGUARD:
   The Reader page body (.reader-page-body) uses dedicated --reader-* tokens.
   We explicitly ensure website styles never override reader preferences. */
body.reader-page-body {
  background-color: var(--reader-bg) !important;
  color: var(--reader-text) !important;
}

/* ==========================================================================
   STRICT ADMIN PORTAL DARK LUXURY THEME ISOLATION
   Admin panel retains its dedicated dark charcoal theme (#090a0f / #0f121d)
   with crisp white typography, high contrast stats, and sleek dark cards.
   ========================================================================== */
body.admin-body {
  --bg-main: #090a0f !important;
  --bg-secondary: #0f121d !important;
  --bg-card: #121622 !important;
  --bg-card-hover: #171c2c !important;
  --bg-input: #0e111a !important;
  --bg-glass: rgba(12, 14, 20, 0.94) !important;

  --text-main: #ffffff !important;
  --text-muted: #94a3b8 !important;
  --text-dim: #64748b !important;

  --border-subtle: rgba(255, 255, 255, 0.08) !important;
  --border-medium: rgba(255, 255, 255, 0.14) !important;
  --border-glow: rgba(255, 106, 42, 0.35) !important;

  background-color: #090a0f !important;
  color: #ffffff !important;
}

body.admin-body .site-header {
  background-color: rgba(12, 14, 20, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.admin-body .site-header .brand-wrapper {
  color: #ffffff !important;
}

body.admin-body .btn-outline {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.admin-body .btn-outline:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

body.admin-body .input-text,
body.admin-body input[type="text"],
body.admin-body input[type="search"],
body.admin-body input[type="number"],
body.admin-body input[type="email"],
body.admin-body input[type="password"],
body.admin-body select,
body.admin-body textarea {
  background-color: #0e111a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.admin-body .input-text:focus,
body.admin-body input[type="text"]:focus,
body.admin-body input[type="search"]:focus,
body.admin-body input[type="number"]:focus,
body.admin-body input[type="email"]:focus,
body.admin-body input[type="password"]:focus,
body.admin-body select:focus,
body.admin-body textarea:focus {
  background-color: #141824 !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.22) !important;
}

body.admin-body .admin-table th {
  color: #64748b !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.admin-body .admin-table td {
  color: #e2e8f0 !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.admin-body .admin-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

body.admin-body .btn-icon {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

body.admin-body .btn-icon:hover {
  background: rgba(255, 106, 42, 0.18) !important;
  border-color: rgba(255, 106, 42, 0.35) !important;
  color: var(--accent) !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

/* ==========================================================================
   HEADER & NAVBAR (DESKTOP)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(255, 107, 53, 0.35));
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #111827;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Nav Links: Ultra Crisp & Legible Dark Charcoal */
.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  transition: all 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FF6A2A;
  background: #FFF7ED;
}

.nav-link.active {
  color: #ffffff !important;
  background: #FF6A2A !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.3);
}

/* Distinctive Chat AI Nav Pill */
.nav-chat-ai-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-chat-ai-pill:hover {
  background: #ffedd5;
  color: #c2410c;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.18);
}

.nav-chat-ai-pill.active {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

/* Nav Dropdown (Layanan) */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  transition: all 0.18s ease;
}

.nav-dropdown-btn:hover {
  color: #FF6A2A;
  background: #FFF7ED;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: none;
  z-index: 120;
  animation: fadeInDown 0.18s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #FFF7ED;
  color: #FF6A2A;
}

/* Header Search Form */
.header-search {
  position: relative;
  flex: 1 1 200px;
  min-width: 140px;
  max-width: 280px;
  display: flex;
  align-items: center;
}

.header-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #e2e8f0;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.header-search input:focus {
  background: #ffffff;
  border-color: #FF6A2A;
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.15);
}

.header-search input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.header-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  width: 15px;
  height: 15px;
  pointer-events: none;
  z-index: 2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  text-decoration: none;
}

.btn-icon:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
  transform: translateY(-1px);
}

/* Coin Wallet Badge (High Contrast White Modern) */
.nav-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-coin-badge:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.nav-coin-silver {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #1e293b !important;
  font-weight: 800;
}

.nav-coin-divider {
  width: 1px;
  height: 12px;
  background: #cbd5e1;
}

.nav-coin-gold {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #b45309 !important;
  font-weight: 800;
}

.nav-coin-plus {
  font-size: 10px;
  font-weight: 900;
  background: #FF6A2A;
  color: #ffffff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Admin Shield Button */
.nav-admin-btn {
  color: #ea580c !important;
  border-color: #fed7aa !important;
  background: #fff7ed !important;
}

.nav-admin-btn:hover {
  background: #FF6A2A !important;
  border-color: #FF6A2A !important;
  color: #ffffff !important;
}

/* NOTIFICATION DROPDOWN SYSTEM */
.header-notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-notif-btn {
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-notif-btn.active {
  background: rgba(255, 106, 42, 0.18);
  border-color: rgba(255, 106, 42, 0.4);
  color: #FF6A2A;
  box-shadow: 0 0 16px rgba(255, 106, 42, 0.25);
}

.nav-notif-btn .notif-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: #FF6A2A;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF6A2A;
  border: 1.5px solid #0D0F17;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: notifPulse 2.4s infinite;
}

@keyframes notifPulse {
  0% { transform: scale(1); box-shadow: 0 0 4px #FF6A2A; }
  50% { transform: scale(1.25); box-shadow: 0 0 10px #FF6A2A; }
  100% { transform: scale(1); box-shadow: 0 0 4px #FF6A2A; }
}

.notif-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 400px;
  max-width: 92vw;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.14), 0 4px 14px rgba(17, 24, 39, 0.05);
  z-index: 999999;
  overflow: hidden;
  animation: notifDropIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifDropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFAFC;
}

.notif-badge-pill {
  background: rgba(255, 106, 42, 0.12);
  color: #FF6A2A;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 42, 0.25);
  display: inline-block;
  line-height: 1.4;
}

.notif-mark-read-btn {
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.notif-mark-read-btn:hover {
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}

.notif-filter-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #F8F9FD;
  overflow-x: auto;
  scrollbar-width: none;
}

.notif-filter-tabs::-webkit-scrollbar {
  display: none;
}

.notif-tab {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.notif-tab:hover {
  background: #F3F4F6;
  color: #111827;
  border-color: #D1D5DB;
}

.notif-tab.active {
  background: #FF6A2A;
  border-color: #FF6A2A;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 106, 42, 0.32);
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  background: #FFFFFF;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}
.notif-list::-webkit-scrollbar-track {
  background: transparent;
}
.notif-list::-webkit-scrollbar-thumb {
  background: #E5E7EB;
  border-radius: 6px;
}
.notif-list::-webkit-scrollbar-thumb:hover {
  background: #CBD5E1;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: background 0.15s ease;
  position: relative;
  cursor: pointer;
  background: #FFFFFF;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: #F8F9FD;
}

.notif-item.unread {
  background: #FFFDFB;
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3.5px;
  background: #FF6A2A;
  border-radius: 0 3px 3px 0;
}

.notif-item-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6A2A;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 106, 42, 0.2);
}

.notif-item.read {
  opacity: 0.85;
  background: #FFFFFF;
}

.notif-item.read:hover {
  opacity: 1;
  background: #F8F9FD;
}

.notif-item.read .notif-item-unread-dot {
  display: none;
}

.notif-item.read::before {
  display: none;
}

.notif-avatar {
  object-fit: cover;
  flex-shrink: 0;
}

.notif-avatar-cover {
  width: 32px;
  height: 46px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.notif-avatar-char {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #FF6A2A;
}

.notif-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}

.notif-icon-orange {
  background: rgba(255, 106, 42, 0.1);
  color: #FF6A2A;
}

.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
  line-height: 1.35;
}

.notif-desc {
  font-size: 11.5px;
  color: #4B5563;
  line-height: 1.45;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 10.5px;
  color: #9CA3AF;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.notif-empty-state {
  padding: 36px 20px;
  text-align: center;
  background: #FFFFFF;
}

.notif-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F3F4F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  margin-bottom: 10px;
}

.notif-empty-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.notif-empty-desc {
  font-size: 11.5px;
  color: #6B7280;
}

.notif-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFAFC;
}

.notif-footer-link {
  color: #FF6A2A;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.notif-footer-link:hover {
  color: #E05417;
  text-decoration: underline;
}

.notif-footer-clear {
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.notif-footer-clear:hover {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.06);
}

@media (max-width: 640px) {
  .notif-dropdown-panel {
    position: fixed !important;
    top: 62px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    border-radius: 16px;
  }
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.user-profile-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.user-avatar-small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name-small {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.48);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FORMS & INPUT CONTROLS
   ========================================================================== */
.input-text {
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-text:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.15);
}
select.input-text {
  cursor: pointer;
}
textarea.input-text {
  font-family: inherit;
}

/* ==========================================================================
   HOMEPAGE V2 HERO SECTION
   /* ==========================================================================
   ENHANCED HERO SECTION (ULTRA-PREMIUM & CINEMATIC)
   ========================================================================== */
.hero-v2-section {
  position: relative;
  border-radius: 28px;
  margin: 18px 0 32px 0;
  background-color: #080a10;
  background-image: url('../images/hero_character.jpg');
  background-position: right 22% center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.95), 
              0 0 50px -10px rgba(255, 106, 42, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Dynamic Ambient Glow Orbs */
.hero-ambient-orb-1 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.22) 0%, rgba(255, 106, 42, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

.hero-ambient-orb-2 {
  position: absolute;
  top: -60px;
  right: 18%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(255, 106, 42, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

@keyframes ambientPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(20px, 15px); opacity: 1; }
}

/* Subtle High-Tech Grid Texture with Radial Fade */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 65% 65% at 32% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 32% 50%, #000 35%, transparent 80%);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

/* Cinematic Dark Multi-Stop Gradient Overlay (Horizontal + Vertical Edge Vignette) */
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(0deg, #080a10 0%, rgba(8, 10, 16, 0.9) 10%, rgba(8, 10, 16, 0.35) 25%, transparent 45%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.7) 0%, transparent 18%),
    linear-gradient(90deg, 
      #06080d 0%, 
      rgba(6, 8, 13, 0.98) 42%, 
      rgba(6, 8, 13, 0.78) 64%, 
      rgba(6, 8, 13, 0.22) 100%
    );
  pointer-events: none;
  z-index: 2;
}

.hero-v2-content {
  position: relative;
  z-index: 3;
  padding: 48px 52px;
  max-width: 640px;
}

/* Glowing Brand Pill Badge */
.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #FFA066;
  background: rgba(255, 106, 42, 0.08);
  border: 1px solid rgba(255, 106, 42, 0.35);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(255, 106, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-pill-sparkle {
  color: #FFA066;
  display: flex;
}
.hero-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 4px;
  font-weight: 800;
}
.hero-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Headline with radiant text gradient */
.hero-v2-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.text-orange-gradient {
  background: linear-gradient(135deg, #FF6A2A 0%, #FFA86B 40%, #FFE2B8 80%, #FFA86B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 106, 42, 0.5));
}

.hero-v2-desc {
  font-size: 15.5px;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}

/* Glowing Dual CTA Buttons with Shimmer */
.hero-v2-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FF6A2A 0%, #FF7F38 50%, #FF9954 100%);
  color: #FFFFFF;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(255, 106, 42, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 38px rgba(255, 106, 42, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #FF7735 0%, #FF8D4A 50%, #FFA86B 100%);
  color: #fff;
}
.btn-hero-primary:hover .btn-arrow-icon {
  transform: translateX(4px);
}
.btn-arrow-icon {
  transition: transform 0.2s ease;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-25deg);
  animation: btnShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%, 75% { left: -100%; }
  100% { left: 200%; }
}

.btn-hero-secondary {
  background: rgba(14, 18, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 9999px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.btn-hero-secondary:hover {
  background: rgba(255, 106, 42, 0.12);
  border-color: rgba(255, 106, 42, 0.8);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 106, 42, 0.25);
}
.btn-hero-secondary:hover .btn-arrow-icon {
  transform: translateX(4px);
}
.hero-ai-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #FF7A32;
  background: rgba(255, 106, 42, 0.18);
  border: 1px solid rgba(255, 106, 42, 0.35);
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

/* Micro Highlights Row */
.hero-highlights-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}
.hero-highlight-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

/* Proof & Trust Stack */
.hero-v2-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FF6A2A;
  box-shadow: 0 0 12px rgba(255, 106, 42, 0.4);
  margin-left: -10px;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.avatar-stack img:first-child {
  margin-left: 0;
}
.avatar-stack img:hover {
  transform: translateY(-3px) scale(1.15);
  z-index: 5;
}
.hero-proof-text {
  font-size: 12.5px;
  line-height: 1.45;
}
.proof-headline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.proof-stars {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 1px;
}
.proof-headline strong {
  color: #FFFFFF;
  font-weight: 800;
}
.proof-sep {
  color: rgba(255, 255, 255, 0.25);
}
.proof-count {
  color: #CBD5E1;
  font-weight: 600;
}
.proof-online-pill {
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 7px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.proof-sub {
  color: #64748B;
  display: block;
  font-size: 11.5px;
}

/* Watermark Quote Box on Top Right */
.hero-watermark-quote {
  position: absolute;
  top: 26px;
  right: 34px;
  z-index: 3;
}
.quote-text-wrap {
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 18px;
  max-width: 270px;
  text-align: right;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.quote-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FF8542;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.quote-body {
  margin: 0;
  font-family: var(--font-reader);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.quote-author {
  display: block;
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748B;
  margin-top: 6px;
  text-transform: uppercase;
}

/* Floating Interactive Character Chat Card */
.hero-floating-chat-card {
  position: absolute;
  bottom: 28px;
  right: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(12, 15, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 106, 42, 0.35);
  border-radius: 20px;
  padding: 12px 18px;
  max-width: 400px;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 
              0 0 35px rgba(255, 106, 42, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-floating-chat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #FF6A2A;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 
              0 0 45px rgba(255, 106, 42, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: rgba(16, 20, 30, 0.96);
}
.float-card-avatar-box {
  position: relative;
  flex-shrink: 0;
}
.float-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #FF6A2A;
  display: block;
  box-shadow: 0 0 14px rgba(255, 106, 42, 0.45);
}
.float-card-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #08090D;
}
.float-card-content {
  min-width: 0;
  flex: 1;
}
.float-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.float-card-name {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
}
.float-card-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #FF7A32;
  background: rgba(255, 106, 42, 0.15);
  border: 1px solid rgba(255, 106, 42, 0.3);
  padding: 1px 7px;
  border-radius: 4px;
}
.float-card-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1px 6px;
  border-radius: 9999px;
  margin-left: auto;
}
.status-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}
.float-card-speech {
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.45;
  margin: 3px 0 0 0;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.float-card-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6A2A 0%, #FF8542 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.45);
  transition: transform 0.2s ease;
}
.hero-floating-chat-card:hover .float-card-icon-btn {
  transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   GENRE FILTER PILLS BAR
   ========================================================================== */
.genre-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.genre-pills-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.genre-pills-scroll::-webkit-scrollbar {
  display: none;
}
.genre-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  background: #12151C;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8E96A3;
}
.genre-pill-link:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}
.genre-pill-link.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(255, 106, 42, 0.35);
}
.genre-see-all-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.genre-see-all-link:hover {
  text-decoration: underline;
}
.genre-pill-more {
  display: none;
  background: rgba(255, 106, 42, 0.1);
  border-color: rgba(255, 106, 42, 0.3);
  color: var(--accent);
}
.desktop-only-link {
  display: inline-flex;
}
.mobile-search-btn {
  display: none;
}
.desktop-logout-btn {
  display: flex;
}

/* ==========================================================================
   HOMEPAGE 2-COLUMN LAYOUT
   ========================================================================== */
.home-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
}
.home-main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.home-sidebar-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-height, 64px) + 16px);
  align-self: start;
  z-index: 10;
}

/* Section Header */
.section-v2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-v2-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-v2-title i {
  color: var(--accent);
  width: 18px;
  height: 18px;
}
.section-v2-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-v2-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   NOVEL GRID (5 COLUMNS)
   ========================================================================== */
.novel-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.novel-v2-card {
  background: #12151C;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.novel-v2-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 42, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.novel-v2-cover-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0D0F14;
}
.novel-v2-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.novel-v2-card:hover .novel-v2-cover-img {
  transform: scale(1.04);
}
.novel-badge-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  color: #FFFFFF;
}
.badge-tag-baru {
  background: #FF6A2A;
}
.badge-tag-ongoing {
  background: #d97706;
}
.badge-tag-populer {
  background: linear-gradient(135deg, #FF6A2A 0%, #e11d48 100%);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}

.novel-v2-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.novel-v2-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novel-v2-author {
  font-size: 11.5px;
  color: #606877;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.novel-v2-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.novel-genre-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #FF6A2A;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}
.novel-v2-stats {
  color: #8E96A3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.novel-v2-stats span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ==========================================================================
   CONTINUE READING SECTION (3 COLUMNS)
   ========================================================================== */
.continue-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.continue-card-item {
  background: #12151C;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.continue-card-item:hover {
  border-color: rgba(255, 106, 42, 0.35);
  transform: translateY(-2px);
}
.continue-thumb-wrap {
  height: 100px;
  position: relative;
  overflow: hidden;
}
.continue-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.continue-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,21,28,0.2) 0%, rgba(18,21,28,0.95) 100%);
}
.continue-content {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.continue-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.continue-chapter {
  font-size: 11.5px;
  color: #8E96A3;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.continue-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.continue-progress-bar-bg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}
.continue-progress-bar-fill {
  height: 100%;
  background: #FF6A2A;
  border-radius: 9999px;
}
.continue-progress-num {
  font-size: 10.5px;
  font-weight: 700;
  color: #8E96A3;
}
.continue-btn-link {
  background: #FF6A2A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 7px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}
.continue-btn-link:hover {
  background: #FF7A32;
}

/* ==========================================================================
   POPULAR CHARACTERS BOTTOM GRID (5 COLUMNS)
   ========================================================================== */
.character-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.char-bottom-card {
  background: #12151C;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}
.char-bottom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 42, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.char-bottom-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 106, 42, 0.35);
  margin-bottom: 10px;
}
.char-bottom-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}
.char-bottom-novel {
  font-size: 11px;
  color: #8E96A3;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.char-bottom-chats {
  font-size: 11px;
  color: #606877;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.char-bottom-btn {
  width: 100%;
  padding: 7px;
  border-radius: 9999px;
  background: #FF6A2A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.char-bottom-btn:hover {
  background: #FF7A32;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.sidebar-widget-card {
  background: rgba(18, 21, 28, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sidebar-widget-card:hover {
  border-color: rgba(255, 106, 42, 0.3);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 106, 42, 0.1);
}
.sidebar-char-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sidebar-char-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-char-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 106, 42, 0.3);
}
.sidebar-char-details {
  flex: 1;
  min-width: 0;
}
.sidebar-char-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1px;
}
.sidebar-char-origin {
  font-size: 11px;
  color: #8E96A3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-char-trait {
  font-size: 11px;
  color: #606877;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-char-chats {
  font-size: 10.5px;
  color: #606877;
}
.sidebar-char-btn {
  padding: 5px 14px;
  border-radius: 9999px;
  background: #FF6A2A;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  text-decoration: none;
}
.sidebar-char-btn:hover {
  background: #FF7A32;
}

/* Promo Cards */
.promo-sidebar-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 22px 20px;
  background: rgba(18, 21, 28, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.promo-sidebar-card:hover {
  border-color: rgba(255, 106, 42, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 106, 42, 0.15);
  transform: translateY(-2px);
}
.promo-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.promo-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,21,28,0.95) 20%, rgba(18,21,28,0.65) 100%);
}
.promo-content {
  position: relative;
  z-index: 2;
}
.promo-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.promo-desc {
  font-size: 12px;
  color: #8E96A3;
  line-height: 1.5;
  margin-bottom: 14px;
}
.btn-promo-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF6A2A 0%, #FF8A4A 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
}
.btn-promo-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #08090D;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

/* Genre Sidebar List */
.genre-sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: #8E96A3;
  font-size: 13px;
  transition: all 0.2s;
}
.genre-sidebar-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.genre-sidebar-row:hover {
  color: #FFFFFF;
  padding-left: 4px;
}
.genre-sidebar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.genre-sidebar-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6A2A;
}
.genre-sidebar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #606877;
}

/* ==========================================================================
   FOOTER VALUE PROPOSITION (4 ITEMS)
   ========================================================================== */
.value-prop-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0 24px 0;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.value-prop-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.value-prop-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 106, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6A2A;
  flex-shrink: 0;
}
.value-prop-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}
.value-prop-desc {
  font-size: 12px;
  color: #8E96A3;
  line-height: 1.45;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 13, 19, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px env(safe-area-inset-bottom, 0px) 4px;
  box-sizing: border-box;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 20%;
  padding: 4px 0;
  transition: color 0.18s, transform 0.15s;
  box-sizing: border-box;
}

.bottom-nav-item:active {
  transform: scale(0.92);
}

.bottom-nav-item i,
.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bottom-nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.2;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.bottom-nav-item.active i,
.bottom-nav-item.active svg {
  stroke: var(--accent);
}

.bottom-nav-create {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 20%;
  margin-top: -14px;
}

.create-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  flex-shrink: 0;
}

.create-float-btn:active {
  transform: scale(0.92);
}

/* Flash alerts */
.flash-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.flash-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* ==========================================================================
   RESPONSIVE DESIGN RULES
   ========================================================================== */
@media (max-width: 1200px) {
  .novel-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
  .character-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
  .value-prop-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1220px) and (min-width: 993px) {
  .site-header .header-inner {
    gap: 8px;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 130px;
  }
  .desktop-nav {
    gap: 2px;
  }
  .nav-link {
    padding: 6px 9px;
    font-size: 13px;
  }
  .nav-dropdown-btn {
    padding: 6px 9px;
    font-size: 13px;
  }
  .nav-chat-ai-pill {
    padding: 5px 10px;
    font-size: 12px;
  }
  .header-actions {
    gap: 6px;
  }
  .user-name-small {
    display: none !important;
  }
  .header-search {
    flex: 1 1 140px;
    min-width: 130px;
    max-width: 190px;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 54px;
  }
  .site-header .header-inner {
    padding: 0 4px;
    gap: 8px;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 130px;
  }
  .header-search {
    display: none !important;
  }
  .mobile-search-btn {
    display: flex !important;
    width: 34px;
    height: 34px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-icon {
    width: 34px;
    height: 34px;
  }
  .desktop-logout-btn {
    display: none !important;
  }
  .user-profile-btn {
    padding: 0;
    border: none;
    background: transparent;
  }
  .user-name-small {
    display: none !important;
  }
  .user-avatar-small {
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  }

  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 14px;
  }

  /* Hero Mobile Redesign - Ultra Clean, Crisp & High Contrast */
  .hero-v2-section {
    min-height: auto;
    margin: 10px 0 20px 0;
    border-radius: 22px;
    background-position: center top;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.95), 0 0 35px -5px rgba(255, 106, 42, 0.15);
  }
  .hero-v2-overlay {
    background: 
      linear-gradient(180deg, rgba(8, 10, 16, 0.76) 0%, rgba(8, 10, 16, 0.92) 38%, #080a10 75%, #080a10 100%),
      linear-gradient(90deg, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.85) 100%) !important;
  }
  .hero-v2-content {
    padding: 24px 18px 22px 18px;
    max-width: 100%;
  }
  .hero-brand-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 11px;
    gap: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    background: rgba(255, 106, 42, 0.12);
    border: 1px solid rgba(255, 106, 42, 0.35);
  }
  .hero-pill-status {
    font-size: 9px;
    padding: 1px 6px;
    margin-left: 2px;
  }
  .hero-v2-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  }
  .hero-v2-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #cbd5e1;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  }
  .hero-v2-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
  }
  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(255, 106, 42, 0.45);
  }
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 14px;
    background: rgba(14, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    gap: 8px;
  }
  .hero-ai-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
  }
  .hero-highlights-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
  }
  .hero-highlight-item {
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
  }
  .hero-highlight-dot {
    display: none;
  }
  .hero-ambient-orb-1 {
    width: 220px;
    height: 220px;
    opacity: 0.35;
  }
  .hero-ambient-orb-2 {
    display: none;
  }
  .hero-v2-proof {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .avatar-stack {
    display: flex;
    flex-shrink: 0;
  }
  .avatar-stack img {
    width: 30px;
    height: 30px;
    border-width: 1.5px;
    margin-left: -8px;
  }
  .avatar-stack img:first-child {
    margin-left: 0;
  }
  .hero-proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .proof-headline {
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  .proof-stars {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .proof-headline strong {
    font-size: 12px;
  }
  .proof-count {
    font-size: 11px;
  }
  .proof-online-pill {
    font-size: 9.5px;
    padding: 1px 6px;
  }
  .proof-sub {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-watermark-quote {
    display: none;
  }
  .hero-floating-chat-card {
    display: none;
  }

  /* Genre Bar Mobile */
  .genre-bar-wrapper {
    margin-bottom: 20px;
    width: 100%;
  }
  .genre-pills-scroll {
    padding: 2px 0 6px 0;
  }
  .genre-see-all-link.desktop-only-link {
    display: none !important;
  }
  .genre-pill-more {
    display: inline-flex !important;
  }

  /* Section Title Mobile */
  .section-v2-header {
    margin-bottom: 12px;
  }
  .section-v2-title {
    font-size: 16.5px;
  }
  .section-v2-link {
    font-size: 12px;
  }

  /* 2-Column becomes 1 Column */
  .home-layout-v2 {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }
  .home-main-col {
    gap: 28px;
  }
  .home-sidebar-col {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    gap: 20px;
  }

  /* Grids on Tablet / Mobile */
  .novel-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .novel-v2-card {
    border-radius: 12px;
  }
  .novel-v2-body {
    padding: 8px 10px 10px 10px;
  }
  .novel-v2-title {
    font-size: 13px;
    line-height: 1.35;
    height: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .novel-v2-author {
    font-size: 11px;
    margin: 2px 0 5px 0;
  }
  .novel-badge-tag {
    font-size: 9.5px;
    padding: 3px 7px;
    top: 7px;
    right: 7px;
  }

  /* Continue Reading Mobile */
  .continue-reading-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .continue-card-item {
    padding: 10px;
    gap: 10px;
    border-radius: 12px;
  }

  /* Character Horizontal Swipe Mobile */
  .character-grid-5 {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 0 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .character-grid-5::-webkit-scrollbar {
    display: none;
  }
  .char-bottom-card {
    min-width: 124px;
    max-width: 124px;
    flex-shrink: 0;
    padding: 12px 8px;
    border-radius: 12px;
  }
  .char-bottom-avatar {
    width: 52px;
    height: 52px;
  }
  .char-bottom-name {
    font-size: 12.5px;
  }

  /* Sidebar cards Mobile */
  .sidebar-widget-card {
    padding: 16px 12px;
    border-radius: 14px;
  }
  .promo-sidebar-card {
    border-radius: 14px;
    min-height: 130px;
    padding: 18px 14px;
  }

  /* Value Proposition Mobile */
  .value-prop-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 14px;
    border-radius: 16px;
    margin-top: 24px;
  }
  .value-prop-item {
    gap: 12px;
  }
  .value-prop-icon-box {
    width: 40px;
    height: 40px;
  }

  /* Footer Newsletter Mobile */
  .footer-newsletter-wrap {
    padding: 28px 0;
  }
  .footer-newsletter-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 14px;
  }
  .newsletter-desc {
    font-size: 12px;
  }
  .newsletter-form-wrap {
    width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .newsletter-input {
    width: 100%;
  }
  .btn-newsletter-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PREMIUM SITE FOOTER (NOVELXA V2)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0d0f14 0%, #06070a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 42, 0.6), transparent);
  pointer-events: none;
}

/* Footer Newsletter Banner */
.footer-newsletter-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
  position: relative;
}

.footer-newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.footer-newsletter-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-info-col {
  max-width: 600px;
}

.newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #ff7a32;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(255, 106, 42, 0.12);
  border: 1px solid rgba(255, 106, 42, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.newsletter-title {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.newsletter-desc {
  font-size: 14px;
  color: #8e96a3;
  line-height: 1.55;
  margin: 0;
}

.newsletter-form-col {
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 5px 6px 5px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input-group:focus-within {
  border-color: #ff6a2a;
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.18);
}

.newsletter-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13.5px;
  padding: 8px 4px;
}

.newsletter-input-group input::placeholder {
  color: #64748b;
}

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 106, 42, 0.4);
}

/* Main Footer Columns Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 2.3fr 1.1fr 1.1fr 1.1fr 1.1fr;
  gap: 40px;
  padding: 56px 0 48px 0;
}

.footer-brand-col {
  padding-right: 24px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-tagline-pill {
  display: inline-block;
  background: rgba(255, 106, 42, 0.12);
  color: #ff6a2a;
  border: 1px solid rgba(255, 106, 42, 0.28);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-left: 8px;
  vertical-align: middle;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: #8e96a3;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* AI Service Status Pill */
.footer-ai-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 22px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Social Icon Links */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e96a3;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: #ff6a2a;
  border-color: #ff6a2a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
}

/* Footer Column Headings & Links */
.footer-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-left: 6px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 13.5px;
  color: #8e96a3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link-item a:hover {
  color: #ff7a32;
  transform: translateX(3px);
}

.footer-link-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(255, 106, 42, 0.15);
  color: #ff6a2a;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 106, 42, 0.3);
  text-transform: uppercase;
}

/* Bottom Sub-Footer / Copyright Bar (Rata Tengah) */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0 28px 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.footer-center-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-center-links a {
  font-size: 12.5px;
  color: #717b8c;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-center-links a:hover {
  color: #ff6a2a;
}

.center-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 11px;
}

.footer-copyright-text-center {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.footer-copyright-text-center strong {
  color: #cbd5e1;
  font-weight: 600;
}

/* Footer Responsive Breakpoints */
@media (max-width: 1100px) and (min-width: 993px) {
  .footer-main-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-col-legal {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
  }
  .footer-col-legal .footer-links-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Tablet & Mobile Layout: 2 Blok x 2 Blok Rata Tengah */

@media (max-width: 992px) {
  .site-footer {
    padding-bottom: 74px; /* Space for mobile bottom navigation */
  }

  /* Newsletter Card Centered */
  .footer-newsletter-wrap {
    padding: 32px 0 24px 0;
  }
  .footer-newsletter-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    gap: 18px;
    border-radius: 16px;
  }
  .newsletter-info-col {
    text-align: center;
    max-width: 100%;
  }
  .newsletter-badge {
    margin: 0 auto 10px auto;
  }
  .newsletter-title {
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
  }
  .newsletter-desc {
    font-size: 13px;
    text-align: center;
    line-height: 1.55;
    color: #94a3b8;
  }
  .newsletter-form-col {
    width: 100%;
    max-width: 100%;
  }
  .newsletter-input-group {
    flex-direction: column;
    padding: 8px;
    border-radius: 14px;
    gap: 8px;
    background: #08090d;
  }
  .newsletter-input-group input {
    width: 100%;
    text-align: center;
    padding: 9px 12px;
    font-size: 13px;
  }
  .newsletter-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
  }

  /* Main Footer Grid: 2 Blok x 2 Blok */
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 14px !important;
    padding: 36px 0 28px 0 !important;
  }

  /* Brand Column: Centered full-width at the top */
  .footer-brand-col {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-right: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-brand-logo {
    justify-content: center !important;
    margin: 0 auto 12px auto !important;
  }
  .footer-brand-desc {
    text-align: center !important;
    margin: 0 auto 18px auto !important;
    max-width: 380px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
  }
  .footer-social-links {
    justify-content: center !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }

  /* 4 Link Blocks: 2x2 Clean Cards Rata Tengah */
  .footer-col-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 16px 10px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    grid-column: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-col-legal {
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-col-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-col-title::after {
    display: none !important;
  }
  .footer-links-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 9px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .footer-link-item {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-link-item a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
    padding: 2px 4px !important;
    transition: color 0.18s ease !important;
  }
  .footer-link-item a:hover {
    color: #ff7a32 !important;
    transform: none !important;
  }

  /* Footer Bottom Bar Centered */
  .footer-bottom-bar {
    padding: 22px 14px 28px 14px !important;
    text-align: center !important;
  }
  .footer-bottom-centered {
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .footer-center-links {
    justify-content: center !important;
    text-align: center !important;
    gap: 8px 12px !important;
  }
  .footer-center-links a {
    font-size: 11.5px !important;
    color: #808b9d !important;
  }
  .footer-copyright-text-center {
    font-size: 11.5px !important;
    color: #64748b !important;
    text-align: center !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 480px) {
  .footer-main-grid {
    gap: 14px 10px !important;
  }
  .footer-col-nav {
    padding: 14px 8px !important;
    border-radius: 12px !important;
  }
  .footer-col-title {
    font-size: 13.5px !important;
    margin-bottom: 10px !important;
  }
  .footer-link-item a {
    font-size: 12px !important;
  }
}

/* ==========================================================================
   NOVEL DETAIL V2 (3-COLUMN HEADER & FULL-WIDTH CHAPTERS)
   ========================================================================== */

/* Breadcrumbs */
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin: 18px 0 24px 0;
  flex-wrap: wrap;
}
.detail-breadcrumbs a {
  color: #64748B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}
.detail-breadcrumbs a:hover {
  color: #ff6a2a;
}
.detail-breadcrumbs .bc-sep {
  color: #CBD5E1;
  font-size: 13px;
}
.detail-breadcrumbs .bc-current {
  color: #0F172A;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

/* 3-Column Header */
.novel-header-3col {
  display: grid;
  grid-template-columns: 240px 1.4fr 1.1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

/* Col 1: Cover */
.header-col-cover {
  display: flex;
  flex-direction: column;
}
.cover-wrapper-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.novel-main-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mature-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e11d48;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Col 2: Info */
.header-col-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.novel-badges-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.badge-genre-pill {
  font-size: 12px;
  font-weight: 700;
  color: #EA580C;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  padding: 4px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.18s;
}
.badge-genre-pill:hover {
  background: #FFEDD5;
  border-color: #FDBA74;
  color: #C2410C;
  transform: translateY(-1px);
}
.badge-mature-pill {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: #e11d48;
  padding: 4px 10px;
  border-radius: 9999px;
}

.novel-title-heading {
  font-family: var(--font-heading, inherit);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

/* Author Row */
.novel-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.author-avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFF7ED;
  border: 1.5px solid #ff6a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6a2a;
  flex-shrink: 0;
}
.author-label {
  font-size: 13.5px;
  color: #4B5563;
}
.author-name {
  color: #111827;
  font-weight: 800;
}
.btn-follow-author {
  background: #ff6a2a;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-follow-author:hover {
  background: #EA580C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 106, 42, 0.3);
}
.btn-follow-author.following {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

/* Stats Row */
.novel-stats-grid {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 24px;
}
.stat-pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-num {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  display: block;
  line-height: 1.2;
}
.stat-lbl {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
}

/* Actions */
.novel-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.btn-read-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 106, 42, 0.3);
  transition: all 0.2s ease;
}
.btn-read-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 106, 42, 0.4);
}
.btn-library-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #1E293B;
  border: 1.5px solid #E2E8F0;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-library-action:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}
.btn-library-action.bookmarked {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #059669;
}

/* Sub-meta */
.novel-submeta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
  flex-wrap: wrap;
}
.submeta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Col 3: Synopsis Card */
.header-col-synopsis {
  display: flex;
  flex-direction: column;
}
.synopsis-card-v2 {
  background: #FFFFFF;
  border: 1px solid #FED7AA;
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(255, 106, 42, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
}
.synopsis-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.synopsis-body-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #374151;
  max-height: 200px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}
.synopsis-body-text:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(180deg, transparent 0%, #FFFFFF 100%);
  pointer-events: none;
}
.synopsis-body-text.expanded {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 42, 0.3) transparent;
}
.synopsis-body-text.expanded::-webkit-scrollbar {
  width: 4px;
}
.synopsis-body-text.expanded::-webkit-scrollbar-track {
  background: transparent;
}
.synopsis-body-text.expanded::-webkit-scrollbar-thumb {
  background: rgba(255, 106, 42, 0.3);
  border-radius: 4px;
}
.btn-toggle-synopsis {
  background: none;
  border: none;
  color: #EA580C;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0 0 0;
  margin-top: 8px;
  text-align: left;
  transition: color 0.18s ease;
}
.btn-toggle-synopsis:hover {
  color: #C2410C;
}

/* Tabs Bar */
.novel-tabs-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 28px;
  overflow-x: auto;
}
.novel-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748B;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 4px 14px 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
  bottom: -2px;
}
.novel-tab-btn:hover {
  color: #0F172A;
}
.novel-tab-btn.active {
  color: #ff6a2a !important;
  font-weight: 900;
  border-bottom-color: #ff6a2a;
}

/* Tab Panels */
.novel-tab-panel {
  display: none;
}
.novel-tab-panel.active {
  display: block;
}

/* Card: Full-width Chapter List */
.chapter-fullwidth-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.chapter-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.chapter-card-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-sort-chapters {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-sort-chapters:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
}

/* Chapter Rows */
.chapter-rows-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chapter-row-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  transition: all 0.18s ease;
  text-decoration: none;
}
.chapter-row-v2:hover {
  background: #FFF7ED;
  border-color: #FED7AA;
  transform: translateX(3px);
}
.ch-col-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.ch-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  flex-shrink: 0;
}
.ch-info-box {
  min-width: 0;
}
.ch-info-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.ch-info-meta {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  display: block;
}
.ch-col-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.badge-ch-gratis {
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: 9999px;
}
.badge-ch-koin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #D97706;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 4px 12px;
  border-radius: 9999px;
}
.badge-ch-unlocked {
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-ch-baca {
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(255, 106, 42, 0.25);
}
.btn-ch-buka {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s ease;
}
.btn-ch-buka:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Load More Chapters */
.chapters-load-more-wrap {
  text-align: center;
  margin-top: 20px;
}
.btn-load-more-chapters {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-load-more-chapters:hover {
  background: #ff6a2a;
  border-color: #ff6a2a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 106, 42, 0.3);
}

/* Tab 2: Detail Info Grid */
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.detail-info-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.18s ease;
}
.detail-info-card:hover {
  background: #FFF7ED;
  border-color: #FED7AA;
  transform: translateY(-1px);
}
.detail-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-info-value {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

/* Tab 3: Reviews / Ulasan */
.detail-rating-summary-card {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.rating-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 24px;
  border-right: 1px solid #FED7AA;
  min-width: 140px;
}
.rating-big-num {
  font-size: 44px;
  font-weight: 900;
  color: #EA580C;
  line-height: 1;
  margin-bottom: 6px;
}
.rating-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}
.rating-count-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #9A3412;
}
.rating-info-col {
  flex: 1;
}
.rating-info-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.rating-info-desc {
  font-size: 13.5px;
  color: #4B5563;
  line-height: 1.5;
}

/* Review Compose Form (White Modern Luxury) */
.review-compose-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-compose-card:focus-within {
  border-color: rgba(255, 106, 42, 0.4);
  box-shadow: 0 6px 20px rgba(255, 106, 42, 0.08);
}

.review-compose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.review-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #FF6A2A;
  box-shadow: 0 2px 6px rgba(255, 106, 42, 0.15);
}

.review-user-meta {
  display: flex;
  flex-direction: column;
}

.review-user-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.review-user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

.review-guideline-hint {
  font-size: 12px;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.review-textarea-wrapper {
  margin-bottom: 12px;
}

.review-textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #0F172A;
  resize: vertical;
  min-height: 90px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.review-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #FF6A2A;
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.12);
}

.review-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.review-char-count {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 500;
}

.review-submit-btn {
  background: linear-gradient(135deg, #FF6A2A, #FF4500);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 106, 42, 0.28);
  transition: all 0.2s ease;
}

.review-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 106, 42, 0.38);
}

.review-submit-btn:active {
  transform: translateY(1px);
}

/* Guest Login Prompt for Reviews */
.review-login-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #FFF7ED;
  border: 1px dashed #FDBA74;
  border-radius: 16px;
  padding: 18px 22px;
}

.review-login-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-login-text {
  flex: 1;
  min-width: 200px;
}

.review-login-title {
  font-size: 14px;
  font-weight: 800;
  color: #9A3412;
  margin: 0 0 4px 0;
}

.review-login-subtitle {
  font-size: 12.5px;
  color: #C2410C;
  margin: 0;
  line-height: 1.45;
}

.review-login-btn {
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* Comments List & Cards */
.comments-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.comments-list-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-comment-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
}
.comment-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.comment-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #E2E8F0;
}
.comment-avatar-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #EA580C;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comment-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}
.comment-role-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.comment-role-badge.badge-author {
  background: rgba(255, 106, 42, 0.12);
  color: #EA580C;
  border: 1px solid rgba(255, 106, 42, 0.3);
}
.comment-role-badge.badge-admin {
  background: rgba(124, 58, 237, 0.12);
  color: #7C3AED;
  border: 1px solid rgba(124, 58, 237, 0.3);
}
  color: #0F172A;
}
.comment-date-lbl {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
}
.comment-text-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* Section Characters */
.section-characters-v2 {
  margin-bottom: 36px;
}
.characters-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.characters-header-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}
.characters-header-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EA580C;
}
.characters-see-all-link {
  font-size: 13px;
  font-weight: 700;
  color: #EA580C;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.characters-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.novel-char-card-v2 {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.novel-char-card-v2:hover {
  border-color: #FED7AA;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 106, 42, 0.1);
  background: #FFFDF8;
}
.char-v2-avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid #E2E8F0;
  flex-shrink: 0;
}
.char-v2-info {
  min-width: 0;
  flex: 1;
}
.char-v2-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.char-v2-role {
  font-size: 12px;
  color: #64748B;
  display: block;
  margin-bottom: 4px;
}
.char-v2-tag {
  font-size: 10.5px;
  color: #EA580C;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* AI Character Chat Novel Banner */
.ai-chat-novel-banner {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
  border: 1.5px solid #FED7AA;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(255, 106, 42, 0.08);
}
.ai-banner-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  pointer-events: none;
}
.ai-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFF7ED 35%, rgba(255, 247, 237, 0.85) 65%, transparent 100%);
  pointer-events: none;
}
.ai-banner-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
}
.ai-banner-title {
  font-size: 21px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.ai-banner-desc {
  font-size: 13.5px;
  color: #4B5563;
  margin-bottom: 14px;
  line-height: 1.5;
}
.btn-ai-banner-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 106, 42, 0.35);
  transition: all 0.18s;
}
.btn-ai-banner-chat:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 106, 42, 0.45);
}

/* Responsive Rules for Novel Detail */
@media (max-width: 1100px) {
  .novel-header-3col {
    grid-template-columns: 200px 1.2fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .novel-header-3col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .header-col-cover {
    align-items: center;
  }
  .cover-wrapper-box {
    max-width: 220px;
  }
  .header-col-info {
    text-align: center;
    align-items: center;
  }
  .novel-badges-wrap, .novel-author-row, .novel-actions-row, .novel-submeta-row {
    justify-content: center;
  }
  .novel-stats-grid {
    justify-content: center;
  }
  .ai-chat-novel-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .ai-banner-bg-img {
    width: 100%;
    opacity: 0.2;
  }
  .ai-banner-overlay {
    background: linear-gradient(180deg, #FFF7ED 40%, rgba(255, 247, 237, 0.95) 100%);
  }
}

@media (max-width: 640px) {
  .novel-title-heading {
    font-size: 24px;
  }
  .novel-stats-grid {
    gap: 16px;
  }
  .chapter-fullwidth-card {
    padding: 18px 14px;
  }
  .chapter-row-v2 {
    padding: 12px 14px;
  }
  .ch-info-title {
    font-size: 13.5px;
  }
  .characters-cards-grid {
    grid-template-columns: 1fr;
  }
  .detail-rating-summary-card {
    flex-direction: column;
    text-align: center;
  }
  .rating-score-col {
    border-right: none;
    border-bottom: 1px solid #FED7AA;
    padding-right: 0;
    padding-bottom: 16px;
  }
}

/* ==========================================================================
   EXPLORE / CATALOG V2 STYLES
   ========================================================================== */
.explore-page-wrapper {
  padding: 10px 0 60px 0;
}

/* Hero Banner */
.explore-hero-banner {
  margin-bottom: 24px;
}
.explore-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 106, 42, 0.1);
  border: 1px solid rgba(255, 106, 42, 0.25);
  color: #ff6a2a;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.explore-hero-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.explore-hero-subtitle {
  color: #8e96a3;
  font-size: 14.5px;
  max-width: 680px;
  line-height: 1.5;
}

/* Filter Controls Card */
.explore-filter-card {
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.explore-filter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #8e96a3;
  pointer-events: none;
}
.filter-search-input {
  width: 100%;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 9999px;
  padding: 11px 40px 11px 42px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}
.filter-search-input:focus {
  border-color: #ff6a2a;
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.15);
  background: #10131a;
}
.filter-search-input::placeholder {
  color: #555d6b;
}
.filter-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e96a3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s;
}
.filter-search-clear:hover {
  color: #ff6a2a;
}
.filter-dropdowns-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-select-label {
  font-size: 12.5px;
  color: #8e96a3;
  font-weight: 600;
  display: none;
}
.select-box {
  position: relative;
}
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 34px 10px 14px;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-select:focus, .filter-select:hover {
  border-color: rgba(255, 106, 42, 0.4);
}
.filter-select option {
  background: #12151c;
  color: #ffffff;
}
.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #8e96a3;
  pointer-events: none;
}
.btn-filter-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff6a2a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-filter-submit:hover {
  background: #ff7a32;
  transform: translateY(-1px);
}

/* Horizontal Genre Scroll */
.explore-genres-container {
  margin-bottom: 22px;
}
.explore-genres-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.explore-genres-scroll::-webkit-scrollbar {
  height: 4px;
}
.explore-genres-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.genre-pill-v2 {
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  background: #12151c;
  color: #8e96a3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  text-decoration: none;
}
.genre-pill-v2:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 42, 0.3);
  background: #171a22;
}
.genre-pill-v2.active {
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  border-color: #ff6a2a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
}

/* Meta Results Bar */
.explore-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.meta-count-info {
  font-size: 13.5px;
  color: #8e96a3;
}
.meta-page-badge {
  margin-left: 8px;
  font-size: 12px;
  color: #606877;
}
.active-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 9999px;
}
.chip-remove {
  color: #8e96a3;
  cursor: pointer;
  font-weight: bold;
  font-size: 11px;
}
.chip-remove:hover {
  color: #ff6a2a;
}
.btn-reset-filters {
  font-size: 12px;
  color: #ff6a2a;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}
.btn-reset-filters:hover {
  color: #ff7a32;
}

/* Novel Grid - Strict 6 columns on large screen */
.explore-novels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.badge-tag-completed {
  background: #10b981;
}
.novel-card-rating-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Empty State */
.explore-empty-state {
  text-align: center;
  padding: 70px 24px;
  background: #12151c;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  margin: 30px 0;
}
.empty-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 106, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}
.empty-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.empty-desc {
  color: #8e96a3;
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pagination */
.explore-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.explore-pagination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #12151c;
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #8e96a3;
  transition: all 0.2s;
  text-decoration: none;
}
.pag-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.pag-btn.active {
  background: #ff6a2a;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 106, 42, 0.4);
}
.pag-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pag-dots {
  color: #606877;
  padding: 0 4px;
  font-size: 13px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .explore-novels-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .explore-novels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .explore-novels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .filter-search-box {
    min-width: 100%;
  }
  .filter-dropdowns-group {
    width: 100%;
    justify-content: space-between;
  }
  .filter-select {
    flex: 1;
  }
}
@media (max-width: 520px) {
  .explore-novels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .novel-v2-body {
    padding: 10px 8px;
  }
  .novel-v2-title {
    font-size: 12px;
  }
  .novel-v2-author {
    font-size: 10.5px;
    margin-bottom: 6px;
  }
  .novel-genre-tag {
    font-size: 9px;
    padding: 1px 4px;
  }
  .explore-hero-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   STATIC PAGES (LEGAL, HELP, ABOUT, GUIDE)
   ========================================================================== */
.static-page-wrapper {
  padding: 16px 0 60px 0;
  max-width: 980px;
  margin: 0 auto;
}

.static-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.static-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 106, 42, 0.1);
  border: 1px solid rgba(255, 106, 42, 0.25);
  color: #ff6a2a;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.static-page-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.static-page-subtitle {
  font-size: 14.5px;
  color: #8e96a3;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.static-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.static-nav-link {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8e96a3;
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.static-nav-link:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 42, 0.3);
  background: #171a22;
}

.static-nav-link.active {
  background: linear-gradient(135deg, #ff6a2a 0%, #ff7a32 100%);
  color: #ffffff;
  border-color: #ff6a2a;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
  font-weight: 700;
}

.static-content-card {
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 38px 42px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.static-content-card h2 {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 30px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.static-content-card h2:first-child {
  margin-top: 0;
}

.static-content-card p {
  color: #a0a8b6;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.static-content-card ul {
  color: #a0a8b6;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  padding-left: 24px;
}

.static-content-card li {
  margin-bottom: 8px;
}

.static-callout-box {
  background: rgba(255, 106, 42, 0.08);
  border-left: 3px solid #ff6a2a;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 22px 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-answer {
  color: #8e96a3;
  font-size: 14px;
  line-height: 1.7;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-card-item {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-item:hover {
  border-color: rgba(255, 106, 42, 0.4);
  transform: translateY(-2px);
  background: #10131a;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 106, 42, 0.12);
  color: #ff6a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.contact-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.contact-card-desc {
  color: #8e96a3;
  font-size: 12.5px;
}

@media (max-width: 768px) {
  .static-content-card {
    padding: 24px 20px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .static-page-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   AUTHENTICATION & GOOGLE SIGN-IN STYLES
   ========================================================================== */
.auth-page-container {
  max-width: 440px;
  margin: 40px auto;
  padding: 0 16px 60px 16px;
}

.auth-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #ffffff;
  color: #1f2937;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.btn-google-auth:hover {
  background: #f9fafb;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.btn-google-auth:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-google-auth .google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-dim);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-divider span {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #606877;
}

@media (max-width: 480px) {
  .auth-page-container {
    margin: 20px auto;
    padding: 0 12px 40px 12px;
  }
  .auth-box-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* Global Ultra-Fast Page Transition Indicator */
#nx-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff6a2a, #ff9f43);
  box-shadow: 0 0 10px #ff6a2a, 0 0 5px #ff9f43;
  z-index: 999999;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
  opacity: 0;
}

/* Global Pill Tags */
.genre-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  user-select: none;
}
.genre-pill:hover {
  background: rgba(255, 106, 42, 0.15);
  border-color: rgba(255, 106, 42, 0.4);
  color: var(--accent);
}

/* ==========================================================================
   GLOBAL PREMIUM NOVELXA MODAL & TOAST SYSTEM
   ========================================================================== */
.novelxa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.novelxa-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.novelxa-modal-card {
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 32px 28px 28px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 106, 42, 0.12);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.novelxa-modal-overlay.active .novelxa-modal-card {
  transform: scale(1) translateY(0);
}
.novelxa-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF6A2A, transparent);
}
.novelxa-modal-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.novelxa-modal-icon-wrap.type-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.25);
}
.novelxa-modal-icon-wrap.type-success {
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.25);
}
.novelxa-modal-icon-wrap.type-error {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.25);
}
.novelxa-modal-icon-wrap.type-info {
  background: rgba(255, 106, 42, 0.15);
  border: 2px solid rgba(255, 106, 42, 0.4);
  color: #FF6A2A;
  box-shadow: 0 0 28px rgba(255, 106, 42, 0.25);
}
.novelxa-modal-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.novelxa-modal-msg {
  font-size: 13.5px;
  color: var(--text-muted, #8E96A3);
  line-height: 1.6;
  margin-bottom: 24px;
}
.btn-novelxa-modal-primary {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 106, 42, 0.35);
  transition: all 0.2s ease;
}
.btn-novelxa-modal-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(255, 106, 42, 0.45);
}

/* Toast Container */
.novelxa-toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.novelxa-toast {
  pointer-events: auto;
  background: rgba(18, 21, 28, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 106, 42, 0.15);
  border-radius: 9999px;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  animation: toastFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}
@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   NOVELXA WHITE MODERN UI COMPONENTS
   High-Fidelity Implementation matching Desktop & Mobile Mockup
   ========================================================================== */

/* 1. Cinematic White Modern Hero Banner */
.wm-hero-banner {
  background: linear-gradient(135deg, #161822 0%, #0d0f15 100%);
  border-radius: 24px;
  min-height: 410px;
  position: relative;
  overflow: hidden;
  margin: 18px 0 24px 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.wm-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.95;
  filter: contrast(1.03) brightness(0.98);
}

.wm-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0f15 0%, #0d0f15f0 32%, rgba(13, 15, 21, 0.72) 56%, rgba(13, 15, 21, 0.15) 82%, transparent 100%);
  z-index: 1;
}

.wm-hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 40px;
  max-width: 580px;
}

.wm-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 106, 42, 0.16);
  border: 1px solid rgba(255, 106, 42, 0.35);
  color: #ff8a4a;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.wm-hero-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.wm-hero-title .text-accent {
  color: #ff8a4a;
}

.wm-hero-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.wm-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wm-btn-primary {
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(255, 106, 42, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.wm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 106, 42, 0.45);
}

.wm-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wm-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Floating Chat AI Card inside Hero */
.wm-hero-floating-chat {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 280px;
  background: rgba(20, 24, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wm-floating-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.wm-floating-chat-title {
  font-size: 11px;
  font-weight: 700;
  color: #ff8a4a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wm-floating-char-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wm-floating-char-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6a2a;
}

.wm-floating-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-top-left-radius: 2px;
  padding: 8px 12px;
  font-size: 12px;
  color: #f1f5f9;
  line-height: 1.4;
}

.wm-floating-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 11px;
}

/* 2. Quick Genre / Filter Pills Row */
.wm-genre-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.wm-genre-pills-row::-webkit-scrollbar {
  display: none;
}

.wm-genre-pill-card {
  background: #ffffff;
  border: 1px solid #f0f2f5;
  border-radius: 9999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.wm-genre-pill-card:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
}

.wm-genre-pill-card.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.3);
}

/* 3. Main 2-Column Grid Layout */
.wm-main-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* Sticky / Floating Right Sidebar */
.wm-sidebar-col {
  position: sticky;
  top: calc(var(--header-height, 64px) + 16px);
  align-self: start;
  z-index: 10;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.wm-sidebar-col::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 1024px) {
  .wm-main-grid-layout {
    grid-template-columns: 1fr;
  }
  .wm-sidebar-col {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .wm-hero-floating-chat {
    display: none;
  }
  .wm-hero-content {
    max-width: 100%;
  }
}

/* 4. Section Headers */
.wm-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wm-section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.wm-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.wm-section-link:hover {
  gap: 6px;
  color: #ea580c;
}

/* 5. 4-Column Book Cards Grid */
.wm-books-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .wm-books-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.wm-book-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f2f5;
}

.wm-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}

.wm-book-cover-box {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f1f3f8;
}

.wm-book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wm-book-card:hover .wm-book-cover-img {
  transform: scale(1.05);
}

.wm-book-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wm-book-body {
  padding: 12px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.wm-book-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-book-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #6b7280;
  margin-top: auto;
  padding-top: 4px;
}

.wm-book-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: #d97706;
}

.wm-book-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #6b7280;
}

/* 6. Right Sidebar Cards */
.wm-sidebar-card {
  background: #ffffff;
  border: 1px solid #f0f2f5;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}

/* Peringkat Terpopuler Tabs */
.wm-rank-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fd;
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 16px;
}

.wm-rank-tab {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wm-rank-tab.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 106, 42, 0.3);
}

.wm-rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wm-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.wm-rank-item:hover {
  background: #f8f9fd;
}

.wm-rank-num {
  font-size: 15px;
  font-weight: 900;
  color: #9ca3af;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.wm-rank-num.rank-1 {
  color: #FF6A2A;
  font-size: 16px;
}

.wm-rank-thumb {
  width: 40px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.wm-rank-info {
  flex: 1;
  min-width: 0;
}

.wm-rank-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.wm-rank-views {
  font-size: 11.5px;
  color: #d97706;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Penulis Terpopuler */
.wm-author-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.wm-author-item:last-child {
  border-bottom: none;
}

.wm-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.wm-author-info {
  flex: 1;
  min-width: 0;
}

.wm-author-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 2px;
}

.wm-author-meta {
  font-size: 11.5px;
  color: #6b7280;
}

.wm-btn-follow {
  background: var(--accent);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wm-btn-follow:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

/* VIP Premium Promo Card */
.wm-vip-card {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(254, 215, 170, 0.25);
}

.wm-vip-crown-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.wm-vip-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: #9a3412;
  margin-bottom: 6px;
}

.wm-vip-desc {
  font-size: 12.5px;
  color: #7c2d12;
  line-height: 1.5;
  margin-bottom: 16px;
}

.wm-btn-upgrade {
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 12px;
  display: block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
  text-decoration: none;
  transition: all 0.2s ease;
}

.wm-btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 42, 0.45);
}

/* 7. Chat AI Interactive Section ("Ngobrol dengan Karakter Favoritmu") */
.wm-chat-showcase-wrap {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 50%, #fef7f2 100%);
  border: 1px solid #fed7aa;
  border-radius: 28px;
  padding: 34px 34px;
  margin: 36px 0;
  box-shadow: 0 10px 30px rgba(255, 106, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.wm-chat-showcase-wrap::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.wm-chat-inner-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}


@media (max-width: 992px) {
  .wm-chat-inner-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.wm-chat-banner-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wm-chat-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ea580c;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.wm-chat-banner-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 12px;
}

.wm-chat-banner-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 22px;
}

.wm-chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.35);
  transition: all 0.25s ease;
}

.wm-chat-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 42, 0.45);
}

/* Stage wrapper for character carousel */
.wm-char-carousel-stage-wrap {
  position: relative;
  width: 100%;
  padding: 0 4px;
}

.wm-char-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 14px 2px;
}

.wm-char-carousel::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .wm-char-carousel {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }
}

@media (max-width: 768px) {
  .wm-char-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
  }
}

/* Character Card */
.wm-char-card {
  background: #111827;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4.2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .wm-char-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }
}

.wm-char-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.wm-char-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wm-char-card:hover .wm-char-bg-img {
  transform: scale(1.07);
}

/* Online Badge at top right */
.wm-char-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.wm-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: wmPulse 2s infinite ease-in-out;
}

@keyframes wmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.wm-char-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,15,25,0.6) 65%, rgba(10,15,25,0.95) 100%);
  z-index: 1;
}

.wm-char-card-body {
  position: relative;
  z-index: 2;
}

.wm-char-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-char-role {
  font-size: 11px;
  color: #cbd5e1;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-btn-char-chat {
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 106, 42, 0.4);
  transition: all 0.2s ease;
}

.wm-btn-char-chat:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 106, 42, 0.55);
}

/* Circular Arrow Buttons */
.wm-carousel-arrow {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #fed7aa;
  color: #ea580c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.wm-carousel-arrow:hover {
  background: #FF6A2A;
  border-color: #FF6A2A;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 106, 42, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.wm-carousel-arrow.prev {
  left: -16px;
}

.wm-carousel-arrow.next {
  right: -16px;
}


@media (max-width: 992px) {
  .wm-carousel-arrow {
    display: none;
  }
}

/* Dots Indicator */
.wm-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.wm-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #fed7aa;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wm-dot.active {
  width: 22px;
  background: #FF6A2A;
}

/* 8. Lanjutkan Membaca Progress Row */
.wm-reading-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .wm-reading-row {
    grid-template-columns: 1fr;
  }
}

.wm-reading-item {
  background: #ffffff;
  border: 1px solid #f0f2f5;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  transition: all 0.2s ease;
}

.wm-reading-item:hover {
  transform: translateY(-2px);
  border-color: #fed7aa;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.wm-reading-thumb {
  width: 44px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.wm-reading-info {
  flex: 1;
  min-width: 0;
}

.wm-reading-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.wm-reading-bar-bg {
  width: 100%;
  height: 5px;
  background: #f1f3f8;
  border-radius: 9999px;
  overflow: hidden;
}

.wm-reading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6A2A, #f97316);
  border-radius: 9999px;
}

.wm-reading-pct {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  margin-left: 8px;
}

/* 9. Feature Highlights ("Kenapa Harus NovelXa?") */
.wm-why-section {
  text-align: center;
  margin: 44px 0 32px 0;
}

.wm-why-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 6px;
}

.wm-why-desc {
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 24px;
}

.wm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

@media (max-width: 768px) {
  .wm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wm-why-card {
  background: #ffffff;
  border: 1px solid #f0f2f5;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.wm-why-card:hover {
  transform: translateY(-3px);
  border-color: #fed7aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.wm-why-card.highlighted {
  border-color: #fed7aa;
  background: #fffdfb;
}

.wm-why-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wm-why-card-desc {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* 10. Mobile App Promo Banner (Luxury White Modern Edition) */
.wm-app-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fffcf9 50%, #fef5ee 100%);
  border: 1px solid #fed7aa;
  border-radius: 32px;
  padding: 44px 52px;
  margin: 44px 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(255, 106, 42, 0.05);
}


@media (max-width: 992px) {
  .wm-app-banner {
    flex-direction: column;
    padding: 36px 24px;
    text-align: center;
    gap: 36px;
  }
}

/* Left Mockup Graphic Wrap */
.wm-app-mockup-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 10px 0;
}

/* Vibrant Orange Organic Backdrop Circle */
.wm-app-blob-backdrop {
  position: absolute;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  box-shadow: 0 16px 40px rgba(255, 106, 42, 0.35);
}

.wm-app-phones-group {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* Real Modern Phone Device */
.wm-phone-device {
  width: 148px;
  height: 290px;
  background: #0f172a;
  border: 3.5px solid #1e293b;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

/* Notch / Dynamic Island */
.wm-phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 6px;
  background: #000000;
  border-radius: 9999px;
  z-index: 10;
}

/* Screen */
.wm-phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Back Phone (Novel View) */
.wm-phone-back {
  transform: rotate(-6deg) translateY(6px);
  z-index: 2;
}

.wm-phone-novel-screen {
  background: #111827;
  position: relative;
}

.wm-phone-novel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wm-phone-novel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10,15,25,0.7) 50%, rgba(10,15,25,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 10px;
  color: #ffffff;
}

.wm-phone-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 106, 42, 0.9);
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.wm-phone-novel-title {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-phone-novel-meta {
  font-size: 8px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.wm-phone-novel-btn {
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 9999px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 106, 42, 0.4);
}

/* Front Phone (Chat Screen) */
.wm-phone-front {
  transform: rotate(5deg) translateY(-8px);
  margin-left: -32px;
  z-index: 3;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.wm-phone-chat-screen {
  background: #f8fafc;
  padding: 18px 8px 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wm-phone-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.wm-phone-chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #FF6A2A;
}

.wm-phone-chat-name {
  font-size: 9px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.wm-phone-chat-status {
  font-size: 7.5px;
  color: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.wm-status-dot-mini {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
}

.wm-phone-chat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
}

.wm-phone-bubble {
  font-size: 8px;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 10px;
  max-width: 90%;
}

.wm-phone-bubble.incoming {
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.wm-phone-bubble.outgoing {
  background: linear-gradient(135deg, #FF6A2A 0%, #ea580c 100%);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 600;
}

.wm-phone-chat-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 3px 6px 3px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7.5px;
  color: #94a3b8;
}

.wm-phone-chat-send {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF6A2A;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover effect on phones */
.wm-app-phones-group:hover .wm-phone-back {
  transform: rotate(-8deg) translateY(2px) scale(1.02);
}

.wm-app-phones-group:hover .wm-phone-front {
  transform: rotate(3deg) translateY(-12px) scale(1.03);
}

/* Right Content Info */
.wm-app-info {
  max-width: 520px;
}

.wm-app-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ea580c;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.wm-app-headline {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 12px;
}

.wm-app-headline span {
  color: #FF6A2A;
}

.wm-app-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Store Buttons */
.wm-app-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}


@media (max-width: 992px) {
  .wm-app-buttons {
    justify-content: center;
  }
}

.wm-store-btn {
  background: #0f172a;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.wm-store-btn:hover {
  background: #020617;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  border-color: #FF6A2A;
}

.wm-store-btn-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wm-store-sub {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  line-height: 1;
  margin-bottom: 3px;
}

.wm-store-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

/* Mini Perks Row */
.wm-app-perks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}


@media (max-width: 992px) {
  .wm-app-perks {
    justify-content: center;
  }
}

.wm-app-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}



