/* ---------------------------------------------------------------
   Redslot — Access Restricted
   Font: Roboto (loaded via Google Fonts in index.html).
   To self-host instead, drop the Roboto files into assets/fonts/
   and uncomment the @font-face block below, then remove the
   Google Fonts <link> from index.html.
----------------------------------------------------------------- */

/* Self-hosted Roboto (optional) — point to your own files.
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
*/

:root {
  --ink: #1a1a2e;
  --muted: #8a8f98;
  --green: #16a36a;
  --green-hover: #128a59;
  --bg: #ffffff;
  --max: 1100px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Main content ---- */
.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: inline-flex;
  line-height: 0;
}
.logo img {
  height: 46px;
  width: auto;
}

.illustration {
  margin: 28px 0 8px;
}
.illustration img {
  width: 500px;
  max-width: 92vw;
  height: auto;
}

.title {
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.message {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 22px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  background: var(--green-hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 3px solid rgba(22, 163, 106, 0.4);
  outline-offset: 2px;
}

/* ---- Footer ---- */
.footer {
  flex-shrink: 0;
  padding: 28px 24px 36px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-item {
  color: var(--muted);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .page {
    padding-top: 32px;
  }
  .title {
    font-size: 27px;
  }
  .message {
    font-size: 15.5px;
  }
  .footer-links {
    gap: 14px 20px;
  }
}
