:root {
  --bg: #0b0d12;
  --bg-2: #12151d;
  --text: #f4f5f7;
  --text-dim: #9aa1af;
  --accent: #7c8cff;
  --accent-2: #ff8c7c;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
  padding: 24px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(124, 140, 255, 0.18), transparent 60%),
    radial-gradient(600px circle at 80% 80%, rgba(255, 140, 124, 0.14), transparent 60%);
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 140, 255, 0.12);
  border: 1px solid rgba(124, 140, 255, 0.3);
  color: #b7bfff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(124, 140, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 140, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(124, 140, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 140, 255, 0); }
}

.icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.icon {
  font-size: 40px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}

.icon-1 { animation: float 3.2s ease-in-out infinite; }
.icon-2 { animation: spin 6s linear infinite; font-size: 34px; }
.icon-3 { animation: float 3.2s ease-in-out infinite 1.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.dog-chase {
  width: 130px;
  height: 130px;
  margin: 0 auto 16px;
}

.dog-chase img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #b7bfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.subtext {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 32px;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 32px;
}

.progress-bar {
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: grow 3.5s ease-in-out infinite alternate;
}

@keyframes grow {
  from { width: 25%; }
  to { width: 65%; }
}

.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), #6a7bff);
  color: white;
}

footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
  font-size: 13px;
  color: #666c7a;
}

@media (max-width: 480px) {
  .wrap {
    padding: 40px 24px 28px;
  }

  h1 {
    font-size: 32px;
  }

  .lang-switch {
    top: 12px;
    right: 12px;
  }
}
