/* ===== TOP UP MODAL STYLES ===== */
.topup-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-4);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.topup-modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.topup-modal-dialog {
  background: #0E0E12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.topup-modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}

.topup-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.topup-modal-close {
  background: transparent;
  border: none;
  color: #B9BBC6;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.topup-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.topup-modal-content {
  margin-bottom: 24px;
}

/* ===== НОВЫЙ КОНТЕНТ С СОЦСЕТЯМИ ===== */
.topup-message {
  text-align: center;
  padding: 20px 0;
}

.topup-greeting {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.4;
}

.topup-instruction {
  font-size: 16px;
  color: #B9BBC6;
  margin-bottom: 16px;
  line-height: 1.5;
}

.topup-more {
  font-size: 16px;
  color: #B9BBC6;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Цветные ссылки на соцсети в тексте */
.social-link {
  color: #FF0054;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.social-link:hover {
  border-bottom-color: currentColor;
  transform: translateY(-1px);
}

.twitch-link {
  color: #9146FF;
}

.telegram-link {
  color: #0088CC;
}

.youtube-link {
  color: #FF0000;
}

/* Кнопки соцсетей */
.social-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  
  min-width: 120px;
  justify-content: center;
}

.twitch-button {
  background: linear-gradient(135deg, #9146FF 0%, #772CE8 100%);
  color: #FFFFFF;
  
}

.twitch-button:hover {
  background: linear-gradient(135deg, #772CE8 0%, #5A1FC7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(145, 70, 255, 0.3);
}

.telegram-button {
  background: linear-gradient(135deg, #0088CC 0%, #006699 100%);
  color: #FFFFFF;
  border-color: #0088CC;
}

.telegram-button:hover {
  background: linear-gradient(135deg, #006699 0%, #004466 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.youtube-button {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #FFFFFF;
  border-color: #FF0000;
}

.youtube-button:hover {
  background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.social-button svg {
  flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 480px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-button {
    width: 100%;
    max-width: 200px;
  }
  
  .topup-greeting {
    font-size: 16px;
  }
  
  .topup-instruction,
  .topup-more {
    font-size: 14px;
  }
}

.topup-modal-text {
  color: #B9BBC6;
  margin-bottom: 16px;
  font-size: 14px;
}

.topup-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.topup-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topup-method:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.topup-method-icon {
  width: 40px;
  height: 40px;
  background: #FF0054;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.topup-method-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 2px 0;
}

.topup-method-info p {
  font-size: 12px;
  color: #B9BBC6;
  margin: 0;
}

.topup-amount {
  margin-bottom: 16px;
}

.topup-amount label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.topup-amount-input {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.topup-amount-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px;
  color: #FFFFFF;
  font-size: 16px;
}

.topup-amount-input input:focus {
  outline: none;
}

.topup-currency {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #B9BBC6;
  font-size: 14px;
  font-weight: 500;
}

.topup-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.topup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.topup-btn-secondary {
  background: transparent;
  color: #B9BBC6;
  border-color: rgba(255, 255, 255, 0.2);
}

.topup-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.topup-btn-primary {
  background: linear-gradient(135deg, #FF0054 0%, #FF3366 100%);
  color: #FFFFFF;
  border-color: #FF0054;
}

.topup-btn-primary:hover {
  background: linear-gradient(135deg, #FF3366 0%, #FF4D7A 100%);
  transform: translateY(-1px);
}
