/* ==========================================================================
 * PROPERTY OF JUSTIN "KRALLHEIM" HELBIG | ALL RIGHTS RESERVED
 * --------------------------------------------------------------------------
 * Web Architect, Founder, Engine Developer & Owner: Justin "Krallheim" Helbig
 * System Engine: Krallheim WebEngine
 * Official Website: https://www.krallheim.net
 * Legal Contact: business@krallheim-network.net
 * 
 * Copyright (c) 2026 Justin "Krallheim" Helbig.
 * 
 * COPYRIGHT & ENGINE NOTICE / RECHTSINHABER-HINWEIS:
 * Diese Website und sämtliche zugehörigen Quelldateien basieren auf der von
 * Justin "Krallheim" Helbig eigenständig entwickelten Website-Engine.
 * 
 * Der gesamte Quellcode, die WebGL-GLSL-Shader, Math-Pipelines, Partikel-
 * Systeme, Design-Konzepte sowie UI/UX-Animationen sind urheberrechtlich
 * geschütztes geistiges Eigentum des Inhabers. Das alleinige Nutzungs-,
 * Verwertungs- und Vervielfältigungsrecht liegt vollumfänglich bei
 * Justin "Krallheim" Helbig.
 * 
 * Jede unbefugte Vervielfältigung, Kopie, Dekompilierung, Weitergabe oder 
 * kommerzielle Nutzung der Engine und des Codes ist ohne ausdrückliche 
 * schriftliche Genehmigung des Rechteinhabers strengstens untersagt.
 * ========================================================================== */
 
:root {
  --bg-dark: #010002;
  --card-bg: rgba(8, 1, 4, 0.85);
  --card-hover: rgba(255, 0, 51, 0.18);
  --border-dim: rgba(255, 0, 51, 0.28);
  --border-bright: #ff2d55;
  --neon-red: #ff0033;
  --glow-crimson: rgba(255, 0, 51, 0.85);
  --text-main: #ffffff;
  --text-muted: #c47c8a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.hologram-overlay {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 0, 51, 0.025) 0px,
    rgba(255, 0, 51, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 2;
  pointer-events: none;
}

/* KRALLHEIM PORTAL CARD WRAPPER */
.portal-card-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  border-radius: 32px;
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 0, 51, 0.4);
}

.quantum-plasma-border {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 40deg,
    #ff0033 90deg,
    #ff2d55 180deg,
    #8b0000 270deg,
    transparent 360deg
  );
  animation: rotatePlasma 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.portal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 29px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* KRALLHEIM HEADER AREA */
.cyber-header {
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 30px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 35px;
}

.avatar-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.avatar-plasma-ring {
  position: absolute;
  inset: -10px;
  background: conic-gradient(from 0deg, #ff0033, #8b0000, #ff2d55, #ff0033);
  border-radius: 50%;
  filter: blur(16px);
  animation: rotatePlasma 3s linear infinite;
}

.avatar-img, .avatar-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--border-bright);
  box-shadow: 0 0 35px var(--glow-crimson);
}

.avatar-fallback {
  display: none;
  background: #140205;
  justify-content: center;
  align-items: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--border-bright);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* KRALLHEIM BADGE LEISTE */
.hub-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge-status-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(12, 1, 6, 0.75);
  border: 1px solid var(--border-dim);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.badge-status-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 45, 85, 0.4),
    rgba(255, 255, 255, 0.6),
    rgba(255, 45, 85, 0.4),
    transparent
  );
  transition: all 0.6s ease;
  pointer-events: none;
}

.badge-status-link:hover::before {
  left: 100%;
}

.badge-status-link:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--border-bright);
  box-shadow: 0 8px 25px rgba(255, 0, 51, 0.45);
  color: #ffffff;
}

.badge-icon {
  width: 14px;
  height: 14px;
  color: var(--border-bright);
  transition: transform 0.3s ease;
}

.badge-status-link:hover .badge-icon {
  transform: scale(1.15) rotate(5deg);
  color: #ffffff;
}

.badge-status-link.legal {
  border-color: rgba(255, 45, 85, 0.35);
}

.badge-status-link.legal:hover {
  background: rgba(255, 45, 85, 0.25);
}

.profile-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 15px var(--border-bright), 0 0 30px var(--neon-red);
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* KRALLHEIM ABOUT-ME BANNER / HEADER BOX */
.cyber-about-banner {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.08) 0%, rgba(15, 2, 6, 0.88) 100%);
  border: 1.5px solid rgba(255, 0, 51, 0.35);
  padding: 18px 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 0, 51, 0.12);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: 6px;
  cursor: pointer;
}

.cyber-about-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 0% 0%, rgba(255, 45, 85, 0.25), transparent 65%);
  opacity: 0.6;
  animation: pulseCardGlow 3s infinite alternate ease-in-out;
  pointer-events: none;
}

.cyber-about-banner:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: 0 12px 35px rgba(255, 0, 51, 0.45), inset 0 0 20px rgba(255, 0, 51, 0.25);
}

.about-banner-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-tag-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-banner-icon {
  width: 18px;
  height: 18px;
  color: var(--border-bright);
}

.about-banner-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--border-bright);
}

.click-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--border-bright);
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--border-dim);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.cyber-about-banner:hover .click-hint-badge {
  background: var(--neon-red);
  color: #ffffff;
  box-shadow: 0 0 15px var(--neon-red);
  transform: scale(1.05);
}

.about-banner-text {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e2d2d6;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.about-banner-text strong {
  color: #ffffff;
}

.about-banner-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mini-tag {
  background: rgba(255, 0, 51, 0.12);
  border: 1px solid rgba(255, 0, 51, 0.3);
  color: #ff2d55;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* KRALLHEIM SHIMMER LIGHTSWEEP */
.shimmer-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 45, 85, 0.2) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 0, 51, 0.3) 80%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: continuousLightSweep 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* KRALLHEIM SEARCH SECTION */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 22px;
  color: var(--border-bright);
  z-index: 2;
  width: 20px;
  height: 20px;
}

.search-box input {
  width: 100%;
  padding: 16px 24px 16px 58px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-dim);
  border-radius: 50px;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: var(--border-bright);
  box-shadow: 0 0 30px var(--glow-crimson);
  background: rgba(255, 0, 51, 0.08);
}

/* KRALLHEIM MEDIA HUB CARDS */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.media-card-hub {
  flex-direction: column;
  align-items: stretch;
  padding: 20px;
  gap: 14px;
}

.media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--border-bright);
  border: 1px solid var(--border-dim);
}

.media-badge.youtube { color: #ff2d55; }

.media-preview-box {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 2, 8, 0.95), rgba(5, 0, 2, 0.98));
  border: 1px solid var(--border-dim);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 12px;
  transition: all 0.3s ease;
}

a.media-preview-box.media-click-area {
  text-decoration: none;
  cursor: pointer;
  display: flex;
}

a.media-preview-box.media-click-area:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 35px rgba(255, 0, 51, 0.45), inset 0 0 15px rgba(255, 0, 51, 0.2);
}

a.media-preview-box.media-click-area:hover .media-center-icon {
  transform: scale(1.25) rotate(-6deg);
  color: #ffffff;
  filter: drop-shadow(0 0 20px var(--neon-red));
}

.media-cyber-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  filter: blur(55px);
  opacity: 0.28;
  border-radius: 50%;
  animation: pulseGlow 3s infinite alternate;
}

.youtube-glow { background: #ff0033; }
.tiktok-glow { background: #ff2d55; }

.media-center-icon {
  width: 44px;
  height: 44px;
  color: var(--border-bright);
  z-index: 2;
  filter: drop-shadow(0 0 14px var(--neon-red));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

.media-info-overlay {
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
}

.media-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.media-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.media-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.media-btn.highlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 0, 51, 0.18);
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-bright);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.media-btn.highlight-btn:hover {
  background: var(--neon-red);
  box-shadow: 0 0 20px var(--neon-red);
  transform: translateY(-2px);
}

/* KRALLHEIM PORTAL LINK GRID AND BUTTONS */
.portal-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.link-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  color: var(--border-bright);
  width: 20px;
  height: 20px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
}

.section-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--border-dim), transparent);
}

.links-grid {
  display: grid;
  gap: 16px;
}

.main-links { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.social-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-dim);
  border-radius: 20px;
  color: var(--text-main);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* KRALLHEIM BIDIREKTIONALER SCROLL REVEAL */
.link-card, .quick-links-section, .media-card, .cyber-about-banner {
  opacity: 0;
  transform: perspective(1000px) translateY(50px) rotateX(-12deg) scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  will-change: transform, opacity;
}

.link-card.in-view, .quick-links-section.in-view, .media-card.in-view, .cyber-about-banner.in-view {
  opacity: 1;
  transform: perspective(1000px) translateY(0) rotateX(0deg) scale(1);
}

.link-card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
  box-shadow: 0 10px 35px var(--glow-crimson);
}

.link-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--border-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--border-bright);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.link-card:hover .link-icon-box {
  background: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 20px var(--neon-red);
}

.link-icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.link-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.sub-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.link-action {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.link-card:hover .link-action {
  color: var(--border-bright);
  transform: translateX(4px);
}

/* KRALLHEIM QUICK CONNECTS BAR */
.quick-links-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--border-dim);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.quick-icons-grid a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-icons-grid a:hover {
  border-color: var(--border-bright);
  background: rgba(255, 0, 51, 0.25);
  box-shadow: 0 0 20px var(--glow-crimson);
  transform: translateY(-4px) scale(1.12);
}

.quick-icons-grid img {
  width: 20px;
  height: 20px;
}

/* KRALLHEIM FOOTER */
.cyber-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* KRALLHEIM STECKBRIEF MODUL FLEXIBAL POPUP */
.quantum-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 0, 4, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quantum-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.quantum-modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  border-radius: 30px;
  padding: 3px;
  box-shadow: 0 0 70px rgba(255, 0, 51, 0.6), 0 0 120px rgba(255, 0, 51, 0.25);
  transform: scale(0.5) translateY(50px);
  opacity: 0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.4s ease;
}

/* KRALLHEIM OPEN-ANIMATION */
.quantum-modal-overlay.active .quantum-modal-wrapper {
  transform: scale(1) translateY(0);
  opacity: 1;
  box-shadow: 0 0 90px rgba(255, 0, 51, 0.8), 0 0 150px rgba(255, 0, 51, 0.4);
}

/* KRALLHEIM CLOSING-ANIMATION/SHOCKWAVE */
.quantum-modal-wrapper.closing {
  animation: hyperGlowRetract 0.42s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}

@keyframes hyperGlowRetract {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 0 90px rgba(255, 0, 51, 0.9), 0 0 150px rgba(255, 0, 51, 0.6);
    filter: brightness(1.2);
  }
  40% {
    transform: scale(1.03);
    filter: brightness(2) drop-shadow(0 0 30px #ffffff);
    box-shadow: 0 0 140px rgba(255, 45, 85, 1);
  }
  100% {
    transform: scale(0.1) translateY(-100px);
    opacity: 0;
    filter: brightness(3);
    box-shadow: 0 0 0px transparent;
  }
}

.quantum-modal-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(18, 2, 8, 0.98), rgba(4, 0, 2, 0.99));
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 240px 50px 1fr;
  align-items: center;
  gap: 15px;
  max-height: calc(88vh - 6px);
  overflow: hidden;
}

/* KRALLHEIM CLOSE BUTTON (X) */
.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;
  background: rgba(255, 0, 51, 0.2);
  border: 1.5px solid var(--border-bright);
  color: var(--border-bright);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.4);
}

.modal-close-btn:hover {
  background: var(--neon-red);
  color: #ffffff;
  transform: rotate(90deg) scale(1.2);
  box-shadow: 0 0 30px var(--neon-red), 0 0 50px #ffffff;
}

/* KRALLHEIM-LINKS PICTURE */
.modal-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.modal-avatar-frame {
  position: relative;
  width: 180px;
  height: 180px;
}

.modal-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid var(--border-bright);
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.5);
}

.avatar-glow-ring {
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  border: 1.5px dashed var(--border-bright);
  animation: rotatePlasma 12s linear infinite;
  opacity: 0.6;
}

.avatar-caption {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

/* KRALLHEIM-MITTE: ROTATING SPIRAL */
.modal-center-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.cyber-spiral-line {
  width: 4px;
  height: 100%;
  min-height: 240px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--neon-red) 25%,
    #ffffff 50%,
    var(--neon-red) 75%,
    transparent 100%
  );
  border-radius: 10px;
  box-shadow: 0 0 25px var(--neon-red), 0 0 10px #ffffff;
  animation: spiralPulse 1.8s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

/* KRALLHEIM-RECHTS: TEXT/DETAILS -- SCROLLBAR */
.modal-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(88vh - 80px);
  overflow-y: auto;
  padding-right: 8px;
}

/* KRALLHEIM SCROLLBALKEN -- Für eventuell lange Texte */
.modal-right-col::-webkit-scrollbar {
  width: 5px;
}

.modal-right-col::-webkit-scrollbar-track {
  background: rgba(255, 0, 51, 0.05);
  border-radius: 10px;
}

.modal-right-col::-webkit-scrollbar-thumb {
  background: var(--neon-red);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--neon-red);
}

.modal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--border-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-headline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.modal-bio-paragraph {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e2d2d6;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile-icon {
  width: 18px;
  height: 18px;
  color: var(--border-bright);
}

.tile-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tile-val {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-red);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
  transition: all 0.3s ease;
}

.modal-primary-btn:hover {
  background: #ff2d55;
  transform: translateY(-2px);
  box-shadow: 0 0 30px #ff2d55;
}

/* KRALLHEIM ANIMATION KEYFRAMES */
@keyframes rotatePlasma {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes continuousLightSweep {
  0% { left: -150%; }
  50%, 100% { left: 200%; }
}

@keyframes pulseCardGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

@keyframes spiralPulse {
  0% { transform: scaleY(0.85); opacity: 0.6; }
  100% { transform: scaleY(1.05); opacity: 1; filter: drop-shadow(0 0 15px var(--neon-red)); }
}

/* KRALLHEIM MOBILE / HANDY OPTIMIERUNG */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hub-badges-row {
    justify-content: center;
  }
  
  .profile-name {
    font-size: 2rem;
  }
  
  /* KRALLHEIM BANNER MOBIL VORSCHAU */
  .cyber-about-banner {
    padding: 16px 14px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .about-banner-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .click-hint-badge {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .about-banner-text {
    font-size: 0.85rem;
    line-height: 1.65;
    text-align: left;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .about-banner-tags {
    justify-content: center;
  }

  /* KRALLHEIM MODUL MOBILE SCROLL FIX) */
  .quantum-modal-wrapper {
    max-height: 92vh !important;
  }

  .quantum-modal-card {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 25px 18px !important;
    max-height: calc(92vh - 6px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .modal-right-col {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
  
  .modal-center-divider {
    display: none !important;
  }
}

/* KRALLHEIM PLATZHALTER TEXT-FORMATIERUNG MODULE */
.modal-bio-content p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e2d2d6;
  margin-bottom: 12px;
}

/* KRALLHEIM LIGHT PLATZHALTER-MARKIERUNG */
mark {
  background: rgba(255, 0, 51, 0.25);
  color: #ffffff;
  border: 1px dashed var(--border-bright);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* KRALLHEIM TRENNLINIE TEXT */
.modal-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dim), transparent);
  margin: 16px 0;
}

/* KRALLHEIM ZITAT ENDE */
.modal-quote {
  font-style: italic;
  color: var(--border-bright);
  border-left: 3px solid var(--neon-red);
  padding-left: 12px;
  margin-top: 15px;
  font-size: 0.92rem;
}