/* ============================================
   CLASIFICADOS MX — Page Styles
   ============================================ */

/* ---- Hero Banner Carousel ---- */
.hero-carousel-wrap {
  position: relative;
  width: 100%;
  background: #0a0a14;
  overflow: hidden;
  line-height: 0;
}

.hero-carousel-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  background: #0a0a14;
}

.hero-carousel-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(229,57,53,0.25);
  border-top-color: #e53935;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-carousel-track-outer {
  overflow: hidden;
  width: 100%;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  line-height: 0;
}

.hero-carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, border-color 0.22s ease,
              transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.72;
  padding: 0;
  outline: none;
  user-select: none;
}
.hero-carousel-arrow:hover {
  background: rgba(229, 57, 53, 0.82);
  border-color: rgba(229, 57, 53, 0.9);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.hero-carousel-arrow-left  { left: 18px; }
.hero-carousel-arrow-right { right: 18px; }

/* Dot indicators */
.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  outline: none;
}
.hero-carousel-dot.active {
  background: #e53935;
  transform: scale(1.4);
}

/* Progress bar */
.hero-carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #e53935, #ff7043);
  transition: width 0.12s linear;
  z-index: 21;
}

/* ---- Hero Search Section (below carousel) ---- */
.hero-search-section {
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid var(--glass-border);
}

.hero-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.hero-search-tagline {
  flex-shrink: 0;
}

.hero-search-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.hero-search-subtitle {
  font-size: var(--text-3xl);
  font-weight: 800;
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.2;
}

.hero-search-bar-wrap {
  flex: 1;
  min-width: 260px;
}

/* ---- News Ticker ---- */
.news-ticker-container {
  width: 100%;
  height: 60px;
  max-height: 60px;
  background: linear-gradient(90deg, #0a0a14 0%, #12121f 100%);
  border-top: 2px solid rgba(220, 38, 38, 0.45);
  border-bottom: 2px solid rgba(220, 38, 38, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.3s both;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.12);
}

.ticker-title {
  flex-shrink: 0;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: ticker-pulse 1.2s ease-in-out infinite;
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

.ticker-window {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
  /* Fade edges for a polished look */
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-tape {
  display: flex;
  align-items: center;
  position: absolute;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 80s linear infinite;
}

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

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

.ticker-news-item {
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  font-size: 0.82rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.35;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-news-item:hover {
  color: #fca5a5;
  text-decoration: underline;
}

.ticker-source {
  font-weight: 700;
  color: #f87171;
  margin-right: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ticker-separator {
  color: rgba(220, 38, 38, 0.5);
  font-size: 0.5rem;
  padding: 0 4px;
  flex-shrink: 0;
}

.news-item-loading {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  padding: 0 24px;
  font-family: var(--font-body, 'Inter', sans-serif);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-carousel-slide img { max-height: 220px; }
  .hero-carousel-arrow { width: 34px; height: 34px; font-size: 1.5rem; }
  .hero-search-section { padding: var(--space-5) 0 var(--space-4); }
  .hero-search-row { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .hero-search-title,
  .hero-search-subtitle { font-size: var(--text-xl); }
  .news-ticker-container { height: 56px; max-height: 56px; }
}

/* ---- Home Sidebar Layout ---- */
.home-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-top: var(--space-8);
}

.home-main-content {
  min-width: 0;
}

/* ---- Category Sidebar (Mercado Libre style) ---- */
.category-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 90px;
  animation: fadeInUp 0.5s ease 0.2s both;
}

.cat-sidebar-title {
  font-size: var(--text-base);
  font-weight: 700;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(229, 57, 53, 0.04);
  color: var(--text-primary);
}

.cat-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-sidebar-item {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.cat-sidebar-item:last-child {
  border-bottom: none;
}
.cat-sidebar-item.expanded {
  background: rgba(229, 57, 53, 0.03);
}

.cat-sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  font-size: var(--text-sm);
  color: var(--text-primary);
  user-select: none;
}
.cat-sidebar-link:hover {
  background: rgba(229, 57, 53, 0.06);
  color: var(--accent);
}

.cat-sidebar-emoji {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.cat-sidebar-name {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-sidebar-count {
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 1px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
}

.cat-sidebar-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.cat-sidebar-arrow.rotated {
  transform: rotate(90deg);
}

/* Subcategory list */
.cat-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,0.015);
  border-top: 1px solid rgba(0,0,0,0.04);
  animation: fadeIn 0.2s ease;
}

.cat-sub-item {}

.cat-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-10);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cat-sub-link:hover {
  background: rgba(229, 57, 53, 0.08);
  color: var(--accent);
}

.cat-sub-count {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0 6px;
  border-radius: var(--radius-full);
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .home-with-sidebar {
    grid-template-columns: 1fr;
  }
  .category-sidebar {
    position: static;
  }
}

/* ---- Featured Ads ---- */
.featured-section .ad-grid {
  animation: fadeInUp 0.5s ease 0.1s both;
}

/* ---- Category Breadcrumb ---- */
.category-breadcrumb {
  padding: var(--space-4) 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.category-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.category-breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- Subcategory Tabs ---- */
.cat-sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) 0;
}
.cat-sub-tab {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.cat-sub-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cat-sub-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ---- Category Page Header ---- */
.category-page-header {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--space-6);
}
.category-page-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.category-page-title .cat-icon {
  font-size: var(--text-3xl);
}
.category-page-count {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ---- Publish Page ---- */
.publish-page {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}
.publish-page-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  text-align: center;
}
.publish-page-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}
.publish-form {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}
.publish-type-toggle {
  margin-bottom: var(--space-8);
}
.premium-features {
  background: linear-gradient(135deg, rgba(229,57,53,0.1), rgba(255,112,67,0.08));
  border: 1px solid rgba(229,57,53,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}
.premium-features-title {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.premium-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.premium-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.publish-form-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.publish-form-actions .btn {
  flex: 1;
}

/* ---- Ad Detail Page ---- */
.ad-detail-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}
.ad-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.ad-detail-breadcrumb a:hover { color: var(--text-primary); }
.ad-detail-breadcrumb .separator { color: var(--text-muted); }

.ad-detail-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-8);
}
.ad-detail-main {}
.ad-detail-sidebar {}

.ad-detail-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.ad-detail-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.ad-detail-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ad-detail-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
  white-space: pre-wrap;
}
.ad-detail-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.ad-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.ad-detail-meta-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ad-detail-meta-value {
  font-weight: 600;
  font-size: var(--text-sm);
}

/* My Ads Page */
.my-ads-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}
.my-ads-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.my-ads-title {
  font-size: var(--text-3xl);
  font-weight: 700;
}

/* ---- Auth Page ---- */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 200px);
  padding: var(--space-8) var(--space-6);
}

.auth-required-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 300px);
  padding: var(--space-8) var(--space-6);
}

/* ---- Responsive Page Styles ---- */
@media (max-width: 768px) {
  .hero-title { font-size: var(--text-3xl); }
  .hero-subtitle { font-size: var(--text-base); }
  .news-ticker-container { height: 56px; max-height: 56px; }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .ad-detail-content { grid-template-columns: 1fr; }
  .publish-page { padding: var(--space-6) var(--space-4); }
  .publish-form { padding: var(--space-5); }
  .premium-features-list { grid-template-columns: 1fr; }
  .ad-detail-title { font-size: var(--text-2xl); }
  .ad-detail-price { font-size: var(--text-2xl); }
  .auth-page { padding: var(--space-4) var(--space-3); min-height: auto; }
  .auth-required-page { padding: var(--space-4) var(--space-3); min-height: auto; }
}

/* ============================================
   PROMO SLIDESHOW BANNER
   ============================================ */
.promo-banner-wrap {
  width: 100%;
  background: #000;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

.promo-banner {
  position: relative;
  width: 100%;
  max-height: 420px;
  display: flex;
  align-items: center;
}

.promo-track-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.promo-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  height: 420px;
}

.promo-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows */
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.65;
  padding: 0;
  outline: none;
  user-select: none;
}
.promo-arrow:hover {
  background: rgba(229, 57, 53, 0.75);
  border-color: rgba(229, 57, 53, 0.8);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.promo-arrow-left  { left: 14px; }
.promo-arrow-right { right: 14px; }

/* Dot indicators */
.promo-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  outline: none;
}
.promo-dot.active {
  background: #e53935;
  transform: scale(1.35);
}

/* Progress bar on active slide */
.promo-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient, linear-gradient(90deg,#e53935,#ff7043));
  transition: width 0.15s linear;
  z-index: 11;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-track,
  .promo-banner { max-height: 240px; }
  .promo-track { height: 240px; }
  .promo-arrow { width: 32px; height: 32px; font-size: 1.4rem; }
}

/* ============================================
   BLOG + VIDEO — Home Page Section (2 columns)
   ============================================ */
.blog-preview-section {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--glass-border);
}

.blog-video-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.blog-side { min-width: 0; }
.video-side { min-width: 0; }

.blog-preview-loading {
  text-align: center;
  padding: var(--space-8) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* ---- YouTube Video Carousel ---- */
.yt-carousel {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  animation: fadeInUp 0.4s ease both;
}

.yt-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.yt-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.yt-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}

.yt-carousel-slide iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
}

.yt-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}
.yt-carousel-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.08);
}

.yt-carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.yt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.yt-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.yt-progress-bar {
  height: 3px;
  background: var(--accent-gradient, linear-gradient(90deg, #e53935, #ff7043));
  width: 0%;
  transition: width 0.1s linear;
}

.blog-preview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.4s ease both;
  color: var(--text-primary);
}

.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  border-color: rgba(229,57,53,0.22);
}

.blog-preview-cover {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: rgba(229,57,53,0.05);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.blog-preview-card:hover .blog-preview-cover {
  background: rgba(229,57,53,0.1);
}

.blog-preview-body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.blog-preview-cat {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 600;
  text-transform: capitalize;
  background: rgba(229,57,53,0.08);
  border-radius: var(--radius-full);
  padding: 2px var(--space-2);
  display: inline-block;
  width: fit-content;
}

.blog-preview-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.blog-preview-card:hover .blog-preview-title {
  color: var(--accent);
}

.blog-preview-excerpt {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-preview-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.blog-preview-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff7043);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive: stack blog+video on tablet/mobile */
@media (max-width: 900px) {
  .blog-video-layout {
    grid-template-columns: 1fr;
  }
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

/* ============================================
   ADMIN METRICS DASHBOARD
   ============================================ */
.admin-metrics-section {
  margin-bottom: 0;
}

/* KPI Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 640px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .admin-kpi-grid { grid-template-columns: 1fr 1fr; }
}

.admin-kpi-card {
  background: var(--bg-surface, #fff);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 16px 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.admin-kpi-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
.admin-kpi-value {
  min-height: 36px;
  margin-bottom: 4px;
}
.admin-kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Skeleton loader */
.admin-kpi-skeleton {
  height: 28px;
  width: 70%;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--glass-border) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: skeleton-shimmer 1.4s infinite;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Funnel bars container */
.admin-funnel-bars {
  /* bars are rendered inline with styled divs */
}

/* Responsive 2-col grid inside dashboard */
@media (max-width: 560px) {
  .admin-metrics-section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================
   CONTACT / BUZÓN DE COMENTARIOS
   ============================================ */
.contact-card {
  background: var(--bg-surface);
  border: 2px solid #d0d0d0;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border-top: 4px solid var(--accent-start);
  box-shadow: var(--shadow-md);
}

.contact-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid #ddd;
}

.contact-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-1);
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Form fields inside contact */
.contact-card .form-group {
  margin-bottom: var(--space-5);
}

.contact-card .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.contact-card .input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ccc;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  font-size: var(--text-base);
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card .input::placeholder {
  color: #aaa;
}

.contact-card .input:focus {
  border-color: var(--accent-start);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
  outline: none;
}

.contact-textarea {
  resize: vertical;
  min-height: 220px;
  line-height: 1.7;
}

.contact-word-counter {
  text-align: right;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  transition: color 0.2s ease;
}

.contact-word-counter.limit-reached {
  color: #e53935;
  font-weight: 700;
}

.contact-submit-btn {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-lg) !important;
  margin-top: var(--space-4);
  border-radius: var(--radius-lg);
}

@media (max-width: 600px) {
  .contact-card {
    padding: var(--space-5);
  }
  .contact-header {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* ============================================
   MAP WIDGET — Location Picker (Publish/Edit)
   ============================================ */
.ag-map-widget {
  margin-top: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  background: var(--bg-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInUp 0.4s ease both;
}

.ag-map-widget-title {
  margin: 0 0 var(--space-1) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.ag-map-widget-subtitle {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0 0 var(--space-4) 0;
}

.ag-map-search-bar {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.ag-map-search-bar input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.ag-map-search-bar input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.ag-map-search-bar input[type="text"]::placeholder {
  color: var(--text-muted);
}

.ag-map-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.08), rgba(255, 112, 67, 0.06));
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.ag-map-geo-btn:hover {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.18), rgba(255, 112, 67, 0.14));
  border-color: rgba(229, 57, 53, 0.3);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.ag-map-geo-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.ag-map-canvas {
  height: 380px;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  background: #e8e8e8;
  z-index: 0;
}

/* Leaflet control overrides */
.ag-map-canvas .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.75) !important;
  color: #666 !important;
  font-size: 0.6rem !important;
}
.ag-map-canvas .leaflet-control-attribution a {
  color: #555 !important;
}

.ag-map-info-panel {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(229, 57, 53, 0.04);
  border: 1px solid rgba(229, 57, 53, 0.1);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.ag-map-info-panel strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ag-map-info-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.ag-map-info-row .ag-map-info-label {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Mini-map on ad detail page */
.ad-detail-map-wrap {
  margin-top: var(--space-6);
}

.ad-detail-map-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.ad-detail-map-canvas {
  height: 260px;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  background: #e8e8e8;
  z-index: 0;
}
.ad-detail-map-canvas .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.75) !important;
  color: #666 !important;
  font-size: 0.6rem !important;
}
.ad-detail-map-canvas .leaflet-control-attribution a {
  color: #555 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .ag-map-canvas {
    height: 280px;
  }
  .ag-map-search-bar {
    flex-direction: column;
  }
  .ag-map-geo-btn {
    width: 100%;
    justify-content: center;
  }
  .ad-detail-map-canvas {
    height: 200px;
  }
}

/* ============================================
   MEDIA CENTER — Videos y Reels Page
   ============================================ */
.media-center-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
  animation: fadeIn 0.4s ease;
}

/* ---- Page Header ---- */
.mc-page-header {
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.5s ease both;
}

.mc-page-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.mc-page-subtitle {
  color: var(--text-muted);
  font-size: var(--text-lg);
}

/* ---- Section Shared ---- */
.mc-section {
  margin-bottom: var(--space-12);
}

.mc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}

.mc-section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  border-left: 4px solid;
  border-image: var(--accent-gradient) 1;
  padding-left: var(--space-3);
  margin-bottom: var(--space-5);
}

.mc-section-subtitle {
  color: var(--text-muted);
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* ---- Hero Video (16:9) ---- */
.mc-hero-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-6);
  align-items: start;
  animation: fadeInUp 0.5s ease 0.1s both;
}

.mc-hero-video {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.mc-aspect-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--bg-secondary);
}

.mc-aspect-16-9 iframe,
.mc-aspect-16-9 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mc-aspect-16-9 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-hero-info {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.mc-hero-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.mc-hero-info p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.mc-hero-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: rgba(229, 57, 53, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 57, 53, 0.08);
}

.mc-hero-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mc-hero-location {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.mc-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mc-hero-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ---- WhatsApp Button ---- */
.mc-btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  font-size: var(--text-sm);
}

.mc-btn-whatsapp:hover {
  background: #1ebe5d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ---- Reels Carousel (9:16) ---- */
.mc-reels-carousel {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-2) var(--space-1);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}

.mc-reels-carousel::-webkit-scrollbar {
  display: none;
}

.mc-reels-carousel.mc-grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.mc-reel-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  animation: fadeInUp 0.4s ease both;
}

.mc-reel-card:nth-child(1) { animation-delay: 0s; }
.mc-reel-card:nth-child(2) { animation-delay: 0.05s; }
.mc-reel-card:nth-child(3) { animation-delay: 0.1s; }
.mc-reel-card:nth-child(4) { animation-delay: 0.15s; }
.mc-reel-card:nth-child(5) { animation-delay: 0.2s; }
.mc-reel-card:nth-child(6) { animation-delay: 0.25s; }

.mc-reel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(229, 57, 53, 0.18);
  border-color: rgba(229, 57, 53, 0.3);
}

.mc-aspect-9-16 {
  position: relative;
  padding-bottom: 177.78%;
  height: 0;
  background: var(--bg-secondary);
}

.mc-aspect-9-16 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-reel-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.mc-reel-card:hover .mc-reel-play-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.mc-play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-start);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mc-reel-card:hover .mc-play-icon {
  opacity: 1;
  transform: scale(1);
}

.mc-reel-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: #fff;
}

.mc-reel-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.mc-reel-title {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-reel-category {
  font-size: var(--text-xs);
  opacity: 0.75;
  margin-top: var(--space-1);
}

/* ---- Filters Bar ---- */
.mc-filters-bar {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  overflow-x: auto;
  margin-bottom: var(--space-5);
  scrollbar-width: none;
}

.mc-filters-bar::-webkit-scrollbar {
  display: none;
}

.mc-filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.mc-filter-btn:hover {
  border-color: rgba(229, 57, 53, 0.4);
  color: var(--text-primary);
  background: rgba(229, 57, 53, 0.06);
}

.mc-filter-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

/* ---- Video Grid (16:9) ---- */
.mc-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.mc-video-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  animation: fadeInUp 0.4s ease both;
}

.mc-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.25);
}

.mc-thumb-wrapper {
  position: relative;
}

.mc-video-duration {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.mc-video-card-body {
  padding: var(--space-4);
}

.mc-video-card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.mc-video-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.mc-video-card-price {
  font-weight: 700;
  color: var(--success);
}

.mc-video-card-location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 50%;
}

/* ---- Video Modal ---- */
.mc-video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.mc-video-modal.active {
  display: flex;
}

.mc-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}

.mc-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: scaleIn 0.3s ease;
}

.mc-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: #fff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mc-modal-close:hover {
  background: var(--accent-start);
  border-color: var(--accent-start);
  transform: rotate(90deg);
}

.mc-modal-content .mc-aspect-16-9 {
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  overflow: hidden;
}

.mc-modal-info {
  background: var(--bg-surface);
  padding: var(--space-6);
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
}

.mc-modal-title-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.mc-modal-price-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.mc-modal-desc-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.mc-modal-actions {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  flex-wrap: wrap;
}

.mc-modal-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: var(--space-3) var(--space-4) !important;
  font-size: var(--text-sm) !important;
  border-radius: var(--radius-lg) !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ---- Responsive Media Center ---- */
@media (max-width: 1024px) {
  .mc-hero-container {
    grid-template-columns: 1fr;
  }
  .mc-hero-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4);
    align-items: start;
  }
  .mc-hero-info h3 { grid-column: 1 / -1; }
  .mc-hero-info p { grid-column: 1 / -1; }
  .mc-hero-meta { grid-column: 1; }
  .mc-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    grid-column: 1 / -1;
  }
  .mc-hero-actions .btn { width: auto; flex: 1; min-width: 140px; }
  .mc-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mc-page-title { font-size: var(--text-3xl); }
  .mc-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  .mc-reel-card { width: 180px; }
  .mc-modal-content { width: 95%; }
  .mc-modal-actions {
    flex-direction: column;
  }
  .mc-modal-btn { min-width: 100%; }
  .mc-hero-info {
    display: block;
  }
  .mc-hero-actions {
    flex-direction: column;
  }
  .mc-hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .media-center-page {
    padding: var(--space-6) var(--space-4) var(--space-12);
  }
  .mc-page-title { font-size: var(--text-2xl); }
  .mc-video-grid {
    grid-template-columns: 1fr;
  }
  .mc-reel-card { width: 160px; }
  .mc-section-title { font-size: var(--text-xl); }
}
