:root {
  --bg-blur: 20px;
  --bg-scale: 1.05;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000;
  background-position: center center;
  background-size: cover;
  transform: scale(var(--bg-scale));
  filter: blur(var(--bg-blur));
  will-change: transform, filter;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 40px;
  font-size: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 0, 0, 0.8);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  backdrop-filter: blur(6px);
}
.btn:active {
  transform: translateY(1px) scale(0.995);
}
.btn:hover {
  transform: translateY(-3px);
  background: rgba(204, 11, 11, 0.8);
}

@media (min-width: 1025px) {
  .page::before {
    background-image: url("/img/bg1.png");
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .page::before {
    background-image: url("/img/bg2.png");
  }
}
@media (max-width: 600px) {
  .page::before {
    background-image: url("/img/bg3.png");
  }
  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
