:root {
  --accent: #1ed760;
  --text: #ffffff;
  --muted: #a7a7a7;
  --line: #2a2a2a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #000;
}

.wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 24px 24px;
  text-align: center;
}

.logo { display: block; width: 44px; height: 44px; margin: 0 auto 40px; }

h1, .title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.title { font-size: 32px; letter-spacing: -.8px; }

.lead { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.lead strong { font-weight: 700; color: var(--text); }

.form { margin-top: 32px; }
.label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  text-align: center;
  color: var(--text);
  background: transparent;
  border: 1px solid #727272;
  border-radius: 4px;
  outline: none;
}
input:focus { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
input::placeholder { color: #727272; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
}
.btn:hover { background: #3be477; }
.btn:active { background: #17b84f; }

.small { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }

.offers { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.offer {
  display: block;
  padding: 18px 16px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  background: #1a1a1a;
  border-radius: 8px;
}
.offer:hover { background: #242424; }
.offer-text { display: block; }
.offer-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.offer-details { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.offer-cta { display: block; margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--accent); }
.offer.is-started .offer-cta { color: var(--muted); }
.offers-loading { padding: 28px 0; }
.offers-empty { padding: 20px 0; font-size: 15px; color: var(--muted); }

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 3px solid #333;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.modal[hidden] { display: none; }
.eq { display: flex; align-items: center; gap: 6px; height: 48px; }
.eq i {
  display: block;
  width: 8px;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleY(.3);
  animation: eq .9s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: .2s; }
.eq i:nth-child(3) { animation-delay: .4s; }
.eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 50% { transform: scaleY(1); } }

.foot { margin-top: auto; padding-top: 48px; }
.foot p { font-size: 12px; line-height: 1.5; color: #6a6a6a; }

@media (max-width: 360px) {
  h1 { font-size: 34px; }
  .title { font-size: 28px; }
}
