.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.35rem);
  width: min(100%, 920px);
  margin: 0 auto;
  --flag-w: 44px;
  --flag-h: 29px;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  flex-shrink: 0;
}

.country-label {
  min-height: 1.2em;
  margin: 0;
  padding: 0 0.5rem;
  font-family: Montserrat, "Segoe UI Variable", sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #00d2ff;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.country-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.logo {
  width: min(240px, 52vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.flags-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 1.2vw, 8px);
  width: 100%;
  pointer-events: auto;
}

.flags-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(5px, 1.2vw, 8px);
}

.flag-slot {
  width: var(--flag-w);
  height: var(--flag-h);
  flex-shrink: 0;
  opacity: 0.8;
  border-radius: calc(var(--flag-h) * 0.25);
  overflow: hidden;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  pointer-events: auto;
  cursor: default;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.flag-slot:hover,
.flag-slot.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.flag-slot object {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 520px) {
  .hero-stage {
    --flag-w: 34px;
    --flag-h: 23px;
    gap: 0.65rem;
  }

  .logo {
    width: min(200px, 48vw);
  }
}

@media (min-width: 900px) {
  .hero-stage {
    --flag-w: 50px;
    --flag-h: 33px;
  }

  .logo {
    width: min(260px, 42vw);
  }
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
  font-family: Montserrat, "Segoe UI Variable", sans-serif;
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.hero-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0.35rem 0.25rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: #00D2FF;
  outline: none;
}

.hero-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.45);
}

.hero-links-sep {
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
  line-height: 1;
}
