body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f5f7;
  color: #1d1d1f;
}
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
}
.hero-text {
  text-align: center;
  margin-bottom: 3rem;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.hero-text p {
  font-size: 1.5rem;
  color: #86868b;
  margin: 0.2rem 0;
}
.hero-text p.sub-hero {
  font-size: 1rem;
  margin-top: 2rem;
}
#app {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
#app.expanded {
  height: 100vh;
  background: #fff;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #0071e3;
  animation: spin 1s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

.mode-card {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 1.2rem;
  transition: transform 0.2s;
}

.mode-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.mode-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1rem 0;
}

.mode-btn {
  background-color: #0071e3;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mode-btn:hover {
  background-color: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mode-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mode-btn:disabled {
  background-color: #ccc;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.loader-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  z-index: 200;
  display: none;
}

.loader-strip.loading {
  display: block;
}

.loader-strip.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: loader-run 1.5s infinite linear;
}

@keyframes loader-run {
  0% {
    transform: translateX(-200px);
  }
  100% {
    transform: translateX(100vw);
  }
}

.loader-strip.full-screen {
  display: block;
  height: 100vh;
  background-color: #fff;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
