@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/orbitron.woff2') format('woff2'),
       url('fonts/orbitron-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/orbitron.woff2') format('woff2'),
       url('fonts/orbitron-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/orbitron.woff2') format('woff2'),
       url('fonts/orbitron-900.ttf') format('truetype');
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  background-color: #03040e;
  font-family: 'Orbitron', monospace;
  overflow-x: hidden;
  color: #c8d8ff;
}

/* ════════════════════════════════
   SPACE BACKGROUND
════════════════════════════════ */

.space-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* nebulae */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.nebula-1 {
  width: 600px; height: 400px;
  top: -10%; left: 20%;
  background: radial-gradient(ellipse, rgba(80, 40, 160, 0.25) 0%, transparent 70%);
}
.nebula-2 {
  width: 500px; height: 500px;
  bottom: 5%; right: 10%;
  background: radial-gradient(ellipse, rgba(20, 80, 160, 0.20) 0%, transparent 70%);
}
.nebula-3 {
  width: 350px; height: 250px;
  top: 50%; left: 5%;
  background: radial-gradient(ellipse, rgba(160, 40, 80, 0.12) 0%, transparent 70%);
}

/* moon */
.moon {
  position: absolute;
  top: 6vh;
  right: 14vw;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    #e8eaf0 0%,
    #c0c8d8 35%,
    #8892aa 70%,
    #606880 100%
  );
  box-shadow:
    0 0 0   1px rgba(200, 215, 255, 0.15),
    0 0  40px rgba(180, 200, 255, 0.12),
    0 0 100px rgba(140, 170, 255, 0.08),
    /* craters */
    inset -18px -12px 0 rgba(0,0,0,0.08),
    inset  28px  20px 0 rgba(255,255,255,0.04);
}
.moon::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  box-shadow:
    28px  35px 0  8px rgba(0,0,0,0.10),
    65px  55px 0  5px rgba(0,0,0,0.08),
    40px  90px 0  4px rgba(0,0,0,0.07),
    110px 60px 0  6px rgba(0,0,0,0.09),
    90px 130px 0  3px rgba(0,0,0,0.07),
    150px 40px 0  7px rgba(0,0,0,0.08);
  inset: 0;
}

/* saturn-like planet */
.planet {
  position: absolute;
  bottom: 18vh;
  left: 7vw;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    #e8c87a 0%,
    #c8983a 30%,
    #a07030 60%,
    #704820 100%
  );
  box-shadow:
    0 0 30px rgba(200, 150, 50, 0.20),
    inset -8px -8px 0 rgba(0,0,0,0.15);
}
.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 38px;
  border-radius: 50%;
  border: 10px solid rgba(200, 160, 70, 0.35);
  transform: translate(-50%, -50%) rotateX(72deg);
  box-shadow:
    0 0 12px rgba(200, 160, 70, 0.15),
    inset 0 2px 4px rgba(0,0,0,0.3);
}

/* small distant planet */
.planet-sm {
  position: absolute;
  top: 28vh;
  left: 22vw;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    #80c8c0 0%,
    #3a8880 40%,
    #1a5050 100%
  );
  box-shadow: 0 0 18px rgba(80, 200, 190, 0.18);
}

/* stars */
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle ease-in-out infinite;
}

.star:nth-child(1)  { width:1px;  height:1px;  top:3%;  left:8%;  animation-duration:3.1s; animation-delay:0.0s; }
.star:nth-child(2)  { width:2px;  height:2px;  top:7%;  left:18%; animation-duration:4.2s; animation-delay:0.8s; }
.star:nth-child(3)  { width:1px;  height:1px;  top:2%;  left:32%; animation-duration:2.8s; animation-delay:1.5s; }
.star:nth-child(4)  { width:2px;  height:2px;  top:11%; left:45%; animation-duration:5.0s; animation-delay:0.3s; }
.star:nth-child(5)  { width:1px;  height:1px;  top:5%;  left:58%; animation-duration:3.7s; animation-delay:2.1s; }
.star:nth-child(6)  { width:3px;  height:3px;  top:8%;  left:72%; animation-duration:4.5s; animation-delay:0.9s; }
.star:nth-child(7)  { width:1px;  height:1px;  top:4%;  left:85%; animation-duration:2.9s; animation-delay:1.7s; }
.star:nth-child(8)  { width:2px;  height:2px;  top:15%; left:5%;  animation-duration:4.8s; animation-delay:0.5s; }
.star:nth-child(9)  { width:1px;  height:1px;  top:18%; left:38%; animation-duration:3.3s; animation-delay:2.4s; }
.star:nth-child(10) { width:2px;  height:2px;  top:22%; left:55%; animation-duration:5.2s; animation-delay:1.1s; }
.star:nth-child(11) { width:1px;  height:1px;  top:25%; left:78%; animation-duration:3.6s; animation-delay:0.2s; }
.star:nth-child(12) { width:2px;  height:2px;  top:30%; left:12%; animation-duration:4.1s; animation-delay:1.9s; }
.star:nth-child(13) { width:1px;  height:1px;  top:35%; left:28%; animation-duration:2.7s; animation-delay:0.7s; }
.star:nth-child(14) { width:3px;  height:3px;  top:38%; left:48%; animation-duration:4.9s; animation-delay:3.0s; }
.star:nth-child(15) { width:1px;  height:1px;  top:42%; left:65%; animation-duration:3.4s; animation-delay:1.3s; }
.star:nth-child(16) { width:2px;  height:2px;  top:45%; left:82%; animation-duration:4.6s; animation-delay:0.6s; }
.star:nth-child(17) { width:1px;  height:1px;  top:50%; left:3%;  animation-duration:3.0s; animation-delay:2.2s; }
.star:nth-child(18) { width:2px;  height:2px;  top:55%; left:22%; animation-duration:5.1s; animation-delay:1.4s; }
.star:nth-child(19) { width:1px;  height:1px;  top:58%; left:42%; animation-duration:2.6s; animation-delay:0.4s; }
.star:nth-child(20) { width:2px;  height:2px;  top:62%; left:60%; animation-duration:4.3s; animation-delay:1.8s; }
.star:nth-child(21) { width:1px;  height:1px;  top:65%; left:75%; animation-duration:3.8s; animation-delay:2.7s; }
.star:nth-child(22) { width:3px;  height:3px;  top:70%; left:10%; animation-duration:4.7s; animation-delay:0.1s; }
.star:nth-child(23) { width:1px;  height:1px;  top:74%; left:30%; animation-duration:3.2s; animation-delay:1.6s; }
.star:nth-child(24) { width:2px;  height:2px;  top:78%; left:50%; animation-duration:5.3s; animation-delay:2.9s; }
.star:nth-child(25) { width:1px;  height:1px;  top:82%; left:68%; animation-duration:2.5s; animation-delay:0.8s; }
.star:nth-child(26) { width:2px;  height:2px;  top:86%; left:85%; animation-duration:4.4s; animation-delay:1.2s; }
.star:nth-child(27) { width:1px;  height:1px;  top:90%; left:15%; animation-duration:3.5s; animation-delay:2.3s; }
.star:nth-child(28) { width:2px;  height:2px;  top:93%; left:35%; animation-duration:4.0s; animation-delay:0.5s; }
.star:nth-child(29) { width:1px;  height:1px;  top:96%; left:55%; animation-duration:2.8s; animation-delay:1.0s; }
.star:nth-child(30) { width:3px;  height:3px;  top:12%; left:92%; animation-duration:5.4s; animation-delay:3.2s; }
.star:nth-child(31) { width:1px;  height:1px;  top:20%; left:90%; animation-duration:3.1s; animation-delay:1.4s; }
.star:nth-child(32) { width:2px;  height:2px;  top:48%; left:88%; animation-duration:4.2s; animation-delay:2.0s; }
.star:nth-child(33) { width:1px;  height:1px;  top:60%; left:94%; animation-duration:2.9s; animation-delay:0.3s; }
.star:nth-child(34) { width:2px;  height:2px;  top:72%; left:91%; animation-duration:4.8s; animation-delay:1.7s; }
.star:nth-child(35) { width:1px;  height:1px;  top:85%; left:96%; animation-duration:3.3s; animation-delay:2.5s; }
.star:nth-child(36) { width:2px;  height:2px;  top:16%; left:62%; animation-duration:4.5s; animation-delay:0.7s; }
.star:nth-child(37) { width:1px;  height:1px;  top:33%; left:70%; animation-duration:2.7s; animation-delay:1.9s; }
.star:nth-child(38) { width:2px;  height:2px;  top:52%; left:15%; animation-duration:5.0s; animation-delay:0.4s; }
.star:nth-child(39) { width:1px;  height:1px;  top:68%; left:40%; animation-duration:3.6s; animation-delay:2.8s; }
.star:nth-child(40) { width:3px;  height:3px;  top:80%; left:58%; animation-duration:4.1s; animation-delay:1.1s; }
.star:nth-child(41) { width:1px;  height:1px;  top:92%; left:78%; animation-duration:3.9s; animation-delay:0.6s; }
.star:nth-child(42) { width:2px;  height:2px;  top:6%;  left:50%; animation-duration:4.6s; animation-delay:2.1s; }
.star:nth-child(43) { width:1px;  height:1px;  top:27%; left:95%; animation-duration:2.4s; animation-delay:1.3s; }
.star:nth-child(44) { width:2px;  height:2px;  top:44%; left:28%; animation-duration:5.5s; animation-delay:0.9s; }
.star:nth-child(45) { width:1px;  height:1px;  top:76%; left:2%;  animation-duration:3.2s; animation-delay:2.6s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1);   }
  50%       { opacity: 1.0;  transform: scale(1.4); }
}

/* ════════════════════════════════
   NAVIGATION (right sidebar)
════════════════════════════════ */

.sidenav {
  position: fixed;
  right: 2.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.4rem;
  z-index: 50;
}

.nav-track {
  position: absolute;
  right: 4px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(140, 170, 255, 0.25) 20%,
    rgba(140, 170, 255, 0.25) 80%,
    transparent 100%
  );
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: rgba(160, 185, 255, 0.45);
  transition: color 0.3s;
}
.nav-item:hover {
  color: rgba(200, 220, 255, 0.95);
}
.nav-item:hover .nav-dot {
  background: rgba(180, 210, 255, 0.9);
  box-shadow: 0 0 8px rgba(140, 180, 255, 0.8);
}
.nav-item:hover .nav-label {
  letter-spacing: 0.25em;
}

.nav-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: letter-spacing 0.3s;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(140, 170, 255, 0.45);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

/* ════════════════════════════════
   SECTIONS
════════════════════════════════ */

main {
  position: relative;
  z-index: 10;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
}

.section-content {
  max-width: 520px;
}

/* ── shared text elements ── */

.eyebrow {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(140, 170, 255, 0.5);
  margin-bottom: 1.4rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.6rem 0;
}
.divider-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(140,170,255,0.4), transparent);
}
.divider-icon { flex-shrink: 0; }

.sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(160, 185, 255, 0.4);
  text-transform: uppercase;
}

/* ── home ── */

#home h1 {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #dce8ff;
  text-shadow:
    0 0 40px rgba(120, 160, 255, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.6);
}
#home h1 span {
  color: #7aa8ff;
  display: block;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.18em;
}

/* ── kontakt ── */

#kontakt {
  border-top: 1px solid rgba(140, 170, 255, 0.06);
}

#kontakt h2 {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #dce8ff;
  text-shadow: 0 0 30px rgba(120, 160, 255, 0.25);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}

.contact-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(140, 170, 255, 0.45);
  min-width: 52px;
}

.contact-value {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(200, 220, 255, 0.7);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */

footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.6rem 2rem;
  border-top: 1px solid rgba(140, 170, 255, 0.06);
}

footer p {
  font-family: 'Orbitron', monospace;
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(140, 170, 255, 0.3);
}
