/* ============================================================
   MEDIA.LEAD — Components
   Buttons, Cards, Badges, Inputs
   ============================================================ */

/* ── Primary Button ─────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--type-button-size);
  line-height: var(--type-button-lh);
  font-weight: var(--type-button-weight);
  letter-spacing: var(--type-button-tracking);
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-hover);
  white-space: nowrap;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(255,58,58,0.25), 0 0 80px rgba(125,114,254,0.12);
}

.btn-primary:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* ── Secondary Button ───────────────────────────────────────── */

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--type-button-size);
  line-height: var(--type-button-lh);
  font-weight: var(--type-button-weight);
  letter-spacing: var(--type-button-tracking);
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.03);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* ── Button Sizes ───────────────────────────────────────────── */

.btn-lg {
  padding: 18px 36px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

.btn-md {
  padding: 14px 28px;
  font-size: 14px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ── Card ───────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  transition: all 0.35s var(--ease-hover);
  position: relative;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Accent Card */
.card--accent {
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 40px rgba(255,58,58,0.06), 0 0 80px rgba(125,114,254,0.03);
}

.card--accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.6;
  border-radius: 0 0 2px 2px;
}

/* ── Badge (Pill) ───────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22px;
  color: #D0D0DD;
  white-space: nowrap;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.badge:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.10);
}

.badge svg,
.badge .badge-icon,
.badge i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  color: #FFFFFF;
}

/* Accent Badge */
.badge--accent {
  background: var(--accent-gradient);
  border: none;
  color: #FFFFFF;
  padding: 5px 14px;
  font-family: var(--font-display);
  font-size: var(--type-label-sm-size);
  line-height: var(--type-label-sm-lh);
  font-weight: var(--type-label-sm-weight);
  letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase;
}

/* ── Input ──────────────────────────────────────────────────── */

.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: var(--type-body-sm-size);
  line-height: var(--type-body-sm-lh);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input::placeholder {
  color: var(--text-muted);
}

.input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(125, 114, 254, 0.1);
}

/* ── Divider ────────────────────────────────────────────────── */

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-default);
}

