:root {
  --accent: #37df12;
  --accent-hover: #2fc20f;
  --ink: #111827;
  --muted: #5f6673;
  --surface: rgba(255, 255, 255, .96);
  --line: rgba(17, 24, 39, .1);
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
  background: #050607 url("../img/desk.png") center center / cover no-repeat;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.landing {
  min-height: 100vh;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, .64);
  backdrop-filter: blur(8px);
}

.modal {
  width: min(420px, 100%);
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.modal__eyebrow {
  margin: 0 0 10px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.modal__title {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.modal__text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(55, 223, 18, .26);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 28px rgba(47, 194, 15, .3);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(55, 223, 18, .35);
  outline-offset: 3px;
}

.btn--secondary {
  color: var(--ink);
  background: #f2f4f7;
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--secondary:hover {
  background: #e7eaef;
  box-shadow: inset 0 0 0 1px var(--line);
}

@media (max-width: 600px) {
  body {
    background-image: url("../img/mobi.png");
    background-position: center top;
  }

  .modal-backdrop {
    align-items: flex-start;
    padding-top: 64px;
  }
}

@media (max-width: 420px) {
  .modal {
    padding: 24px;
    border-radius: 16px;
  }

  .modal__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
