:root {
  --bg-main: #45629f;
  --bg-deep: #274f96;
  --bg-mid: #3f5f9c;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.28);
  --box-top: rgba(255, 255, 255, 0.14);
  --box-light: #eff1f5;
  --green: #2ed07d;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(101, 123, 188, 0.26), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(97, 117, 176, 0.2), transparent 35%),
    linear-gradient(180deg, #506aa8 0%, #365894 55%, #29508f 100%);
}

#particles,
.page-overlay {
  position: fixed;
  inset: 0;
}

#particles {
  z-index: 0;
}

.page-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(36, 55, 102, 0.06), rgba(19, 35, 71, 0.12));
  pointer-events: none;
}
.virtual_p_text {
  font-size: 19px !important;
  padding-bottom: 20px;

}

.virtual_email,
.virtual_email:link,
.virtual_email:visited {
    color: #FDD100 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.virtual_email:hover,
.virtual_email:focus {
    color: #fff !important;
}


.hero-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 44px 44px;
}

.hero-card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 380px 1px minmax(320px, 1fr);
  align-items: center;
  column-gap: 56px;
}

.countdown-side {
  display: flex;
  justify-content: center;
}

.countdown-grid-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: -30%;
}

.countdown-top-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.countdown-grid {
  width: 310px;
  display: grid;
  grid-template-columns: 104px 206px;
  grid-template-rows: repeat(3, 104px);
  grid-template-areas:
    "hours days"
    "minutes days"
    "seconds days";
  box-shadow: 0 18px 50px rgba(5, 15, 40, 0.2);
}

.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.small-box {
  width: 104px;
  height: 104px;
}

.large-box {
  width: 206px;
  height: 312px;
}

.count-hours {
  grid-area: hours;
  background: rgba(255, 255, 255, 0.14);
}

.count-minutes {
  grid-area: minutes;
  background: #eff1f5;
}

.count-seconds {
  grid-area: seconds;
  background: var(--green);
}

.count-days {
  grid-area: days;
  background:
    linear-gradient(rgba(5, 7, 12, 0.18), rgba(5, 7, 12, 0.18)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0 10%, transparent 35%),
    linear-gradient(140deg, #11151f 0%, #070a10 60%, #1d232e 100%);
  position: relative;
  overflow: hidden;
}

.count-days::before,
.count-days::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 40%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 20% 44%, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.4) 0 1px, transparent 3px),
    radial-gradient(circle at 70% 76%, rgba(255, 255, 255, 0.18) 0 35px, transparent 70px),
    radial-gradient(circle at 35% 65%, rgba(255, 255, 255, 0.12) 0 30px, transparent 80px);
  opacity: 0.65;
}

.count-days::after {
  mix-blend-mode: screen;
  opacity: 0.28;
  transform: scale(1.04);
}

.count-value {
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.count-label {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
  text-transform: lowercase;
}

.count-hours .count-value,
.count-seconds .count-value,
.count-minutes .count-value {
  font-size: 34px;
}

.count-days .count-value {
  font-size: 68px;
  position: relative;
  z-index: 1;
}

.count-hours .count-label {
  color: rgba(255, 255, 255, 0.92);
}

.count-minutes .count-value,
.count-minutes .count-label {
  color: var(--green);
}

.count-seconds .count-label,
.count-seconds .count-value,
.count-days .count-label,
.count-days .count-value {
  color: var(--white);
}

.divider {
  width: 1px;
  height: 268px;
  background: var(--line);
}

.content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.content-side h1 {
  margin: 0 0 16px;
  /*max-width: 530px;*/
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  /*font-size: 25px;*/
}

.content-side h1 span {
  display: block;
  font-weight: 700;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo-link-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.logo-heartbeat {
  width: 60px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
  animation: heartbeat 1.2s ease-in-out infinite;
  transform-origin: center;
  margin-top: -9%;
  margin-left: -7%;
}

.particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.12);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.16);
  }
  70% {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .hero-wrap {
    min-height: 100vh;
    padding: 40px 24px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    row-gap: 34px;
    justify-items: center;
    margin-top: 20%;
  }

  .divider {
    width: min(280px, 100%);
    height: 1px;
  }

  .content-side {
    align-items: center;
    text-align: center;
  }

  .logo-link {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    transform: scale(0.88);
    transform-origin: top center;
  }

  .content-side h1 {
    font-size: 30px;
  }

  .logo-link-text {
    font-size: 22px;
  }

  .logo-heartbeat {
    width: 60px;
  }
}
