/* ==========================================================================
   nordrock.live — Lighthouse on the High Sea
   Pure CSS • No JavaScript • A beacon in the dark
   ========================================================================== */

:root {
  --bg-abyss: #020304;
  --color-primary: #ff5500;
  --color-beam: rgba(255, 200, 120, 0.06);
  --color-beam-edge: rgba(255, 140, 40, 0.03);
  --color-text-bright: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-text-faint: #4b5563;

  --font-display: 'Teko', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Space Grotesk', monospace, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg-abyss);
  color: var(--color-text-bright);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==========================================================================
   LIGHTHOUSE BEAM — rotating light cone
   ========================================================================== */

.beam-origin {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
}

.beam {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  width: 200vmax;
  height: 200vmax;
}

.beam-1 {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--color-beam) 6deg,
    var(--color-beam-edge) 18deg,
    transparent 32deg,
    transparent 360deg
  );
  animation: beamSweep 12s linear infinite;
}

.beam-2 {
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    var(--color-beam) 4deg,
    var(--color-beam-edge) 14deg,
    transparent 26deg,
    transparent 360deg
  );
  animation: beamSweep 12s linear infinite;
  opacity: 0.7;
}

@keyframes beamSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ==========================================================================
   FOG — slow drifting mist layers
   ========================================================================== */

.fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: fogDrift 20s ease-in-out infinite alternate;
}

.fog-1 {
  background:
    radial-gradient(ellipse 80% 30% at 20% 65%, rgba(180, 190, 200, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 25% at 75% 70%, rgba(160, 175, 190, 0.04) 0%, transparent 65%);
  animation-delay: 0s;
}

.fog-2 {
  background:
    radial-gradient(ellipse 90% 20% at 60% 60%, rgba(170, 180, 195, 0.045) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 30% 55%, rgba(150, 165, 180, 0.035) 0%, transparent 60%);
  animation-delay: -10s;
}

@keyframes fogDrift {
  0%   { opacity: 0.3; transform: translateX(-2%) scale(1); }
  50%  { opacity: 0.6; transform: translateX(1.5%) scale(1.04); }
  100% { opacity: 0.35; transform: translateX(-1%) scale(0.98); }
}

/* ==========================================================================
   HORIZON — faint divider between sea and sky
   ========================================================================== */

.horizon {
  position: fixed;
  left: 0;
  right: 0;
  top: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.04) 70%, transparent 95%);
  z-index: 3;
  pointer-events: none;
}

/* Below horizon: slightly lighter sea reflection */
.horizon::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  height: 38vh;
  background: linear-gradient(180deg, rgba(255, 200, 120, 0.015) 0%, transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.page-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .page-container {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   STEALTH HEADER
   ========================================================================== */

.stealth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  user-select: none;
}

.header-coords {
  letter-spacing: 0.22em;
  opacity: 0.6;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary), 0 0 20px rgba(255, 85, 0, 0.3);
}

/* ==========================================================================
   LIGHTHOUSE MAIN — centered beacon
   ========================================================================== */

.lighthouse-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.lighthouse-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

/* Eyebrow */
.eyebrow {
  font-family: var(--font-tech);
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  letter-spacing: 0.38em;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 0 18px rgba(255, 85, 0, 0.35);
}

/* ==========================================================================
   BRAND BEACON — the lighthouse light source
   ========================================================================== */

.brand-beacon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* Pulsing ring behind the brand — the beacon glow */
.beacon-ring {
  position: absolute;
  width: 110%;
  height: 200%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 30, 0.12) 0%, rgba(255, 85, 0, 0.04) 45%, transparent 70%);
  animation: beaconPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* Monolith Brand Title */
.brand-monolith {
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.12em;
  max-width: 100%;
  word-break: break-word;
}

@media (max-width: 480px) {
  .brand-monolith {
    font-size: clamp(2.5rem, 17vw, 4.5rem);
    letter-spacing: 0.08em;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .brand-domain {
    transform: none;
  }
}

.brand-name {
  color: #ffffff;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 60px rgba(255, 160, 60, 0.35),
    0 0 120px rgba(255, 85, 0, 0.15),
    0 8px 30px rgba(0, 0, 0, 0.95);
}

.brand-domain {
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-shadow: 0 0 25px rgba(255, 85, 0, 0.5);
  display: inline-flex;
  align-items: baseline;
  transform: translateY(-0.06em);
}

.brand-dot {
  color: #ffffff;
  opacity: 0.35;
  margin-right: 0.04em;
}

/* ==========================================================================
   TEXT BLOCK
   ========================================================================== */

.mystic-text-block {
  max-width: 560px;
}

.lead-line {
  font-family: var(--font-tech);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.genre-line {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.75;
}
