:root{
  --bg0:#070a10;
  --bg1:#0b1220;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent: #4cc9f0;
  --accent2:#7c3aed;

  /* DX amber (topel “signal” odtenek) */
  --dx: #ffb000;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  color:var(--text);
  font: 15px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(76,201,240,.18), transparent 55%),
    radial-gradient(900px 700px at 85% 20%, rgba(124,58,237,.18), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* tehničen “radio” grid + valovi */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='240' viewBox='0 0 420 240'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1'%3E%3Cpath d='M-10 120c70-70 150-70 220 0s150 70 220 0'/%3E%3Cpath d='M-10 150c70-70 150-70 220 0s150 70 220 0' opacity='.65'/%3E%3Cpath d='M-10 90c70-70 150-70 220 0s150 70 220 0' opacity='.45'/%3E%3C/g%3E%3Cg stroke='rgba(255,255,255,0.10)'%3E%3Cpath d='M0 0H420M0 60H420M0 120H420M0 180H420M0 240H420'/%3E%3Cpath d='M0 0V240M70 0V240M140 0V240M210 0V240M280 0V240M350 0V240M420 0V240'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

/* watermark */
body::after{
  content:"@S51KZ  •  Copyright 2026";
  position: fixed;
  right: 14px;
  bottom: 10px;
  z-index: 99999;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  opacity: .55;
}

/* layout */
.shell{
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  display:grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
}

@media (max-width: 980px){
  .shell{grid-template-columns: 1fr}
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* sidebar */
.sidebar{
  position: sticky;
  top: 18px;
  align-self: start;
  height: fit-content;
  padding: 16px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 10px 10px 14px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 12px;
}

.badge{
  width:42px; height:42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(76,201,240,.95), rgba(76,201,240,.15)),
    radial-gradient(circle at 70% 70%, rgba(124,58,237,.9), rgba(124,58,237,.10));
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.brand h1{
  font-size: 14px;
  margin:0;
  letter-spacing:.6px;
  text-transform: uppercase;
}

.brand p{
  margin:2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* navigation */
.nav{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.nav a{
  text-decoration:none;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition: background .15s ease, border-color .15s ease;
}

.nav a:hover{
  background: var(--card2);
  border-color: var(--stroke);
}

.nav a.active{
  background: linear-gradient(90deg, rgba(76,201,240,.20), rgba(124,58,237,.14));
  border-color: rgba(76,201,240,.35);
}

/* main */
.main{ padding: 16px; }

/* hero */
.hero{
  border-radius: calc(var(--radius) + 4px);
  overflow:hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background:#000;
  position: relative;
  min-height: 240px;
}

.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(7,10,16,.88), rgba(7,10,16,.30)),
    url("../img/hero.jpg") center/cover no-repeat;
  will-change: transform;
}

.hero-inner{
  position:relative;
  padding: 26px;
  max-width: 720px;
}

/* DX naslov (fade-in + glow + CW beacon – malo bolj viden) */
.hero-title{
  margin: 0 0 10px;

  /* da je v eni vrstici na desktopu */
  font-size: 34px;
  white-space: nowrap;

  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dx);

  text-shadow:
    0 0 10px rgba(255,176,0,.30),
    0 0 26px rgba(255,176,0,.16);

  animation:
    heroFadeIn .75s ease-out both,
    glowPulse 3.8s ease-in-out 1.2s infinite,
    cwBeaconA 1.5s ease-in-out 2.2s infinite;
}

/* na manjših zaslonih dovoli prelom (da ne reže) */
@media (max-width: 900px){
  .hero-title{
    font-size: 30px;
    white-space: normal;
  }
}

/* panels */
.panel{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
}

.panel h3{
  margin:0 0 6px;
  font-size: 14px;
  letter-spacing:.5px;
  text-transform: uppercase;
}

.panel p{
  margin:0;
  color:var(--muted);
}

/* footer */
.footer{
  margin-top: 14px;
  padding: 10px 2px 0;
  color: rgba(255,255,255,.50);
  font-size: 12px;
}

/* animacije */
@keyframes heroFadeIn{
  from{ opacity:0; transform: translateY(10px); filter: blur(2px); }
  to  { opacity:1; transform: translateY(0);  filter: blur(0); }
}

@keyframes glowPulse{
  0%, 100%{
    text-shadow:
      0 0 10px rgba(255,176,0,.20),
      0 0 26px rgba(255,176,0,.10);
  }
  50%{
    text-shadow:
      0 0 16px rgba(255,176,0,.36),
      0 0 40px rgba(255,176,0,.18);
  }
}

/* CW beacon A – bolj viden, še vedno subtilen */
@keyframes cwBeaconA{
  0%, 100%{
    opacity: 1;
    text-shadow:
      0 0 10px rgba(255,176,0,.22),
      0 0 26px rgba(255,176,0,.10);
  }
  45%{
    opacity: .965;
    text-shadow:
      0 0 12px rgba(255,176,0,.30),
      0 0 32px rgba(255,176,0,.14);
  }
  55%{
    opacity: 1;
    text-shadow:
      0 0 18px rgba(255,176,0,.40),
      0 0 46px rgba(255,176,0,.20);
  }
}

/* če ima uporabnik izklopljene animacije */
@media (prefers-reduced-motion: reduce){
  .hero-title{ animation: none !important; }
}
