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

:root {
  --bg: #f2efee;
  --text: #13334d;
  --text-muted: rgba(19, 51, 77, 0.65);
  --primary: #e7a32a;
  --primary-hover: #d8941f;
  --accent: #4190da;
  --disabled-bg: #e7e4de;
  --surface: #ffffff;
  --shadow: 0 8px 32px rgba(19, 51, 77, 0.08);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  display: block;
}

.title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 52px;
  padding: 0.875rem 1.25rem;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-android {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(231, 163, 42, 0.35);
}

.btn-android:hover {
  background: var(--primary-hover);
}

.btn-ios {
  background: var(--disabled-bg);
  color: var(--text-muted);
  cursor: not-allowed;
  position: relative;
}

.btn-ios-active {
  background: var(--text);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(19, 51, 77, 0.25);
}

.btn-ios-active:hover {
  background: #0f2840;
}

.btn-ios .badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(19, 51, 77, 0.1);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.version {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 20px;
  }

  .title {
    font-size: 1.5rem;
  }
}
