.countdown-page {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #08111f;
  color: #fff;
}

.countdown-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-bg-picture,
.countdown-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.countdown-bg-image {
  object-fit: cover;
  object-position: center center;
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.55) 0%, rgba(8, 17, 31, 0.78) 100%),
    radial-gradient(circle at top left, rgba(101, 196, 207, 0.16), transparent 28%);
}

.countdown-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.countdown-box {
  width: min(100%, 980px);
  text-align: center;
}

.countdown-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #65c4cf;
}

.countdown-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #fff;
}

.countdown-subtitle {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.countdown-days-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.countdown-days-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.84);
}

.countdown-time {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown-time-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.countdown-time-group small {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.countdown-separator {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
  color: #65c4cf;
  padding-top: 1.1rem;
}

.flip-card {
  position: relative;
  min-width: 112px;
  height: 90px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #1a2c38 0%, #12212b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flip-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
}

.flip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 35%, transparent 65%, rgba(0,0,0,0.10));
  pointer-events: none;
}

.flip-card span {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.flip-card.is-flipping span {
  transform: translateY(6px) scale(0.96);
  opacity: 0.78;
}

.flip-card-days {
  min-width: 170px;
  height: 110px;
}

.flip-card-days span {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}

@media (max-width: 991.98px) {
  .countdown-content {
    padding: 1.5rem;
  }

  .flip-card {
    min-width: 96px;
    height: 78px;
  }

  .flip-card-days {
    min-width: 150px;
    height: 98px;
  }
}

@media (max-width: 767.98px) {
  .countdown-content {
    padding: 1.25rem;
  }

  .countdown-subtitle {
    margin-bottom: 1.5rem;
  }

  .countdown-days-wrap {
    margin-bottom: 1.5rem;
  }

  .countdown-time {
    gap: 0.65rem;
  }

  .countdown-separator {
    padding-top: 0.9rem;
    font-size: 1.8rem;
  }

  .flip-card {
    min-width: 78px;
    height: 66px;
    border-radius: 14px;
  }

  .flip-card-days {
    min-width: 126px;
    height: 84px;
  }

  .countdown-time-group small,
  .countdown-days-label {
    font-size: 0.72rem;
  }
}







.countdown-social-card {
  margin: 2.2rem auto 0;
  width: min(100%, 620px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(10, 22, 44, 0.14);
  backdrop-filter: blur(14px);
}

.countdown-social-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.countdown-social-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f2f4f7;
}

.countdown-social-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.countdown-social-info {
  min-width: 0;
  text-align: left;
}

.countdown-social-username {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #253d4d;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.countdown-social-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #5e6574;
  line-height: 1.3;
}

.countdown-social-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 18px;
  background: #253d4d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: .25s ease;
}

.countdown-social-follow:hover {
  background: #1f3442;
  color: #fff;
}

@media (max-width: 767.98px) {
  .countdown-social-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1rem;
    border-radius: 20px;
  }

  .countdown-social-profile {
    justify-content: center;
    text-align: left;
  }

  .countdown-social-follow {
    width: 100%;
  }
}