/* =========================================
   OVERLAY E CONTAINER BASE
   ========================================= */
.trono-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.trono-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.trono-modal-container {
  background: #120b17;
  border-radius: 32px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trono-modal-overlay.active .trono-modal-container {
  transform: scale(1);
}

.trono-modal-container::-webkit-scrollbar { width: 6px; }
.trono-modal-container::-webkit-scrollbar-track { background: transparent; }
.trono-modal-container::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

.trono-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.trono-modal-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }

/* =========================================
   MODAL GRÁTIS (ROXO/ROSA)
   ========================================= */
#tronoModalFree .trono-modal-container {
  background: radial-gradient(circle at top, #3a1025 0%, #0d0812 70%);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.tm-header-free {
  padding: 40px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-title-main {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.tm-title-free-badge {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 24px;
}

.tm-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: 95%;
}

.tm-price-details-simple {
  width: 100%;
  background: linear-gradient(135deg, #ff4757 0%, #9d00ff 100%);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(157, 0, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.tm-price-details-simple::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.tm-price-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-price-title span {
  font-size: 11px;
  background: #fff;
  color: #ff4757;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 900;
}

.tm-price-value {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0;
}

.tm-actions-free {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tm-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.tm-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* =========================================
   MODAL PRO (VERDE)
   ========================================= */
#tronoModalPro .trono-modal-container {
  background: radial-gradient(circle at top, #053b22 0%, #05100a 70%);
  border: 1px solid rgba(46, 234, 138, 0.2);
}

.tm-header-pro {
  padding: 50px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.tm-pro-glow {
  position: absolute;
  top: 20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(46,234,138,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.tm-title-pro {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  z-index: 1;
}

.tm-subtitle-pro {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.tm-subtitle-pro span {
  background: #2eea8a;
  color: #053b22;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
}

.tm-desc-pro {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 90%;
  z-index: 1;
}
.tm-desc-pro strong { color: #2eea8a; font-weight: 600; }

.tm-actions-pro {
  padding: 0 24px 30px;
}

.tm-btn-primary-pro {
  background: linear-gradient(90deg, #2eea8a 0%, #1ca85b 100%);
  color: #053b22;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(46, 234, 138, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}
.tm-btn-primary-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(46, 234, 138, 0.4);
}