/* ========================================
   BTCSCREEN - Hoja de estilos optimizada
   ======================================== */

/* Fuente personalizada para emojis de banderas */
@font-face {
  font-family: NotoColorEmojiLimited;
  unicode-range: U+1F1E6-1F1FF;
  src: url(https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf);
}

/* Contenedor principal con fondo oscuro */
.btcs-container {
  background: #202225;
  width: 100vw !important;
  min-width: 100vw !important;
  position: relative;
  left: 0;
  right: 0;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 50px 20px;
  margin-top: 0;
  margin-bottom: 20px !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Wrapper del contenido */
.btcs-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #e4e6eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  position: relative;
}

/* Título principal */
.btcs-main-title {
  color: #fefefe;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 30px 0;
  padding-top: 20px;
}

.btcs-main-title .btcs-highlight {
  background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Título de sección */
.btcs-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

/* Grid de bloques de precios */
.btcs-price-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

/* Bloque de precio individual */
.btcs-price-block {
  flex: 1 1 280px;
  min-width: 280px;
  max-width: 400px;
  background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
  border: 1px solid rgba(93, 173, 226, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btcs-price-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(93, 173, 226, 0.3);
  border-color: rgba(93, 173, 226, 0.6);
}

/* Barra superior decorativa */
.btcs-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #5dade2, #a29bfe);
}

/* Etiqueta de moneda */
.btcs-currency-label {
  font-size: 13px;
  text-transform: uppercase;
  color: #b9bbbe;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Precio principal */
.btcs-price-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.btcs-price-value span {
  color: #5dade2;
}

/* Información de actualización */
.btcs-update-info {
  font-size: 12px;
  color: #b9bbbe;
  line-height: 1.7;
  font-family: 'NotoColorEmojiLimited', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.btcs-update-info strong {
  color: #5dade2;
  font-weight: 600;
}

/* Pie de página */
.btcs-footer {
  font-size: 12px;
  color: #72767d;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(93, 173, 226, 0.2);
}

/* ========================================
   SECCIÓN DE CARACTERÍSTICAS
   ======================================== */

/* Contenedor de características */
.btcs-features-container {
  background: #202225;
  width: 100vw !important;
  min-width: 100vw !important;
  position: relative;
  left: 0;
  right: 0;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 50px 20px;
  margin-top: 20px !important;
  margin-bottom: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Wrapper de características */
.btcs-features-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
  color: #e4e6eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  position: relative;
}

/* Cabecera de características */
.btcs-features-header {
  text-align: center;
  margin-bottom: 40px;
}

.btcs-features-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.btcs-features-subtitle {
  font-size: 1.1rem;
  color: #b9bbbe;
  margin: 0;
}

/* Grid de características */
.btcs-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Tarjeta de característica */
.btcs-feature-card {
  background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
  border: 1px solid rgba(66, 153, 225, 0.3);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btcs-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(66, 153, 225, 0.3);
  border-color: rgba(66, 153, 225, 0.6);
}

/* Variantes de color para las tarjetas */
.btcs-feature-card.blue {
  border-color: rgba(66, 153, 225, 0.3);
}
.btcs-feature-card.blue:hover {
  box-shadow: 0 12px 32px rgba(66, 153, 225, 0.3);
  border-color: rgba(66, 153, 225, 0.6);
}

.btcs-feature-card.green {
  border-color: rgba(72, 187, 120, 0.3);
}
.btcs-feature-card.green:hover {
  box-shadow: 0 12px 32px rgba(72, 187, 120, 0.3);
  border-color: rgba(72, 187, 120, 0.6);
}

.btcs-feature-card.orange {
  border-color: rgba(237, 137, 54, 0.3);
}
.btcs-feature-card.orange:hover {
  box-shadow: 0 12px 32px rgba(237, 137, 54, 0.3);
  border-color: rgba(237, 137, 54, 0.6);
}

.btcs-feature-card.purple {
  border-color: rgba(159, 122, 234, 0.3);
}
.btcs-feature-card.purple:hover {
  box-shadow: 0 12px 32px rgba(159, 122, 234, 0.3);
  border-color: rgba(159, 122, 234, 0.6);
}

.btcs-feature-card.teal {
  border-color: rgba(56, 178, 172, 0.3);
}
.btcs-feature-card.teal:hover {
  box-shadow: 0 12px 32px rgba(56, 178, 172, 0.3);
  border-color: rgba(56, 178, 172, 0.6);
}

.btcs-feature-card.amber {
  border-color: rgba(246, 173, 85, 0.3);
}
.btcs-feature-card.amber:hover {
  box-shadow: 0 12px 32px rgba(246, 173, 85, 0.3);
  border-color: rgba(246, 173, 85, 0.6);
}

/* Barra superior de característica */
.btcs-feature-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.btcs-feature-bar.blue {
  background: linear-gradient(90deg, #4299e1, #667eea);
}

.btcs-feature-bar.green {
  background: linear-gradient(90deg, #48bb78, #38a169);
}

.btcs-feature-bar.orange {
  background: linear-gradient(90deg, #ed8936, #dd6b20);
}

.btcs-feature-bar.purple {
  background: linear-gradient(90deg, #9f7aea, #805ad5);
}

.btcs-feature-bar.teal {
  background: linear-gradient(90deg, #38b2ac, #319795);
}

.btcs-feature-bar.amber {
  background: linear-gradient(90deg, #f6ad55, #ed8936);
}

/* Icono de característica */
.btcs-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btcs-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btcs-feature-icon.checkmark {
  font-size: 48px;
  color: #48bb78;
}

/* Título de característica */
.btcs-feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
}

/* Lista de característica */
.btcs-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  color: #b9bbbe;
  font-size: 0.95rem;
  line-height: 1.8;
}

.btcs-feature-list li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.btcs-feature-list li:last-child {
  margin-bottom: 0;
}

.btcs-feature-list li .bullet {
  position: absolute;
  left: 0;
  font-weight: bold;
}

.btcs-feature-list li .bullet.blue { color: #5dade2; }
.btcs-feature-list li .bullet.green { color: #48bb78; }
.btcs-feature-list li .bullet.orange { color: #ed8936; }
.btcs-feature-list li .bullet.purple { color: #9f7aea; }
.btcs-feature-list li .bullet.teal { color: #38b2ac; }
.btcs-feature-list li .bullet.amber { color: #f6ad55; }

/* Quote de característica */
.btcs-feature-quote {
  font-style: italic;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.btcs-feature-quote.blue { color: #667eea; }
.btcs-feature-quote.green { color: #48bb78; }
.btcs-feature-quote.orange { color: #ed8936; }
.btcs-feature-quote.purple { color: #9f7aea; }
.btcs-feature-quote.teal { color: #38b2ac; }
.btcs-feature-quote.amber { color: #f6ad55; }

/* Código inline */
.btcs-inline-code {
  background: #1a1d21;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #5dade2;
}

/* Precio dinámico */
.btcscreen-price {
  color: #5dade2;
}

/* ========================================
   SECCIÓN VIRES IN NUMERIS
   ======================================== */

/* Wrapper de Vires */
.btcs-vires-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Enlace de Vires */
.btcs-vires-link {
  display: block;
  background: transparent;
  padding: 30px;
  text-decoration: none;
  color: inherit;
}

/* Contenido de Vires */
.btcs-vires-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Encabezado de Vires */
.btcs-vires-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(93, 173, 226, 0.3);
}

.btcs-vires-title {
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: #ffffff;
  font-weight: 700;
}

.btcs-vires-subtitle {
  font-size: 1.1rem;
  color: #b9bbbe;
  margin: 0;
  font-weight: 500;
}

/* Cita destacada */
.btcs-vires-quote-box {
  background: linear-gradient(135deg, rgba(93, 173, 226, 0.15) 0%, rgba(162, 155, 254, 0.15) 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(93, 173, 226, 0.2);
}

.btcs-vires-quote {
  color: #e4e6eb;
  margin: 0;
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Grid de características de Vires */
.btcs-vires-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0;
  text-align: center;
}

.btcs-vires-feature-item {
  padding: 15px;
}

/* Badge numerado */
.btcs-vires-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.btcs-vires-badge.badge-1 {
  background: linear-gradient(135deg, #5dade2, #4299e1);
  box-shadow: 0 4px 12px rgba(93, 173, 226, 0.4);
}

.btcs-vires-badge.badge-2 {
  background: linear-gradient(135deg, #48bb78, #38a169);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.btcs-vires-badge.badge-3 {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
  box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}

/* Label de característica */
.btcs-vires-feature-label {
  color: #e4e6eb;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* CTA de Vires */
.btcs-vires-cta {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(93, 173, 226, 0.2);
}

.btcs-vires-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(93, 173, 226, 0.2) 0%, rgba(162, 155, 254, 0.2) 100%);
  border-radius: 50px;
  border: 1px solid rgba(93, 173, 226, 0.3);
}

.btcs-vires-cta-text {
  color: #5dade2;
  font-size: 1.1rem;
  font-weight: 700;
}

.btcs-vires-cta-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #5dade2, #4299e1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(93, 173, 226, 0.4);
}

.btcs-vires-cta-icon span {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

.btcs-vires-cta-note {
  color: #b9bbbe;
  font-size: 0.95rem;
  margin-top: 12px;
  font-style: italic;
}

/* ========================================
   RESPONSIVE - MEDIA QUERIES
   ======================================== */

@media (max-width: 640px) {
  /* Contenedores principales */
  .btcs-container,
  .btcs-features-container {
    padding: 30px 15px;
  }
  
  /* Títulos */
  .btcs-main-title,
  .btcs-section-title,
  .btcs-features-title,
  .btcs-vires-title {
    font-size: 1.5rem;
  }
  
  /* Precios */
  .btcs-price-value {
    font-size: 2.2rem;
  }
  
  /* Bloques de precio */
  .btcs-price-block {
    min-width: 100%;
  }
  
  /* Grid de características */
  .btcs-features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Wrapper de características */
  .btcs-features-wrapper {
    padding: 20px 15px;
  }
  
  /* Grid de Vires */
  .btcs-vires-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* Enlace de Vires */
  .btcs-vires-link {
    padding: 20px 10px;
  }
}
