/* ==========================================================================
   Components Stylesheet: Complete Livacite Sports Vault Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Site Header & Sticky Glass Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 255, 0, 0.6) 20%, rgba(212, 255, 0, 0.6) 80%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

[data-theme="light"] .site-header::after {
  background: linear-gradient(90deg, transparent 0%, rgba(198, 238, 0, 0.8) 20%, rgba(198, 238, 0, 0.8) 80%, transparent 100%);
}

.site-header.scrolled {
  background: var(--bg-header-scrolled);
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--border-light);
}

.site-header.scrolled::after {
  opacity: 1;
}

.navbar {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(1rem, 3vw, 1.75rem);
  min-height: var(--header-height);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-crest {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-lime), #9AC400);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sports);
  font-size: 1.35rem;
  color: #000000;
  font-weight: bold;
  box-shadow: 0 0 16px var(--accent-lime-glow);
  transition: transform var(--transition-bounce);
}

.logo a:hover .brand-crest {
  transform: rotate(15deg) scale(1.08);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text-main);
}

.brand-name strong {
  color: var(--accent-lime);
  font-weight: 400;
}

[data-theme="light"] .brand-name strong {
  color: var(--text-lime);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.nav-link.active {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 18px;
  height: 2.5px;
  background: var(--accent-lime);
  transform: translateX(-50%) skewX(-20deg);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-lime-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--border-light);
}

[dir="rtl"] .nav-actions {
  padding-left: 0;
  padding-right: 0.8rem;
  border-left: none;
  border-right: 1px solid var(--border-light);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  position: relative;
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:active {
  transform: scale(0.94);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.5;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.theme-toggle-btn .icon-sun {
  display: none;
}
.theme-toggle-btn .icon-moon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .icon-sun {
  display: block;
  color: #D68A00;
}
[data-theme="light"] .theme-toggle-btn .icon-moon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-subheading);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.btn-red {
  background: var(--accent-lime);
  color: #000000;
}

.btn-red:hover {
  background: var(--accent-lime-hover);
  box-shadow: 0 6px 22px var(--accent-lime-glow);
  transform: translateY(-2px);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-lime);
  color: #000000;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
  padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
  backdrop-filter: blur(20px);
}

body.menu-open .mobile-menu {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
}

.mobile-menu .mm-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Brand Logo Image */
.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

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

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0.8rem;
  transition: filter var(--transition-fast);
}

[data-theme="light"] .brand-logo-img,
[data-theme="light"] .footer-logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(0.92);
}

/* Mobile & Tablet Header Responsive Rules */
@media (max-width: 960px) {
  .nav-center {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .site-header {
    overflow-x: clip;
  }

  .navbar {
    padding: 0.6rem clamp(0.8rem, 3vw, 1.5rem);
  }
}

@media (max-width: 520px) {
  .nav-actions .btn-red {
    display: none !important;
  }

  .brand-logo-img {
    height: 28px;
  }

  .nav-actions {
    gap: 0.45rem;
    padding-left: 0.45rem;
  }

  [dir="rtl"] .nav-actions {
    padding-right: 0.45rem;
    padding-left: 0;
  }
}

/* Mobile Footer Responsive Rules */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
    margin-top: 2rem !important;
  }

  [dir="rtl"] .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
  }
}


/* --------------------------------------------------------------------------
   2. Centered Immersive Hero Section
   -------------------------------------------------------------------------- */
.zh-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
}

/* Background Mosaic Tracks (Optimized visibility & clarity) */
.zh-hero-bg {
  position: absolute;
  inset: -6% -10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  pointer-events: none;
  filter: brightness(0.85) saturate(1.02) contrast(1.02);
  transform: none;
  z-index: 1;
}

[data-theme="light"] .zh-hero-bg {
  filter: brightness(0.98) saturate(0.95) contrast(1.0) opacity(0.55);
}

@keyframes zhHeroDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.zh-bg-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: zhHeroDrift var(--drift-dur, 64s) linear infinite;
  will-change: transform;
}

.zh-bg-track.reversa {
  animation-direction: reverse;
}

.zh-bg-card {
  position: relative;
  flex-shrink: 0;
  height: clamp(190px, 30vh, 300px);
  width: clamp(260px, 25vw, 420px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.zh-bg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.zh-bg-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 2;
}

.badge-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-lime);
}

[data-theme="light"] .badge-cat {
  color: var(--text-lime);
}

.zh-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 9, 12, 0.18) 0%, rgba(8, 9, 12, 0.55) 75%, #08090C 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.75) 0%, rgba(8, 9, 12, 0.06) 22%, rgba(8, 9, 12, 0.06) 68%, #08090C 100%),
    linear-gradient(90deg, rgba(8, 9, 12, 0.75) 0%, transparent 18%, transparent 82%, rgba(8, 9, 12, 0.75) 100%);
}

[data-theme="light"] .zh-hero-overlay {
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 245, 249, 0.2) 0%, rgba(244, 245, 249, 0.6) 75%, #F4F5F9 100%),
    linear-gradient(180deg, rgba(244, 245, 249, 0.75) 0%, rgba(244, 245, 249, 0.12) 22%, rgba(244, 245, 249, 0.12) 68%, #F4F5F9 100%),
    linear-gradient(90deg, rgba(244, 245, 249, 0.75) 0%, transparent 18%, transparent 82%, rgba(244, 245, 249, 0.75) 100%);
}

.zh-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 940px;
  width: calc(100% - 2rem);
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zh-hero-content::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  background: radial-gradient(ellipse 100% 100% at 50% 50%,
    rgba(8, 9, 12, 0.86) 0%,
    rgba(8, 9, 12, 0.7) 45%,
    rgba(8, 9, 12, 0.25) 72%,
    transparent 100%);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
  pointer-events: none;
}

[data-theme="light"] .zh-hero-content::before {
  background: radial-gradient(ellipse 100% 100% at 50% 50%,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 45%,
    rgba(255, 255, 255, 0.3) 72%,
    transparent 100%);
}

.zh-eyebrow-wrap {
  margin-bottom: 1rem;
}

.zh-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

[data-theme="light"] .zh-eyebrow {
  color: var(--text-lime);
}

.zh-eyebrow::before {
  content: "";
  width: 22px;
  height: 2.5px;
  background: var(--accent-lime);
  transform: skewX(-20deg);
  box-shadow: 0 0 10px var(--accent-lime-glow);
}

[data-theme="light"] .zh-eyebrow::before {
  background: var(--text-lime);
  box-shadow: none;
}

.zh-hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-main);
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.1rem;
}

[data-theme="light"] .zh-hero-title {
  text-shadow: none;
}

.zh-title-accent {
  color: var(--accent-lime);
  text-shadow: 0 0 35px var(--accent-lime-glow);
}

[data-theme="light"] .zh-title-accent {
  color: var(--text-lime);
  text-shadow: none;
}

.zh-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto 1.8rem;
  text-wrap: balance;
}

.zh-hero-search-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

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

.zh-search-icon {
  position: absolute;
  left: 1.25rem;
  width: 19px;
  height: 19px;
  stroke: var(--text-muted);
  pointer-events: none;
  transition: stroke var(--transition-fast);
}

.zh-search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 0.95rem 3.2rem 0.95rem 3.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.zh-search-input::placeholder {
  color: var(--text-dim);
}

.zh-search-input:focus {
  border-color: var(--accent-lime);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px var(--accent-lime-glow), var(--shadow-dropdown);
}

.zh-search-box:focus-within .zh-search-icon {
  stroke: var(--accent-lime);
}

.zh-search-clear {
  position: absolute;
  right: 0.9rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.zh-search-clear svg {
  width: 13px;
  height: 13px;
}

.zh-search-clear:hover {
  background: var(--accent-lime);
  color: #000000;
  border-color: var(--accent-lime);
}

.zh-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.quick-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.quick-tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-tag:hover {
  background: rgba(212, 255, 0, 0.15);
  border-color: var(--accent-lime);
  color: var(--text-lime);
  transform: translateY(-2px);
}

.zh-hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

@media (max-width: 520px) {
  .zh-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
  }
  .zh-hero-actions .btn-hero-primary,
  .zh-hero-actions .btn-hero-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.86rem;
  }
  .zh-hero-title {
    font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
  }
}

.btn-hero-primary {
  background: var(--accent-lime);
  color: #000000;
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  box-shadow: 0 4px 25px var(--accent-lime-glow);
  transition: all var(--transition-smooth);
}

.btn-hero-primary:hover {
  background: var(--accent-lime-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--accent-lime-glow);
}

.btn-hero-ghost {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.btn-hero-ghost:hover {
  border-color: var(--accent-lime);
  color: var(--text-lime);
  background: var(--bg-surface-elevated);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.zh-stats-board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3.5vw, 2.8rem);
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .zh-stats-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 0.8rem;
    padding: 1.1rem 0.9rem;
    width: 100%;
  }
  .zh-stat-divider {
    display: none !important;
  }
}

.zh-stat-box {
  text-align: center;
}

.zh-stat-num {
  font-family: var(--font-sports);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1;
}

.zh-stat-num.live-pill {
  color: var(--accent-lime);
  text-shadow: 0 0 16px var(--accent-lime-glow);
}

[data-theme="light"] .zh-stat-num.live-pill {
  color: var(--text-lime);
  text-shadow: none;
}

.zh-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

.zh-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

.zh-scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-bar {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--accent-lime), transparent);
  animation: hintPulse 2.2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1.1); }
}


/* --------------------------------------------------------------------------
   3. Recent Releases & Marquee Ticker (.zh-section & .m-viewport)
   -------------------------------------------------------------------------- */
.zh-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 0;
}

.zh-section-head {
  max-width: var(--container-max);
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.zh-section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  max-width: 680px;
  margin-top: 0.5rem;
}

.zh-section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.m-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

@keyframes mScroll {
  to { transform: translateX(-50%); }
}

.m-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  padding: 0.5rem 0 1.2rem;
  animation: mScroll var(--m-dur, 50s) linear infinite;
  will-change: transform;
}

.m-track.reversa {
  animation-direction: reverse;
}

.m-viewport:hover .m-track {
  animation-play-state: paused;
}

.m-card {
  position: relative;
  flex-shrink: 0;
  height: var(--m-alto, 320px);
  width: calc(var(--m-alto, 320px) * 1.35);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  display: block;
}

.m-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.m-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 255, 0, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.m-card:hover img {
  transform: scale(1.05);
}

.m-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.m-nuevo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-lime);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.m-caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.95), transparent);
  pointer-events: none;
}

.m-caption-title {
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}


/* --------------------------------------------------------------------------
   4. Thematic Vault Collections (.home-cols)
   -------------------------------------------------------------------------- */
.home-cols {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.hc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 0.5rem;
}

.hc-eyebrow::before {
  content: "";
  width: 22px;
  height: 2.5px;
  background: var(--accent-lime);
  transform: skewX(-20deg);
}

[data-theme="light"] .hc-eyebrow {
  color: var(--text-lime);
}

[data-theme="light"] .hc-eyebrow::before {
  background: var(--text-lime);
}

.hc-titulo {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.05;
  color: var(--text-main);
}

.hc-titulo span,
.hc-titulo strong {
  color: var(--accent-lime);
  font-weight: inherit;
}

[data-theme="light"] .hc-titulo {
  color: var(--text-main);
}

[data-theme="light"] .hc-titulo span,
[data-theme="light"] .hc-titulo strong {
  color: var(--text-lime);
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.3rem;
}

.hc-carousel-controls {
  display: none;
  align-items: center;
  gap: 6px;
}

.hc-nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.hc-nav-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

[data-theme="light"] .hc-nav-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-lime);
}

@media (max-width: 768px) {
  .hc-carousel-controls {
    display: flex;
  }
  .hc-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.1rem;
    padding-bottom: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-lime) rgba(255, 255, 255, 0.05);
  }
  .hc-grid::-webkit-scrollbar {
    height: 4px;
  }
  .hc-grid::-webkit-scrollbar-thumb {
    background: var(--accent-lime);
    border-radius: 4px;
  }
  [data-theme="light"] .hc-grid::-webkit-scrollbar-thumb {
    background: var(--text-lime);
  }
  .hc-card {
    min-width: 290px;
    max-width: 85vw;
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }
}

.hc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.hc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .hc-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-dropdown);
}

.hc-portada {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-surface-elevated);
  overflow: hidden;
}

.hc-mosaico {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 2px;
}

.hc-mosaico.m4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.hc-mosaico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hc-single-cover .hc-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-card:hover .hc-mosaico img,
.hc-card:hover .hc-cover-img {
  transform: scale(1.05);
}

.hc-portada::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.75), transparent 55%);
}

[data-theme="light"] .hc-portada::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 60%);
}

.hc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

[data-theme="light"] .hc-badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0B0D13;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hc-brillo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(212, 255, 0, 0.08) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: brilla 4.5s linear infinite;
  pointer-events: none;
}

@keyframes brilla {
  to { background-position: -220% 0; }
}

.hc-cuerpo {
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hc-cuerpo h3 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--text-main);
}

.hc-cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lime);
  transition: padding-left .2s;
}

[data-theme="light"] .hc-cta {
  color: var(--text-lime);
}

.hc-card:hover .hc-cta {
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   Clubs & Teams Infinite Logo Carousel (Logo-Only, Seamless & Responsive)
   -------------------------------------------------------------------------- */
.clubs-carousel-section {
  position: relative;
  padding: clamp(2.4rem, 4.8vw, 3.8rem) 0;
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clubs-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clubs-carousel-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  width: max-content;
  animation: clubsTicker 32s linear infinite;
  will-change: transform;
}

.clubs-carousel-section:hover .clubs-carousel-track {
  animation-play-state: paused;
}

[dir="rtl"] .clubs-carousel-track {
  animation: clubsTickerRtl 32s linear infinite;
}

@keyframes clubsTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes clubsTickerRtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

.club-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast), color var(--transition-fast);
  color: var(--text-main);
}

.club-logo-item svg {
  height: 100%;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.club-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

[data-theme="dark"] .club-logo-item {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .club-logo-item:hover {
  color: #FFFFFF;
  filter: drop-shadow(0 0 12px var(--accent-lime-glow));
}

[data-theme="light"] .club-logo-item {
  color: #2D3342;
}

[data-theme="light"] .club-logo-item:hover {
  color: #000000;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .club-logo-item {
    height: 38px;
  }
  .club-logo-item svg {
    max-height: 36px;
  }
  .clubs-carousel-track {
    gap: 2rem;
  }
}


/* --------------------------------------------------------------------------
   5. Design Vault Gallery Section (.gallery-section)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 0;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--accent-lime);
  color: #000000;
  border-color: var(--accent-lime);
  font-weight: 800;
}

.filter-btn sup {
  font-size: 0.6rem;
  opacity: 0.8;
}

.asymmetric-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.gallery-card.grid-hero-wide {
  grid-column: span 8;
  min-height: 480px;
}

.gallery-card.grid-col-60 {
  grid-column: span 7;
  min-height: 420px;
}

.gallery-card.grid-col-40 {
  grid-column: span 5;
  min-height: 420px;
}

.gallery-card.grid-col-33 {
  grid-column: span 4;
  min-height: 380px;
}

.card-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .card-img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.2) 0%, rgba(8, 9, 12, 0.4) 40%, rgba(8, 9, 12, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.card-top-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-bottom-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.card-team-spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.card-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.card-action-btn:hover {
  background: var(--accent-lime);
  color: #000000;
  border-color: var(--accent-lime);
}


/* --------------------------------------------------------------------------
   6. 3D Studio Mockups Showcase (.zh-mockups)
   -------------------------------------------------------------------------- */
.zh-mockups {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 0;
}

.mk-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.mk-card {
  position: relative;
  flex-shrink: 0;
  height: var(--mk-alto, 300px);
  width: calc(var(--mk-alto, 300px) * 1.3);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  display: block;
}

.mk-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.mk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.mk-card:hover img {
  transform: scale(1.05);
}

.mk-psd {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.mk-tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.95), transparent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}


/* --------------------------------------------------------------------------
   7. Sports Typography Split Panel (.zh-panel.invertida)
   -------------------------------------------------------------------------- */
.zh-panel {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.zh-panel.invertida {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 840px) {
  .zh-panel.invertida {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .zh-panel-caption {
    text-align: center;
    align-items: center;
  }
  .zh-panel-caption p {
    max-width: 580px;
    margin: 0 auto;
  }
}

.zh-panel-caption {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.zh-panel-caption h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--text-main);
}

.zh-panel-caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cap-sub {
  color: var(--accent-lime);
}

[data-theme="light"] .cap-sub {
  color: var(--text-lime);
}


/* --------------------------------------------------------------------------
   8. Live Designer Community Hub (.home-comu)
   -------------------------------------------------------------------------- */
.home-comu {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.hcu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.hcu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 0.5rem;
}

.hcu-eyebrow::before {
  content: "";
  width: 22px;
  height: 2.5px;
  background: var(--accent-lime);
  transform: skewX(-20deg);
}

.hcu-titulo {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.05;
}

.hcu-titulo span {
  color: var(--accent-lime);
}

.hcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.3rem;
}

.hcu-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.2rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hcu-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.hcu-img {
  position: relative;
  margin: -1.2rem -1.2rem 0.9rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0C0E16;
}

.hcu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.hcu-card:hover .hcu-img img {
  transform: scale(1.05);
}

.hcu-img-mas {
  position: absolute;
  bottom: 9px;
  right: 10px;
  z-index: 2;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.hcu-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.hcu-avatar-ini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lime);
  color: #000000;
  font-weight: 800;
  font-size: 0.72rem;
}

.hcu-nombre {
  font-weight: 700;
  color: var(--text-main);
}

.hcu-pro {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--accent-gold);
  border: 1px solid rgba(255, 199, 0, 0.4);
  border-radius: 5px;
  padding: 1px 6px;
}

.hcu-fecha {
  color: var(--text-dim);
  font-size: 0.74rem;
}

.hcu-post-titulo {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.hcu-extracto {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  flex: 1;
}

.hcu-stats {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
}

.hcu-cta-movil {
  text-align: center;
  margin-top: 1.8rem;
}


/* --------------------------------------------------------------------------
   9. Value Proposition Grid (.zh-info & .info-grid)
   -------------------------------------------------------------------------- */
.zh-info {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.zh-info-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.zh-info-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0.8rem 0;
}

.zh-info-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.info-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0C0E16;
}

.info-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.info-card:hover .info-card-img img {
  transform: scale(1.05);
}

.info-card-num {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-sports);
  font-size: 2.2rem;
  color: var(--accent-lime);
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.info-card-body {
  padding: 1.4rem;
}

.info-card-body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.info-card-body h3 span {
  color: var(--accent-lime);
}

[data-theme="light"] .info-card-body h3 span {
  color: var(--text-lime);
}

.info-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.info-formats {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.fmt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: uppercase;
}

[data-theme="light"] .fmt {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-light);
}


/* --------------------------------------------------------------------------
   10. Production Workflow (.zh-flow)
   -------------------------------------------------------------------------- */
.zh-flow {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.zh-flow-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.zh-flow-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0.8rem 0;
}

.zh-flow-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.flow-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.flow-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
}

.flow-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-lime);
}

[data-theme="light"] .flow-icon svg {
  stroke: var(--text-lime);
}

.flow-card h4 {
  font-family: var(--font-subheading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.flow-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.flow-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.8rem;
  padding: 1rem 1.4rem;
  background: rgba(212, 255, 0, 0.06);
  border: 1px solid rgba(212, 255, 0, 0.25);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

[data-theme="light"] .flow-secure {
  background: rgba(140, 180, 0, 0.08);
  border-color: rgba(140, 180, 0, 0.3);
}

.flow-secure svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-lime);
  flex-shrink: 0;
}

[data-theme="light"] .flow-secure svg {
  stroke: var(--text-lime);
}


/* --------------------------------------------------------------------------
   11. File Formats & Software Compatibility (.zh-formats)
   -------------------------------------------------------------------------- */
.zh-formats {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.zh-formats-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.zh-formats-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0.8rem 0;
}

.zh-formats-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.3rem;
}

.format-card {
  background: var(--bg-surface);
  border: 1px solid var(--fc-border, var(--border-light));
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  box-shadow: inset 0 0 25px var(--fc-glow, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-family: var(--font-sports);
  font-size: 1.4rem;
  font-weight: bold;
}

.app-badge.corel {
  background: rgba(212, 255, 0, 0.15);
  color: var(--accent-lime);
  border: 1px solid rgba(212, 255, 0, 0.4);
}

[data-theme="light"] .app-badge.corel {
  background: rgba(140, 180, 0, 0.12);
  color: var(--text-lime);
  border-color: rgba(140, 180, 0, 0.4);
}

.app-badge.ps {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

[data-theme="light"] .app-badge.ps {
  background: rgba(0, 155, 181, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(0, 155, 181, 0.35);
}

.app-badge.ttf {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .app-badge.ttf {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.format-ext {
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
}

.format-ext small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.format-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 9px;
  border-radius: 6px;
}

[data-theme="light"] .compat-chip {
  background: rgba(0, 0, 0, 0.05);
}

.compat-chip svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent-lime);
  fill: none;
  stroke-width: 2.5;
}

[data-theme="light"] .compat-chip svg {
  stroke: var(--text-lime);
}

.format-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.extra-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.extra-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-lime);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="light"] .extra-item svg {
  stroke: var(--text-lime);
}

@media (max-width: 640px) {
  .flow-grid,
  .formats-grid,
  .info-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .format-extras {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }
  .mk-card {
    --mk-alto: 230px !important;
  }
}


/* --------------------------------------------------------------------------
   12. Full Catalogue CTA Banner (.zh-explorar)
   -------------------------------------------------------------------------- */
.zh-explorar {
  text-align: center;
  max-width: 920px;
  margin: clamp(3.5rem, 6vw, 5.5rem) auto 1rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
  background: radial-gradient(circle at 50% 50%, rgba(212, 255, 0, 0.08) 0%, rgba(16, 18, 26, 0.8) 70%, transparent 100%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

[data-theme="light"] .zh-explorar {
  background: radial-gradient(circle at 50% 50%, rgba(198, 238, 0, 0.14) 0%, rgba(255, 255, 255, 0.95) 70%, #FFFFFF 100%);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}

.zh-explorar p {
  color: #E2E6F2;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto 1.8rem;
  text-wrap: balance;
}

[data-theme="light"] .zh-explorar p {
  color: var(--text-main);
}

.btn-explorar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-lime);
  color: #000000;
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 25px var(--accent-lime-glow);
  transition: all var(--transition-smooth);
}

.btn-explorar:hover {
  background: #E5FF55;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--accent-lime-glow);
}


/* --------------------------------------------------------------------------
   13. Memberships & Plans (.zh-planes)
   -------------------------------------------------------------------------- */
.zh-planes {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 1.75rem) 1rem;
}

.zh-planes-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.zh-planes-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0.8rem 0;
}

.zh-planes-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.zh-planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.plan-card.destacado {
  background: linear-gradient(180deg, #161A26 0%, #10121A 100%);
  border-color: var(--accent-lime);
  box-shadow: 0 12px 35px var(--accent-lime-glow);
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-lime);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.plan-nombre {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  color: #FFFFFF;
}

.plan-precio {
  font-family: var(--font-sports);
  font-size: 2.8rem;
  color: var(--accent-lime);
  line-height: 1;
  margin: 0.6rem 0 0.3rem;
}

.plan-precio small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.plan-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-lista li {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-lista li.si::before {
  content: "✓";
  color: var(--accent-lime);
  font-weight: 800;
}

.plan-lista li.no {
  color: var(--text-dim);
}

.plan-lista li.no::before {
  content: "✕";
  color: var(--text-dim);
}

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-subheading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-plan.outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: #FFFFFF;
}

.btn-plan.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-plan.solid {
  background: var(--accent-lime);
  color: #000000;
  box-shadow: 0 4px 20px var(--accent-lime-glow);
}

.btn-plan.solid:hover {
  background: #E5FF55;
  transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   14. Complete Footer & Modal Lightbox
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.f-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.f-logo strong {
  color: var(--accent-lime);
}

[data-theme="light"] .f-logo strong {
  color: var(--text-lime);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 1.4rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--accent-lime);
  color: #000000;
  border-color: var(--accent-lime);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-lime);
}

[data-theme="light"] .footer-col a:hover {
  color: var(--text-lime);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding: 1.8rem clamp(1rem, 3vw, 1.75rem) 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.f-mono {
  color: var(--accent-lime);
  font-weight: 700;
  letter-spacing: 0.1em;
}

[data-theme="light"] .f-mono {
  color: var(--text-lime);
}

/* Floating Scroll-to-Top */
#topBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--accent-lime);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

[data-theme="light"] #topBtn {
  color: var(--text-lime);
}

#topBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#topBtn:hover {
  background: var(--accent-lime);
  color: #000000;
  box-shadow: 0 0 20px var(--accent-lime-glow);
}

/* Modal Lightbox Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-dropdown);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-lime);
  color: #000000;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-col {
  position: relative;
  background: var(--bg-surface-elevated);
  min-height: 360px;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.15;
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.4rem;
  font-size: 0.84rem;
}

.spec-label {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. Dedicated Catalog Gallery System (Designs, Fonts & Mockups)
   -------------------------------------------------------------------------- */

/* Live Marquee Ticker at Top of Catalog */
.zh-ticker {
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-elevated);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.zh-ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: mScroll 40s linear infinite;
  padding: 0.55rem 0;
}

.zh-ticker:hover .zh-ticker-track {
  animation-play-state: paused;
}

.zh-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 1.4rem;
}

.zh-ticker-item b {
  color: var(--text-main);
}

.zh-ticker-item .tk-dot {
  width: 6px;
  height: 12px;
  background: var(--accent-lime);
  transform: skewX(-20deg);
  border-radius: 1px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-lime-glow);
}

.zh-ticker-item .tk-live {
  color: var(--accent-lime);
  display: inline-block;
  animation: hintPulse 1.6s ease-in-out infinite;
}

[data-theme="light"] .zh-ticker-item .tk-live {
  color: var(--text-lime);
}

/* Catalog Hero Section */
.catalog-hero {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1rem, 3vw, 1.75rem) 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.catalog-hero h1 {
  font-family: var(--font-sports);
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0.8rem 0 1rem;
  color: var(--text-main);
}

.catalog-hero h1 strong {
  color: var(--accent-lime);
  font-weight: 400;
  text-shadow: 0 0 25px var(--accent-lime-glow);
}

[data-theme="light"] .catalog-hero h1 strong {
  color: var(--text-lime);
  text-shadow: none;
}

.catalog-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.8rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.6;
  text-wrap: balance;
}

/* Hero Search Box */
.hero-search {
  max-width: 580px;
  margin: 0 auto 1.6rem;
}

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

.hero-search .search-icon-svg {
  position: absolute;
  left: 1.25rem;
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  pointer-events: none;
  transition: stroke var(--transition-fast);
}

.hero-search .search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 0.88rem 3rem 0.88rem 3.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.hero-search .search-input::placeholder {
  color: var(--text-dim);
}

.hero-search .search-input:focus {
  border-color: var(--accent-lime);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px var(--accent-lime-glow), var(--shadow-dropdown);
}

.hero-search .search-box:focus-within .search-icon-svg {
  stroke: var(--accent-lime);
}

/* Category Filter Chips */
.cat-chips {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.chip {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-surface);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chip:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.chip:active {
  transform: translateY(0) scale(0.96);
}

.chip.active {
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 6px 22px var(--accent-lime-glow);
}

.chip.active:hover {
  transform: none;
  background: var(--accent-lime-hover);
}

.chip.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 3px;
  background: var(--accent-lime);
  transform: translateX(-50%) skewX(-20deg);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-lime-glow);
}

/* Sub-filter Chips */
.sub-chips {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.chip.sub {
  font-size: 0.66rem;
  padding: 0.42rem 0.95rem;
  border-style: dashed;
}

.chip.sub.active {
  border-style: solid;
}

.chip.sub.active::after {
  display: none;
}

/* Resources Section & Grid */
.resources-section {
  max-width: var(--container-max);
  margin: 0 auto 4rem;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-light);
}

.results-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.results-count b {
  color: var(--text-main);
}

.sort-options {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.sort-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-right: 0.3rem;
}

.sort-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.sort-link:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.sort-link.active {
  color: #000000;
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  font-weight: 800;
}

.sort-link.active:hover {
  transform: none;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}

.resource-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
  box-shadow: var(--shadow-card);
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 255, 0, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.resource-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.resource-card:hover .resource-thumb img {
  transform: scale(1.05);
}

/* Shimmer shine sweep */
.resource-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 40%, rgba(212, 255, 0, 0.12) 50%, transparent 60%);
  transform: translateX(-120%) skewX(-10deg);
  pointer-events: none;
}

.resource-card:hover .resource-thumb::before {
  transition: transform .75s ease;
  transform: translateX(120%) skewX(-10deg);
}

/* Clean Resource Card Body */
.resource-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: space-between;
}

.resource-title {
  font-family: var(--font-subheading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.resource-card:hover .resource-title {
  color: var(--accent-lime);
}

[data-theme="light"] .resource-card:hover .resource-title {
  color: var(--text-lime);
}

.resource-footer-link {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-light);
}

.view-link-text {
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

[data-theme="light"] .view-link-text {
  color: var(--text-lime);
}

.resource-card:hover .view-link-text {
  color: var(--text-main);
  transform: translateX(4px);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4.5rem 1.5rem;
  border: 1px dashed var(--border-medium);
  border-radius: 20px;
  background: var(--bg-surface);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Pagination Controls */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
  color: var(--accent-lime);
  transform: translateY(-2px);
}

[data-theme="light"] .page-btn:hover {
  color: var(--text-lime);
}

.page-btn:active {
  transform: scale(0.95);
}

.page-btn.active {
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--accent-lime-glow);
}

.page-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.page-dots {
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding: 0 4px;
}

