* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Signika', -apple-system, BlinkMacSystemFont, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #0f1014;
  color: #f4f4f4;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.state[hidden] {
  display: none !important;
}

.state-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff7a00;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.state-ios-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  background: #161821;
  border-radius: 16px;
  margin: 16px;
}
.state-ios-landing .logo-wrap {
  margin-bottom: 24px;
}
.state-ios-landing .logo-wrap img {
  width: 160px;
  max-width: 60vw;
  height: auto;
}
.state-ios-landing h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}
.state-ios-landing p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #b8bccd;
  margin-bottom: 12px;
}
.state-ios-landing .footer-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.btn-large {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 16px 24px;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-large:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #ff7a00;
  color: #fff;
}
.btn-primary:hover {
  background: #ff8a1a;
}
