/* ====================================================
   KERBEROS Cyber‑Deck HUD Style (2026 Edition)
   ==================================================== */

body {
  background: linear-gradient(135deg, #050608 0%, #090b10 100%);
  font-family: 'JetBrains Mono', monospace;
  color: #e6e8ef;
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

a {
  color: #49a9ff;
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  color: #7ccfff;
  text-shadow: 0 0 8px #49a9ff;
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  color: #7ccfff;
  text-shadow: 0 0 10px #49a9ffaa;
}

p {
  margin: 10px 0;
  color: #cfd8e8;
}

/* ========== HEADER ========== */

header.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  background: rgba(10,15,25,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(80,130,255,0.25);
  box-shadow: 0 0 20px rgba(60,120,255,0.15);
}

.logo {
  height: 70px;
  filter: drop-shadow(0 0 10px #49a9ff);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-right button {
  background: rgba(30,40,50,0.8);
  border: 1px solid rgba(90,150,255,0.3);
  color: #a7d7ff;
  cursor: pointer;
  border-radius: 8px;
  padding: 9px 16px;
  font-family: inherit;
  transition: 0.3s;
}
.header-right button:hover {
  background: rgba(70,130,255,0.25);
  box-shadow: 0 0 15px #49a9ff88;
  color: #fff;
}

/* ========== LAYOUT ========== */

.container {
  display: flex;
  max-width: 1600px;
  margin: auto;
  padding: 30px;
}

.sidebar {
  width: 270px;
  flex-shrink: 0;
  transition: 0.4s;
}

.page-wrapper main {
  flex: 1;
  padding-left: 35px;
}

/* ========== PANELS ========== */

.panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(100,150,255,0.2);
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 25px;
  position: relative;
  box-shadow: 0 0 30px -10px rgba(80,150,255,0.25);
}

.glass {
  backdrop-filter: blur(12px);
}

/* ========== HERO ========== */

.hero {
  position: relative;
  background: linear-gradient(145deg, rgba(10,20,35,0.55), rgba(10,20,50,0.7));
  border: 1px solid rgba(60,120,255,0.25);
  box-shadow: 0 0 40px #2762ff33;
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2em;
  font-weight: 600;
  margin-top: 0;
}

.hero-desc {
  margin-top: 8px;
  color: #cfe5ff;
}

.highlight {
  color: #ffd66f;
}

.glow {
  color: #49a9ff;
  text-shadow: 0 0 10px #49a9ff66;
}

#matrixRain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 250px;
  opacity: 0.25;
  pointer-events: none;
}

/* Typing effect element */
#typedLine {
  color: #58b7ff;
  text-shadow: 0 0 12px #49a9ff99;
  font-weight: 500;
}

/* ========== CTA BUTTONS ========== */

.cta-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.cta.primary {
  background: linear-gradient(90deg, #276cff, #4eb7ff);
  color: #fff;
  text-shadow: 0 0 10px #000;
}

.cta.secondary {
  background: rgba(255,214,111,0.15);
  border: 1px solid rgba(255,214,111,0.4);
  color: #ffd66f;
}

.cta.primary:hover {
  box-shadow: 0 0 20px #4eb7ff88;
}

.cta.secondary:hover {
  background: rgba(255,214,111,0.3);
}

/* Large CTA block */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, rgba(15,25,40,0.9), rgba(5,10,20,0.9));
  box-shadow: 0 0 30px rgba(70,100,255,0.15);
}

.cta.mega {
  margin-top: 20px;
  background: linear-gradient(90deg, #ffd66f, #ffae00);
  color: #000;
  padding: 15px 25px;
  font-weight: 700;
  border-radius: 8px;
}
.cta.mega:hover {
  box-shadow: 0 0 20px #ffd66f66;
}

/* ========== NAVIGATION SIDEBAR ========== */

.nav-block .nav-link {
  display: block;
  padding: 7px 10px;
  border-left: 3px solid transparent;
  margin: 5px 0;
  color: #a7d7ff;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.nav-block .nav-link.active {
  border-color: #4eb7ff;
  background: rgba(70,130,255,0.1);
  color: #fff;
}
.nav-block .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #49a9ff, #ffd66f);
  transition: width 0.3s ease;
}
.nav-block .nav-link:hover::after {
  width: 100%;
}
.nav-block .nav-link:hover {
  color: #fff;
  text-shadow: 0 0 8px #49a9ff;
}

/* ========== SYSTEM STATUS ========== */

.status-panel p {
  margin: 3px 0;
  font-size: 14px;
}

.pulse {
  color: #49a9ff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ========== CARDS ========== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(20,30,50,0.4);
  border: 1px solid rgba(90,130,255,0.25);
  border-radius: 10px;
  padding: 20px;
  transition: 0.4s;
  color: #cfe2ff;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px -5px #4eb7ff66;
}
.card h3 {
  color: #ffdf7f;
}

/* ========== ONION COPY FIELD ========== */

.onion-card {
  display: flex;
  margin-top: 10px;
}

.onion-card input {
  flex: 1;
  background: #0a0f15;
  color: #d6e2ff;
  border: 1px solid rgba(120,160,255,0.3);
  padding: 10px;
  border-radius: 6px 0 0 6px;
}

.copy-btn {
  background: #4eb7ff;
  border: none;
  color: #000;
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover {
  background: #6fc4ff;
}

/* ========== FOOTER ========== */

footer.site-footer {
  background: #05080c;
  border-top: 1px solid #1b2740;
  padding: 50px 25px;
  box-shadow: 0 -8px 20px #000a;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
}
.footer-col h3 {
  color: #4eb7ff;
  font-family: 'Orbitron', sans-serif;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li {
  margin: 6px 0;
}
.footer-col ul li a {
  color: #7ccfff;
  position: relative;
  overflow: hidden;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,#49a9ff,#ffd66f);
  transition: width 0.3s ease;
}
.footer-col ul li a:hover::after {
  width: 100%;
}
.footer-col ul li a:hover {
  color: #fff;
  text-shadow: 0 0 6px #49a9ff;
}

/* ========== RESPONSIVE TWEAKS ========== */

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    padding: 20px;
  }
  .sidebar {
    width: 100%;
    display: none;
  }
  .sidebar.active {
    display: block;
  }
  .menu-toggle {
    display: inline-block;
    align-self: flex-start;
  }
  .header-right {
    flex-direction: column;
    align-items: flex-end;
  }
  .header-right button {
    width: 100%;
    margin: 5px 0;
  }
  .page-wrapper main {
    padding-left: 0;
  }
}
