/* Body */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  color: #00f0ff;
  text-align: center;
}

/* Canvas Hintergrund */
#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
  background: radial-gradient(circle at top, #000011, #000000);
}

/* Header */
header {
  margin-bottom: 4rem;
  padding: 2rem;
}

header h1 {
  font-size: 4rem;
  text-shadow: 0 0 25px #00f0ff, 0 0 45px #b500ff;
  animation: headerGlow 2s infinite alternate;
  margin: 1rem 0;
}

@keyframes headerGlow {
  0% { text-shadow:0 0 20px #00f0ff,0 0 35px #b500ff; }
  50% { text-shadow:0 0 40px #00f0ff,0 0 60px #b500ff; }
  100% { text-shadow:0 0 25px #00f0ff,0 0 45px #b500ff; }
}

header p {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

/* Download Button */
.download-btn {
  display: inline-block;
  margin: 2rem auto;
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  background: linear-gradient(45deg, #00f0ff, #b500ff, #00f0ff);
  background-size: 200% 200%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 15px #00f0ff, 0 0 30px #b500ff inset;
  transition: all 0.3s ease-in-out;
  animation: gradientPulse 3s ease infinite;
}

.download-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px #00f0ff, 0 0 60px #b500ff inset;
}

@keyframes gradientPulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Modules Overview */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.feature-card {
  background: rgba(0,0,0,0.5);
  border: 2px solid #00f0ff;
  border-radius: 12px;
  padding: 2rem;
  width: 400px;
  text-align: center;
  box-shadow: 0 0 20px #00f0ff inset;
  transition: 0.3s;
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 1.2rem;
}

.feature-card:hover {
  box-shadow: 0 0 30px #00f0ff, 0 0 50px #b500ff inset;
  transform: translateY(-5px);
}

/* Screenshots */
.screenshots {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.screenshots img {
  width: 350px;
  border-radius: 5px;
  box-shadow: 0 0 25px #00f0ff, 0 0 50px #b500ff inset;
  transition: 0.3s;
}

.screenshots img:hover {
  box-shadow: 0 0 40px #00f0ff, 0 0 70px #b500ff inset;
  transform: scale(1.05);
}

.overlay {
  display: none;
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.overlay:target { display: flex; }
.overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 0 40px #00f0ff, 0 0 80px #b500ff;
}

/* Last Release Box */
.last-release {
  margin: 4rem auto;
  max-width: 900px;
  text-align: center;
}

.last-release h2 {
  font-size: 2.5rem;
  color: #00f0ff;
  text-shadow: 0 0 20px #00f0ff, 0 0 40px #b500ff;
  margin-bottom: 2rem;
  animation: headerGlow 2s infinite alternate;
}

.release-box {
  background: rgba(0,0,0,0.5);
  border: 2px solid #00f0ff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 25px #00f0ff inset;
  text-align: left;
}

.release-box p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  margin: 4rem 0;
  font-size: 1.2rem;
  color: #00f0ff;
  text-align: center;
}

footer a {
  color: #00f0ff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

footer a:hover {
  text-shadow: 0 0 15px #00f0ff, 0 0 30px #b500ff;
}
/* ===== Header Logo (append to end of style.css) ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.4rem 1rem;
  z-index: 2; /* above canvas */
  position: relative;
}

/* Rounded animated logo */
.header-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px auto;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.18), 0 0 30px rgba(0,240,255,0.06) inset;
  animation: logoPulse 4s ease-in-out infinite, logoFloat 8s ease-in-out infinite;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Pulsing glow */
@keyframes logoPulse {
  0%   { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,200,255,0.25)); }
  50%  { transform: scale(1.04); filter: drop-shadow(0 0 28px rgba(0,200,255,0.75)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,200,255,0.25)); }
}

/* Slow floating tilt */
@keyframes logoFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-6px) rotate(1.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Hover/Focus effect (desktop & keyboard accessible) */
.header-logo:hover,
.header-logo:focus {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 18px 60px rgba(0,200,255,0.45), 0 0 80px rgba(181,0,255,0.18) inset;
  outline: none;
}

/* Header text (keeps neon style) */
.header-text h1 {
  font-size: 3.2rem;
  margin: 0;
  color: #00f0ff;
  text-shadow: 0 0 18px #00f0ff, 0 0 36px #b500ff;
  line-height: 1;
}

.header-text p {
  margin: 6px 0 0;
  color: #cfefff;
  opacity: 0.95;
  font-size: 1.05rem;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header-logo {
    animation: none;
    transition: none;
    transform: none;
  }
  @keyframes logoPulse { from { } to { } }
  @keyframes logoFloat { from { } to { } }
}
/* The screenshot gallery */
.screenshots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Container */
.screenshot-container {
  position: relative;
}

/* Hide the checkbox (it controls enlarge) */
.screenshot-toggle {
  display: none;
}

/* Small preview image */
.screenshots img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover glow */
.screenshots img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.45), 0 0 60px rgba(181, 0, 255, 0.25);
}

/* Fullscreen enlarged image (hidden default) */
.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* The big image */
.fullscreen-image img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.6);
  cursor: pointer;
}

/* When checkbox is checked → show fullscreen image */
.screenshot-toggle:checked + label + .fullscreen-image {
  opacity: 1;
  pointer-events: all;
}
