/* nav_styles.css — Footer Navigation + Global Styles */
:root {
  --green:      #39ff7a;
  --green-dim:  #88ccaa;
  --green-dark: #061006;
  --black:      #0a0a0a;
  --footer-h:   42px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #000;
  min-height: 100vh;
  font-family: 'Courier New', Courier, monospace;
  color: var(--green);
}

/* ── LAYOUT ── */
.op-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.op-main {
  flex: 1;
  padding-bottom: calc(var(--footer-h) + 8px);
}

/* ── FOOTER NAV ── */
.op-footer-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--footer-h);
  background: #050d05;
  border-top: 1px solid #39ff7a33;
  display: flex;
  align-items: stretch;
  z-index: 100;
}

/* Scanline on footer */
.op-footer-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(0,0,0,0.10) 2px, rgba(0,0,0,0.10) 4px
  );
  pointer-events: none;
}

.op-footer-logo {
  padding: 0 16px;
  border-right: 1px solid #39ff7a22;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.op-footer-logo-mark {
  color: var(--green);
  font-size: 14px;
  text-shadow: 0 0 6px var(--green);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.op-footer-logo-text {
  font-size: 9px;
  letter-spacing: 3px;
  color: #aaffcc;
}

.op-footer-links {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.op-footer-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--green-dim);
  text-decoration: none;
  border-right: 1px solid #39ff7a11;
  transition: all .15s;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.op-footer-link:hover:not(.locked) {
  background: rgba(57,255,122,0.05);
  color: #ccffdd;
}

.op-footer-link.active {
  color: #dfffee;
  background: rgba(57,255,122,0.07);
}

.op-footer-link.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: #39ff7a66;
}

.op-footer-link.locked {
  color: #39ff7a28;
  cursor: not-allowed;
}

.op-footer-lock {
  font-size: 8px;
  color: #ff444455;
  margin-left: 4px;
}

.op-footer-status {
  padding: 0 14px;
  border-left: 1px solid #39ff7a22;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.op-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  display: block;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ── PAGE HEADER (für Unterseiten) ── */
.op-page-header {
  border-bottom: 1px solid #39ff7a33;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.op-page-title {
  font-size: 13px;
  letter-spacing: 3px;
  color: #aaffcc;
  text-shadow: 0 0 8px var(--green);
}

.op-page-subtitle {
  font-size: 11px;
  color: var(--green-dim);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ── GLOBAL NOISE + SCANLINE ── */
.op-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.op-scanline {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(0,0,0,0.10) 2px, rgba(0,0,0,0.10) 4px
  );
  pointer-events: none;
  z-index: 0;
  animation: scanroll 14s linear infinite;
}

@keyframes scanroll {
  0%  { background-position: 0 0; }
  100%{ background-position: 0 400px; }
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── LOCKED SCREEN (für Unterseiten) ── */
.locked-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  position: relative;
  z-index: 1;
}
.locked-icon { font-size: 48px; color: #ff444455; margin-bottom: 24px; animation: lockPulse 2s ease-in-out infinite; }
@keyframes lockPulse { 0%,100%{opacity:0.4} 50%{opacity:0.8} }
.locked-title { font-size: 13px; letter-spacing: 4px; color: #ff444488; margin-bottom: 12px; }
.locked-sub   { font-size: 11px; color: #39ff7a33; letter-spacing: 2px; }

/* Footer erscheint mit Animation nach Login */
.op-footer-nav {
  animation: footerReveal 0.8s ease forwards;
}
@keyframes footerReveal {
  0%  { opacity: 0; transform: translateY(100%); }
  100%{ opacity: 1; transform: translateY(0); }
}
