* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #000000;
  min-height: 100vh;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 16px;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.header-inner {
  max-width: 1100px;
  margin: 0;
  padding-left: 20px;   /* Logo elegant nach links rücken */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}


.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #ff0000 60%);
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

.hero {
  padding-top: 120px;
  padding-bottom: 20px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.hero h1 {
  font-size: 2.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.project-section {
  max-width: 1100px;
  margin: 0;
  margin-left: 40px;       /* näher am linken Rand */
  padding-top: 30px;       /* weiter oben */
  padding-right: 16px;
  padding-bottom: 140px;
}


.project-section h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.project-card {
  background: radial-gradient(circle at top left, rgba(255, 0, 0, 0.185), transparent 60%),
              radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.18), transparent 55%),
              rgba(0, 0, 0, 0.78);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgb(104, 1, 1);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgb(255, 255, 255);
  border-color: rgb(255, 255, 255);
}

.project-title {
  font-size: 1.05rem;
  margin: 4px 0 4px 0;
}

.project-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.92;
}

.project-thumb {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  object-fit: cover;
  max-height: 150px;
}

.project-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin-bottom: 6px;
}

.project-actions {
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, #e4c590, #ffffff);
  color: #000;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.6);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 20px rgb(0, 255, 17);
}

/* Floating Command Bar */
.floating-bar {
  position: fixed;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  z-index: 30;
}

.floating-btn {
  background: none;
  border: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  padding: 4px 6px;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.floating-btn:hover {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(0, 234, 255, 0.9));
  opacity: 1;
}

.floating-btn .icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
  position: relative;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
}

.icon-games::before,
.icon-addons::before,
.icon-plugins::before,
.icon-tools::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, #000000, #ffffff 70%);
}

.floating-btn .label {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 800px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-tagline {
    font-size: 0.9rem;
  }
  .floating-bar {
    bottom: 20px;
    padding: 8px 12px;
    gap: 10px;
  }
  .floating-btn {
    font-size: 0.6rem;
  }
}

@media (max-width: 600px) {
  .project-section {
    padding-bottom: 100px;
  }
  .floating-bar {
    max-width: 95%;
  }
}

.hero-overlay {
  position: fixed;
  bottom: 40px;
  right: 40px;
  text-align: right;
  z-index: 50;
  color: #fff;
  opacity: 0.85;
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-overlay h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-overlay p {
  margin: 4px 0 0 0;
  font-size: 0.8rem;
  opacity: 0.9;
  max-width: 260px;
}

.brand-logo {
  width: 250px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(255,0,127,0.6))
    drop-shadow(0 0 10px rgba(255,208,0,0.3));
  animation: logoGlow 6s ease-in-out infinite;
}

@keyframes logoGlow {
  0% {
    filter:
      drop-shadow(0 0 6px rgba(255, 0, 127, 0.6))
      drop-shadow(0 0 10px rgba(255, 208, 0, 0.25));
  }
  50% {
    filter:
      drop-shadow(0 0 12px rgba(255, 208, 0, 0.7))
      drop-shadow(0 0 18px rgba(255, 0, 127, 0.45));
  }
  100% {
    filter:
      drop-shadow(0 0 6px rgba(255, 0, 127, 0.6))
      drop-shadow(0 0 10px rgba(255, 208, 0, 0.25));
  }
}

/* Scrollbar komplett ausblenden */
html {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Blasen-Layer */
.bubble-layer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0; /* über Video, unter Content */
}

/* einzelne Blase */
.bubble {
  position: absolute;
  bottom: -150px; /* Start etwas unterhalb des sichtbaren Bereichs */
  width: 60px;
  height: 60px;
  opacity: 0;
  animation: bubbleRise 12s linear forwards;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0.0;
  }
  10% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}
