/* ==========================================================================
   ISLAMI COMICS - EXPLORE PLATFORM STYLESHEET (css/explore.css)
   Full Explore Suite - Responsive for Desktop & Mobile
   ========================================================================== */

:root {
  --brand-green: #1a4332;
  --brand-green-dark: #122d22;
  --brand-green-light: #2d6a4f;
  --brand-green-soft: #eaf3ed;
  --brand-gold: #d4973b;
  --brand-gold-soft: #fcf6eb;
  
  --bg-page: #f8f6f0;
  --bg-card: #ffffff;
  --bg-subtle: #f0eae1;
  --bg-subtle-hover: #e6dfd3;
  
  --text-dark: #18221b;
  --text-muted: #57655c;
  --text-subtle: #87968e;
  
  --border-color: #e5dec9;
  --border-subtle: #efe9dc;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   TOP HEADER NAVBAR
   ========================================================================== */
.comics-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.comics-header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 20px;
  color: var(--text-dark);
  padding: 6px;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.btn-home:hover {
  background: var(--bg-subtle-hover);
  color: var(--brand-green);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-green), #245840);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1.5px solid var(--brand-gold);
  box-shadow: 0 2px 6px rgba(26, 67, 50, 0.2);
}

.brand-text-wrap h1 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--brand-green);
  line-height: 1.1;
}

.brand-text-wrap h1 span {
  color: var(--brand-gold);
}

.brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

/* Header Center Search */
.header-center {
  flex: 1;
  max-width: 440px;
  min-width: 140px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  font-size: 13px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 8px 36px 8px 36px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fdfbf7;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 67, 50, 0.08);
}

/* Header Right Nav */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link-btn:hover {
  color: var(--brand-green);
  background: var(--bg-subtle);
}

.nav-btn-active-pill {
  background: var(--brand-green);
  color: #ffffff;
  border: 1px solid var(--brand-green);
}

.btn-studio-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #edf6f0;
  color: var(--brand-green);
  border: 1px solid #c9e2d5;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-studio-header:hover {
  background: #d8ebd0;
}

.notif-bell-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-dark);
  transition: all 0.2s;
  flex-shrink: 0;
}

.notif-bell-btn:hover {
  background: var(--bg-subtle-hover);
}

.notif-badge-pill {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ea580c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User Profile Wrapper & Dropdown */
.user-profile-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.user-profile-btn:hover {
  background: var(--bg-subtle);
}

.user-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brand-gold);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 8px;
  display: none !important;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}

.user-dropdown-menu.open {
  display: flex !important;
}

.dropdown-header-info {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.dropdown-user-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-green);
}

.dropdown-user-email {
  font-size: 10px;
  color: var(--text-muted);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

.dropdown-item i {
  font-size: 12px;
  width: 16px;
  color: var(--text-muted);
}

.dropdown-item:hover i {
  color: var(--brand-green);
}

/* ==========================================================================
   2-COLUMN EXPLORE PAGE MAIN LAYOUT
   ========================================================================== */
.explore-main-layout {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

/* Left Sidebar */
.sidebar-explore {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-group-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
  padding-left: 8px;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
  width: 100%;
}

.sidebar-menu-item i {
  font-size: 13px;
  width: 16px;
  color: var(--text-muted);
}

.sidebar-menu-item:hover {
  background: var(--bg-subtle);
  color: var(--brand-green);
}

.sidebar-menu-item.active {
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
}

.sidebar-menu-item.active i {
  color: #fff;
}

.sidebar-artist-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.sidebar-artist-title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.sidebar-artist-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.sidebar-artist-img-wrap {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fdfbf7;
}

.sidebar-artist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-sidebar-studio {
  padding: 8px;
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  transition: all 0.2s;
}

.btn-sidebar-studio:hover {
  background: var(--brand-green-light);
}

/* ==========================================================================
   RIGHT CONTENT AREA
   ========================================================================== */
.explore-content-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Panorama Hero Banner */
.explore-hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(248, 246, 240, 0.95) 0%, rgba(248, 246, 240, 0.7) 45%, rgba(248, 246, 240, 0.2) 100%),
              url('/assets/comics/explore-banner.jpg') right center / cover no-repeat;
  color: var(--text-dark);
  padding: 32px 36px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explore-hero-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.explore-hero-title span {
  color: var(--brand-gold);
}

.explore-hero-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 480px;
}

.explore-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-explore-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s;
}

.btn-explore-cta:hover {
  background: var(--brand-green-light);
}

.btn-explore-cta-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

/* Category Chips Scroll Row */
.category-chips-scroll-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.explore-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  white-space: nowrap;
  transition: all 0.2s;
}

.explore-cat-pill:hover {
  border-color: var(--brand-green);
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

.explore-cat-pill.active {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}

/* Horizontal Comics Scroll Tracks */
.explore-track-container {
  position: relative;
}

.explore-horizontal-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px;
  scrollbar-width: none;
}

.explore-horizontal-row::-webkit-scrollbar {
  display: none;
}

/* Section Header */
.explore-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.explore-sec-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.explore-sec-view-all {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-gold);
}

/* Card: Vertical Comic */
.comic-vert-card {
  width: 160px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.comic-vert-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #121815;
}

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

.comic-vert-card:hover .comic-vert-cover img {
  transform: scale(1.06);
}

.comic-vert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 13, 0.85) 0%, rgba(10, 16, 13, 0.1) 60%, rgba(10, 16, 13, 0.3) 100%);
}

.comic-vert-badge-pill {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.comic-vert-badge-pill.green { background: #059669; }
.comic-vert-badge-pill.amber { background: #b45309; }
.comic-vert-badge-pill.blue { background: #0284c7; }
.comic-vert-badge-pill.purple { background: #7c3aed; }
.comic-vert-badge-pill.sky { background: #0ea5e9; }
.comic-vert-badge-pill.emerald { background: #059669; }

.comic-vert-bookmark {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  z-index: 3;
  transition: all 0.2s;
}

.comic-vert-bookmark:hover {
  background: #10b981;
}

.comic-vert-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.comic-vert-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comic-vert-author {
  font-size: 9px;
  color: var(--text-muted);
}

.comic-vert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
}

.comic-vert-rating {
  font-weight: 700;
  color: var(--text-dark);
}

.comic-vert-rating i {
  color: #f59e0b;
}

.comic-vert-price {
  font-weight: 900;
  color: var(--brand-green);
}

.comic-vert-price.free {
  color: #10b981;
}

/* Card: Ranked Trending (1-6) */
.comic-ranked-card {
  width: 160px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s;
}

.comic-ranked-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
}

.comic-ranked-thumb {
  position: relative;
  height: 100px;
  overflow: hidden;
  background-color: #121815;
}

.comic-ranked-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comic-rank-number {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #ea580c;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.comic-ranked-title-overlay {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.comic-ranked-body {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comic-ranked-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
}

.comic-ranked-price {
  font-size: 10px;
  font-weight: 900;
  color: var(--brand-green);
}

/* Card: New Releases */
.comic-release-card {
  width: 160px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s;
}

.comic-release-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
}

.comic-release-thumb {
  position: relative;
  height: 100px;
  overflow: hidden;
  background-color: #121815;
}

.comic-release-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-new-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #2563eb;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  z-index: 2;
}

.btn-explore-scroll-arrow {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-dark);
  z-index: 10;
  transition: all 0.2s;
}

.btn-explore-scroll-arrow:hover {
  background: var(--brand-green);
  color: #fff;
}

/* Continue Reading Banner */
.continue-reading-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.continue-reading-left-sec {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.continue-reading-thumb {
  width: 90px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.continue-reading-info {
  flex: 1;
}

/* Duo Cards */
.duo-studio-creator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.duo-story-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.duo-creator-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.duo-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.duo-metric-box {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.duo-metric-box i {
  font-size: 12px;
  color: var(--brand-green);
}

/* 4 USP Feature Badges */
.explore-usp-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.explore-usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-usp-item i {
  font-size: 14px;
  color: var(--brand-green);
}

.explore-usp-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dark);
}

.explore-usp-desc {
  font-size: 8px;
  color: var(--text-muted);
}

/* ==========================================================================
   STICKY MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  z-index: 990;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}

.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  flex: 1;
  height: 100%;
  transition: all 0.2s;
}

.mob-nav-item i {
  font-size: 16px;
}

.mob-nav-item.active {
  color: var(--brand-green);
  font-weight: 900;
}

/* Mobile Slide-Out Drawer Menu */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-drawer-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer-overlay.open .mobile-drawer-sidebar {
  transform: translateX(0);
}

/* ==========================================================================
   MODAL DIALOGS (Reader)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 13, 0.78);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-window.dark {
  background: #121815;
  color: #fff;
  border: 1px solid rgba(212, 151, 59, 0.3);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-window.dark .modal-header {
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-green-soft);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.modal-window.dark .modal-header-icon {
  background: rgba(212, 151, 59, 0.2);
  color: var(--brand-gold);
}

.modal-h3 {
  font-size: 16px;
  font-weight: 800;
}

.modal-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-window.dark .modal-sub {
  color: #9eb1a8;
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.modal-window.dark .btn-close-modal {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reader-canvas {
  height: 340px;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reader-dialogue-box {
  background: rgba(14, 22, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 151, 59, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #fff;
}

.reader-dialogue-text {
  font-size: 14px;
  font-weight: 700;
  color: #f7ca97;
  margin-bottom: 6px;
}

.reader-narration-text {
  font-size: 12px;
  color: #e5ede9;
}

.reader-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
}

.btn-reader-nav {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE ADAPTATION)
   ========================================================================== */
@media (max-width: 960px) {
  body {
    padding-bottom: 60px;
  }

  .explore-main-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 60px;
  }

  .sidebar-explore {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .btn-home, .header-center, .header-right .nav-link-btn, .header-right .btn-studio-header {
    display: none;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .explore-hero-card {
    padding: 24px 20px;
    min-height: 180px;
  }

  .explore-hero-title {
    font-size: 22px;
  }

  .duo-studio-creator-grid {
    grid-template-columns: 1fr;
  }

  .explore-usp-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
