* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #001133 100%);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

.loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0f 0%, #001133 100%);
  z-index: 9999;
}

.loading-content {
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

.loading-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00f5ff, #0080ff);
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.loading-text {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}

.loading-subtitle {
  font-size: 14px;
  color: #00f5ff;
  margin-bottom: 24px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(0, 245, 255, 0.2);
  border-top: 2px solid #00f5ff;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.scrollable {
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  body {
    font-size: 14px;
  }

  .loading-text {
    font-size: 20px;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

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

  100% {
    transform: rotate(360deg);
  }
}

.app-loaded .loading-screen {
  display: none;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #00f5ff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  height: 60px;
}

.nav-logo {
  font-size: 18px;
  font-weight: bold;
  color: #00f5ff;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-item {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
}

.back-button {
  background: linear-gradient(135deg, #ff0080, #aa0060);
  border: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
}

.main-content {
  padding-top: 80px;
  min-height: 100vh;
}
