/* Базовые стили и сброс */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: inherit;
  line-height: inherit;
}

/* Flexbox утилиты */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-1 {
  flex: 1 1 0%;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-x-8 > * + * {
  margin-left: 2rem;
}
.space-x-12 > * + * {
  margin-left: 3rem;
}

/* Размеры */
.w-full {
  width: 100%;
}
.h-screen {
  height: 100vh;
}
.h-16 {
  height: 4rem;
}
.w-16 {
  width: 4rem;
}
.w-\[240px\] {
  width: 240px;
}
.h-\[240px\] {
  height: 240px;
}

/* Отступы */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Позиционирование */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.left-0 {
  left: 0;
}
.right-0 {
  right: 0;
}
.bottom-0 {
  bottom: 0;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}

/* Overflow */
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-hidden {
  overflow: hidden;
}

/* Snap scroll */
.snap-x-mandatory {
  scroll-snap-type: x mandatory;
}
.snap-start {
  scroll-snap-align: start;
}

/* Цвета */
.bg-white {
  background-color: #ffffff;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.bg-gray-200 {
  background-color: #e5e7eb;
}
.bg-yellow-500 {
  background-color: #eab308;
}
.bg-yellow-600 {
  background-color: #ca8a04;
}
.text-black {
  color: #000000;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-900 {
  color: #000;
}
.text-white {
  color: #ffffff;
}

/* Текст */
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-extralight {
  font-weight: 200;
}
.font-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-bold {
  font-weight: 700;
}
.text-center {
  text-align: center;
}
.leading-snug {
  line-height: 1.375;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.whitespace-nowrap {
  white-space: nowrap;
}

/* Границы */
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.border {
  border-width: 1px;
}
.border-gray-200 {
  border-color: #e5e7eb;
}

/* Тени */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Переходы */
.transition-colors {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover эффекты */
.hover\:bg-yellow-600:hover {
  background-color: #ca8a04;
}
.hover\:bg-gray-200:hover {
  background-color: #e5e7eb;
}

/* Утилиты для скрытия */
.hidden {
  display: none;
}
.invisible {
  visibility: hidden;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
}

/* Специальные утилиты */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.text-nowrap {
  white-space: nowrap;
}

.pl-\[50vw\] {
  padding-left: 50vw;
}

.pr-\[50vw\] {
  padding-right: 50vw;
}

.max-w-xs {
  max-width: 20rem;
}

/* BEM блоки */
.app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  background: #fff;
  color: #000;
}

/* PWA Status Bar Support */
@supports (padding: max(0px)) {
  .app {
    padding-top: max(env(safe-area-inset-top), 0px);
    padding-bottom: max(env(safe-area-inset-bottom), 0px);
    padding-left: max(env(safe-area-inset-left), 0px);
    padding-right: max(env(safe-area-inset-right), 0px);
  }
}

/* iOS PWA Status Bar */
@supports (-webkit-touch-callout: none) {
  .app {
    padding-top: env(safe-area-inset-top);
  }
}

/* PWA Full Screen Support */
@media (display-mode: standalone) {
  .app {
    /* Убираем отступы для полноэкранного режима */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Скрываем навигацию браузера */
  .app__navigation {
    padding-top: env(safe-area-inset-top);
  }
}

/* Dark Mode Support - DISABLED */

/* PWA Status Bar Transparency */
@media (display-mode: standalone) {
  /* Убираем белый фон для прозрачности */
  .app {
    background: transparent;
  }

  /* Делаем навигацию полупрозрачной */
  .app__navigation {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  /* Секции с белым фоном */
  .section {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    padding-top: 20px;
  }

  /* Первая секция без скругления сверху */
  .section:first-child {
    border-radius: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

.app__navigation {
  display: flex;
  gap: 3rem;
  color: #000;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  padding: 1rem 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 50vw;
  padding-right: 50vw;
}

.app__navigation::-webkit-scrollbar {
  display: none;
}

.app__slider {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app__slider::-webkit-scrollbar {
  display: none;
}

.section {
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.section--inactive {
  opacity: 0;
}

.nav-item {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.nav-item--active {
  color: #000;
}

.lottie-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__content {
  text-align: center;
}

.preloader__text {
  font-size: 2rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.preloader__progress {
  width: 200px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader__bar {
  height: 100%;
  background: linear-gradient(90deg, #000 0%, #151515 100%);
  width: 0%;
  transition: width 0.3s ease;
  animation: preloaderProgress 2s ease-in-out infinite;
}

@keyframes preloaderProgress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

@keyframes preloaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PWA стили */
.pwa-mode {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

#install-button {
  animation: slideUp 0.3s ease-out;
}

#install-button:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Улучшения для PWA */
@media (display-mode: standalone) {
  body {
    margin: 0;
    padding: 0;
  }

  .browser-ui {
    display: none !important;
  }
}

/* Стили для iOS PWA */
@supports (-webkit-touch-callout: none) {
  .pwa-mode {
    height: 100vh;
    height: -webkit-fill-available;
  }

  body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
  }
}

/* Стили для Android PWA */
@media (display-mode: standalone) and (max-width: 768px) {
  .pwa-mode {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}

/* Дополнительные BEM стили */
.section__text {
  font-size: 1.125rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1.375;
  text-align: center;
}

.section__icon {
  width: 4rem;
  height: 4rem;
  stroke-width: 1.2;
}

.coins-video {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: contrast(1.06);
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 2rem;
}

.profile-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-login__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.profile-login__title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #000;
  margin-bottom: 0.5rem;
}

.profile-login__subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.profile-login__button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.25rem;
}

.profile-login__button:hover {
  background: #000;
  transform: translateY(-2px);
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.profile-avatar__text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
}

.profile-phone {
  color: #6b7280;
  font-size: 0.875rem;
}

.profile-actions {
  width: 100%;
  max-width: 300px;
}

.profile-action {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-action:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.profile-action__icon {
  font-size: 1.25rem;
  margin-right: 12px;
}

.profile-action__text {
  font-weight: 500;
  color: #374151;
}

/* Action Sheet */
.action-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  /* padding: 1rem; */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-sheet--visible {
  opacity: 1;
  visibility: visible;
}

.action-sheet__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.action-sheet__container {
  position: relative;
  background: #fff;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  width: 100%;
  max-height: 80vh;
  min-height: 60vh;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.action-sheet--visible .action-sheet__container {
  transform: translateY(0);
}

.action-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.action-sheet__header:active {
  cursor: grabbing;
}

.action-sheet__drag-indicator {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.action-sheet__header:hover .action-sheet__drag-indicator {
  background: #9ca3af;
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
  max-width: 90vw;
  text-align: center;
}

.toast--visible {
  opacity: 1;
}

.toast--success {
  background: rgba(16, 185, 129, 0.9);
}

.toast--error {
  background: rgba(239, 68, 68, 0.9);
}

.toast--info {
  background: rgba(59, 130, 246, 0.9);
}

/* Payment Page Styles */
.payment-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* padding: 1rem; */
  max-width: 400px;
  margin: 0 auto;
}

/* Organization Info */
.payment-organization {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-logo {
  flex-shrink: 0;
}

.payment-logo__image {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.payment-org-info {
  flex: 1;
}

.payment-org-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.payment-org-address {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* Amount Input */
.payment-amount {
  text-align: center;
}

.payment-amount__label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 1rem;
}

.payment-amount__input-wrapper {
  position: relative;
  display: inline-block;
}

.payment-amount__currency {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b7280;
  z-index: 1;
}

.payment-amount__input {
  width: 200px;
  height: 60px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 0 1rem 0 3.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.payment-amount__input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.payment-amount__input::placeholder {
  color: #d1d5db;
  font-weight: 400;
}

/* Transaction Info */
.payment-transaction {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-transaction__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-transaction__label {
  font-size: 0.875rem;
  color: #6b7280;
}

.payment-transaction__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
}

/* Payment Method */
.payment-method {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-method__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 1rem 0;
}

.payment-method__options {
  display: flex;
  gap: 1rem;
}

.payment-method__option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method__option--active {
  border-color: #000;
  background: #f9fafb;
}

.payment-method__option:hover {
  border-color: #9ca3af;
}

.payment-method__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.3s ease;
}

.payment-method__option--active .payment-method__icon {
  color: #000;
}

.payment-method__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  transition: color 0.3s ease;
}

.payment-method__option--active .payment-method__name {
  color: #000;
}

/* Pay Button */
.payment-pay {
  margin-top: 1rem;
}

.payment-pay__button {
  width: 100%;
  height: 60px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.payment-pay__button:hover {
  background: #333;
  transform: translateY(-2px);
}

.payment-pay__button:active {
  transform: translateY(0);
}

.payment-pay__button:disabled {
  background: #6b7280;
  cursor: not-allowed;
  transform: none;
}

.payment-pay__text {
  z-index: 2;
  position: relative;
}

.payment-pay__slider {
  position: relative;
  width: 40px;
  height: 20px;
  z-index: 2;
}

.payment-pay__slider-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.payment-pay__slider-thumb {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.payment-pay__button:hover .payment-pay__slider-thumb {
  transform: translateY(-50%) translateX(24px);
}

/* Dark theme for payment page - DISABLED */

.action-sheet__title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.action-sheet__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
  min-width: 40px;
  min-height: 40px;
}

.action-sheet__close:hover {
  background: #f3f4f6;
  color: #374151;
}

.action-sheet__content {
  padding: 24px;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  background: #f9fafb;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 48px;
}

.auth-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab--active {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-tab__icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.auth-tab__text {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
}

.auth-tab--active .auth-tab__text {
  color: #000;
}

/* Auth Panels */
.auth-panel {
  display: none;
}

.auth-panel--active {
  display: block;
}

/* Phone Input */
.phone-input {
  display: flex;
  flex-direction: column;
}

.phone-input__label {
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
  margin-bottom: 8px;
}

.phone-input__wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.phone-input__wrapper:focus-within {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.phone-input__prefix {
  color: #6b7280;
  font-weight: 500;
  margin-right: 8px;
}

.phone-input__field {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 0;
  font-size: 1rem;
  color: #000;
  background: transparent;
}

.phone-input__field::placeholder {
  color: #9ca3af;
}

.phone-input__button {
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phone-input__button:hover {
  background: #000;
  transform: translateY(-2px);
}

.phone-input__button:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

/* OTP Input */
.otp-container {
  text-align: center;
}

.otp-header {
  margin-bottom: 24px;
}

.otp-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 8px 0;
}

.otp-subtitle {
  color: #6b7280;
  margin-bottom: 32px;
  font-size: 0.875rem;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.otp-input {
  width: 48px;
  height: 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.otp-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.otp-input:not(:placeholder-shown) {
  border-color: #000;
  background: #f9fafb;
}

.otp-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.otp-button {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.otp-button--primary {
  background: #000;
  color: #fff;
}

.otp-button--primary:hover:not(:disabled) {
  background: #000;
  transform: translateY(-2px);
}

.otp-button--secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.otp-button--secondary:hover {
  background: #e5e7eb;
  color: #374151;
}

.otp-button:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

.otp-demo {
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: none;
}

.otp-demo__text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 12px 0;
}

.otp-demo__codes {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.otp-demo__code {
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.otp-demo__code:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Other Auth */
.other-auth {
  text-align: center;
  padding: 2rem 0;
}

.other-auth__text {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Auth Loading */
.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.auth-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.auth-loading__text {
  color: #6b7280;
  font-size: 0.875rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1001;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--success {
  background: #10b981;
}

.toast--error {
  background: #ef4444;
}

/* reCAPTCHA Container */
#recaptcha-container {
  margin: 16px 0;
}

/* Маска для навигации */
.app__navigation {
  mask: linear-gradient(
    to right,
    transparent 0%,
    #fff 30%,
    #fff 70%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    to right,
    transparent 0%,
    #fff 30%,
    #fff 70%,
    transparent 100%
  );
}

/* Анимации */
.nav-item {
  transition: color 0.3s ease;
  will-change: color;
  transform: translate3d(0, 0, 0);
}

.app__navigation {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Состояния секций */
.section {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section:first-child {
  opacity: 1;
}

.section--active {
  opacity: 1;
}

.section--inactive {
  opacity: 0;
}
