@font-face {
  font-family: "Gotham";
  src: url("/assets/gotham-book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("/assets/gotham-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Gotham", Arial, sans-serif;
  color: #171717;
  background: #5d5e55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-preview {
  position: fixed;
  inset: -48px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  filter: blur(8px);
}

.preview-image,
.preview-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preview-image {
  object-fit: cover;
  object-position: center;
}

.preview-shade {
  background: linear-gradient(180deg, rgb(0 0 0 / 18%) 0%, rgb(0 0 0 / 8%) 40%, rgb(0 0 0 / 36%) 100%);
}

.country-selector {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 40px 20px;
  background: rgb(23 23 23 / 28%);
}

.country-card {
  width: min(100%, 488px);
  padding: 44px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 16%);
  text-align: center;
}

.card-logo {
  display: block;
  width: 129px;
  height: 36px;
  margin: 0 auto 36px;
}

.country-error-code {
  margin: 0 0 10px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.country-intro {
  margin: 12px 0 30px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.intro-divider {
  margin: 0 5px;
  color: #aaa;
}

.country-options {
  display: grid;
  gap: 12px;
}

.country-link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 16px 24px;
  border: 1px solid #171717;
  border-radius: 999px;
  color: #fff;
  background: #171717;
  text-align: left;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.country-link:hover {
  border-color: #45463f;
  background: #45463f;
}

.country-link:focus-visible {
  outline: 3px solid #8a6745;
  outline-offset: 4px;
}

.country-flag,
.country-arrow {
  flex-shrink: 0;
}

.country-flag {
  border-radius: 2px;
}

.country-label {
  display: grid;
  gap: 4px;
}

.country-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.country-language {
  color: #d8d8d8;
  font-size: 12px;
  line-height: 1.25;
}

.country-arrow {
  margin-left: auto;
}

.country-note {
  margin: 26px 0 0;
  color: #6a6a6a;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .preview-image {
    object-position: 40% center;
  }

  .country-card {
    padding: 36px 28px;
  }
}

@media (max-width: 380px) {
  .country-selector {
    padding: 24px 16px;
  }

  .country-card {
    padding: 30px 22px;
  }

  h1 {
    font-size: 25px;
  }

  .country-link {
    gap: 14px;
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-link {
    transition: none;
  }
}
