:root{
  --bg: #000115;
  --accent: #0085ff;
  --text: #fffff8;
  --muted: rgba(255,255,248,0.55);
  --glass: rgba(255,255,248,0.03);
}

/* Hide scrollbar visually by matching it to the background */
body::-webkit-scrollbar {
  width: 8px;
  background: #010409;
}

body::-webkit-scrollbar-thumb {
  background: #010409;
  border-radius: 8px;
}

body::-webkit-scrollbar-track {
  background: #010409;
}

/* For Firefox */
body {
  scrollbar-color: #010409 #010409;
  scrollbar-width: thin;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #010409;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: flex-start;
  overflow:hidden;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 50px;
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main{
  text-align:center;
}

.title{
  margin:0;
  font-size:55px;
  letter-spacing: -0.02em;
  color:var(--text);
  color: #c9d1d9;
  font-weight:900;
}

.subtitle{
  margin:12px 0 6px;
  color:var(--muted);
  font-size:16px;
  line-height:1.4;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

.links{
  margin-top:22px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.14s;
}

.btn:hover,
.btn:focus {
  color: #0885ff;
  text-decoration: underline;
  box-shadow: none;
  outline: none;
}

.btn:active {
  background: none;
}

.meta{ margin-top:18px; color:var(--muted); font-size:13px; }

.bg-canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:1;
  pointer-events:none;
  filter: blur(1px);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 38px 0 0 0;
  padding-bottom: 18px;
  z-index: 2;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.15s, transform 0.15s;
  margin-top: auto;
}

.footer-links a:hover,
.footer-links a:focus {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}

.footer-links img {
  width: 28px;
  height: 28px;
  display: block;
  filter: invert(80%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%);
}

@media (max-width:520px){
  body {overflow: auto;}
  .title{ font-size:40px }
  .footer-links {
    gap: 14px;
    padding-bottom: 12px;
  }
  .main{ padding:28px 18px }
  .btn{ padding:0; font-size:12px }
  .container {
    padding: 18px 6px;
    min-height: 100vh;
    max-width: 100vw;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }
}