/* landing.css */

/* BASE RESET & UTILITIES */
#landing-page .img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Глобально задаём на лендинге шрифт Outfit (подключён из Google Fonts в main.html) */
#landing-page, #landing-page * {
  font-family: 'Outfit', sans-serif !important;
}

/* Явный фон для контейнера лендинга */
html, body, #landing-page {
  background-color: #13111c;
}

#landing-page .no-select {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
#landing-page .no-select:focus { outline: none !important; }

#landing-page .is-blur-4px { filter: blur(4px); }

#landing-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#landing-page html,
#landing-page body {
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  text-rendering: optimizeLegibility !important;
  width: 100%;
  -webkit-font-smoothing: antialiased !important;
}

#landing-page html { background-color: #13111c; }

#landing-page body {
  color: #fff;
  cursor: default;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  min-width: 320px;
  -webkit-overflow-scrolling: touch !important;
}

/* WRAPPER */
#landing-page .ln,
#landing-page .ln-inner,
#landing-page .ln-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#landing-page .ln {
  align-items: stretch;
  margin: 0 auto;
  max-width: 1920px;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 20px;
  width: 100%;
  z-index: 1;
}
#landing-page .ln-inner,
#landing-page .ln-top {
  align-items: stretch;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* HEADER */
#landing-page .ln-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  user-select: none;
}
@media (min-width: 768px) {
  #landing-page .ln-header { align-items: flex-start; flex-wrap: nowrap; }
}

#landing-page .ln-header-left {
  order: 2; padding-top: 16px;
}
@media (min-width: 768px) {
  #landing-page .ln-header-left { order: 1; padding-top: 32px; }
}

/* HEADER CENTER */
#landing-page .ln-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #2a2832;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top: none;
  order: 1;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (min-width: 768px) {
  #landing-page .ln-header-center { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  #landing-page .ln-header-center {
    border-left: 8px solid #2a2832;
    border-right: 8px solid #2a2832;
    border-bottom: 8px solid #2a2832;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    order: 2;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/* Лого */
#landing-page .ln-header-center-logo {
  position: static;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}
#landing-page .ln-header-center-logo:before,
#landing-page .ln-header-center-logo:after {
  display: none;
}
#landing-page .ln-header-center-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  z-index: 3;
}

/* HEADER RIGHT */
#landing-page .ln-header-right {
  order: 3; padding-top: 16px;
}
@media (min-width: 768px) {
  #landing-page .ln-header-right { padding-top: 32px; }
}
/* Кнопка FRGBot */
#landing-page .ln-header-right .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2253ff 1.46%, #3a66ff00 50.8%, #2253ff 99.81%);
  border: 1px solid #2252fd;
  border-radius: 71px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  height: 40px;
  padding: 0 10px;
  position: relative;
}
/* Текст FRGBot белый, без подчёркивания */
#landing-page .ln-header-right a.button,
#landing-page .ln-header-right a.button p {
  text-decoration: none !important;
  color: #fff !important;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-right .button {
    font-size: 22px;
    height: 40px;
    padding: 0 20px;
  }
  #landing-page .ln-header-right .button .icon {
    margin-left: 32px;
  }
}
#landing-page .ln-header-right .button .icon {
  height: 28px;
  width: 28px;
  margin-left: 16px;
  transition: all .25s ease;
}

/* SOCIAL LINKS */
#landing-page .ln-header-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid hsla(0,0%,100%,.15);
  border-radius: 40px;
  padding: 10px 20px;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-social { padding: 8px 20px; }
}
#landing-page .ln-header-social-list {
  display: flex; align-items: center;
}
#landing-page .ln-header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff26;
  border-radius: 50%;
  height: 28px;
  width: 28px;
  margin-right: 4px;
  color: #fff;
  transition: all .25s ease;
  -webkit-transition: all .25s ease;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-social a { height: 52px; width: 52px; }
}
#landing-page .ln-header-social a:hover { background-color: #ffffff4d; }

/* Размеры иконок */
#landing-page .ln-header-social a.is-x .icon {
  width: 16px;
  height: 16px;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-social a.is-x .icon {
    width: 30px;
    height: 30px;
  }
}
#landing-page .ln-header-social a.is-telegram .icon {
  width: 16px;
  height: 16px;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-social a.is-telegram .icon {
    width: 32px;
    height: 32px;
  }
}

/* Текст в социальных */
#landing-page .ln-header-social p {
  color: #ffffff80;
  font-size: 16px;
  font-weight: 500;
  margin: 0 6px;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-social p {
    font-size: 22px;
    margin: 0 12px;
  }
}

/* MAIL (поддержка) — без круга, белый цвет */
#landing-page .ln-header-mail {
  font-size: 10px;
  white-space: nowrap;
}
#landing-page .ln-header-mail a {
  text-decoration: none !important;
  color: #fff !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
@media (min-width: 1024px) {
  #landing-page .ln-header-mail { font-size: 14px; }
}
#landing-page .ln-header-mail a:hover {
  text-decoration: none !important;
}

/* HERO */
#landing-page .ln-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 88px 0 48px;
  text-align: center;
}
/* Заголовок белый */
#landing-page .ln-content h1 {
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  font-size: 48px;
  color: #fff !important;
}
@media (min-width: 768px) {
  #landing-page .ln-content h1 {
    font-size: 60px;
    line-height: 64px;
    margin-bottom: 20px;
    color: #fff !important;
  }
}
@media (min-width: 1024px) {
  #landing-page .ln-content h1 {
    font-size: 80px;
    line-height: 84px;
    margin-bottom: 20px;
    color: #fff !important;
  }
}

#landing-page .ln-content-exchanges,
#landing-page .ln-content-buttons {
  display: none; /* старые блоки скрываем */
}

#landing-page .ln-content-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

#landing-page .ln-content-row .ln-content-button {
  flex: 4 1 0;
  max-width: none;
}

#landing-page .ln-content-row .button-trade,
#landing-page .ln-content-row .button-play {
  height: 60px;       /* 75% от 80px */
  font-size: 20px;    /* чуть помельче текст */
}

#landing-page .ln-content-exchanges {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  #landing-page .ln-content-exchanges { margin-bottom: 20px; }
}
#landing-page .ln-content-exchange {
  background: #2a2832;
  border: 3px solid #13111c;
  border-radius: 10%;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  /* убрали отрицательный отступ */
  margin: 0 20px;
  padding: 10px;
}
#landing-page .ln-content-exchange:first-child { margin-left: 0; }
@media (min-width: 1024px) {
  #landing-page .ln-content-exchange {
    border: 5px solid #13111c;
  }
}
#landing-page .qr-large { width: 170px; height: auto; }

#landing-page .ln-content p {
  color: #fffc;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}
#landing-page .ln-content p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  #landing-page .ln-content p {
    font-size: 24px;
    line-height: 40px;
  }
}

#landing-page .ln-content-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 1440px) {
  #landing-page .ln-content-buttons {
    flex-direction: row;
    justify-content: center;
  }
}
#landing-page .ln-content-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0 20px;
}
@media (min-width: 1440px) {
  #landing-page .ln-content-button { width: 520px; }
}

/* Кнопки без подчёркивания текста */
#landing-page .ln-content-button a,
#landing-page .ln-content-button a span {
  text-decoration: none !important;
  color: inherit;
}
#landing-page .ln-header {
  position: relative;
}

#landing-page .ln-header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#landing-page .ln-content .button-play,
#landing-page .ln-content .button-trade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  height: 60px;      /* на 25% ниже */
  margin-top: 36px;
  max-width: none;
  position: relative;
  z-index: 3;
}

/* PLAY BUTTON */
#landing-page .ln-content .button-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2253ff 1.46%, #3a66ff00 50.8%, #2253ff 99.81%);
  border: 1px solid #2252fd;
  border-radius: 71px;
  color: #fff;
  position: relative;
  z-index: 3;
}
#landing-page .ln-content .button-play:before,
#landing-page .ln-content .button-play:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #2253ff 1.46%, #3a66ff00 50.8%, #2253ff 99.81%);
}
#landing-page .ln-content .button-play:before {
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  border: 2px solid #2252fd;
  border-radius: 71px;
  z-index: 2;
}
#landing-page .ln-content .button-play:after {
  width: calc(100% + 50px);
  height: calc(100% + 50px);
  filter: blur(20px);
  border-radius: 71px;
  z-index: 1;
  transition: all .25s ease;
}
#landing-page .ln-content .button-play:hover:after {
  filter: blur(40px);
}

/* TRADE BUTTON */
#landing-page .ln-content .button-trade {
  background: linear-gradient(92deg, #4bf0b6 1.63%, #23bf89 91.64%);
  border: 1px solid #9cffdc;
  border-radius: 71px;
  box-shadow: 0 2px 72.7px #0f2368bd;
  color: #fff;
}
#landing-page .ln-content .button-trade:before,
#landing-page .ln-content .button-trade:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #22ffb2 1.46%, #22ffb200 50.8%, #22ffb2 99.81%);
}
#landing-page .ln-content .button-trade:before {
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  border: 2px solid #22ffb2;
  border-radius: 71px;
  z-index: 2;
}
#landing-page .ln-content .button-trade:after {
  width: calc(100% + 50px);
  height: calc(100% + 50px);
  filter: blur(20px);
  border-radius: 71px;
  z-index: 1;
  transition: all .25s ease;
}
#landing-page .ln-content .button-trade:hover:after {
  filter: blur(40px);
}

/* GENERIC BUTTON BASE */
#landing-page .button {
  border: none;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: all .25s ease;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#landing-page .button:disabled { cursor: not-allowed; }

/* ICONS */
#landing-page .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
#landing-page .icon svg {
  width: 100%;
  height: 100%;
}

/* Уменьшаем логотип на мобильных */
@media (max-width: 767px) {
  /* 2.1 Шапка */
  #landing-page .ln-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 15px !important;
  }
  #landing-page .ln-header-left  { display: none !important; }
  #landing-page .ln-header-center {
    order: 1 !important;
    margin-bottom: 16px !important;
    position: static !important;
    transform: none !important;
  }
  #landing-page .ln-header-right {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 15px !important;
    padding: 0 !important;
  }

  /* скрываем кнопку FRGBot */
  #landing-page .ln-header-right .button { display: none !important; }

  /* 2.2 Hero-блок */
  #landing-page .ln-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 15px 0 !important;
  }
  #landing-page .ln-content h1 { order: 1 !important; }
  #landing-page .ln-content p  { order: 2 !important; }

  /* 2.3 Контейнер QR + кнопки */
  #landing-page .ln-content-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 16px !important;
    order: 3 !important;
  }
  /* порядок: QR → Trade → Play */
  #landing-page .ln-content-row > .ln-content-exchange { order: 1 !important; margin: 0 !important; align-self: center !important; }
  #landing-page .ln-content-row > .ln-content-button:first-child { order: 2 !important; }
  #landing-page .ln-content-row > .ln-content-button:last-child  { order: 3 !important; }

  /* растягиваем обёртки на всю ширину */
  #landing-page .ln-content-row .ln-content-button        { width: 100% !important; padding: 0 15px !important; }
  #landing-page .ln-content-row .ln-content-button .button{ width: 100% !important; }
}
