/* =========================================================
   CRVSH — coincrvsh.css
   Estilos específicos de coincrvsh/index.html
   ========================================================= */

/* ---- Override hero for coincrvsh ---- */
.hero {
  padding: 9.5rem 1rem 4rem;
  background: radial-gradient(ellipse at 50% 40%, #3a1228 0%, var(--bg-deep) 70%);
}

.hero::before {
  background:
    radial-gradient(circle at 30% 60%, rgba(232, 96, 140, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(240, 192, 96, 0.08) 0%, transparent 45%);
}

.hero-content {
  max-width: none;
  gap: 1.25rem;
}

/* Override hero-tagline for coincrvsh (small subtitle) */
.hero-tagline {
  font-size: clamp(0.95rem, 4vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 28ch;
  letter-spacing: 0.01em;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(232, 96, 140, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(240, 192, 96, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,96,140,0.15), rgba(240,192,96,0.1));
  border: 1px solid var(--border);
  color: var(--pink-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.subsection-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* =========================================================
   COIN STATUS CARD (JS-populated)
   ========================================================= */
.status-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-card--verified {
  background: linear-gradient(135deg, rgba(40,180,100,0.1), rgba(232,96,140,0.08));
  border: 1.5px solid rgba(40,180,100,0.35);
  box-shadow: 0 0 24px rgba(40,180,100,0.12), 0 0 60px rgba(232,96,140,0.06);
}

.status-card--info {
  background: linear-gradient(135deg, rgba(232,96,140,0.08), rgba(240,192,96,0.05));
  border: 1.5px solid var(--border);
}

.status-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-verified-icon {
  width: 26px;
  height: 26px;
  background: rgba(40,180,100,0.2);
  border: 1.5px solid rgba(40,180,100,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.status-info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.status-hash {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.status-hash span { color: rgba(40,180,100,0.85); }

.status-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   QUE ES
   ========================================================= */
.text-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.text-card strong { color: var(--text); }

.value-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(240,192,96,0.08), rgba(232,96,140,0.05));
  border: 1px solid rgba(240,192,96,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.value-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.95rem;
}

.gold { color: var(--gold); }

/* =========================================================
   COMO CONSEGUIR
   ========================================================= */
.welcome-pack {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.welcome-pack-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.welcome-pack h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.welcome-pack p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cartel-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

/* Tier grid */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  transition: border-color var(--transition);
}
.tier-card:hover { border-color: var(--pink); }

.tier-count {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pink-light);
}

.tier-arrow { font-size: 0.9rem; color: var(--text-muted); }

.tier-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 700;
}

.coin-mini--sm {
  width: 22px;
  height: 22px;
}

.tier-reward-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 700;
}

.tier-card--gold .tier-reward-num { color: var(--gold); }

.tier-alert {
  background: rgba(140, 0, 55, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.6;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.tier-alert strong {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.tier-card--gold {
  background: linear-gradient(135deg, rgba(240,192,96,0.1), rgba(232,96,140,0.06));
  border-color: rgba(240,192,96,0.3);
  box-shadow: 0 0 16px rgba(240,192,96,0.08);
}
.tier-card--gold .tier-count { color: var(--gold); }
.tier-card--gold .tier-reward { color: var(--gold-light); }

.tier-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.challenges-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.badge-rotating {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  padding: 0.25em 0;
}

.challenges-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.challenges-table thead tr {
  background: rgba(120, 0, 50, 0.6);
}

.challenges-table th {
  padding: 0.7rem 1rem;
  text-align: left;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.challenges-table tbody tr:nth-child(odd) {
  background: rgba(160, 0, 70, 0.35);
}

.challenges-table tbody tr:nth-child(even) {
  background: rgba(180, 0, 80, 0.25);
}

.challenges-table tbody tr:hover {
  background: rgba(120, 0, 50, 0.5);
}

.challenges-table td {
  padding: 0.65rem 1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}


.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.challenge-card:hover {
  border-color: rgba(232,96,140,0.3);
  transform: translateY(-2px);
}

.challenge-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.challenge-reward {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2em 0.6em;
  border-radius: 100px;
  align-self: flex-start;
  background: rgba(232,96,140,0.12);
  color: var(--pink-light);
  border: 1px solid rgba(232,96,140,0.2);
}

.challenge-card--2 .challenge-reward {
  background: rgba(240,192,96,0.12);
  color: var(--gold-light);
  border-color: rgba(240,192,96,0.2);
}

.challenge-card--3 {
  border-color: rgba(240,192,96,0.25);
  background: linear-gradient(135deg, rgba(240,192,96,0.07), rgba(232,96,140,0.04));
}
.challenge-card--3 .challenge-reward {
  background: rgba(240,192,96,0.18);
  color: var(--gold);
  border-color: rgba(240,192,96,0.35);
}

/* =========================================================
   CATALOGO DE RECOMPENSAS
   ========================================================= */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reward-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.reward-card:hover { transform: translateY(-2px); }

.reward-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}


.reward-coins {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240,192,96,0.1);
  border: 1.5px solid rgba(240,192,96,0.2);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  flex-shrink: 0;
}


.coins-num {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1;
}


.reward-choose {
  font-size: 0.7rem;
  color: var(--pink-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

.reward-level-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.reward-value {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: var(--pink-light);
  font-weight: 700;
}

.reward-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reward-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.reward-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

/* TIER STARTER (1-5) */
.tier-starter {
  background: rgba(180, 0, 80, 0.45);
  border-color: rgba(255, 255, 255, 0.25);
}

/* TIER ADVANCED (8-15) */
.tier-advanced {
  background: rgba(160, 0, 70, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.tier-advanced .reward-list li::before { background: #fff; }

/* TIER HIGH (20-30) */
.tier-high {
  background: linear-gradient(135deg, rgba(140, 0, 60, 0.6), rgba(100, 50, 0, 0.5));
  border-color: rgba(240,192,96,0.6);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.tier-high .reward-list li::before { background: var(--gold); }
.tier-high .coins-num { color: var(--gold); }
.tier-high .reward-coins {
  background: rgba(240,192,96,0.18);
  border-color: rgba(240,192,96,0.45);
}

/* TIER EPIC (50-80) */
.tier-epic {
  background: linear-gradient(135deg, rgba(120, 0, 50, 0.65), rgba(80, 40, 0, 0.6));
  border-color: rgba(240,192,96,0.7);
  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(240,192,96,0.15);
}
.tier-epic .reward-list li::before {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
}
.tier-epic .coins-num {
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}
.tier-epic .reward-coins {
  background: rgba(240,192,96,0.2);
  border-color: rgba(240,192,96,0.55);
  box-shadow: 0 0 12px rgba(240,192,96,0.12);
}

/* TIER LEGENDARY (100+) */
.tier-legendary {
  background: linear-gradient(135deg, rgba(100, 0, 40, 0.7), rgba(60, 30, 0, 0.65));
  border-color: rgba(240,192,96,0.8);
  box-shadow:
    0 0 32px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(240,192,96,0.2),
    inset 0 0 30px rgba(240,192,96,0.05);
}
.tier-legendary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), #fff, var(--gold), transparent);
}
.tier-legendary .reward-list li::before {
  background: linear-gradient(135deg, var(--gold), #fff);
  box-shadow: 0 0 8px var(--gold-glow);
}
.tier-legendary .coins-num {
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.tier-legendary .reward-coins {
  background: linear-gradient(135deg, rgba(240,192,96,0.2), rgba(255,255,255,0.08));
  border-color: rgba(240,192,96,0.65);
  box-shadow: 0 0 16px rgba(240,192,96,0.15);
}
.tier-legendary .reward-level-name {
  background: linear-gradient(135deg, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* TIER IMPOSSIBLE (1000) */
.tier-impossible {
  background: linear-gradient(135deg, rgba(80, 0, 30, 0.75), rgba(50, 25, 0, 0.7));
  border: 2px solid var(--gold);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(240,192,96,0.2);
}
.tier-impossible .coins-num {
  font-size: 1rem;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold-glow);
}
.tier-impossible .reward-coins {
  background: linear-gradient(135deg, rgba(240,192,96,0.25), rgba(255,255,255,0.08));
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.tier-impossible .reward-level-name {
  background: linear-gradient(135deg, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05rem;
}
.tier-impossible .reward-list li {
  color: var(--text);
  font-style: italic;
}
.tier-impossible .reward-list li::before {
  background: linear-gradient(135deg, var(--gold), #fff);
  box-shadow: 0 0 10px var(--gold-glow);
  width: 7px;
  height: 7px;
  top: 0.4em;
}

/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 600px) {
  .challenges-grid { grid-template-columns: 1fr 1fr 1fr; }
  .tier-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tabla retos — filas ocultas */
.challenges-extra--hidden { display: none; }

.challenges-extra--hidden tr {
  opacity: 0;
  transform: translateY(-6px);
}

.challenges-extra--visible tr {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.btn-show-more {
  display: block;
  margin: 0.6rem auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.btn-show-more:hover {
  color: var(--pink-light);
  text-decoration-color: rgba(232,96,140,0.4);
}

@media (prefers-reduced-motion: reduce) {
  .badge-rotating { animation: none; }
}

/* =========================================================
   VERIFICACIÓN COINCRVSH
   ========================================================= */
.hidden { display: none !important; }

.verify-section {
  padding: 0;
}

.verify-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Spinner de carga */
.verify-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.verify-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(232,96,140,0.2);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: verifySpin 0.8s linear infinite;
}

@keyframes verifySpin {
  to { transform: rotate(360deg); }
}

.verify-loading-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Card resultado */
.verify-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

/* Icono circular */
.verify-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.verify-icon--success {
  background: rgba(52, 211, 153, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.verify-icon--error {
  background: rgba(232,96,140,0.1);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.verify-icon--warn {
  background: rgba(240,192,96,0.1);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

/* Colores de borde por resultado */
.verify-card--success { border-color: rgba(52,211,153,0.2); }
.verify-card--error   { border-color: rgba(232,96,140,0.2); }
.verify-card--warn    { border-color: rgba(240,192,96,0.2); }

.verify-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.verify-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.verify-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  line-height: 1.5;
}

.verify-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

/* Botones */
.verify-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: opacity var(--transition), transform var(--transition);
}
.verify-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.verify-btn--primary {
  background: linear-gradient(135deg, var(--pink), #c03060);
  color: #fff;
}

.verify-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.verify-btn--ghost:hover { border-color: var(--pink); color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .verify-spinner { animation: none; }
}
