/* ═══════════════════════════════════════════════════
   Home Page Specific Styles
   ═══════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--navbar-height) + var(--banner-height));
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 40%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}

/* ── Hero Content ─────────────────────────────── */
.hero-content {
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--primary-light);
  margin-bottom: var(--space-xl);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.hero-title {
  font-size: var(--fs-6xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* ── Hero Stats ───────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* ── Hero Visual ──────────────────────────────── */
.hero-visual {
  position: relative;
}

.hero-showcase {
  position: relative;
}

.showcase-card {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.showcase-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--space-md);
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  border-radius: inherit;
}

.showcase-placeholder i {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.showcase-tag {
  font-size: var(--fs-xs);
  padding: 2px 10px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
}

/* When admin uploads an image / video, fill the showcase-card with it */
.showcase-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Floating "tag" pill stays visible on top of the media */
.showcase-tag.floating {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 30, 0.78);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

/* Optional logo / icon image on a floating card (admin-uploaded) */
.floating-card-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
