@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #050d14;
  color: #fff;
  overflow-x: hidden;
  min-height: 100%;
  width: 100%;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

body {
  background: radial-gradient(ellipse at 50% 0%, #102b3a 0%, #07131d 48%, #03080d 100%);
}

.container {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

/* Title */
.title-box {
  border: 2px solid #229ed9;
  padding: 8px 28px;
  margin-bottom: 22px;
  display: inline-block;
}

.title-box h1 {
  font-size: clamp(24px, 5.3vw, 26px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Countdown */
.countdown-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 16px;
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 3vw, 22px);
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.countdown-unit .num {
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.countdown-unit .label {
  font-size: clamp(8px, 2vw, 11px);
  color: #aaa;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.countdown-sep {
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  padding-top: 2px;
}

/* Tagline */
.tagline {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(13px, 3.5vw, 17px);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* Circle Image */
.circle-img {
  width: clamp(160px, 45vw, 220px);
  height: clamp(160px, 45vw, 220px);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  border: 6px solid #229ed9;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #126a96, 0 0 28px rgb(34 158 217 / 24%);
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Telegram Button */
.tg-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(110deg, #168ac2 0%, #229ed9 55%, #54c6f2 100%);
  color: #fff;
  font-weight: 900;
  font-size: clamp(12px, 3.8vw, 17px);
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.03em;
  width: min(92vw, 400px);
  justify-content: center;
  margin-bottom: 24px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  white-space: normal;
  text-align: center;
  box-shadow: 0 8px 24px rgb(34 158 217 / 20%);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  animation: tg-button-glow 2.4s ease-in-out infinite;
}

.tg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgb(34 158 217 / 52%), 0 10px 26px rgb(34 158 217 / 30%);
}

@keyframes tg-button-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgb(34 158 217 / 20%);
  }
  50% {
    box-shadow: 0 0 28px rgb(34 158 217 / 44%), 0 8px 26px rgb(34 158 217 / 24%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-btn {
    animation: none;
    transition: none;
  }
}

/* Bottom Text */
.bottom-text {
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #fff;
}

/* Divider */
.divider {
  width: min(90vw, 380px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #229ed9, transparent);
}

.agency-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45em;
  margin-top: 16px;
  padding: 10px 8px;
  background: rgb(0 0 0 / 35%);
  color: #fff;
  font-size: clamp(12px, 3.5vw, 15px);
  line-height: 1.4;
  text-align: center;
}

.agency-footer strong {
  color: #f2c94c;
  font-weight: 800;
}

.footer-separator {
  color: #fff;
  font-weight: 400;
}

.footer-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
}

.agency-footer a {
  color: #00d9ff;
  font-weight: 700;
  text-decoration: none;
}

.tg-btn:hover,
.agency-footer a:hover {
  filter: brightness(1.08);
}

@media (max-width: 480px) {
  .agency-footer {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .title-box {
    padding-right: 16px;
    padding-left: 16px;
  }

  .countdown {
    gap: 8px;
  }

}
