/* LIQUID GLASS STYLES */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  font-weight: 600;
  overflow: hidden;

  color: black;
  cursor: pointer;

  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;

  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
  z-index: 3;
  color: black;
}

/* OTHER STYLES */

/* Основные стили приложения */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  padding-bottom: 70px; /* Отступ для футера */
}

#app {
  min-height: 100vh;
  width: 100%;
  position: fixed;
}

/* Стили для контейнеров экранов */
.screen-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screen-container.active {
  z-index: 10;
  opacity: 1;
  visibility: visible;
}

.screen-container.hidden {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Загрузочный экран */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #000;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #333;
  border-top: 3px solid #FF7A00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

/* Экран ошибки */
.error-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
}

.error-screen h2 {
  color: #FF7A00;
  margin-bottom: 20px;
  font-size: 24px;
}

.error-screen p {
  color: #888;
  margin-bottom: 30px;
  font-size: 16px;
}

.error-screen button {
  background: #FF7A00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.error-screen button:hover {
  background: #e66a00;
}

/* Общие стили для кнопок */
.btn {
  background: #FF7A00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #333;
  color: white;
}

.btn-secondary:hover {
  background: #444;
}

.btn-outline {
  background: transparent;
  color: #FF7A00;
  border: 2px solid #FF7A00;
}

.btn-outline:hover {
  background: #FF7A00;
  color: white;
}

/* Адаптивность */
@media (max-width: 480px) {
  body {
    padding-bottom: 65px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .error-screen h2 {
    font-size: 20px;
  }
  
  .error-screen p {
    font-size: 14px;
  }
}

/* Утилитарные классы */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.space-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

