/* ==========================================================================
   Mnovel - Core Theme Stylesheet (Standard CSS Replacement)
   ========================================================================== */

/* 1. Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #707580;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  background: none;
  border: none;
 /* cursor: pointer;*/
  font-family: inherit;
}
.overflow-hidden {
  overflow: hidden;
}

/* 2. Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  transition: all 0.30s ease;
}
.mobile-drawer.invisible {
  visibility: hidden;
  pointer-events: none;
}
.drawer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
.drawer-overlay.opacity-0 {
  opacity: 0;
}
.drawer-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background-color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.drawer-content.-translate-x {
  transform: translateX(-100%);
}
.drawer-header {
  padding: 24px;
  border-b: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
}
.drawer-nav-item {
  font-size: 16px;
  color: #4b5563;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.drawer-nav-item.active {
  font-weight: 600;
  color: #3b82f6;
  background-color: #eff6ff;
}

/* 3. Header Navbar */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.btn-hamburger {
  display: none;
  padding: 8px;
  color: #4b5563;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 158px;
  height: 38px;
  background: url("images/logo.png") center/90% no-repeat;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  position: relative;
  height: 64px;
}
.nav-item {
  font-size: 16px;
	font-weight: 600;
  color: #6b7280;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-item.active, .nav-item:hover {
  color: #111827;
  
}
.nav-indicator {
  position: absolute;
  bottom: -1px;
  height: 3px;
  background-image: linear-gradient(to right, #f472b6, #a855f7, #6366f1);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  left: 0;
  width: 0;
}

/* Dropdown Language Selector */
.lang-dropdown {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #6b7280;
  padding: 8px 0;
  transition: color 0.2s;
}
.lang-btn:hover {
  color: #111827;
}
.icon-globe, .icon-arrow {
  width: 16px;
  height: 16px;
}
.icon-arrow {
  transition: transform 0.2s;
}
.lang-dropdown:hover .icon-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  width: 160px;
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
  overflow: hidden;
}
.lang-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu button {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
}
.dropdown-menu button:hover {
  background-color: #f9fafb;
  color: #3b82f6;
}
.btn-signin {
   background-image: linear-gradient(to right, #f472b6, #a855f7, #6366f1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
.btn-signin:hover {
  background-color: #2563eb;
}

/* 4. Hero Carousel Section */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #000000;
  overflow: hidden;
}
.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.70s ease-in-out;
  transform: translateX(0%);
}
.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000000, rgba(0,0,0,0.8) 50%, transparent);
  width: 50%;
}
.carousel-caption {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  pointer-events: auto;
}
.carousel-desc{ color: #95959b;
}
.caption-wrap {
  max-width: 560px;
}
.carousel-title {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.carousel-subtitle {
  font-size: 18px;
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 32px;
}
.btn-explore {
  background-color: #3b82f6;
  color: #ffffff;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 9999px;
  display: inline-block;
  transition: background-color 0.2s;
}
.colorfont{  background: -webkit-linear-gradient(left, #5f48ff, #ff66a4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.sparkle-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #a25aff, #ff7ab8);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9L22 12L15 15L12 22L9 15L2 12L9 9L12 2Z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9L22 12L15 15L12 22L9 15L2 12L9 9L12 2Z"/></svg>') no-repeat center / contain;
  animation: pulse 2s infinite alternate;
}


.btn-explore:hover {
  background-color: #2563eb;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 8px;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
}
.hero-carousel:hover .carousel-arrow {
  opacity: 1;
}
.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.carousel-arrow svg {
  width: 32px;
  height: 32px;
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 8px;
}
.carousel-dots .dot {
  width: 32px;
  height: 4px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s;
}
.carousel-dots .dot.active {
  background-color: #5f48ff;
}

/* 5. Main Content Layout */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.st-nr{
	display: block;
	width: 258px;
  height: 32px;
  background: url("images/newreleases.png") center/100% no-repeat;
}

.st-bs{
	display: block;
	width: 258px;
  height: 32px;
  background: url("images/bestsellers.png") center/100% no-repeat;
}

/* Books Grid Component */
.books-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px;
}
.book-card {
  display: flex;
  flex-direction: column;
  /* cursor: pointer;*/
}
.cover-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}
.book-card:hover .cover-wrap {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.book-card:hover .cover-wrap img {
  transform: scale(1.05);
}
.book-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-tag {
  font-size: 14px;
  color: #95959b;
}
.badge-drama {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 0;
  text-align: center;
  text-transform: uppercase;
}

/* 6. Global Short Video Business Section */
.business-section {
  display: flex;
  gap: 38px;
  align-items: center;
  padding: 30px;
 background: #f7f6fc;
	border-radius: 18px;
}
.business-info {
  width: 38.5%;
}
.business-title {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}
.business-desc {
  color: #95959b;
  font-size: 16px;
  line-height: 1.6;
}
.business-gallery {
  width: 61.5%;
  display: flex;
  gap: 22px;
}
.gallery-thumb {
  border-radius: 8px;
  overflow: hidden;
  height: 256px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-small { width: 40%; }
.thumb-large { width: 60%; }

/* 7. Best Sellers Section */
.sellers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.seller-card {
  background-color: #f7f6fc;
  border-radius: 8px;
  padding: 0px;
  display: flex;
  /* cursor: pointer;*/
  transition: box-shadow 0.2s;
}
.seller-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.seller-cover {
  width: 128px;
  height: 182px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.seller-info {
	padding: 20px;
  display: flex;
  flex-direction: column;

}
.seller-title {
  font-weight: 600;
  color: #111827;
  font-size: 16px;
  margin-bottom: 4px;
}
.seller-desc {
  font-size: 14px;
  color: #95959b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* 8. Stats Operational Section */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 48px 0;

}
.stat-box {
  text-align: center; border-left:1px solid #ececec; padding: 0 20px;
}
.stat-box:first-child{ border-left:none }

.sbx-1,.sbx-2,.sbx-3{ height: 36px; display: block;}
.sbx-1{ background: url("images/10000.png") center/auto 100% no-repeat;}
.sbx-2{ background: url("images/free.png") center/auto 100% no-repeat;}
.sbx-3{ background: url("images/massivef.png") center/auto 100% no-repeat;}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}
.stat-number.num-pink { color: #E91E63; }
.stat-number.num-purple { color: #9C27B0; }
.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.stat-desc {
  font-size: 14px;
  color: #95959b;
  padding: 0 16px;
  line-height: 1.4;
}

/* 9. App Promotion Banner */
.footer-content{
	  border-top: 1px solid #e3e3e3;
}


.app-banner {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 0  0 16px 16px;
  overflow: hidden;
  background-image: linear-gradient(to right, #f472b6, #a855f7, #6366f1);
  position: relative;
  height: 256px;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
display: flex;
    gap: 32px;
}
.banner-content {
  
  width: 60%;
  color: #ffffff;
}
.banner-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.banner-subtitle {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.download-links {
  display: flex;
  gap: 16px;
}
.download-links img {
  height: 40px;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.download-links a:hover img {
  opacity: 0.8;
}
.banner-mockup { width: 40%;height: 100%;
}
.banner-mockup .bm-img {
	display: block;
	width:100%; height: 100%;
 background: url("images/appui.png") center/auto 100% no-repeat;
}

.btn-gplay,.btn-appstore{ width:150px; height: 42px; border-radius: 6px;  display: inline-block; margin-top: 2px}
.btn-gplay{ background:  url("images/gplay.png") center/auto 100% no-repeat;}
.btn-appstore{background:  url("images/appstore.png") center/auto 100% no-repeat;}
.btn-gplay:hover,.btn-appstore:hover{ margin-top: 0}

/* 10. Footer Section */
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
  color: #95959b;
}
.footer-links a:hover {
  color: #111827;
  transition: color 0.2s;
}
.copyright {
  font-size: 14px;
  color: #95959b;
}

/* ==========================================================================
   11. Media Queries (Responsive Mobile View Optimization)
   ========================================================================== */
@media (max-width: 768px) {
  .btn-hamburger { display: block; }
  .desktop-nav { display: none; }
  .lang-label { display: none; }
  .btn-signin { font-size: 12px; padding: 8px 16px; }
  
  .hero-carousel { height: 400px; }
  .carousel-title { font-size: 32px; }
  .carousel-subtitle { font-size: 14px; }
  .carousel-arrow { display: none !important; }
  
  .main-content { padding: 48px 16px; gap: 64px; }
  .books-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  
  .business-section { flex-direction: column; gap: 32px; }
  .business-info { width: 100%; text-align: center; }
  .business-gallery { width: 100%; }
  .gallery-thumb { height: 160px; }
  
  .sellers-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-container { grid-template-columns: 1fr; gap: 32px; }
  
  .app-banner { height: auto; padding: 48px 24px; flex-direction: column; text-align: center; }
  .banner-content { width: 100%; }
  .download-links { justify-content: center; }
  .banner-mockup { display: none; }
}