/* ==========================================================================
   ICHBINGAMERBOY.DE - PROFESSIONAL DEVELOPER & PROJECT PORTFOLIO
   Modern Dark Theme: Developer · Minecraft · Web · Server
   Clean, technical, high-performance, mobile-first, zero fluff.
   ========================================================================== */

@font-face {
  font-family: 'Monocraft';
  src: url('/fonts/Monocraft.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Monocraft';
  src: url('/fonts/Monocraft-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Minecraft Block & UI Color Palette */
  --bg-body: #101116;
  --bg-surface: #181921;
  --bg-surface-elevated: #22232d;
  --bg-surface-hover: #2c2e3a;
  --bg-terminal: #0d0e13;
  
  /* Minecraft GUI Borders */
  --border-subtle: #2b2d3a;
  --border-medium: #3f4255;
  --border-focus: #55ff55;
  --mc-border-dark: #000000;
  
  /* Minecraft Iconic Colors */
  --accent-blue: #38bdf8;
  --accent-blue-hover: #7dd3fc;
  --accent-cyan: #55ffff;
  --accent-emerald: #55ff55;
  --accent-amber: #ffaa00;
  --accent-red: #ff5555;
  --accent-laby: #e22400;
  --mc-gold: #ffaa00;
  --mc-diamond: #55ffff;
  --mc-emerald: #55ff55;
  --mc-redstone: #ff5555;

  /* Universal Minecraft Typography */
  --font-mono: 'Monocraft', monospace;
  --font-sans: 'Monocraft', monospace;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8b92a3;

  /* Container */
  --max-width: 1140px;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  font-family: var(--font-mono);
  background-color: var(--bg-body);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Universal Responsive Text & Overflow Protection */
pre, code, kbd, samp {
  overflow-wrap: anywhere;
  word-break: break-word;
}

input, select, textarea {
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #14151c;
  border-bottom: 2px solid #000;
  box-shadow: 0 4px 0px rgba(0, 0, 0, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-avatar {
  width: 32px;
  height: 32px;
  background: var(--bg-surface-elevated);
  border: 2px solid #000;
  box-shadow: 1px 1px 0px #000;
  image-rendering: pixelated;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 2px 2px 0px #000;
}

.brand-name span {
  color: var(--mc-diamond);
  text-shadow: 2px 2px 0px #005555;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-shadow: 1px 1px 0px #000;
  transition: all 0.1s ease;
  padding: 6px 4px;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent-emerald);
  text-shadow: 2px 2px 0px #000;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #23242e;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0px #484b5c, inset -1px -1px 0px #111217, 2px 2px 0px #000;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.1s ease;
}

.btn-icon-link:hover {
  color: var(--text-primary);
  background: #2d2f3c;
  box-shadow: inset 1px 1px 0px #5a5d72, inset -1px -1px 0px #181920, 2px 2px 0px #000;
}

.btn-icon-link:active {
  transform: translate(1px, 1px);
  box-shadow: inset 1px 1px 0px #111217, inset -1px -1px 0px #484b5c, 1px 1px 0px #000;
}

.mobile-toggle {
  display: none;
  background: #23242e;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0px #484b5c, 2px 2px 0px #000;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #14151c;
    border-bottom: 2px solid #000;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 10px 0px rgba(0, 0, 0, 0.9);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-item {
    background: #1c1d26;
    border: 2px solid #000;
    box-shadow: inset 1px 1px 0px #353748, 2px 2px 0px #000;
    padding: 12px 14px;
    display: block;
    width: 100%;
    font-size: 0.88rem;
  }

  .nav-menu .nav-item:active {
    background: #2a8a3c;
    color: #ffffff;
  }

  .nav-cta {
    display: flex;
    gap: 6px;
  }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-mono);
  position: relative;
  transition: all 0.1s ease;
  user-select: none;
  border: 2px solid #000000;
}

.btn-primary {
  background: #2a8a3c;
  color: #ffffff !important;
  box-shadow: inset 2px 2px 0px #55ff55, inset -2px -2px 0px #13461e, 2px 2px 0px #000000;
  text-shadow: 2px 2px 0px #0b2e10;
}

.btn-primary:hover {
  background: #34a849;
  box-shadow: inset 2px 2px 0px #77ff77, inset -2px -2px 0px #1a5726, 2px 2px 0px #000000;
  color: #ffffff;
}

.btn-primary:active {
  background: #1e6e2e;
  box-shadow: inset 2px 2px 0px #13461e, inset -2px -2px 0px #55ff55, 1px 1px 0px #000000;
  transform: translate(1px, 1px);
}

.btn-secondary {
  background: #3c3d47;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #6d6f80, inset -2px -2px 0px #212228, 2px 2px 0px #000000;
  color: #ffffff !important;
  text-shadow: 2px 2px 0px #111111;
}

.btn-secondary:hover {
  background: #4a4b57;
  box-shadow: inset 2px 2px 0px #828599, inset -2px -2px 0px #2a2b33, 2px 2px 0px #000000;
  color: #ffffff;
}

.btn-secondary:active {
  background: #2b2c33;
  box-shadow: inset 2px 2px 0px #18191d, inset -2px -2px 0px #5c5d67, 1px 1px 0px #000000;
  transform: translate(1px, 1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

/* Minecraft Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  font-family: var(--font-mono);
  border: 2px solid #000000;
  box-shadow: 1px 1px 0px #000000;
  text-shadow: 1px 1px 0px #000000;
}

.status-active {
  background: #12331c;
  color: #55ff55;
  border-color: #2a8a3c;
}

.status-dev {
  background: #38270a;
  color: #ffaa00;
  border-color: #b07219;
}

.status-archived {
  background: #23242b;
  color: #94a3b8;
  border-color: #3b3d4a;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: currentColor;
  box-shadow: 1px 1px 0px #000000;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #55ffff;
  background: #141824;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #2e3c54, 2px 2px 0px #000000;
  padding: 5px 12px;
  margin-bottom: 1.25rem;
  text-shadow: 1px 1px 0px #000000;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-shadow: 3px 3px 0px #000000;
}

.hero-title .name-highlight {
  color: var(--mc-diamond);
  text-shadow: 3px 3px 0px #006666, 4px 4px 0px #000000;
  -webkit-text-fill-color: var(--mc-diamond);
  background: none;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--mc-gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-shadow: 2px 2px 0px #000000;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   TECHNICAL HERO TERMINAL / TABS COMPONENT (MINECRAFT COMMAND BLOCK STYLE)
   ========================================================================== */
.terminal-window {
  background: var(--bg-terminal);
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #3d4052, inset -2px -2px 0px #111217, 4px 4px 0px #000000;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1f202a;
  border-bottom: 2px solid #000000;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #000000;
}
.dot-red { background: #ff5555; }
.dot-yellow { background: #ffaa00; }
.dot-green { background: #55ff55; }

.terminal-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.terminal-tab-btn {
  background: #2a2b37;
  border: 2px solid #000000;
  border-bottom: none;
  color: #9297a8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.1s ease;
  box-shadow: inset 1px 1px 0px #45495e;
  text-shadow: 1px 1px 0px #000000;
}

.terminal-tab-btn:hover {
  color: #ffffff;
  background: #36384a;
}

.terminal-tab-btn.active {
  color: #55ff55;
  background: var(--bg-terminal);
  box-shadow: inset 1px 1px 0px #55ff55;
}

.terminal-body {
  padding: 20px;
  min-height: 280px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.term-line {
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}

.term-prompt {
  color: #55ff55;
  user-select: none;
  text-shadow: 1px 1px 0px #000000;
}

.term-cmd {
  color: #ffffff;
}

.term-output {
  color: #cbd5e1;
  line-height: 1.6;
  padding-left: 18px;
  margin-bottom: 12px;
}

.term-key {
  color: #55ffff;
}

.term-val {
  color: #ffffff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ==========================================================================
   SECTIONS: SHARED LAYOUT
   ========================================================================== */
.section {
  padding: 5rem 0;
  border-top: 2px solid #000000;
  box-shadow: 0 -2px 0px rgba(255, 255, 255, 0.03);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #55ffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-shadow: 1px 1px 0px #000000;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 2px 2px 0px #000000;
}

/* ==========================================================================
   ÜBER MICH (MINECRAFT GUI STYLE)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 28px;
}

.about-p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-p strong {
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000;
}

.focus-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.focus-item {
  background: #20212c;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3c3f52, inset -1px -1px 0px #111218, 2px 2px 0px #000000;
  padding: 16px;
  transition: all 0.1s ease;
}

.focus-item:hover {
  background: #272836;
  border-color: #000000;
  box-shadow: inset 1px 1px 0px #4d5168, inset -1px -1px 0px #161720, 3px 3px 0px #000000;
  transform: translate(-1px, -1px);
}

.focus-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #55ffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 1px 1px 0px #000000;
}

.focus-desc {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ==========================================================================
   PROJEKTE SECTION (MINECRAFT ITEM / CONTAINER FRAMES)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
  position: relative;
}

.project-card:hover {
  border-color: #000000;
  background: #1f202b;
  transform: translate(-2px, -2px);
  box-shadow: inset 2px 2px 0px #484b60, inset -2px -2px 0px #12131a, 5px 5px 0px #000000;
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.project-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 0px #000000;
}

.project-desc {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  background: #232430;
  color: #94a3b8;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3d4052, 1px 1px 0px #000000;
  text-shadow: 1px 1px 0px #000000;
}

.project-card:hover .tech-tag {
  color: #55ffff;
  border-color: #000000;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid #000000;
}

.project-link {
  font-size: 0.825rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #55ffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-shadow: 1px 1px 0px #000000;
  transition: color 0.1s ease;
}

.project-link:hover {
  color: #55ff55;
  text-decoration: underline;
}

/* ==========================================================================
   MINECRAFT LIVE STATUS WIDGETS & MOTD RENDERING
   ========================================================================== */
.status-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 3rem;
}

.service-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.1s ease;
}

.service-card:hover {
  border-color: #000000;
  background: #1f202b;
  transform: translate(-1px, -1px);
  box-shadow: inset 2px 2px 0px #484b60, 4px 4px 0px #000000;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #55ffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 1px 1px 0px #000000;
}

.service-meta {
  font-size: 0.8rem;
  color: #8b92a3;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: var(--font-mono);
}

.service-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 2px solid #000000;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.ping-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #cbd5e1;
  font-family: var(--font-mono);
}

.mc-server-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mc-server-icon {
  width: 44px;
  height: 44px;
  border: 2px solid #000000;
  box-shadow: 1px 1px 0px #000000;
  image-rendering: pixelated;
  background: #0d0e13;
  flex-shrink: 0;
  display: block;
}

.mc-motd-box {
  background: #0d0e13;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #2a2c38, 1px 1px 0px #000000;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 12px;
  min-height: 44px;
}

.mc-player-bar-container {
  width: 100%;
  height: 6px;
  background: #000000;
  border: 1px solid #353748;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}

.mc-player-bar-fill {
  height: 100%;
  background: #55ff55;
  box-shadow: inset 0 1px 0 #aaffaa;
  width: 0%;
  transition: width 0.3s ease;
}

.live-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  background: #55ff55;
  box-shadow: 1px 1px 0 #000;
  animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-live-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid #000000;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #8b92a3;
}

.hero-live-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #353748, 2px 2px 0px #000000;
  padding: 4px 10px;
  color: #cbd5e1;
}

/* ==========================================================================
   TECHNOLOGIEN (TECH STACK - MINECRAFT INVENTORY STYLE)
   ========================================================================== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .tech-categories {
    grid-template-columns: 1fr;
  }
}

.tech-cat-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 24px;
}

.tech-cat-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #55ffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000000;
  text-shadow: 1px 1px 0px #000000;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tech-pill {
  background: #232430;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3d4052, 2px 2px 0px #000000;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.1s ease;
  text-shadow: 1px 1px 0px #000000;
}

.tech-pill:hover {
  border-color: #000000;
  background: #2c2d3c;
  transform: translate(-1px, -1px);
  box-shadow: inset 1px 1px 0px #4d5168, 3px 3px 0px #000000;
  color: #55ffff;
}

.tech-pill-dot {
  width: 7px;
  height: 7px;
  background: #55ff55;
  box-shadow: 1px 1px 0px #000000;
}

/* ==========================================================================
   CHANGELOG SECTION
   ========================================================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 840px;
}

.timeline-item {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 22px;
  transition: all 0.1s ease;
}

.timeline-item:hover {
  border-color: #000000;
  background: #1f202b;
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-version {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #55ff55;
  text-shadow: 1px 1px 0px #000000;
}

.timeline-badge {
  font-size: 0.75rem;
  color: #8b92a3;
  font-family: var(--font-mono);
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-list li {
  font-size: 0.875rem;
  color: #cbd5e1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.timeline-list li::before {
  content: ">";
  color: #55ff55;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   GITHUB / OPEN SOURCE SECTION
   ========================================================================== */
.github-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.repo-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.1s ease;
}

.repo-card:hover {
  border-color: #000000;
  background: #1f202b;
  transform: translate(-1px, -1px);
  box-shadow: inset 2px 2px 0px #484b60, 4px 4px 0px #000000;
}

.repo-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #55ffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 1px 1px 0px #000000;
}

.repo-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.repo-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.775rem;
  color: #8b92a3;
  font-family: var(--font-mono);
}

.repo-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-dot {
  width: 8px;
  height: 8px;
  box-shadow: 1px 1px 0px #000000;
}
.lang-java { background: #ffaa00; }
.lang-js { background: #ffff55; }
.lang-web { background: #ff5555; }

/* ==========================================================================
   KONTAKT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.1s ease;
}

.contact-card:hover {
  border-color: #000000;
  background: #1f202b;
  transform: translate(-1px, -1px);
  box-shadow: inset 2px 2px 0px #484b60, 4px 4px 0px #000000;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #232430;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3d4052, 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55ffff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: #8b92a3;
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #0e0f14;
  border-top: 2px solid #000000;
  box-shadow: 0 -2px 0px rgba(255, 255, 255, 0.03);
  padding: 2.5rem 0;
  color: #8b92a3;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  max-width: 500px;
  line-height: 1.5;
}

/* Toast */
#toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, 4px 4px 0px #000000;
  padding: 10px 18px;
  color: #55ff55;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 1px 1px 0px #000000;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.2s ease;
  pointer-events: none;
}

#toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (MOBILE, TABLET, DESKTOP, ULTRA-WIDE)
   ========================================================================== */

/* Tablet & Moderate Screens (641px to 1024px) */
@media (max-width: 1024px) {
  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices & Small Tablets (<= 860px) */
@media (max-width: 860px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
  
  .hero-buttons {
    width: 100%;
  }

  .tech-categories {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Smart Phones (<= 640px) */
@media (max-width: 640px) {
  .container {
    width: 94%;
    padding: 0 4px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-desc {
    font-size: 0.92rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .hero-live-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    font-size: 0.75rem;
  }

  .hero-live-item {
    justify-content: space-between;
    width: 100%;
  }

  .about-card,
  .project-card,
  .tech-cat-card,
  .contact-card {
    padding: 18px 16px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .terminal-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .terminal-tab-btn {
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 6px 8px;
  }

  .terminal-body {
    padding: 12px 14px;
    font-size: 0.78rem;
    overflow-x: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-disclaimer {
    text-align: center;
  }

  #toast-notification {
    left: 12px;
    right: 12px;
    bottom: 16px;
    justify-content: center;
    text-align: center;
  }
}

/* Ultra-compact Phones (<= 380px, e.g. iPhone SE) */
@media (max-width: 380px) {
  .brand-name {
    font-size: 0.9rem;
  }

  .brand-avatar {
    width: 26px;
    height: 26px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
}

/* Ultra-wide Displays (>= 1440px) */
@media (min-width: 1440px) {
  :root {
    --max-width: 1280px;
  }
}

/* ==========================================================================
   DISCORD LIVE PRESENCE WIDGET (LANYARD API)
   ========================================================================== */
.discord-widget-wrapper {
  margin-top: 1.5rem;
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 18px 20px;
}

.discord-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000000;
}

.discord-user-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.discord-avatar-container {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.discord-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 2px solid #000000;
  background: #232430;
  image-rendering: pixelated;
  display: block;
}

.discord-avatar-deco {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 2;
}

.discord-clan-badge {
  background: #232738;
  border: 1px solid #5865f2;
  box-shadow: 1px 1px 0px #000;
  color: #55ffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  text-shadow: 1px 1px 0 #000;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
}

.discord-status-ring {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 0;
  border: 2px solid #000000;
  background-color: #747f8d;
  box-shadow: 0 0 0 2px #181922;
}

.discord-status-ring.online { background-color: #55ff55; box-shadow: 0 0 8px rgba(85, 255, 85, 0.6); }
.discord-status-ring.idle { background-color: #ffaa00; box-shadow: 0 0 8px rgba(255, 170, 0, 0.6); }
.discord-status-ring.dnd { background-color: #ff5555; box-shadow: 0 0 8px rgba(255, 85, 85, 0.6); }
.discord-status-ring.offline { background-color: #747f8d; }

.discord-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-user-name {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 600px) {
  .discord-user-bar {
    gap: 12px;
  }
  .discord-widget-wrapper {
    padding: 14px 12px;
  }
}

.discord-custom-status {
  font-size: 0.78rem;
  color: #8b92a3;
  font-family: var(--font-mono);
}

.discord-activity-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.discord-activity-box {
  background: #1f202b;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3d4052, 2px 2px 0px #000000;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.discord-activity-icon {
  width: 44px;
  height: 44px;
  border: 2px solid #000000;
  background: #2b2d3d;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.discord-activity-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-activity-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow: hidden;
  flex-grow: 1;
}

.discord-activity-title {
  color: #55ffff;
  font-weight: 700;
}

.discord-activity-sub {
  color: #a0a6b8;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.discord-activity-time {
  color: #55ff55;
  font-size: 0.72rem;
  margin-top: 2px;
}

.spotify-progress-container {
  width: 100%;
  background: #0d0d12;
  border: 1px solid #000000;
  height: 6px;
  margin-top: 6px;
  position: relative;
}

.spotify-progress-fill {
  background: #1db954;
  height: 100%;
  width: 0%;
  transition: width 0.5s linear;
}

/* ==========================================================================
   QA & CLIENT-TESTING SECTION
   ========================================================================== */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.qa-card {
  background: #181922;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #353748, inset -2px -2px 0px #0d0d12, 3px 3px 0px #000000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.1s ease;
}

.qa-card:hover {
  background: #1f202b;
  transform: translate(-1px, -1px);
  box-shadow: inset 2px 2px 0px #484b60, 4px 4px 0px #000000;
}

.qa-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000000;
}

.qa-card-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #55ffff;
}

.qa-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.qa-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   MAKER & OFF-SCREEN TECH SECTION
   ========================================================================== */
.maker-terminal-card {
  background: #0f1015;
  border: 2px solid #000000;
  box-shadow: inset 2px 2px 0px #2a2c3a, inset -2px -2px 0px #000000, 3px 3px 0px #000000;
  padding: 22px 24px;
  font-family: var(--font-mono);
}

.maker-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 768px) {
  .maker-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   1-CLICK COPY BUTTONS & INTERACTIVITY
   ========================================================================== */
.copy-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #232430;
  border: 2px solid #000000;
  box-shadow: inset 1px 1px 0px #3d4052, 2px 2px 0px #000000;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #55ff55;
  cursor: pointer;
  transition: all 0.1s ease;
  user-select: none;
}

.copy-badge-btn:hover {
  background: #2e3040;
  transform: translate(-1px, -1px);
  box-shadow: inset 1px 1px 0px #4a4e66, 3px 3px 0px #000000;
}

.copy-badge-btn:active {
  transform: translate(1px, 1px);
  box-shadow: inset 1px 1px 0px #1a1b24, 1px 1px 0px #000000;
}

