@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: #080706;
  color: #fff;
  overflow-x: hidden;
  min-height: 100%;
  width: 100%;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

body {
  background: radial-gradient(ellipse at 50% 0%, #302510 0%, #100e09 48%, #050505 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 #d4af37;
  padding: 10px clamp(12px, 3vw, 24px);
  max-width: 100%;
  background: rgb(212 175 55 / 5%);
  margin-bottom: 22px;
  display: inline-block;
}

.title-box h1 {
  text-transform: uppercase;
  font-size: clamp(17px, 5.1vw, 24px);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #f3d77c;
  white-space: nowrap;
  line-height: 1.25;
}

/* 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);
  margin-bottom: 14px;
  justify-content: center;
}

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

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

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

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

/* Tagline */
.tagline {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(12px, 3.3vw, 16px);
  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 #d4af37;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #80631e, 0 0 28px rgb(212 175 55 / 24%);
}

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

/* Telegram Button */
.tg-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(110deg, #168ac2 0%, #229ed9 55%, #38b0e3 100%);
  color: #fff;
  font-weight: 900;
  font-size: clamp(11px, 3.2vw, 15px);
  padding: 14px 12px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.03em;
  width: fit-content;
  max-width: 100%;
  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::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgb(255 255 255 / 16%) 42%,
    rgb(255 255 255 / 50%) 50%,
    rgb(255 255 255 / 16%) 58%,
    transparent 70%
  );
  transform: translateX(-110%);
  pointer-events: none;
  animation: tg-button-shine 3s ease-in-out infinite;
}

@keyframes tg-button-shine {
  0%, 15% {
    transform: translateX(-110%);
  }
  65%, 100% {
    transform: translateX(110%);
  }
}

.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;
  }

  .tg-btn::after {
    animation: none;
    display: none;
  }
}

/* Bottom Text */
.bottom-text {
  font-size: clamp(12px, 3.3vw, 14px);
  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, #d4af37, transparent);
}

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

.agency-footer strong {
  color: #f3d77c;
  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: #e7c66a;
  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: 10px;
  }
}

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

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

  .countdown {
    gap: 8px;
  }

}

.tg-btn svg {
  flex-shrink: 0;
}

.tg-btn:focus-visible,
.agency-footer a:focus-visible {
  outline: 2px solid #f3d77c;
  outline-offset: 5px;
}
