/* ================================================================
   COMICVERSE – Complete Comic Shop Theme
   style.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   1. CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #e63946;
  --brand-dark: #c1121f;
  --brand-light: #ff6b6b;
  --accent: #f4a261;
  --accent2: #2ec4b6;

  /* Background layers */
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --bg-alt: #f0f2f5;
  --bg-dark: #1a1a2e;
  --bg-dark2: #16213e;
  --bg-dark3: #0f3460;

  /* Text */
  --text: #212529;
  --text-muted: #6c757d;
  --text-light: #f8f9fa;

  /* UI */
  --border: #dee2e6;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

[data-theme="dark"] {
  --bg: #10101a;
  --bg-card: #1a1a2e;
  --bg-alt: #16213e;
  --text: #e8e8f0;
  --text-muted: #8e8ea8;
  --border: #2a2a45;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
.font-banner {
  font-family: 'Bangers', cursive;
  letter-spacing: 2px;
}

.font-heading {
  font-family: 'Oswald', sans-serif;
}

h1,
h2,
h3 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* ----------------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 560px;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #222;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #e08c4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ----------------------------------------------------------------
   6. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 999;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bangers', cursive;
  font-size: 1.85rem;
  letter-spacing: 2px;
  color: var(--brand);
  flex-shrink: 0;
}

.logo span {
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover>.nav-link {
  color: var(--brand);
  background: rgba(230, 57, 70, 0.08);
}

.nav-link i {
  font-size: .7rem;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.dropdown a:hover {
  color: var(--brand);
  background: var(--bg-alt);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: none;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  background: var(--bg-card);
  overflow-y: auto;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
  padding: 24px;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav a:hover {
  color: var(--brand);
}

.mobile-nav .m-sub-links {
  padding: 8px 16px 8px;
}

.mobile-nav .m-sub-links a {
  font-size: .9rem;
  font-weight: 600;
  border-bottom: none;
  padding: 8px 0;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   7. PAGE HERO (INNER PAGES)
   ---------------------------------------------------------------- */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark3) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: var(--brand-light);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ----------------------------------------------------------------
   8. CARDS
   ---------------------------------------------------------------- */
/* Comic Card */
.comic-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.comic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.comic-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.comic-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.comic-card:hover .comic-card-img img {
  transform: scale(1.08);
}

.comic-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}

.comic-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.comic-card:hover .comic-card-overlay {
  opacity: 1;
}

.comic-card-body {
  padding: 18px;
}

.comic-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.comic-card-meta {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comic-card-rating {
  color: #f59e0b;
  font-size: .85rem;
}

.comic-card-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: 600;
}

.comic-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Blog Card */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 22px;
}

.blog-card-meta {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-title a:hover {
  color: var(--brand);
}

.blog-card-excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.read-more {
  font-weight: 700;
  font-size: .85rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  gap: 8px;
}

/* Character Card */
.char-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  padding-bottom: 24px;
}

.char-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.char-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.char-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.char-card:hover .char-card-img img {
  transform: scale(1.08);
}

.char-card-body {
  padding: 18px 16px 0;
}

.char-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
}

.char-card-role {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.char-type-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 10px;
}

.badge-hero {
  background: rgba(46, 196, 182, 0.15);
  color: var(--accent2);
}

.badge-villain {
  background: rgba(230, 57, 70, 0.15);
  color: var(--brand);
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  transform: translateY(100%);
  transition: var(--transition);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent);
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
}

.product-card-body {
  padding: 16px;
}

.product-card-name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 6px;
}

.product-card-price {
  color: var(--brand);
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: .85rem;
}

.discount-badge {
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}

/* ----------------------------------------------------------------
   9. HERO SECTION (HOME)
   ---------------------------------------------------------------- */
.hero {
  margin-top: var(--header-h);
  min-height: 600px;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(230, 57, 70, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(46, 196, 182, 0.12) 0%, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--brand-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.hero-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #fff;
}

.hero-stat-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-img-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
}

.hero-float-card.card1 {
  bottom: -20px;
  left: -30px;
}

.hero-float-card.card2 {
  top: 30px;
  right: -30px;
}

.hero-float-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-icon {
  font-size: 1.4rem;
}

.hero-float-text {
  font-size: .82rem;
  font-weight: 700;
}

.hero-float-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
}

/* ----------------------------------------------------------------
   10. HOME SECTIONS
   ---------------------------------------------------------------- */
/* Marquee Ticker */
.ticker {
  background: var(--brand);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  animation: ticker 30s linear infinite;
  gap: 0;
}

.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.ticker-item i {
  font-size: .5rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Featured Comics */
.featured-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Big Banner */
.promo-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.promo-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.15);
}

.promo-banner h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.promo-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* Characters Strip */
.chars-strip {
  background: var(--bg-alt);
}

.char-type-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Genres Grid */
.genre-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.genre-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.genre-card:hover img {
  transform: scale(1.1);
}

.genre-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.genre-card:hover .genre-overlay {
  background: linear-gradient(to top, rgba(230, 57, 70, 0.85) 0%, rgba(230, 57, 70, 0.2) 100%);
}

.genre-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: #fff;
}

.genre-count {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -150px;
  right: -100px;
}

.newsletter h2 {
  color: #fff;
  margin-bottom: 12px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 6px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 20px;
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.testimonial-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: .95rem;
}

.testimonial-role {
  font-size: .82rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  font-size: .85rem;
  margin-bottom: 10px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20h1v1h-1z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-section .flex-center {
  position: relative;
  z-index: 1;
  gap: 16px;
}

/* Stats Bar */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  color: var(--brand);
  display: block;
}

.stat-label {
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ----------------------------------------------------------------
   11. SIDEBAR
   ---------------------------------------------------------------- */
.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}

.sidebar-search {
  display: flex;
  gap: 8px;
}

.input-box {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  transition: var(--transition);
}

.input-box:focus {
  outline: none;
  border-color: var(--brand);
}

.cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list li:hover {
  color: var(--brand);
}

.cat-count {
  font-size: .75rem;
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 50px;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   12. FORMS & AUTH
   ---------------------------------------------------------------- */
.form-page {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  padding: 40px 24px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 6px;
  text-align: center;
}

.auth-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .85rem;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}

.social-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: .9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--brand);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: var(--brand);
  margin-bottom: 16px;
}

.footer-brand .logo span {
  color: #fff;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: .95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.footer-col h5 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--brand-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}

.footer-bottom a {
  color: var(--brand-light);
}

/* ----------------------------------------------------------------
   15. ANIMATIONS
   ---------------------------------------------------------------- */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.5);
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.anim-float {
  animation: float 4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ----------------------------------------------------------------
   16. RATING STARS
   ---------------------------------------------------------------- */
.rating {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: .85rem;
}

/* ----------------------------------------------------------------
   17. PAGINATION
   ---------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn.active,
.page-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ----------------------------------------------------------------
   18. MISC UTILITIES
   ---------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--brand);
}

.tag-outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.text-brand {
  color: var(--brand);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: #fff;
}

.fw-700 {
  font-weight: 700;
}

.fs-sm {
  font-size: .85rem;
}

.rounded {
  border-radius: var(--radius);
}

.bg-card {
  background: var(--bg-card);
}

.border-card {
  border: 1px solid var(--border);
}

.p-4 {
  padding: 24px;
}

.section-bg-alt {
  background: var(--bg-alt);
}

.section-bg-dark {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
}

/* ----------------------------------------------------------------
   19. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-float-card.card1 {
    left: 0;
  }

  .hero-float-card.card2 {
    right: 0;
  }

  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-banner {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }


}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
    background: none;
    border: none;
    padding: 0;
    gap: 12px;
  }

  .newsletter-form input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .promo-banner {
    padding: 30px 24px;
  }

  .hero-float-card {
    display: none;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}