/* ============================================================
   🎮 TCG DOWNLOAD BOX — STEAM PREMIUM v5 (Ícones + Badges)
   ============================================================ */

.tcb-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px 38px;
  border-radius: 14px;
  border: 2px solid var(--flex-gray-15);
  background: var(--solid-white);
  box-shadow: 0 16px 38px rgba(0,0,0,.08);
  transition: .25s ease;
  margin: 42px 0;
}

.tcb-download-box:hover {
  transform: translateY(-3px);
  border-color: #2ecc71;
  box-shadow: 0 26px 72px rgba(0,255,132,.25);
}

/* CONTENT */
.tcb-download-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.tcb-download-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* BASE BADGE (extensão) */
.tcb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  background: #616161;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 6px rgba(0,0,0,.22);
  transition: .18s ease;
}

.tcb-badge i { font-size: .9rem; opacity: .95; }

/* STATUS BADGE (PAGO / GRÁTIS) */
.tcb-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 6px rgba(0,0,0,.16);
}

.tcb-badge-status i { font-size: .92rem; opacity: .95; }

/* FREE / PAID */
.tcb-badge-status.tcb-free { background: #2ecc71; }
.tcb-badge-status.tcb-paid { background: #c0392b; }

/* SIZE BADGE */
.tcb-badge-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  text-transform: none;
  color: #fff;
  background: #37474f;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 4px rgba(0,0,0,.12);
}

.tcb-badge-size i { font-size: .95rem; opacity: .95; }

/* PALETA POR EXTENSÃO */
.tcb-badge.tcb-zip,
.tcb-badge.tcb-rar,
.tcb-badge.tcb-7z { background: #ff8c00; }

.tcb-badge.tcb-pdf { background: #d32f2f; }

.tcb-badge.tcb-doc,
.tcb-badge.tcb-docx,
.tcb-badge.tcb-odt,
.tcb-badge.tcb-txt { background: #1976d2; }

.tcb-badge.tcb-xls,
.tcb-badge.tcb-xlsx,
.tcb-badge.tcb-xlsm { background: #2e7d32; }

.tcb-badge.tcb-ppt,
.tcb-badge.tcb-pptx { background: #ef6c00; }

.tcb-badge.tcb-jpg,
.tcb-badge.tcb-jpeg,
.tcb-badge.tcb-png,
.tcb-badge.tcb-gif,
.tcb-badge.tcb-webp,
.tcb-badge.tcb-svg,
.tcb-badge.tcb-tiff { background: #8e24aa; }

.tcb-badge.tcb-mp3,
.tcb-badge.tcb-wav { background: #1565c0; }

.tcb-badge.tcb-mp4,
.tcb-badge.tcb-avi { background: #512da8; }

.tcb-badge.tcb-exe,
.tcb-badge.tcb-msi { background: #212121; }

.tcb-badge.tcb-unknown { background: #757575; }

/* DOWNLOAD BUTTON */
.tcb-download-btn {
  background: linear-gradient(90deg, #007b35, #009c41);
  padding: 12px 34px;
  border-radius: 12px;
  font-size: 1.12rem;
  font-weight: 900;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: .22s ease;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,140,70,.18);
  border: 2px solid rgba(255,255,255,.14);
}

.tcb-download-btn i { font-size: 1.4rem; filter: drop-shadow(0 0 4px rgba(0,0,0,.28)); }

.tcb-download-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 18px 38px rgba(0,200,120,.18);
  border-color: rgba(255,255,255,.28);
}

/* PASSWORD */
.tcb-password {
  margin-top: 8px;
  font-size: .92rem;
  background: var(--flex-gray-05);
  border: 1px solid var(--flex-gray-15);
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}

/* IMAGE */
.tcb-download-image img {
  width: 160px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* DARK MODE */
[data-theme="dark"] .tcb-download-box { background: #0f1113; border-color: #2b2e32; }
[data-theme="dark"] .tcb-badge { box-shadow: inset 0 0 6px rgba(0,0,0,.32); }
[data-theme="dark"] .tcb-badge-size { background: #263238; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .tcb-download-content { max-width: 100%; }
  .tcb-download-image img { width: 140px; }
}

@media (max-width:768px) {
  .tcb-download-box { flex-direction: column; text-align: center; gap: 18px; padding: 22px; }
  .tcb-download-image img { margin-top: 8px; width: 180px; }
  .tcb-download-content h3 { justify-content: center; }
}
