/* guest.css — токен и bybit как круглые кнопки поверх баннера */
:root {
  --app-height: 100vh; /* fallback если JS не сработает */
  --top-menu-height: 50px;
}

/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  height: var(--app-height);
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: transparent;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./images/registration_body.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1; /* ок */
}


.banner-wrapper {
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; 
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: auto;
  max-width: 600px;
  aspect-ratio: 9 / 16;
}

.banner-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Привязка к координатам изображения */
.pin-token {
  top: 20%;
  left: 77%;
  transform: translate(-50%, -50%);

  position: absolute;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);


  background: radial-gradient(circle, #00f0ff 0%, #005c6e 100%);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.4), 0 0 12px rgba(0, 240, 255, 0.6);
  
  
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
  }
}

.pin-token {
  animation: pulse 2s infinite;
  
}

.pin-bybit {
  animation: pulse 2s infinite;
}



.pin-bybit {
  top: 67%;
  left: 47%;
  transform: translate(-50%, -50%);

  position: absolute;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);

  background: radial-gradient(circle, #00f0ff 0%, #005c6e 100%);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.4), 0 0 12px rgba(0, 240, 255, 0.6);
}

.pin-telegram {
  position: absolute;
  top: 20%;
  left: 24%;
  border-radius: 12px; /* ← меняй радиус */
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 1;
  z-index: 5;
}

.pin-telegram-area {
  width: 95%;
  height: 95%;
  border-radius: 12px;
  border: 2px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.6);
  background-color: transparent;
  transition: box-shadow 0.3s ease;
}

.pin-ton {
  position: absolute;
  top: 55%; /* подкорректируй по координатам */
  left: 80%; /* подкорректируй по координатам */
  transform: translate(-50%, -50%);
  
  width: 20%; /* или твоя ширина */
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  
  background: transparent;
  box-shadow: none;
}

.pin-ton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




/* Верхнее меню */
.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #000;
  z-index: 1000;
}

.top-menu-button {
  flex: 1;
  text-align: center;
  padding: 1px;
  color: #d6d0d075;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top-menu-button:active {
  color: white;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Нижнее меню */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: #000;
  z-index: 1000;
  overflow: hidden;
}

.bottom-menu-button {
  flex: 1;
  text-align: center;
  padding: 2px 4px;
  color: #d6d0d075;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  font-size: 15px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .bottom-menu-button {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-direction: row;
  }
}

.bottom-menu-button:active {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.bottom-menu-button.disabled {
  pointer-events: none;
  opacity: 0.3;
  color: #d6d0d075;
  text-shadow: none;
}

/* Кнопка регистрации */
.register-bar {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.register-btn {
  padding: 10px 20px;
  background-color: #00f0ff;
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  transition: background 0.3s ease;
}

.register-btn:active {
  background-color: #00bcd4;
}

/* Социальные иконки */
.social-container {
  position: fixed;
  bottom: 60px; /* Чуть выше нижнего меню */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  z-index: 999;
  pointer-events: auto;
}

.social-container img.social-icon {
  width: clamp(42px, 5vw, 68px);
  height: clamp(42px, 5vw, 68px);
}


.social-container img.social-icon:hover {
  transform: scale(1.1);
}


/* БЕГУЩАЯ СТРОКА) */
.pin-ticker {
  position: fixed;
  top: calc(var(--top-menu-height) + 6px);
  left: 5%;
  width: 90%;
  height: 20px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1001;
}


.ticker-text {
  position: absolute;
  white-space: nowrap;
  color: #00f0ff;
  font-size: 13px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px #00f0ff, 0 0 10px #00f0ff;
  transition: transform 0s linear;
  will-change: transform;
}


@keyframes tickerMove {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.active-ticker {
  color: #ffffff !important;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
}

/* 📦 Модалка кастомного меню */
.telegram-context-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  width: 72vw;
  max-width: 360px;
  background: rgba(22, 22, 22, 0.96);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 9999;
  font-family: 'Orbitron', sans-serif;
  animation: telegramMenuOpen 0.2s ease-out;
  transform-origin: top right;
}

/* 🧱 Элемент меню */
.telegram-context-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 18px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  background: rgba(22, 22, 22, 0.96);
  flex-wrap: wrap;
}

/* ❌ Убираем любые подсветки/свечения */
.telegram-context-menu-item,
.telegram-context-menu-item:focus,
.telegram-context-menu-item:active,
.telegram-context-menu-item:hover {
  background: rgba(22, 22, 22, 0.96) !important;
  outline: none !important;
  box-shadow: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 🔸 Разделитель */
.telegram-context-menu-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.06);
  margin: 0 12px;
}

/* 🌐 Иконка справа */
.menu-icon-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-left: 8px;
  border-radius: 50%;
  box-shadow: none;
  background: none;
  flex-shrink: 0;
}

/* 🇺🇳 Блок флагов */
.inline-language-flags {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px 6px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(22, 22, 22, 0.96);
  max-width: calc(100% - 50px); 
}

/* 🏳️ Флаг — базово нейтральный */
.inline-flag {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: border 0.2s ease;
  border: 2px solid transparent;
}

/* ✨ Только активный язык — подсвечивается */
.inline-flag.active {
  border-color: #00f0ff;
}

/* 🔇 Все наведения и клики — без свечения */
.inline-flag:hover,
.inline-flag:focus,
.inline-flag:active {
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 🌀 Анимация появления */
@keyframes telegramMenuOpen {
  0% {
    opacity: 0;
    transform: scale(0.9);
    transform-origin: top right;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    transform-origin: top right;
  }
}

@keyframes telegramMenuClose {
  0% {
    opacity: 1;
    transform: scale(1);
    transform-origin: top right;
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
    transform-origin: top right;
  }
}


/* КРЕСТИК ЗАКРЫТИЯ МОДАЛКИ ДКУМЕНТОВ С МЕНЮ ///////// */
/* Кнопка закрытия модалки (крестик) */
.close-legal-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 26px;
  color: #00f0ff;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 0 10px #00f0ff;
  transition: transform 0.2s ease;
}

.close-legal-btn:hover {
  transform: scale(1.2);
}
/* 🔒 Отключаем Android highlight полностью */
.pin,
.pin * ,
.top-menu-button,
.bottom-menu-button,
.social-icon,
.telegram-context-menu-item {
    -webkit-tap-highlight-color: transparent; /* 🔧 главный виновник на Android */
    outline: none;                            /* убираем рамки */
    -webkit-user-select: none;                /* запрет выделения текста */
    user-select: none;
    -webkit-touch-callout: none;              /* отключаем long press меню */
    touch-action: manipulation;               /* оптимизация для кнопок */
}

/* для <a> ссылок — тоже отключаем подсветку */
a,
a:focus,
a:active {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}
.pin-token,
.pin-bybit,
.pin-telegram {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    touch-action: manipulation;
}
