@font-face {
  font-family: 'Wonderful Snowflake';
  src: url('fonts/Wonderful Snowflake.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  
}

html {
  background: #000;
}

html.page-transitions body {
  transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
  will-change: opacity, transform, filter;
  
}

html.page-transitions body.is-transition-enter {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(3px);
}

html.page-transitions body.is-transition-exit {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html.page-transitions body {
    transition: opacity 120ms linear;
  }

  html.page-transitions body.is-transition-enter,
  html.page-transitions body.is-transition-exit {
    transform: none;
    filter: none;
  }
}

body {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  letter-spacing: 1px;
  background: linear-gradient(180deg, rgba(186, 12, 12, 0.717), rgba(235, 3, 3, 0.395)),
              radial-gradient(circle at top, rgba(0, 50, 255, 0.15), transparent 30%),
              url('bg1775569090.webp') center / cover no-repeat fixed;
  color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
  
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  color: #cb0909;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.35);
}

#smoke {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  width: min(380px, calc(100% - 16px));
  background: rgba(4, 4, 4, 0.92);
  border: 1px solid rgba(186, 3, 3, 0.35);
  box-shadow: 0 0 42px rgba(157, 1, 1, 0.25);
  border-radius: 6px;
  padding: 20px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin: 0 0 16px;
  color: #ff2d2d;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

form {
  width: 100%;
}

.field {
  margin-bottom: 12px;
}

input {
  width: 100%;
  padding: 14px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 0, 0, 0.22);
  background: rgba(20, 0, 0, 0.65);
  color: #ffb3b3;
  outline: none;
  box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.08);
}

input::placeholder {
  color: rgba(255, 0, 0, 0.55);
}

button {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(90deg, #610101, #cc0202);
  color: #d3d3d3;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.45);
}

a {
  color: #ff9d9d;
  text-decoration: none;
}

.footer {
  margin-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.message {
  display: none;
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 0, 0.28);
  background: rgba(255, 0, 0, 0.12);
  color: #ffcece;
}

.message.visible {
  display: block;
}

