@keyframes pulse {
 0%,
 100% {
  transform: scale(1);
  box-shadow: 0 0 40px rgba(58, 191, 248, 0.3);
  filter: brightness(1);
 }
 50% {
  transform: scale(0.95);
  box-shadow: 0 0 60px rgba(58, 191, 248, 0.6);
  filter: brightness(1.1);
 }
}
.btn-fixed.btn-primary {
 animation: 2s ease-in-out infinite pulse;
}
.leadform > div {
 margin-bottom: 0;
}
.popup-content {
 padding: 1.5rem 0.5rem;
}
@media (max-height: 700px) {
 .popup-content {
  height: 100%;
  overflow: auto;
 }
}
.legal-popup {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.7);
 display: none;
 align-items: center;
 justify-content: center;
 z-index: 9999;
 backdrop-filter: blur(4px);
}
.legal-popup-content {
 background: var(--bg-dark);
 border: 1px solid rgba(58, 191, 248, 0.2);
 border-radius: 16px;
 width: 90%;
 max-width: 600px;
 max-height: 80vh;
 overflow: hidden;
 position: relative;
}
.legal-content {
 padding: 0 2rem 2rem;
 max-height: 60vh;
 overflow-y: auto;
 color: var(--text-secondary);
 line-height: 1.6;
}
.legal-content h3 {
 color: var(--text-primary);
 margin-top: 1.5rem;
 margin-bottom: 0.5rem;
}
.legal-content p,
.legal-content ul {
 margin-bottom: 1rem;
}
.legal-content ul {
 margin-left: 1rem;
}
.legal-content li {
 margin-bottom: 0.5rem;
}
.chat-auth-form,
.popup-header {
 padding-top: 20px;
}
.demo-popup .popup-close {
 position: absolute;
 top: 15px;
 right: 15px;
 width: 40px;
 height: 40px;
 background: rgba(255, 255, 255, 0.1);
 border: none;
 border-radius: 50%;
 color: #f8fafc;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: 0.3s;
 backdrop-filter: blur(10px);
 z-index: 10;
}
.demo-popup .popup-close:hover {
 background: rgba(239, 68, 68, 0.2);
 color: #ef4444;
 transform: scale(1.1);
}
.demo-popup .popup-close:active {
 transform: scale(0.95);
}
.demo-popup .popup-header {
 position: relative;
 padding: 0;
 height: 0;
}
.trades-list {
 max-height: 300px;
 overflow-y: auto;
 overflow-x: hidden;
 padding-right: 5px;
 margin-right: -5px;
}
.trades-list::-webkit-scrollbar {
 width: 6px;
}
.trades-list::-webkit-scrollbar-track {
 background: rgba(255, 255, 255, 0.1);
 border-radius: 3px;
}
.trades-list::-webkit-scrollbar-thumb {
 background: rgba(58, 191, 248, 0.5);
 border-radius: 3px;
}
.trades-list::-webkit-scrollbar-thumb:hover {
 background: rgba(58, 191, 248, 0.7);
}
*,
::after,
::before {
 box-sizing: border-box;
}
body,
html {
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}
*,
p {
 margin: 0;
}
.btn,
html {
 line-height: 1.5;
}
.btn,
a {
 text-decoration: none;
}
* {
 padding: 0;
}
html {
 font-size: 16px;
 -webkit-text-size-adjust: 100%;
 scroll-behavior: smooth;
}
body {
 font-family:
  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
  Cantarell, sans-serif;
 background-color: #01050e;
 color: #f8fafc;
 overflow-x: hidden;
 min-height: 100vh;
}
[role="button"],
button,
input[type="button"],
input[type="submit"] {
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 touch-action: manipulation;
 -webkit-tap-highlight-color: transparent;
}
a,
button {
 touch-action: manipulation;
}
h1,
h2,
h3,
h4,
h5,
h6 {
 font-weight: 700;
 line-height: 1.2;
 color: #f8fafc;
 margin: 0;
}
p {
 line-height: 1.6;
}
a {
 color: #3abff8;
 transition: color 0.2s;
}
a:hover {
 color: #00eaff;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.75rem 1.5rem;
 border-radius: 0.75rem;
 border: none;
 font-weight: 600;
 font-size: 1rem;
 text-align: center;
 cursor: pointer;
 transition: 0.2s;
 min-height: 48px;
 position: relative;
 overflow: hidden;
}
.btn-primary {
 background: linear-gradient(90deg, #00eaff 0, #00ff84 100%);
 color: #020713;
 box-shadow: 0 0 40px rgba(58, 191, 248, 0.3);
 max-width: 550px;
 margin-left: auto;
 margin-right: auto;
}
.btn-primary:hover {
 transform: translateY(-1px);
 box-shadow: 0 4px 20px rgba(58, 191, 248, 0.4);
}
.btn-primary:active {
 transform: translateY(0);
}
.btn-secondary {
 background: 0 0;
 color: #3abff8;
 border: 1px solid rgba(58, 191, 248, 0.3);
 backdrop-filter: blur(10px);
}
.btn-secondary:hover {
 background: rgba(58, 191, 248, 0.1);
 border-color: rgba(58, 191, 248, 0.5);
}
.btn-large {
 padding: 1rem 2rem;
 font-size: 1.125rem;
}
.container {
 display: flex;
 flex-direction: column;
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1rem;
}
.gradient-text {
 background: linear-gradient(90deg, #00eaff 0, #00ff84 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 color: transparent;
}
:root {
 --primary-bg: #01050e;
 --secondary-bg: #020713;
 --card-bg: linear-gradient(
  165deg,
  rgba(2, 7, 19, 1) 0%,
  rgba(3, 14, 38, 1) 100%
 );
 --border-color: rgba(255, 255, 255, 0.1);
 --text-primary: #f8fafc;
 --text-secondary: #94a3b8;
 --accent-cyan: #3abff8;
 --accent-green: #16a249;
 --accent-yellow: #facc14;
 --gradient-primary: linear-gradient(90deg, #00eaff 0%, #00ff84 100%);
}
.no-scrollbar {
 -ms-overflow-style: none;
 scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
 display: none;
}
@keyframes fadeIn {
 from {
  opacity: 0;
  transform: translateY(20px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}
@keyframes slideInUp {
 from {
  opacity: 0;
  transform: translateY(30px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}
@keyframes pulse {
 0%,
 100% {
  opacity: 1;
 }
 50% {
  opacity: 0.5;
 }
}
@keyframes spin {
 from {
  transform: rotate(0);
 }
 to {
  transform: rotate(360deg);
 }
}
@media (prefers-reduced-motion: reduce) {
 *,
 ::after,
 ::before {
  animation-duration: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
 }
 html {
  scroll-behavior: auto;
 }
}
:focus-visible {
 outline: #3abff8 solid 2px;
 outline-offset: 2px;
}
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}
img {
 max-width: 100%;
 height: auto;
 display: block;
}
@media (hover: none) and (pointer: coarse) {
 .btn:hover {
  transform: none;
 }
 .btn:active {
  transform: scale(0.98);
 }
}
.flex {
 display: flex;
}
.flex-col {
 flex-direction: column;
}
.items-center {
 align-items: center;
}
.justify-center {
 justify-content: center;
}
.justify-between {
 justify-content: space-between;
}
.gap-4 {
 gap: 1rem;
}
.gap-6 {
 gap: 1.5rem;
}
.gap-8 {
 gap: 2rem;
}
.w-full {
 width: 100%;
}
.h-full {
 height: 100%;
}
.relative {
 position: relative;
}
.absolute {
 position: absolute;
}
.fixed {
 position: fixed;
}
.sticky {
 position: sticky;
}
.p-4 {
 padding: 1rem;
}
.px-4 {
 padding-left: 1rem;
 padding-right: 1rem;
}
.py-4 {
 padding-top: 1rem;
 padding-bottom: 1rem;
}
.mt-4 {
 margin-top: 1rem;
}
.mb-4 {
 margin-bottom: 1rem;
}
.mx-auto {
 margin-left: auto;
 margin-right: auto;
}
.shadow {
 box-shadow:
  0 1px 3px 0 rgba(0, 0, 0, 0.1),
  0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.shadow-lg {
 box-shadow:
  0 10px 15px -3px rgba(0, 0, 0, 0.1),
  0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.rounded {
 border-radius: 0.25rem;
}
.rounded-lg {
 border-radius: 0.5rem;
}
.rounded-xl {
 border-radius: 0.75rem;
}
.rounded-2xl {
 border-radius: 1rem;
}
.rounded-full {
 border-radius: 9999px;
}

/* Стили для кнопки воспроизведения видео */
.interface-preview {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
}

.play-button-overlay {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 z-index: 10;
}

.play-video-btn {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 background: linear-gradient(135deg, #00eaff 0%, #00ff84 100%);
 border: none;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 0 30px rgba(0, 234, 255, 0.4);
 transition: all 0.3s ease;
 color: #020713;
}

.play-video-btn:hover {
 transform: scale(1.1);
 box-shadow: 0 0 40px rgba(0, 234, 255, 0.6);
}

.play-video-btn:active {
 transform: scale(0.95);
}

.play-video-btn svg {
 margin-left: 4px; /* Небольшой сдвиг для визуального центрирования */
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
 .play-video-btn {
  width: 70px;
  height: 70px;
  /* Убираем hover эффекты на мобильных */
  transform: none;

  /* Улучшенная отзывчивость на touch */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;

  /* Плавные анимации */
  transition: all 0.2s ease;
 }

 .play-video-btn:active {
  transform: scale(0.9);
  background: linear-gradient(135deg, #00d4e6 0%, #00e673 100%);
 }

 .play-video-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 3px;
 }

 /* Убираем outline на мобильных */
 .play-video-btn:focus {
  outline: none;
 }

 /* Улучшенная анимация при нажатии */
 .play-video-btn:active {
  transition: all 0.1s ease;
 }
}

/* Специальные стили для очень маленьких экранов */
@media (max-width: 480px) {
 .play-video-btn {
  width: 60px;
  height: 60px;
 }

 .play-video-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 2px;
 }
}

/* Улучшенные стили для touch устройств */
@media (hover: none) and (pointer: coarse) {
 .play-video-btn {
  /* Убираем hover эффекты */
  transform: none;
 }

 .play-video-btn:active {
  transform: scale(0.9);
  background: linear-gradient(135deg, #00d4e6 0%, #00e673 100%);
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
 }

 /* Увеличиваем область касания */
 .play-button-overlay::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  z-index: -1;
 }
}

/* Специальные стили для iOS */
@supports (-webkit-touch-callout: none) {
 .play-video-btn {
  /* Убираем стандартные iOS стили */
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
 }
}

/* Стили для контейнера видео */
.interface-preview {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 12px;
 overflow: hidden;
}

/* Скрываем видео на мобильных устройствах */
@media (max-width: 768px) {
 /* .desktop-video {
        display: none;
    } */

 /* .mobile-play-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 300px;
        background: linear-gradient(135deg, rgba(0, 234, 255, 0.1) 0%, rgba(0, 255, 132, 0.1) 100%);
        border: 2px solid rgba(58, 191, 248, 0.3);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    } */
}

/* Показываем видео на десктопе */
@media (min-width: 769px) {
 .mobile-play-button {
  display: none;
 }

 .desktop-video {
  display: block;
  width: 100%;
 }
}

/* Стили для большой мобильной кнопки */
.mobile-play-btn {
 /* display: flex; */
 display: none;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 16px;
 width: 200px;
 height: 200px;
 background: linear-gradient(135deg, #00eaff 0%, #00ff84 100%);
 border: none;
 border-radius: 50%;
 cursor: pointer;
 transition: all 0.3s ease;
 box-shadow: 0 0 40px rgba(0, 234, 255, 0.4);
 color: #020713;
 font-weight: 600;
 font-size: 16px;
 text-align: center;
 padding: 20px;
}

.mobile-play-btn:hover {
 transform: scale(1.05);
 box-shadow: 0 0 60px rgba(0, 234, 255, 0.6);
}

.mobile-play-btn:active {
 transform: scale(0.95);
 background: linear-gradient(135deg, #00d4e6 0%, #00e673 100%);
}

.play-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 80px;
 height: 80px;
 background: rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 backdrop-filter: blur(10px);
}

.play-icon svg {
 margin-left: 4px; /* Небольшой сдвиг для визуального центрирования */
}

.play-text {
 font-size: 18px;
 font-weight: 700;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Анимация пульсации для кнопки */
.mobile-play-btn {
 animation: mobilePulse 2s ease-in-out infinite;
}

@keyframes mobilePulse {
 0%,
 100% {
  transform: scale(1);
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.4);
 }
 50% {
  transform: scale(1.02);
  box-shadow: 0 0 60px rgba(0, 234, 255, 0.6);
 }
}

/* Убираем анимацию при нажатии */
.mobile-play-btn:active {
 animation: none;
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
 .mobile-play-button {
  height: 250px;
 }

 .mobile-play-btn {
  width: 160px;
  height: 160px;
  gap: 12px;
 }

 .play-icon {
  width: 60px;
  height: 60px;
 }

 .play-icon svg {
  width: 48px;
  height: 48px;
 }

 .play-text {
  font-size: 16px;
 }
}

/* Специальные стили для iPhone SE и подобных */
@media (max-width: 375px) {
 .mobile-play-button {
  height: 220px;
 }

 .mobile-play-btn {
  width: 140px;
  height: 140px;
  gap: 10px;
 }

 .play-icon {
  width: 50px;
  height: 50px;
 }

 .play-icon svg {
  width: 40px;
  height: 40px;
 }

 .play-text {
  font-size: 14px;
 }
}

/* Стили для модального окна с видео */
.video-modal {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.9);
 display: none;
 align-items: center;
 justify-content: center;
 z-index: 10000;
 backdrop-filter: blur(10px);
}

.video-modal-content {
 position: relative;
 width: 95%;
 max-width: 600px;
 background: var(--secondary-bg);
 border-radius: 16px;
 border: 1px solid rgba(58, 191, 248, 0.3);
 overflow: hidden;
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
 position: absolute;
 top: 15px;
 right: 15px;
 width: 40px;
 height: 40px;
 background: rgba(255, 255, 255, 0.1);
 border: none;
 border-radius: 50%;
 color: #f8fafc;
 font-size: 24px;
 font-weight: bold;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s ease;
 backdrop-filter: blur(10px);
 z-index: 10;
}

.video-modal-close:hover {
 background: rgba(239, 68, 68, 0.2);
 color: #ef4444;
 transform: scale(1.1);
}

.video-modal-close:active {
 transform: scale(0.95);
}

.video-container {
 width: 100%;
 aspect-ratio: 16/9;
 background: #000;
 border-radius: 12px;
 overflow: hidden;
}

.video-container video {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

/* Стили для Plyr в модальном окне */
.video-modal .plyr {
 border-radius: 12px;
 overflow: hidden;
}

.video-modal .plyr__controls {
 background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
 padding: 20px 15px 15px;
}

.video-modal .plyr__control {
 color: #f8fafc;
 background: rgba(58, 191, 248, 0.2);
 border: 1px solid rgba(58, 191, 248, 0.3);
 border-radius: 8px;
 transition: all 0.2s ease;
}

.video-modal .plyr__control:hover {
 background: rgba(58, 191, 248, 0.4);
 border-color: rgba(58, 191, 248, 0.6);
 transform: scale(1.05);
}

.video-modal .plyr__control--overlaid {
 background: linear-gradient(135deg, #00eaff 0%, #00ff84 100%);
 border: none;
 color: #020713;
 box-shadow: 0 0 20px rgba(0, 234, 255, 0.4);
}

.video-modal .plyr__control--overlaid:hover {
 background: linear-gradient(135deg, #00d4e6 0%, #00e673 100%);
 transform: scale(1.1);
 box-shadow: 0 0 30px rgba(0, 234, 255, 0.6);
}

.plyr {
 min-width: 290px !important;
}

/* Мобильные улучшения для модального окна */
@media (max-width: 768px) {
 .video-modal-content {
  width: 98%;
  max-width: none;
  margin: 10px;
 }

 .video-modal-close {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  font-size: 20px;
 }

 .video-modal .plyr__controls {
  padding: 15px 10px 10px;
 }

 .video-modal .plyr__control {
  width: 36px;
  height: 36px;
  border-radius: 6px;
 }

 .video-modal .plyr__control--overlaid {
  width: 60px;
  height: 60px;
  border-radius: 50%;
 }

 /* Убираем hover эффекты на мобильных */
 .video-modal .plyr__control:hover {
  transform: none;
 }

 .video-modal .plyr__control--overlaid:hover {
  transform: none;
 }

 /* Улучшенная отзывчивость на touch */
 .video-modal .plyr__control:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
 }

 .video-modal .plyr__control--overlaid:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
 }
}

/* Специальные стили для очень маленьких экранов */
@media (max-width: 480px) {
 .video-modal-content {
  width: 100%;
  margin: 5px;
  border-radius: 12px;
 }

 .video-modal-close {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  font-size: 18px;
 }

 .video-modal .plyr__controls {
  padding: 10px 8px 8px;
 }

 .video-modal .plyr__control {
  width: 32px;
  height: 32px;
  border-radius: 4px;
 }

 .video-modal .plyr__control--overlaid {
  width: 50px;
  height: 50px;
 }
}
