/* === MyChooz Subscribes Block v4.0 - TELEGRAM CARD === */

.mychooz-subscribes {
  margin: var(--mychooz-space-3) 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.telegram-box {
  /* Telegram-стиль карточки */
  background: #ffffff;
  color: #000000;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e8ed;
  position: relative;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Аватар канала */
.telegram-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  object-fit: cover;
  display: block;
}

.telegram-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Название канала */
.telegram-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

/* Счетчик подписчиков */
.telegram-subscribers {
  font-size: 14px;
  color: #8b8b8b;
  margin: 0 0 12px 0;
  font-weight: 400;
}

/* Описание */
.telegram-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
  margin: 0 0 20px 0;
}

/* Кнопка "View in Telegram" */
.telegram-box button {
  color: white !important;
  background: #0088cc;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
}

.telegram-box button:hover {
  background: #ffffff;
  color: #0088cc !important;
  border: 2px solid #0088cc;
  transform: scale(1.02);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .telegram-box {
    padding: var(--mychooz-space-2);
  }
  
  .telegram-title {
    font-size: var(--mychooz-text-base);
    margin-bottom: 6px;
  }
  
  .telegram-subtitle {
    font-size: var(--mychooz-text-sm);
    margin-bottom: 12px;
  }
  
  .telegram-box button {
    font-size: var(--mychooz-text-sm);
    padding: 10px 20px;
    width: 100%;
  }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
  .telegram-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .telegram-title {
    color: #f1f5f9;
  }
  
  .telegram-subtitle {
    color: #94a3b8;
  }
}
