/* ============================================
   NOXIDE — HOME PAGE
   ============================================ */

.home {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

/* ── MATRIX RAIN CANVAS ── */
#matrix-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.06;
}

/* ── VIGNETTE ── */
.home::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── CENTER CONTENT ── */
.home-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── LOGO TITLE ── */
.home-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.25em;
  color: var(--white-bright);
  text-transform: uppercase;
  position: relative;
  line-height: 1;
  margin-bottom: 8px;
}

.home-logo .char {
  display: inline-block;
  opacity: 0;
  animation: char-reveal 0.05s ease forwards;
  text-shadow:
    0 0 40px rgba(0, 255, 65, 0.3),
    0 0 80px rgba(0, 255, 65, 0.1);
}

@keyframes char-reveal {
  from { opacity: 0; transform: translateY(-10px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ── ENTER BUTTONS ── */
.home-enter {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 0.5s ease 1.4s forwards;
}

.home-enter .btn {
  position: relative;
  overflow: hidden;
}
.home-enter .btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.home-enter .btn:hover::before {
  left: 100%;
}

/* ── DISCORD BUTTON ── */
.btn-discord {
  background: transparent !important;
  border: 1px solid #5865F2 !important;
  color: #5865F2 !important;
}
.btn-discord:hover {
  background: rgba(88, 101, 242, 0.12) !important;
  border-color: #7983f5 !important;
  color: #7983f5 !important;
}

/* ── TERMINAL STREAM DECORATION ── */
.home-terminal-stream {
  margin-top: 36px;
  width: clamp(280px, 48vw, 460px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  min-height: 100px;
  animation: fadeIn 0.5s ease 1.8s forwards;
}

.terminal-line {
  display: flex;
  justify-content: center;
  gap: 10px;
  line-height: 1.7;
  opacity: 0.3;
}

.terminal-line:last-child {
  opacity: 0.7;
}

.t-prefix {
  flex-shrink: 0;
  font-weight: 600;
}
.t-sys    { color: var(--cyan);       min-width: 46px; }
.t-ok     { color: var(--green);      min-width: 46px; }
.t-warn   { color: var(--amber);      min-width: 54px; }
.t-prompt { color: var(--grey-muted);                  }

.t-text         { color: var(--grey-muted); }
.t-prompt-text  { color: var(--green);      }

.terminal-cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 1px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── CORNER DECORATIONS ── */
.corner-decor {
  position: absolute;
  z-index: 5;
  color: var(--grey-muted);
  font-size: 0.7rem;
  font-family: var(--font-code);
  opacity: 0.3;
}
.corner-decor.tl { top: 24px; left: 24px; }
.corner-decor.tr { top: 24px; right: 24px; text-align: right; }
.corner-decor.bl { bottom: 24px; left: 24px; }
.corner-decor.br { bottom: 24px; right: 24px; text-align: right; }

/* ── FLOATING HEX ── (disabled) */
.hex-float { display: none; }

/* ── STATUS BAR ── */
.home-status {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 10;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--grey-dark);
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.75rem;
  color: var(--grey-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-green 2s infinite;
}
