.ep-section {
  --ep-purple: #00eaff;
  --ep-violet: #2f7bff;
  --ep-bg: #05060e;

  width: 100%;
  color: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.ep-section *,
.ep-section *::before,
.ep-section *::after {
  box-sizing: border-box;
}

.ep-counter {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  margin: 24px auto;
  padding: 23px 25px 18px;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(47, 123, 255, .19),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #0e142c 0%,
      #05060e 60%,
      #0a0e1e 100%
    );

  border: 1px solid rgba(0, 234, 255, .35);
  border-radius: 16px;

  box-shadow:
    0 0 0 1px rgba(0, 234, 255, .05),
    0 12px 45px rgba(0, 0, 0, .35),
    0 0 35px rgba(47, 123, 255, .12);

  animation:
    ep-enter .8s cubic-bezier(.2,.8,.2,1) both,
    ep-border-glow 4s ease-in-out 1s infinite;
}

.ep-counter::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  left: 50%;
  width: 260px;
  height: 180px;
  transform: translateX(-50%);
  background: rgba(0, 234, 255, .12);
  filter: blur(65px);
  pointer-events: none;
}

.ep-topline,
.ep-brand,
.ep-live-badge,
.ep-status {
  display: flex;
  align-items: center;
}

.ep-topline {
  justify-content: space-between;
  gap: 10px;
}

.ep-brand {
  gap: 8px;
  color: #cfe0ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ep-brand-icon {
  color: #00eaff;
  font-size: 17px;
  animation: ep-star 5s linear infinite;
}

.ep-live-badge {
  gap: 7px;
  padding: 6px 9px;
  color: #7dd8ff;
  background: rgba(0, 234, 255, .09);
  border: 1px solid rgba(0, 234, 255, .22);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.ep-live-dot,
.ep-status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: #a3ffcb;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(74, 222, 128, .8);
  animation: ep-pulse 1.8s ease-in-out infinite;
}

.ep-divider {
  height: 1px;
  margin: 18px 0 25px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 234, 255, .55),
    transparent
  );
}

.ep-main {
  position: relative;
  padding: 4px 0 23px;
  text-align: center;
}

.ep-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #8fa3e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
}

.ep-label-line {
  width: 18px;
  height: 1px;
  background: #00eaff;
  box-shadow: 0 0 8px #00eaff;
}

.ep-number-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin: 0 auto;
}

.ep-number-glow {
  position: absolute;
  width: 160px;
  height: 85px;
  background: rgba(47, 123, 255, .2);
  filter: blur(38px);
  pointer-events: none;
  animation: ep-breathe 3s ease-in-out infinite;
}

.ep-number {
  position: relative;
  color: #fff;
  font-size: clamp(76px, 17vw, 112px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -6px;
  font-variant-numeric: tabular-nums;

  text-shadow:
    0 0 8px rgba(125, 216, 255, .65),
    0 0 30px rgba(0, 234, 255, .48);

  transition: transform .3s ease, color .3s ease;
}

.ep-player-icon {
  align-self: center;
  margin: 5px 0 0 13px;
  color: #00eaff;
  font-size: 19px;
  text-shadow: 0 0 15px #2f7bff;
  animation: ep-star 5s linear infinite;
}

.ep-subtitle {
  color: #7f8bbd;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.3px;
}

.ep-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(143, 163, 232, .12);
}

.ep-status {
  gap: 8px;
  color: #7f8bbd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.ep-status strong {
  color: #a3ffcb;
  font-size: 9px;
}

.ep-status-dot {
  width: 6px;
  height: 6px;
}

.ep-ip {
  color: #7f8bbd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.ep-scanline {
  position: absolute;
  z-index: 2;
  top: -30%;
  left: 0;
  width: 100%;
  height: 1px;
  opacity: .65;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 216, 255, .65),
    transparent
  );

  box-shadow: 0 0 12px rgba(0, 234, 255, .25);
  animation: ep-scan 7s linear infinite;
}

.ep-counter:hover {
  border-color: rgba(0, 234, 255, .7);

  box-shadow:
    0 15px 55px rgba(0, 0, 0, .4),
    0 0 40px rgba(47, 123, 255, .2);
}

.ep-counter:hover .ep-number {
  transform: scale(1.035);
}

/* Responsive layout */

@media (max-width: 480px) {
  .ep-counter {
    padding: 19px 15px 15px;
  }

  .ep-brand {
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .ep-live-badge {
    font-size: 8px;
    padding: 5px 6px;
  }

  .ep-label {
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  .ep-subtitle {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 380px) {
  .ep-counter {
    padding: 19px 12px 15px;
  }

  .ep-topline {
    flex-wrap: wrap;
  }

  .ep-label {
    letter-spacing: 2px;
  }
}