/* ---------- Fonts ---------- */
@font-face {
  font-family: "Builder Sans";
  src: url("/fonts/BuilderSansExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Builder Sans";
  src: url("/fonts/BuilderSansBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Builder Sans";
  src: url("/fonts/BuilderSansMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
  overflow: hidden; /* no scrollbars */
}

/* ---------- Base ---------- */
body {
  font-family: "Builder Sans", Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  background-image: url("hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #2e2e2e;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ---------- */
.block-screen {
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.logo {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 32px;
}

.title {
  font-family: "Builder Sans", Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.message {
  font-family: "Builder Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 3.5vw, 17px);
  line-height: 1.55;
  opacity: 0.85;
  max-width: 380px;
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}

.btn {
  font-family: "Builder Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 3.2vw, 16px);
  color: #ffffff;
  background-color: #3156ff;
  border: none;
  border-radius: 16px;
  padding: 14px 28px;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.15s ease;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #ffffff;
}

.btn:hover {
  background-color: #2544d6;
}

.btn:focus-visible {
  outline: 3px solid #2544d6;
  outline-offset: 3px;
}

.fallback-message {
  font-family: "Builder Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 3.5vw, 17px);
  color: #2e2e2e;
  margin-top: 28px;
}

/* ---------- Mobile ---------- */
@media (max-width: 420px) {
  .card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .logo {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
