* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #07111f;
  --bg-secondary: #0c1b31;
  --card-bg: rgba(12, 24, 42, 0.82);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-soft: #bfd2ee;
  --accent: #5aa9ff;
  --accent-hover: #7dbcff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --green: #37d67a;
  --youtube: #ff3b30;

  --counter-big-width: 26px;
  --counter-big-height: 48px;
  --counter-big-font: 2.5rem;
  --counter-big-separator-font: 2.2rem;

  --counter-small-width: 16px;
  --counter-small-height: 24px;
  --counter-small-font: 1.1rem;
  --counter-small-separator-font: 1rem;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, #102847 0%, var(--bg-main) 45%, #040b15 100%);
  position: relative;
  overflow-x: hidden;
}

.topbar {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(12, 24, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.lang-btn:hover {
  color: var(--accent-hover);
}

.lang-btn.active {
  color: var(--accent);
}

.lang-separator {
  color: var(--text-soft);
  opacity: 0.7;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.card {
  position: relative;
  width: 100%;
  max-width: 760px;
  text-align: center;
  padding: 56px 32px 42px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card-youtube-button {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  background: rgba(12, 24, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card-youtube-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.card-youtube-button svg {
  width: 20px;
  height: 20px;
  fill: var(--youtube);
  flex-shrink: 0;
}

.tag {
  color: var(--text-soft);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 1;
  margin-bottom: 18px;
}

.subtitle {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 34px;
}

.stats-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.stats-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  padding: 20px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0;
}

.stats-label {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.clean-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.counter-big {
  min-height: var(--counter-big-height);
}

.counter-small {
  min-height: var(--counter-small-height);
}

.counter-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.digit-slot {
  position: relative;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.counter-big .digit-slot {
  width: var(--counter-big-width);
  height: var(--counter-big-height);
}

.counter-small .digit-slot {
  width: var(--counter-small-width);
  height: var(--counter-small-height);
}

.digit-reel {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  will-change: transform;
}

.counter-big .digit-reel {
  transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.2, 1);
}

.counter-small .digit-reel {
  transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.2, 1);
}

.digit-face {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

.counter-big .digit-face {
  width: var(--counter-big-width);
  height: var(--counter-big-height);
  font-size: var(--counter-big-font);
}

.counter-small .digit-face {
  width: var(--counter-small-width);
  height: var(--counter-small-height);
  font-size: var(--counter-small-font);
}

.counter-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.92;
  font-weight: 800;
}

.counter-big .counter-separator {
  font-size: var(--counter-big-separator-font);
  min-width: 10px;
}

.counter-small .counter-separator {
  font-size: var(--counter-small-separator-font);
  min-width: 8px;
}

.online-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.online-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: #37d67a;
  box-shadow:
    0 0 0 3px rgba(55, 214, 122, 0.14),
    0 0 10px rgba(55, 214, 122, 0.55);
  display: inline-block;
}

.online-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-soft);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  padding: 15px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(90, 169, 255, 0.25);
}

.discord-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.status-text {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--text-soft);
  opacity: 0.9;
}

.background-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  z-index: 1;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: #1f6dff;
  top: -80px;
  left: -60px;
}

.glow-2 {
  width: 280px;
  height: 280px;
  background: #348dff;
  bottom: -70px;
  right: -40px;
}

@media (max-width: 700px) {
  :root {
    --counter-big-width: 22px;
    --counter-big-height: 40px;
    --counter-big-font: 2.1rem;
    --counter-big-separator-font: 1.8rem;
  }

  .topbar {
    top: 16px;
    right: 16px;
  }

  .language-switcher {
    padding: 9px 12px;
  }

  .card {
    padding: 76px 22px 34px;
    border-radius: 20px;
  }

  .card-youtube-button {
    top: 14px;
    left: 14px;
    padding: 9px 12px;
  }

  .card-youtube-button span {
    display: none;
  }

  .subtitle {
    font-size: 1rem;
  }

  .stats-box {
    padding: 18px 14px 18px;
  }

  .discord-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --counter-big-width: 20px;
    --counter-big-height: 38px;
    --counter-big-font: 1.95rem;

    --counter-small-width: 14px;
    --counter-small-height: 22px;
    --counter-small-font: 1rem;
  }
}