﻿/* ================= PROMO OVERLAY ================= */

#promo {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.6s ease;
}

#promo.show {
  opacity: 1;
  visibility: visible;
}

#promo.hide {
  opacity: 0;
}

/* ================= CONTENT ================= */

.promo-content {
  text-align: center;

  transform: scale(0.92) translateY(30px);
  opacity: 0;

  transition: all 0.6s ease;
}

#promo.show .promo-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

#promo.hide .promo-content {
  transform: scale(0.95);
  opacity: 0;
}

/* ================= MEDIA ================= */

.promo-content img,
.promo-content video {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* ================= BUTTON ================= */

.promo-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 26px;

  background: linear-gradient(135deg, #00a86b, #005c47);
  color: #fff;

  border-radius: 999px;

  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition: all 0.25s ease;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ================= COUNTDOWN ================= */

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.time-box {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px;
  min-width: 60px;
}

.time-box span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #fff;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.time-box label {
  font-size: 9px;
  color: #ccc;
  text-transform: uppercase;
}

/* Flip Animation */
.flip {
  transform: rotateX(90deg);
  opacity: 0;
}