/* =============================================
   FRONT PAGE — Region Selector
   ============================================= */

.front-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
  background: #0a0a0a;
}

.front-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.42) contrast(1.08) saturate(0.65);
}

.front-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    rgba(0, 0, 0, 0.45);
}

.front-glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 480px;
  background: var(--red);
  opacity: 0.28;
  filter: blur(110px);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.front-glow--left {
  left: -120px;
}

.front-glow--right {
  right: -120px;
}

.front-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 0;
}

.front-logo {
  margin-bottom: 52px;
  display: block;
}

.front-logo img {
  height: 82px;
  width: auto;
  margin: 0 auto;
}

.front-title {
  font-family: var(--font);
  font-size: clamp(2.125rem, 4.2vw, 3.125rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 36px;
}

.front-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.front-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--red);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.front-region-btn:hover {
  background: rgba(230, 59, 59, 0.12);
  border-color: #ff5555;
  transform: translateY(-1px);
}

.front-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.front-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .front-inner {
    padding: 40px 20px;
  }

  .front-logo img {
    height: 72px;
  }

  .front-title {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
  }
}

@media (max-width: 540px) {
  .front-logo {
    margin-bottom: 40px;
  }

  .front-logo img {
    height: 68px;
  }

  .front-title {
    font-size: 1.875rem;
    margin-bottom: 28px;
  }

  .front-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .front-region-btn {
    width: 100%;
    justify-content: center;
  }
}
