* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
}

body {
  background-color: #030712;
  color: #00f0ff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* LOGOS */
.nav-logo {
  height: 35px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

.modal-logo {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 8px #00f0ff);
}

.info-logo {
  height: 30px;
  width: auto;
}

/* CAPAS Y MODALES */
.terms-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(3, 7, 18, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.terms-card {
  background: #0b1329;
  border: 1px solid #00f0ff;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.25);
}

.terms-card h2 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  margin-bottom: 10px;
}

.terms-body {
  background: #030712;
  border: 1px solid #1e293b;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 20px 0;
}

.terms-body p { margin-bottom: 10px; }
.terms-body p:last-child { margin-bottom: 0; }
.terms-body strong { color: #00f0ff; }

/* MODAL PREMIUM */
.premium-modal-card {
  position: relative;
  max-width: 600px;
}

.close-modal {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 1.8rem;
  color: #94a3b8;
  cursor: pointer;
}

.price-tag {
  color: #ffb700;
  font-size: 1.2rem;
  margin-top: 5px;
}

/* TABLA COMPARATIVA */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

.plan-col {
  padding: 15px;
  border-radius: 10px;
  text-align: left;
}

.free-col {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #334155;
}

.premium-col {
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid #ff0055;
}

.plan-col h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.plan-col ul {
  list-style: none;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.plan-col li {
  margin-bottom: 8px;
}

.stripe-btn {
  background: #635bff;
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

/* CANJEAR CÓDIGO */
.redeem-box {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.redeem-box p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.redeem-input-group {
  display: flex;
  gap: 8px;
}

.redeem-input-group input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #030712;
  color: #fff;
}

.redeem-input-group button {
  background: #00f0ff;
  color: #030712;
  padding: 0 15px;
  font-weight: bold;
}

/* TOASTS (NOTIFICACIONES) */
.toast-container {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border-left: 4px solid #00f0ff;
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 600;
  min-width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.toast.error { border-left-color: #ff0055; }
.toast.success { border-left-color: #22c55e; }

/* NAVBAR Y FONDO */
.background-glow {
  position: fixed;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(5, 8, 22, 0.85);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.logo { 
  font-family: 'Orbitron', sans-serif; 
  font-size: 1.6rem; 
  font-weight: 900; 
  color: #fff;
  display: flex;
  align-items: center;
}
.logo span { color: #ff0055; }

.user-nav { display: flex; align-items: center; gap: 15px; }

.btn-premium-nav {
  background: linear-gradient(135deg, #ff0055, #ffb700);
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.btn-premium-nav:hover {
  transform: scale(1.05);
}

.ip-badge {
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid #ff0055;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 700;
}

/* BOTONES GENERALES */
button, .download-link-btn {
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #00f0ff;
  color: #050811;
  padding: 12px 20px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* LAYOUT PRINCIPAL */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px 20px;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* TARJETA CONVERTIDORA */
.downloader-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.glitch-text { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; color: #fff; }
.subtitle { color: #ff0055; font-weight: 600; margin-bottom: 25px; }

.input-group { display: flex; gap: 10px; }
.input-group input {
  flex: 1; padding: 15px; border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  background: rgba(5, 8, 17, 0.8); color: #fff; outline: none;
}

#downloadBtn {
  background: #00f0ff;
  color: #050811;
  padding: 0 25px;
  font-weight: 700;
  white-space: nowrap;
}

#downloadBtn:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.terms-disclaimer {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.terms-disclaimer a {
  color: #00f0ff;
  text-decoration: underline;
  cursor: pointer;
}

.terms-disclaimer a:hover {
  color: #ff0055;
}

.status-message { margin-top: 20px; font-weight: 600; }
.download-link-btn { display: block; width: 100%; padding: 15px; background: #22c55e; color: #fff; margin-top: 20px; font-weight: bold; }

/* SECCIÓN INFORMATIVA */
.info-box {
  width: 100%;
  background: rgba(11, 19, 41, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.info-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.info-card {
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.info-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.info-card h3 { color: #00f0ff; font-size: 1.1rem; margin-bottom: 8px; }
.info-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.4; }

.full-width { width: 100%; }