/* ==========================================================================
   ISLAMI COMICS - MODERN EXPLORE DESIGN SYSTEM (css/comics.css)
   Clean, Elegant, Responsive & High Performance
   ========================================================================== */

: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: #f9f8f5;
  --bg-card: #ffffff;
  --bg-subtle: #f2ede4;
  --bg-subtle-hover: #e8e1d5;
  
  --text-dark: #151d18;
  --text-muted: #5d6d64;
  --text-subtle: #8a9990;
  
  --border-color: #e5dec9;
  --border-subtle: #eee8d8;
  
  --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;
}

/* Reset & Base */
*, *::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);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  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);
}

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

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

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

.brand-text-wrap h1 {
  font-size: 17px;
  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: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

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

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

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

.search-input {
  width: 100%;
  padding: 9px 40px 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fdfbf7;
  font-size: 13px;
  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);
}

.search-clear-btn {
  position: absolute;
  right: 38px;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px;
}

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

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

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

.btn-studio-pill {
  background: #edf6f0;
  color: var(--brand-green);
  border: 1px solid #c9e2d5;
}

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

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

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

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

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

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

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

/* ==========================================================================
   LEFT SIDEBAR NAVIGATION
   ========================================================================== */
.sidebar-explore {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.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: 6px;
  padding-left: 10px;
}

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

.sidebar-menu-item i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

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

.sidebar-menu-item.active {
  background: var(--brand-green-soft);
  color: var(--brand-green);
  font-weight: 800;
  border-left: 3px solid var(--brand-green);
}

.sidebar-menu-item.active i {
  color: var(--brand-green);
}

/* Sidebar Bottom: CREATE YOUR STORY Banner Card */
.sidebar-artist-card {
  background: linear-gradient(135deg, #fffdfa 0%, #f7f1e6 100%);
  border: 1px solid #e7dbca;
  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;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.sidebar-artist-desc {
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

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

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

.btn-sidebar-studio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(26, 67, 50, 0.2);
}

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

/* ==========================================================================
   RIGHT EXPLORE CONTENT MAIN
   ========================================================================== */
.explore-content-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* 1. Header Panoramic Card */
.explore-hero-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8f2 50%, #f4ede0 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.explore-hero-text {
  max-width: 520px;
  z-index: 2;
}

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

.explore-hero-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.explore-hero-bg-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 520px;
  z-index: 1;
  pointer-events: none;
}

.explore-hero-bg-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 1) 100%);
}

/* 2. Filter Toolbar */
.explore-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-left-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-filter-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(26, 67, 50, 0.15);
}

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

.filter-dropdown-btn:hover {
  background: var(--bg-subtle);
  border-color: #cfc2ad;
}

.filter-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.view-toggle-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-view-toggle {
  padding: 6px 10px;
  color: var(--text-muted);
  font-size: 12px;
  transition: all 0.2s;
}

.btn-view-toggle.active {
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

/* ==========================================================================
   HORIZONTAL COMICS ROWS WITH NEXT ARROW
   ========================================================================== */
.explore-row-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.row-section-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.row-section-view-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.row-section-view-all:hover {
  color: var(--brand-green);
}

.row-cards-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.row-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  width: 100%;
}

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

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

/* ==========================================================================
   CARD STYLES (Vertical, Ranked, & New Releases)
   ========================================================================== */

/* 1. Vertical Featured Card */
.comic-vert-card {
  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: #1a241f;
}

.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.88) 0%, rgba(10, 16, 13, 0.1) 60%, rgba(10, 16, 13, 0.35) 100%);
}

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

.comic-vert-badge-pill.green { background: #10b981; }
.comic-vert-badge-pill.olive { background: #84cc16; color: #1a2e05; }
.comic-vert-badge-pill.blue { background: #3b82f6; }
.comic-vert-badge-pill.amber { background: #f59e0b; }

.comic-vert-bookmark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 2;
  transition: all 0.2s;
}

.comic-vert-bookmark:hover {
  background: #ffffff;
  color: var(--brand-green);
}

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

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

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

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

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

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

.comic-vert-price {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-dark);
}

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

/* 2. Ranked Trending Card (16:9 Banner Thumb) */
.comic-ranked-card {
  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-ranked-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
}

.comic-ranked-thumb {
  position: relative;
  height: 95px;
  overflow: hidden;
  background-color: #1a241f;
}

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

.comic-ranked-card:hover .comic-ranked-thumb img {
  transform: scale(1.06);
}

.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;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.comic-ranked-title-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 13, 0.9) 0%, rgba(10, 16, 13, 0.2) 60%, rgba(10, 16, 13, 0.4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

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

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

.comic-ranked-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}

/* 3. New Releases Card */
.comic-release-card {
  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-release-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
}

.comic-release-thumb {
  position: relative;
  height: 95px;
  overflow: hidden;
  background-color: #1a241f;
}

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

.comic-release-card:hover .comic-release-thumb img {
  transform: scale(1.06);
}

.comic-release-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #0284c7;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  z-index: 2;
}

.comic-release-badge.free {
  left: auto;
  right: 6px;
  background: #10b981;
}

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

.modal-backdrop.open {
  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;
  animation: modalPop 0.25s ease-out;
}

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

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 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;
}

.btn-close-modal:hover {
  background: var(--bg-subtle-hover);
  color: var(--text-dark);
}

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

.modal-window.dark .btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

/* Reader Canvas */
.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;
}

.btn-reader-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Studio Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input, .form-textarea, .form-select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(26, 67, 50, 0.08);
}

.btn-studio-submit {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

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

.script-panel-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border-color);
}

.script-panel-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.script-panel-dialogue {
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 600;
}

.script-panel-prompt {
  font-size: 11px;
  color: var(--text-muted);
  background: #fff;
  padding: 8px;
  border-radius: 6px;
  font-family: monospace;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
  .row-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .explore-hero-bg-art {
    width: 380px;
  }
}

@media (max-width: 900px) {
  .explore-main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-explore {
    position: static;
  }
  .row-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .explore-hero-bg-art {
    display: none;
  }
}

@media (max-width: 600px) {
  .comics-header-inner {
    flex-wrap: wrap;
  }
  .header-center {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .row-cards-grid {
    grid-template-columns: 1fr;
  }
}
