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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 100vh;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 680px;
  text-align: center;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.lang-btn.active {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Spinner */
.spinner-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.spinner-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-top-color: #3b82f6;
  border-right-color: #3b82f6;
  animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  border-bottom-color: #6366f1;
  border-left-color: #6366f1;
  animation: spin 1.5s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  border-top-color: #8b5cf6;
  animation: spin 2.5s linear infinite;
}

.gear-icon {
  color: #94a3b8;
  animation: gear-rotate 4s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes gear-rotate {
  to { transform: rotate(360deg); }
}

/* Progress bar */
.progress-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin: 0 auto 24px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 3px;
  animation: progress-move 2s ease-in-out infinite;
}

@keyframes progress-move {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(200%); }
  100% { transform: translateX(-100%); }
}

/* Content */
.content h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content p {
  font-size: 16px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-block;
}

.links a:hover {
  color: #e2e8f0;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}

@media (max-width: 600px) {
  .card {
    padding: 32px 20px;
  }

  .content h1 {
    font-size: 24px;
  }

  .content p {
    font-size: 15px;
  }

  .spinner-wrapper {
    width: 100px;
    height: 100px;
  }

  .lang-btn {
    width: 100%;
    max-width: 200px;
  }
}
