/* r7lab.au — stylesheet */

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

:root {
  --bg:        #0a0d0f;
  --bg-panel:  #0f1315;
  --accent:    #ff6520;   /* a warm orange — draw your own conclusions */
  --accent2:   #1a8cff;
  --text:      #c8cdd2;
  --text-dim:  #4a5560;
  --grid:      rgba(255, 101, 32, 0.04);
  --border:    rgba(255, 101, 32, 0.15);
  --scan:      rgba(255, 255, 255, 0.015);
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Courier New', Courier, monospace;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Background grid ── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Scanline overlay ── */
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    var(--scan),
    var(--scan) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 1;
  animation: scanroll 8s linear infinite;
}

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

/* ── Corner decoration ── */
.corner {
  position: fixed;
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.35;
  z-index: 2;
}
.corner--tl { top: 24px; left: 24px; border-width: 2px 0 0 2px; }
.corner--tr { top: 24px; right: 24px; border-width: 2px 2px 0 0; }
.corner--bl { bottom: 24px; left: 24px; border-width: 0 0 2px 2px; }
.corner--br { bottom: 24px; right: 24px; border-width: 0 2px 2px 0; }

/* ── Main content ── */
main {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
}

/* ── Status bar ── */
.status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* ── Logo / wordmark ── */
.wordmark {
  margin-bottom: 0.5rem;
}

.wordmark-prefix {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0.25;
}

.wordmark-main {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255, 101, 32, 0.4);
}

.wordmark-tld {
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  color: var(--text-dim);
  font-weight: 400;
}

/* ── Tagline ── */
.tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* ── Panel ── */
.panel {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.panel::before {
  content: attr(data-label);
  position: absolute;
  top: -0.55rem;
  left: 1.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-panel);
  padding: 0 0.5rem;
}

.panel p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text);
}

.panel p + p {
  margin-top: 0.75rem;
}

/* ── Indicators ── */
.indicators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.indicator {
  background: var(--bg-panel);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.indicator__label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.indicator__value {
  font-size: 1.1rem;
  color: var(--accent2);
  font-weight: 700;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 10;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 1.5rem;
  text-align: center;
}

/* ── Blinking cursor ── */
.cursor::after {
  content: '█';
  animation: blink 1s step-end infinite;
  color: var(--accent);
  margin-left: 2px;
}

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

/* ── Responsive ── */
@media (max-width: 480px) {
  .indicators {
    grid-template-columns: 1fr;
  }

  .corner {
    width: 36px;
    height: 36px;
  }
}
