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

html, body {
  height: 100%;
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.logo {
  margin-bottom: 40px;
}

.logo img {
  width: 120px;
  height: auto;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.logo-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888888;
  margin-top: 6px;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.description {
  font-size: 15px;
  color: #aaaaaa;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 40px;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 14px 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.store-badge:hover {
  background-color: #252525;
  border-color: #3a3a3a;
}

.store-badge:active {
  background-color: #1a1a1a;
}

.store-badge-icon {
  font-size: 20px;
}

.store-badge-text {
  text-align: left;
  line-height: 1.3;
}

.store-badge-label {
  font-size: 11px;
  color: #888888;
  display: block;
  margin-bottom: 2px;
}

.store-badge-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.redirect-notice {
  font-size: 13px;
  color: #666666;
  margin-top: 32px;
  line-height: 1.5;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #333333;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

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

.state-redirecting .status-icon { background-color: #1a1a1a; }
.state-desktop .status-icon { background-color: #1a1f1a; }
.state-error .status-icon { background-color: #1f1a1a; }

@media (min-width: 480px) {
  .store-badges {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .store-badge {
    flex: 0 0 auto;
    min-width: 200px;
  }
}
