/* -------------------------------------
   FONT-FACES
------------------------------------- */
@font-face {
  font-family: 'Source Code Pro';
  src: url('fonts/Source_Code_Pro/static/SourceCodePro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Source Code Pro Bold';
  src: url('fonts/Source_Code_Pro/static/SourceCodePro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Jet';
  src: url('fonts/jet/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Cascadia';
  src: url('fonts/cascadia/CascadiaMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}





/* -------------------------------------
   CANVAS + BODY
------------------------------------- */
/* Wunschfarben für das Star‑Tint */
:root {
  --grad-start: #2600ff;
  --grad-end: #00ccff;
}

.gradient-buttons button {
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.gradient-box {
  width: 300px;
  height: 200px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 12px;
  margin-top: 1rem;
}

/* Sternenhintergrund (ungefärbt) */
body {
  background: url("images/starry.gif") repeat fixed;
  position: relative; /* für ::before */
}

body::before {
  content: "";
  position: fixed; /* bleibt bei Scrollen */
  inset: 0;
  pointer-events: none;
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
  mix-blend-mode: color; /* Magic sauce ✨ */
  z-index: 0; /* unterhalb des Inhalts */
  image-rendering: pixelated; /* Nur hier anwenden */
}

:root[data-theme='light'] {
  
  --bg-color-window: #ffffffb7;
  --text-color-window: #424242;
  --startmenu-profile: #b4c4db;
  --startmenu-name: #202020;
  --startmenu-handle: #485463;
  --startmenu-line: #ffffff1a;
  --window-border: #5865F2;
  --neo-text-bg-color: #ffffff34;
  --headings-color: #5865f2;
  --titlebar-background-inactive: #e4e4e4d8;
  --titlebar-background-active: #f5f5f5cc;
  --titlebar-text-active: #303030;
  --titlebar-text-inactive: 242323;
  --termbutton-background: #b4c4db;
  --termbutton-background-hover: #854af3;
  --termbutton-border: #ffffff33;
  --termbutton-text: #5a5a5a;
  --table-bg: rgba(255, 255, 255, 0.04);
  --table-border: rgba(255, 255, 255, 0.08);
  --table-text: #2e2e2e;
  --table-muted: #aaaaaa;
  --table-accent: #383838;
  --table-header-bg: rgba(53, 53, 53, 0.06);
  --table-hover: rgba(255, 255, 255, 0.08);
  --table-radius: 8px;
  --table-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --settings-preset-bg:#5865f226;
}

:root[data-theme='dark'] {
  
  --bg-color-window: #0270ff12;
  --text-color-window: #ddd;
  --startmenu-profile: #181c2359;
  --startmenu-name: #fff;
  --startmenu-handle: #aeb8c4;
  --startmenu-line: #ffffff1a;
  --window-border: #5865F2;
  --neo-text-bg-color: #5865f20a;
  --headings-color: #ddd;
  --titlebar-background-active: #222222cc;
  --titlebar-background-inactive: #2c2c2ccc;
  --titlebar-text-active: #dadada;
  --titlebar-text-inactive: #999;
  --termbutton-background: #1b2a41a4;
  --termbutton-background-hover: #4f2c91;
  --termbutton-border: #ffffff33;
  --termbutton-text: #ddd;
  --table-bg: rgba(255, 255, 255, 0.04);
  --table-border: rgba(255, 255, 255, 0.08);
  --table-text: #f0f0f0;
  --table-muted: #aaaaaa;
  --table-accent: #dddddd;
  --table-header-bg: rgba(255, 255, 255, 0.06);
  --table-hover: rgba(255, 255, 255, 0.08);
  --table-radius: 8px;
  --table-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --settings-preset-bg: #5865f226;

}


body {
  margin: 0;
  color: var(--text-color-window);
  font-family: 'Cascadia';
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  user-select: none;
  background: #000;
}

pre {
  font-family: 'Source Code Pro', monospace;
}

/* -------------------------------------
   STANDARD-FENSTER (Window / Terminal)
------------------------------------- */
.terminal,
.window {
  
  border-radius: 12px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  width: 690px;
  height: 450px;
  text-align: left;
  white-space: pre;
  line-height: 1.6;
  position: absolute;
  cursor: grab;
  border: 1px solid var(--window-border);
  top: 50%;
  left: 50%;
  display: none;
  z-index: 1;
  backdrop-filter: blur(25px) saturate(110%); 
  -webkit-backdrop-filter: blur(20px) saturate(110%); 
  background-color: var(--bg-color-window);
}

.terminal {
  width: 675px;
  height: 695px;
  
}

.neofetch-window,
.music-window,
.anime-window,
.gaming-window,
.sysinfo-window,
.hardware-window
.settings-window, {
 backdrop-filter: blur(45px) saturate(110%); 
  -webkit-backdrop-filter: blur(45px) saturate(110%); 

}

.neofetch-window {

background-color: rgba(0, 0, 0, 0.438);
}







/* Keyframes für den smoothen Farbwechsel */
@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* -------------------------------------
   WINDOW ANIMATIONS 
------------------------------------- */
.window, .terminal {
  animation: window-open 0.30s cubic-bezier(0, 0, 0.2, 1);
  transform-origin: center;
}

@keyframes window-open {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.window.closing, .terminal.closing {
  animation: window-close 0.1s cubic-bezier(0.4, 0, 1, 1);
  transform-origin: center;
}

@keyframes window-close {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

/* -------------------------------------
   SPEZIELLE FENSTER-GRÖßEN
------------------------------------- */
.about-window {
  width: 650px;
  height: 805px;
}
.sysinfo-window {
  width: 510px;
  height: 360px;
}
.logo-window {
  width: 200px;
  height: 250px;
}
.debug-window {
  width: 500px;
  height: 280px;
}
.hardware-window {
  width: 628px;
  height: 635px;
}
.projects-window {
  width: 640px;
  height: 800px;
}
.designs-window {
  width: 640px;
  height: 700px;
}
.settings-window {
  width: 620px;
  height: 550px;
}
/* Unterfenster-Klassen (music, gaming, anime...) */
.music-window {
  width: 770px;
  height: 540px;
}
.gaming-window {
  width: 770px;
  height: 475px;
}
.anime-window {
  width: 780px;
  height: 350px;
}

/* Neofetch-Fenster */
#vanta-neofetch {
  width: 730px;
  height: 510px;
}
#kolibri-neofetch {
  width: 920px;
  height: 620px;
}
#astra-03-neofetch {
  width: 880px;
  height: 550px;
}
#astra-04-neofetch {
  width: 760px;
  height: 460px;
}

#backup-01-neofetch {
  width: 880px;
  height: 520px;
}
#haumea-neofetch {
  width: 850px;
  height: 580px;
}
#orcus-neofetch {
  width: 810px;
  height: 540px;
}
#esxi-01-neofetch {
  width: 760px;
  height: 380px;
}
#astra-srv-02-neofetch {
  width: 910px;
  height: 640px;
}
#motte-neofetch {
  width: 930px;
  height: 600px;
}
#DC-01-neofetch {
  width: 930px;
  height: 560px;
}


/* desktops */
#astra-04-desktop,
#vanta-desktop,
#kolibri-desktop,
#astra-03-desktop,
#backup-01-desktop,
#haumea-desktop,
#astra-srv-02-desktop,
#esxi-01-desktop,
#DC-01-desktop,
#motte-desktop,  
#orcus-desktop
#vanta-image
#backup-01-image
#motte-image
#dc-01-image  {

  width: 70vw;  /* 70% of viewport width */
  height: 70vh; /* 70% of viewport height */
  max-width: 1550px;
  max-height: 1100px;
}

/* Update the desktop window content images to be responsive */
.neofetch-window .content img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Remove the fixed width/height from desktop pre tags */
.neofetch-window .content pre {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}


/* -------------------------------------
   TITLE BAR (oben am Fenster)
------------------------------------- */
.title-bar {
  background: var(--titlebar-background-active);
  backdrop-filter: blur(15px);
  color: var(--titlebar-text-active);
  padding: 6px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Source Code Pro Bold', monospace;
  font-weight: bold;
  cursor: move;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}
.title-buttons {
  display: flex;
  gap: 8px;
  padding-left: 10px;
}
.btn {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
}
.red {
  background-image: url("images/trafficlights/1-close-1-normal.svg");
}
.yellow {
 background-image: url("images/trafficlights/2-minimize-1-normal.svg");
}
.green {
  background-image: url("images/trafficlights/3-maximize-1-normal.svg");
}
.content {
  padding-left: 10px;
  font-size: 14px;
  text-align: left;
  margin-top: -60px;
  line-height: 1.4;
}
.title-buttons:hover .red {
  background-image: url("images/trafficlights/2-close-2-hover.svg");
}

.title-buttons:hover .yellow {
  background-image: url("images/trafficlights/2-minimize-2-hover.svg");
}

.title-buttons:hover .green {
  background-image: url("images/trafficlights/3-maximize-2-hover.svg");
}




.title-buttons .red:active {
  background-image: url("images/trafficlights/2-close-3-press.svg");
}

.title-buttons .yellow:active {
  background-image: url("images/trafficlights/2-minimize-3-press.svg");
}

.title-buttons .green:active {
  background-image: url("images/trafficlights/3-maximize-3-press.svg");
}





.title-buttons .btn {
  background-size: cover;
  background-repeat: no-repeat;
  cursor: default;
  transition: background-image 0.2s ease-in-out;
}

/* -------------------------------------
   MENÜLEISTE (STATUS BAR)
------------------------------------- */
.status-bar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 32px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Increased gap */
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  z-index: 1000;
    flex-wrap: nowrap;         /* Kein Umbruch */
  white-space: nowrap;       /* Kein Zeilenumbruch bei Text */
}

.menu-section {
  backdrop-filter: blur(13px) saturate(110%);
  -webkit-backdrop-filter: blur(13px) saturate(110%);
  border-radius: 12px;
      background: rgba(3, 142, 255, 0.055);
      border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 10px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-section:hover {
  background: rgba(30, 30, 46, 0.144);
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.15),
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.menu-item {
  color: #cdd6f4;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.menu-item:hover {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.menu-item:active {
  transform: scale(0.95);
}

.menu-item.active {
  background: rgba(88, 101, 242, 0.3);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.menu-separator {
  color: #6c7086;
  user-select: none;
  opacity: 0.5;
}

.datetime, #network-status {
  background: rgba(88, 101, 242, 0.1);
  color: #cdd6f4;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  user-select: none;
  border: 1px solid rgba(88, 101, 242, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.datetime:hover, #network-status:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.1);
}

/* -------------------------------------
   BOTTOM-BAR (Terminal-Button-Leiste)
------------------------------------- */
.button-bar {
  position: absolute;
  bottom: 1; /* minimaler Abstand */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px 12px 0 0;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 6000px;
}
.button-bar img {
  width: 88px;
  height: 31px;
  cursor: pointer;
}
@media (max-width: 6000px) {
  .button-bar {
    left: 0;
    right: 0;
    transform: none;
    justify-content: space-around;
  }
}
.button-bar img:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5));
}

/* -------------------------------------
   ABOUT WINDOW - SPEZIELLE CONTENT-STYLE
------------------------------------- */
.about-window .content {
  padding-left: 10px;
  font-size: 14px;
  text-align: left;
  margin-top: -60px;
  line-height: 1.4;
  color: var(--text-color-window);
}
.about-window .content b {
  color: #5865f2;
}

.terminal .content {
color: var(--text-color-window);
}

/* -------------------------------------
   INAKTIVES FENSTER (graue Titlebar)
------------------------------------- */
.window.inactive-window .title-bar,
.terminal.inactive-window .title-bar {
  background: var(--titlebar-background-inactive);
  color: var(--titlebar-text-inactive);
}
.window .title-bar .btn {
  transition: background 0.2s ease-in-out;
}
.window.inactive-window .title-bar .btn,
.terminal.inactive-window .title-bar .btn {
  background-image: url("images/trafficlights/0-all-three-nofocus.svg") !important;
  opacity: 1;
  filter: none;
  cursor: default;
}

/* -------------------------------------
   TERMINAL-LINK-BUTTONS
------------------------------------- */
.term-button {
  display: inline-block;
  padding: 4px 6px;
  margin-right: 6px;
  background: var(--termbutton-background);
  border: 1px solid var(--termbutton-border);
  border-radius: 8px;
  color: var(--termbutton-text);
  text-decoration: none;
  font-family: 'Source Code Pro', monospace;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.term-button:hover {
  background: var(--termbutton-background-hover); /* Slightly lighter on hover */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.8), 0 0 25px rgba(88, 101, 242, 0.6);
  animation: hueShiftCounter 3s infinite;
}

@keyframes hueShiftCounter {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(-360deg); /* Counterclockwise rotation */
  }
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.social-button {
  display: flex;
  align-items: center;
  padding: 4px 6px;
  margin-right: 6px;
  background: var(--termbutton-background);
  border: 1px solid var(--termbutton-border);
  border-radius: 8px;
  color: var(--termbutton-text);
  text-decoration: none;
  font-family: 'Source Code Pro', monospace;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.social-button:hover {
  background: var(--termbutton-background-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.8), 0 0 25px rgba(88, 101, 242, 0.6);
  animation: hueShiftCounter 3s infinite;
}

@keyframes hueShiftCounter {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(-360deg); /* Counterclockwise rotation */
  }
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.marquee-container {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
    }

    .marquee-text {
      display: inline-block;
      padding-left: 100%;
      animation: marquee 10s linear infinite;
    }

    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    .bottom-left-image {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;  /* oder was du halt brauchst */
  height: auto;  /* skaliert mit */
  pointer-events: none; /* optional, damit's keine Klicks blockt */
}



/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
background-color: #000; 
  
  
  
  
  animation: loading-bg-move 8s ease-in-out infinite;
  position: relative; /* für ::before */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Source Code Pro', monospace;
  color: #ddd;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#loading-content {
  text-align: center;
  transform: translateY(-20px);
  animation: contentFadeIn 0.1s ease-out;
}

@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(-20px); }
}

#loading-content img {
  filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.5));
  animation: logoReveal 1s ease-out;
  transform: scale(1);
}

/* Entferne float animation */
@keyframes logoReveal {
  from { 
    transform: scale(0.9);
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(88, 101, 242, 0));
  }
  to { 
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.5));
  }
}

.loading-text {
  font-size: 16px;
  margin: 15px 0;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.8);
  animation: textPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

#loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  animation: barReveal 0.5s ease-out;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}



@keyframes barReveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#loading-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5865F2, #bc88ff);
  position: relative;
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
  animation: progressGlow 2s linear infinite;
}

@keyframes progressGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

#loading-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-200%); }
  100% { transform: translateX(200%); }
}

.cursor {
  animation: blink 1s infinite;
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #434eced3;
  margin-left: 4px;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Enhanced Background Picker Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  z-index: 1001;
  border-radius: 12px;
  border: 1px solid rgba(88, 101, 242, 0.2);
  overflow: hidden;
}

.dropdown-content a {
  color: #ddd;
  padding: 15px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: 'Source Code Pro', monospace;
  transition: all 0.3s ease;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(88, 101, 242, 0.2);
  padding-left: 25px;
}

.background-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
}





/* Active background indicator */
.active-background::after {
  content: '●';
  color: #5865f2;
  position: absolute;
  right: 15px;
}

/* Dropdown hover logic */
.dropdown:hover .dropdown-content {
  display: block;
}



.open-window-btn {
  background: rgba(88,101,242,0.12);
  border: 1px solid #5865f2;
  color: #cdd6f4;
  border-radius: 7px;
  padding: 2px 10px;
  margin-right: 4px;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s;
  display: inline-flex;
  align-items: center;
}
.open-window-btn.active {
  background: #5865f2a9;
  color: #fff;
}
.open-window-btn span {
  font-size: 15px;
  color: #fff;
  margin-left: 4px;
}
.open-window-btn:hover {
  background: #5865f2;
  color: #fff;
}



.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-track {
  display: inline-block;
  animation: scroll-left 10s linear infinite;
}

.marquee-track span {
  display: inline-block;
  margin-right: 2rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

  .compact-table{
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;      /* etwas kleiner */
  }
  .compact-table th,
  .compact-table td{
    border: 1px solid #444;
    padding: 1px 4px;     /* weniger Höhe */
  }
.emote {
width: auto;
height: 30px;
vertical-align:
middle;
}

.glow-wrapper {
  position: relative;
  border-radius: 10px;
  padding: 12px;
  background: rgba(88, 101, 242, 0.15);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 0;
}

.glow-wrapper::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: conic-gradient(
    from 0deg,
    red,
    orange,
    yellow,
    lime,
    cyan,
    blue,
    magenta,
    red
  );
  border-radius: 12px;
  z-index: -1;
  animation: rotate-glow 6s linear infinite;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  padding: 3px;
  box-sizing: border-box;
}

.glow-inner {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
}

/* Animation */
@keyframes rotate-glow {
  to {
    transform: rotate(360deg);
  }
}


.astro-table {
  width: 100%;
  max-width: 100px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  color: var(--table-text);
  background: var(--table-bg);
  border-radius: var(--table-radius);
  overflow: hidden;
  box-shadow: var(--table-shadow);
}

.astro-table thead {
  background: var(--table-header-bg);
  color: var(--table-accent);
}

.astro-table th,
.astro-table td {
  padding: 6px 12px;
  text-align: left;
  border-bottom: 1px solid var(--table-border);
}

.astro-table th:first-child,
.astro-table td:first-child {
  padding-left: 16px;
}

.astro-table th:last-child,
.astro-table td:last-child {
  padding-right: 16px;
}

.astro-table tbody tr:last-child td {
  border-bottom: none;
}

.astro-table tr:hover {
  background: var(--table-hover);
}

.astro-table a.term-button {
  color: var(--table-accent);
  text-decoration: none;
  font-weight: 500;
}

  .hobby-icon {
    height: 20px;
    width: auto;
    margin-bottom: -5px;
  }

.settings-inner {
  white-space: normal; /* nicht pre oder pre-wrap */
}


/* =============================
   Layout: Settings-Designblock
   ============================= */

/* Wrapper für alles: Presets + manuelle Auswahl nebeneinander */
.preset-flex-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}

/* Zwei Preset-Karten nebeneinander */
.preset-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

/* Preset-Karte */
.preset-card {
  width: 140px;
  background: var(--settings-preset-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preset-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.preset-card p {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.preset-card button {
  background: #444;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-weight: bold;
  cursor: pointer;
}

.preset-card button:hover {
  background: #666;
}

.preset-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.preset-card.selected {
  outline: 2px solid rgb(155, 88, 242);
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.3);
}

/* Rechte Spalte: Manuelle Auswahl (Theme / Wallpaper / Sprache) */
.manual-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  min-width: 200px;
  flex-shrink: 0;
}

/* Einzelnes Feld */
.manual-control {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.manual-control label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color-window);
}

/* Dropdown */
.manual-control select {
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1e1e1e;
  color: white;
  font-size: 0.95rem;
  width: 100%;
}

/* Abstand zwischen Abschnitten */
.settings-section {
  margin-bottom: 2rem;
}

.settings-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.settings-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
@keyframes flicker {
    0% {
        opacity: 0%;
    }
    1% {
        opacity: 100%;
    }
    19% {
        opacity: 100%;
    }
    20% {
        opacity: 0%;
    }
    99% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}
.flicker {
    opacity: 0%;
    margin: 25px;
    animation-fill-mode: forwards;
    animation-duration: 0.2s;
    margin-left: 4px;
    animation-name: flicker;
}

/* --- Neues Startmenü-Design --- */
#start-menu {
  display: none;
  position: absolute;
  left: 30px;
  top: 60px;
  z-index: 10000;
  width: 370px;
  background: var(--bg-color-window);
  border: 1.5px solid var(--window-border);
  border-radius: 16px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  padding: 1.2rem 1.3rem 1.1rem 1.3rem;
  font-family: 'Source Code Pro', monospace;
  color: var(--text-color-window);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s;
  box-sizing: border-box;
}
#start-menu.visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

#start-menu details,
#start-menu ul,
#start-menu summary {
  margin: 0;
  padding: 0;
}

#start-menu summary {
  font-size: 1.02em;
  font-weight: bold;
  color: var(--text-color-window);
  padding: 6px 0 2px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s;
}



#start-menu ul {
  list-style: none;
  margin: 0 0 8px 0;
  padding-left: 0.7rem;
}

#start-menu li {
  margin: 0.1em 0;
}

#start-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 8px;
  color: var(--text-color-window);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}
#start-menu a:hover {
  background: #5865f20a;
  color: #fff;
}

#start-menu hr {
  border: none;
  border-top: 1px solid rgba(88,101,242,0.13);
  margin: 1.1rem 0 0.8rem 0;
}

#start-menu button {
  background: #5865f283;
  border: none;
  color: #ddd;
  padding: 4px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.18s;
}
#start-menu button:hover {
  background: #7a8cff;
}

#start-menu img {
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(88,101,242,0.08);
}

#start-menu > div:first-child {
  margin-bottom: 1.2rem;
}

#start-menu details > ul {
  margin-bottom: 0.4rem;
}

/* --- Startmenü: Twitter/X-Style Userinfo --- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--startmenu-profile);
  backdrop-filter: blur(20px); /* <-- Korrigiert */
  border-radius: 16px;
  padding: 10px 16px 10px 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px #0004;
  width: 90%;
  max-width: 320px;
    position: relative; /* Für das Power-Menü */

}
#startmenu-pfp {
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  border: 2px solid #5865f2;
  box-shadow: 0 2px 8px rgba(88,101,242,0.13);
  object-fit: cover;
}
#startmenu-pfp:hover {
  box-shadow: 0 2px 12px rgba(88,101,242,0.2);
  transform: scale(1.1);
  transition: transform 0.2s, box-shadow 0.2s;

}
.profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-name {
  font-weight: bold;
  color: var(--startmenu-name);
  font-size: 1.08em;
  line-height: 1.1;
}
.profile-handle {
  color: var(--startmenu-handle);
  font-size: 0.98em;
  line-height: 1.1;
  margin-top: 1px;
}
.profile-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  margin-left: 2px;
}
.profile-actions button {
  background: #5865F2;
  border: none;
  color: #fff;
  padding: 4px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.18s;
}
.profile-actions button:hover {
  background: #7a8cff;
}

/* Power-Button in der Profilecard */
#startmenu-power-btn {
  background: none !important; /* Überschreibt #start-menu button */
  border: none;
  padding: 0px;
  margin-left: auto;
  margin-right: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  transition: background 0.18s;
  box-shadow: none;
}
#startmenu-power-btn:hover {
  background: #5865f20a;
}
#startmenu-power-btn img {
  width: 26px;
  height: 26px;
  display: block;
  pointer-events: none;
}

/* Power-Menü Dropdown */
#startmenu-power-menu {
  display: none;
  position: absolute;
  /* Positioniert das Menü rechts neben das Startmenü */
  top: 0;
  left: calc(100% + 8px); /* 8px Abstand, passe ggf. an */
  background: var(--bg-color-window);
  border: 1.5px solid var(--window-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
  z-index: 10001;
  min-width: 140px;
  padding: 0.5rem 0;
  animation: window-open 0.18s cubic-bezier(0, 0, 0.2, 1);
  backdrop-filter: blur(60px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(60px) saturate(110%) !important;
}

#startmenu-power-menu button {
  background: none;
  border: none;
  color: var(--text-color-window);
  width: 100%;
  text-align: left;
  padding: 10px 18px;
  font-size: 1em;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  gap: 8px;
}
#startmenu-power-menu button:hover {
  background: #5865f20a;
  color: #5865f2;
}

#startmenu-power-menu hr {
  border: none;
  border-top: 1px solid rgba(88,101,242,0.13);
  margin: 0.3rem 0;
}


.debugcontent {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.debugcontent:hover {
  opacity: 1;
  
}
