/* ВЕЛИКА ЦИФРА СТРІКУ */
.streak-huge-number {
  position: absolute;
  top: -65px; /* Винесли ще вище за межі картки */
  left: 50%;
  transform: translateX(-50%); /* Ідеальне центрування */
  font-size: 110px; /* Зробили ще більшою */
  font-weight: 900;
  color: white;
  -webkit-text-stroke: 4px #ff9800; /* Оранжева обводка */
  text-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
  z-index: 10;
  letter-spacing: -3px;
  line-height: 1; /* Прибирає зайвий відступ знизу у цифр */
}

/* КАРУСЕЛЬ ДНІВ */
.bonus-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; /* Відстань між картками */
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 10px 0;
}

.bonus-card {
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* Центральна картка (Активна) */
.active-card {
  width: 150px;
  height: 180px;
  z-index: 2;
  border: 3px solid #e8f0f8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Бокові картки (Минулий/Наступний день) */
.side-card {
  width: 60px;
  height: 140px;
  background: #e8f0f8;
  z-index: 1;
  border: none;
  box-shadow: none;
  /* НОВЕ: Налаштування цифр всередині */
  font-size: 35px;
  font-weight: 900;
  color: #1b3b5a;
  opacity: 0.3; /* Вони напівпрозорі, бо не активні */
}

/* ========================================= */
/* АНІМАЦІЯ ПЕРЕЛИСТУВАННЯ                   */
/* ========================================= */

@keyframes slideRight {
  0% {
    transform: translateX(-40px) scale(0.8);
    opacity: 0.3;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(40px) scale(0.8);
    opacity: 0.3;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* Класи, які JS буде вішати при натисканні стрілочок */
.anim-slide-right .active-card {
  animation: slideRight 0.25s ease-out;
}
.anim-slide-left .active-card {
  animation: slideLeft 0.25s ease-out;
}

/* Текст всередині центральної картки */
#bonus-day-title {
  font-size: 70px; /* Величезна цифра поточного дня */
  font-weight: 900;
  color: #1b3b5a;
  margin-bottom: 10px;
  line-height: 1;
}

/* Блок з монетою всередині картки */
.bonus-reward {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f7fa;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 18px;
  color: #b8860b; /* Золотий колір для монет */
}

.bonus-reward img {
  width: 22px;
  height: 22px;
}

/* ========================================= */
/* БЛОК УПРАВЛІННЯ (Кнопки внизу)            */
/* ========================================= */
.bonus-controls {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Щоб всі кнопки були однакової висоти */
  gap: 15px;
  width: 100%;
  margin-top: 10px;
}

/* Сірі стрілочки */
.control-btn {
  background: #e4e8ed;
  border: none;
  color: #1b3b5a;
  font-size: 22px;
  width: 55px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    background 0.2s,
    transform 0.1s;
}

.control-btn:active {
  transform: scale(0.9);
}
.control-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Зелена кнопка ЗАБРАТИ */
.claim-btn {
  background: #4caf50;
  color: white;
  justify-content: center;
  flex-grow: 1;
  min-height: 60px; /* Зробили кнопку вищою */
  font-size: 20px;
  border-radius: 18px;
  margin: 0; /* Прибираємо стандартні марджини .menu-btn */
}

.claim-btn:disabled {
  background: #a0aab5;
  box-shadow: none;
  cursor: not-allowed;
  color: #e0e0e0;
}
