.main-bg {
  position: relative;
  overflow: hidden;
}
.main-bg__picture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.main-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: -1;
}
.main-bg__picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
  }

.main-title {
  width: 100%;
  max-width: 881px;
  margin-inline: auto;
  padding-top: 30px;
  margin-bottom: clamp(1.5rem, 1.071vw + 1.286rem, 2.25rem);

  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  color: #fcf7f7;
  overflow-wrap: anywhere;
}

.main-title span {
  background: linear-gradient(0deg, #2EBA56, #2EBA56);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .main-title {
    padding-top: 12px;
    max-width: 355px;
    margin-inline: auto;
    text-align: center;
    font-size: 28px;
  }

  .main-title__country {
    width: 44px;
    height: auto;
  }

  .column-box__label {
    flex-direction: column;
    gap: 8px;
  }

  .column-box__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    text-transform: capitalize;
    color: #FCF7F7;
  }

  .column-box__icon {
    top: 0;
    width: 36px;
    height: 36px;
  }
}

.custom_field {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 834px) {
  .custom_field {
    gap: 20px;
  }
}

@media (max-width: 1279px) {
  .custom_field {
    gap: 30px;
  }
}

.custom_field .column-box {
  position: relative;
}

@media (min-width: 834px) {
  .custom_field .column-box:nth-child(2)::before,
  .custom_field .column-box:nth-child(3)::before {
    content: "|";
    position: absolute;
    left: -5px;
    width: 1px;
    height: 19px;
    top: 10px;
    background-color: #d6d6d6;
  }
}

.column-box__icon {
    object-fit: cover;
    position: relative;
    top: 4px;
}

.column-box__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: clamp(0.75rem, 0.714vw + 0.607rem, 1.25rem);
  text-transform: capitalize;
  text-align: center;
  color: #fcf7f7;
}

.footer {
  color: #FCF7F7;
  background-color: #120224;
  padding-block: clamp(2.25rem, 1.607vw + 1.929rem, 3.375rem);
}

.footer .footer__title {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
}

.footer .footer__container {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.footer .footer__container p {
  text-align: center;
}

.footer .foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  border: 1px solid #fcf7f7;
  border-radius: 8px;
  padding: 10px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.lang-switcher__inner {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #1a1a1a;
  color: #fcf7f7;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.lang-switcher__btn:hover {
  background: #2a2a2a;
}

.lang-switcher__btn svg {
  width: 16px;
  height: 16px;
  fill: #fcf7f7;
  transition: transform 0.2s;
}

.lang-switcher__inner.open .lang-switcher__btn svg {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  min-width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.lang-switcher__inner.open .lang-switcher__dropdown {
  display: block;
}

.lang-switcher__dropdown a {
  display: block;
  padding: 8px 14px;
  color: #fcf7f7;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.lang-switcher__dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-switcher__dropdown a.active {
  background: #2a2a2a;
  font-weight: 600;
  pointer-events: none;
}

.pwa-install-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #4f00ce, #7b2fff);
  color: #fcf7f7;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  animation: pwa-pulse 2s infinite;
}

@keyframes pwa-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(79, 0, 206, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(79, 0, 206, 0);
  }
}

.pwa-install-btn:hover {
  background: linear-gradient(135deg, #5e10de, #8b3fff);
  transform: translateY(-1px);
}

.pwa-install-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pwa-install-btn.visible {
  display: inline-flex;
}

.pwa-offline-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 10px 20px;
  background: #1e0a10;
  border-top: 1px solid #4f00ce;
  color: #fcf7f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pwa-offline-bar.visible {
  display: flex;
}

.pwa-offline-bar svg {
  width: 16px;
  height: 16px;
  stroke: #f97316;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.pwa-update-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: linear-gradient(135deg, #10151F, #1a1230);
  border-top: 2px solid #4f00ce;
  color: #fcf7f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pwa-update-bar.visible {
  display: flex;
}

.pwa-update-bar__btn {
  padding: 6px 16px;
  background: linear-gradient(135deg, #4f00ce, #7b2fff);
  color: #fcf7f7;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pwa-update-bar__btn:hover {
  background: linear-gradient(135deg, #5e10de, #8b3fff);
}

.pwa-update-bar__close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  font-size: 18px;
}

.pwa-browser-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pwa-browser-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.pwa-browser {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  height: 92vh;
  background: #101010;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.pwa-browser.visible {
  transform: translateY(0);
}

.pwa-browser__handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
  flex-shrink: 0;
}

.pwa-browser__handle span {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.pwa-browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 10px;
  flex-shrink: 0;
}

.pwa-browser__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: #fcf7f7;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.pwa-browser__back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pwa-browser__back svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pwa-browser__url {
  flex: 1;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #94a3b8;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-browser__external {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.pwa-browser__external:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fcf7f7;
}

.pwa-browser__external svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pwa-browser__frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
  border-radius: 0;
}

.pin-lock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #101010;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  color: #fcf7f7;
}

.pin-lock[hidden] {
  display: none;
}

.pin-lock__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: rgba(79, 0, 206, 0.15);
  border: 2px solid #4f00ce;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-lock__icon svg {
  width: 28px;
  height: 28px;
  stroke: #7b2fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pin-lock__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pin-lock__subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
}

.pin-lock__dots {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.pin-lock__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: all 0.2s ease;
}

.pin-lock__dot.filled {
  background: #7b2fff;
  border-color: #7b2fff;
}

.pin-lock__dot.error {
  background: #ef4444;
  border-color: #ef4444;
}

.pin-lock__pad {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  gap: 16px;
}

.pin-lock__key {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fcf7f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pin-lock__key:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pin-lock__key:active {
  background: rgba(79, 0, 206, 0.3);
  border-color: #4f00ce;
  transform: scale(0.95);
}

.pin-lock__key--empty {
  visibility: hidden;
}

.pin-lock__key--delete {
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
}

.pin-lock__key--delete:hover {
  color: #7b2fff;
  background: none;
}

.pin-lock__error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 20px;
  min-height: 20px;
}

@media (max-height: 600px) {
  .pin-lock__pad {
    grid-template-columns: repeat(3, 60px);
    gap: 10px;
  }
  .pin-lock__key {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}
