/* === BASE === */
body {
  background: #050505;
  color: #00ff00;
  font-family: "Courier New", monospace;
  margin: 0;
}

header {
  padding: 20px;
  border-bottom: 1px solid #00ff00;
}

.logo {
  font-size: 18px;
  letter-spacing: 2px;
}

/* === STANDARD PAGE CONTAINER === */
.page,
.login,
.log,
.record,
.spectreia,
.log-private,
.idiot {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

/* === TEXT === */
h1 {
  margin-bottom: 20px;
  font-size: 18px;
}

/* === SPACING SYSTEM === */
.spacer {
  height: 20px;
}

.spacer.large {
  height: 40px;
}

/* === EMPHASIS === */
.alert {
  color: #ff0000;
}

.faint {
  opacity: 0.6;
}

.faint-echo {
  position: relative;
  opacity: 0.9;

    text-shadow:
    0 2px 0 rgba(0, 0, 0, 0), /* fallback layer */
    0 2px 0 currentColor,
    0 4px 0 color-mix(in srgb, currentColor 80%, transparent),
    0 6px 0 color-mix(in srgb, currentColor 60%, transparent),
    0 8px 0 color-mix(in srgb, currentColor 40%, transparent),
    0 10px 0 color-mix(in srgb, currentColor 20%, transparent);
}

/* === LUNA COLORS === */
.luna {
  color: #d33fff;
}

.luna-soft {
  color: #8000ff;
}

.luna-glow {
  color: #d33fff;
  text-shadow: 0 0 8px #d33fff;
}

/* === LOGIN SPECIFIC === */
.login {
  display: flex;
  justify-content: center;
}

.login form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* inputs */
input {
  width: 260px;
  padding: 10px;
  background: #050505;
  color: #00ff00;
  border: 1px solid #00ff00;
  font-family: inherit;
}

input:focus {
  outline: none;
}

::placeholder {
  color: #00ff00;
  opacity: 0.5;
}

#pass {
  -webkit-text-security: disc;
}

/* button */
button {
  padding: 10px 20px;
  background: #050505;
  border: 1px solid #00ff00;
  color: #00ff00;
  cursor: pointer;
}

button:hover {
  background: rgba(0,255,0,0.1);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 5px;
  box-shadow: 0 0 5px #00ff00;
}

/* === SCANLINES === */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.05),
    rgba(0, 255, 0, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );

  z-index: 999;
}

/* === SNOWSY ATMOSPHERE === */

.log-private {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  color: #e8faff;
}

/* keep text above effects */
.snow-content {
  position: relative;
  z-index: 2;
}

/* soft cold haze */
.log-private::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    rgba(200, 240, 255, 0.05),
    transparent 70%
  );

  z-index: 1;
}

/* === SNOWSY FULL PAGE OVERRIDE === */

.log-private {
  color: #e8faff;
}

/* override ALL text inside */
.log-private p,
.log-private h1,
.log-private div,
.log-private span {
  color: #e8faff;
}

/* soften default text */
.log-private p {
  opacity: 0.9;
}

/* === SNOW HEADER FIX === */
.log-private ~ header,
.log-private header,
body .log-private + header {
  border-bottom: 1px solid #cfefff;
}

@keyframes snowFall {
  from { transform: translateY(-10%); }
  to   { transform: translateY(10%); }
}

/* === SNOW TEXT === */

.snow {
  color: #e8faff;
}

.snow-soft {
  color: #cfefff;
  opacity: 0.85;
}

.snow-faint {
  color: #e8faff;
  opacity: 0.4;
}

/* soft emotional glow */
.snow-glow {
  color: #f0fbff;
  text-shadow:
    0 0 6px #d6f5ff,
    0 0 12px rgba(200,240,255,0.4);
}

/* === SNOW PAGE HEADER OVERRIDE (FIXED) === */
.snow-page header {
  border-bottom: 1px solid #cfefff;
}

.snow-page .logo {
  color: #e8faff;
}

body {
  margin: 0;
  background: black;
  overflow: hidden;
}

.unauth {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.unauth-text {
  color: red;
  font-size: 5vw;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;

  animation: glowPulse 0.8s infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 5px darkred, 0 0 10px red;
    opacity: 0.7;
  }
  to {
    text-shadow: 0 0 20px red, 0 0 60px red, 0 0 100px darkred;
    opacity: 1;
  }
}

* {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.custom-cursor {
  filter: drop-shadow(0 0 2px #000) drop-shadow(0 0 4px #00ff00);
}

.logo,
.logo:visited,
.logo:hover,
.logo:active {
  color: #00ff00;
  text-decoration: none;
}

.logo:hover {
  text-shadow: 0 0 10px #00ff00;
  cursor: pointer;
}