:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background-color: #f8f9fa;
  transition: opacity 1s ease;
}

h1 {
  font-size: 2.5em;
  line-height: 1.1;
  margin-bottom: 0.5em;
  color: #333;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.redirect-container {
  background-color: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.logo-container {
  margin-bottom: 2rem;
}

.logo {
  height: 100px;
  width: auto;
}

.loading-bar {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  margin: 2rem 0;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background-color: #4361ee;
  width: 0%;
  border-radius: 3px;
  transition: width 3s ease-in-out;
}

.redirect-message {
  color: #6c757d;
  font-size: 0.9em;
}

.fade-out {
  opacity: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #f8f9fa;
    background-color: #1a1a1a;
  }
  
  .redirect-container {
    background-color: #2a2a2a;
  }
  
  h1 {
    color: #f8f9fa;
  }
  
  .loading-bar {
    background-color: #343a40;
  }
  
  .redirect-message {
    color: #adb5bd;
  }
}