/* === BASE RESET & LAYOUT === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  background: black;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('assets/bg.webp') center center / cover no-repeat;
  background-color: #3a3434;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

#background {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image: url('assets/bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* === HEADER === */
header {
  text-align: center;
  padding: 20px;
}

#logoVideo,
#logoImage {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* === NAVIGATION MENU === */
nav {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 20px;
}

nav button {
  background: transparent;
  border: 2px solid #0ff;
  border-radius: 20px;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 5px;
  text-align: center;
  text-shadow: 0 0 10px #0ff;
}

nav button img {
  width: 120px;
  height: 120px;
}

nav button:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px #0ff;
}

nav button.active {
  border-color: #ff0;
  text-shadow: 0 0 10px #ff0;
}

/* === MAIN CONTENT SECTIONS === */
main {
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

/* === LINKTREE STYLE === */
.link-entry {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  border: 2px solid #0ff;
  border-radius: 12px;
  padding: 20px 20px;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px #0ff;
}

.link-entry i {
  font-size: 2.0em;
  text-shadow: 0 0 10px #0ff;
  margin-right: 12px;
  flex-shrink: 0;
}

.link-entry:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px #0ff;
}

.link-entry span {
  font-size: 1.5em;
  font-weight: bold;
}

/* === CREDITS GALLERY STYLE === */
.credit-entry {
  background: rgba(30, 30, 30, 0.6);
  border: 2px solid #f0f;
  border-radius: 12px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px #f0f;
}

.credit-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.credit-entry:hover {
  box-shadow: 0 0 15px #f0f;
}

.credit-content {
  margin-top: 10px;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  flex-direction: row;
}

.credit-entry.open .credit-content {
  display: flex;
}

.credit-content img,
.credit-content video {
  flex: 1 1 calc(33% - 10px);
  max-width: calc(33% - 10px);
  min-width: 140px;
  border-radius: 10px;
  border: 2px solid #f0f;
  cursor: pointer;
  transition: transform 0.3s;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.credit-content img:hover
.credit-content video:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #f0f;
}

.socials-button {
  background: transparent;
  color: #f0f;
  border: 2px solid #f0f;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  text-shadow: 0 0 5px #f0f;
  transition: all 0.3s ease;
}

.socials-button:hover {
  background: rgba(255, 0, 255, 0.1);
  box-shadow: 0 0 15px #f0f;
}

.credit-content .socials-button {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 15px;
  display: flex;
  justify-content: center;
}


/* === FOOTER === */
footer {
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 50;
  pointer-events: none; /* let clicks through except on child elements */
}

.footer-left,
.footer-right {
  pointer-events: auto; /* allow clicking on mascot + impressum */
}

/* Mascot bottom left */
.footer-left {
  position: fixed;
  bottom: 0px;
  left: 0px;
  max-width: 650px;
  height: auto;
  z-index: 0;
}

/* Impressum bottom right */
.footer-right {
  position: fixed;
  bottom: 0px;
  right: 100px;
  max-width: 300px;
  height: auto;
  z-index: 1;
}

.footer-right img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.footer-right img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px #fff);
}

/* === MOBILE ADJUSTMENTS === */
@media (max-width: 768px) {
  .footer-left {
    display: none;
  }

  .footer-right {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0px auto 0;
    display: flex;
    justify-content: center;
  }

  .footer-right img {
    max-width: 250px;
  }

  footer {
    position: static;
    flex-direction: column;
    align-items: center;
    padding-bottom: 00px;
  }

  nav {
    flex-direction: row;        
    flex-wrap: wrap;            
    justify-content: center;    
    gap: 15px;                  
  }

  nav button {
    width: auto;
    min-width: 120px;
    flex-direction: column;     
    align-items: center;
    gap: 5px;
    padding: 5px;
  }

  nav button img,
  nav button i {
    width: 120px;
    height: 120px;
  }

  .credit-content img,
  .credit-content video {
    flex: 1 1 calc(50% - 10px); /* 2 pro Zeile */
    max-width: calc(50% - 10px);
  }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === LIGHTBOX === */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border: 3px solid #0ff;
  border-radius: 10px;
  box-shadow: 0 0 20px #0ff;
}

#lightbox-close {
  color: #fff;
  font-size: 2em;
  margin-top: 10px;
  cursor: pointer;
  text-shadow: 0 0 10px #f0f;
}

/* === CONTENT CONTAINER === */
.content-wrapper {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
  border-radius: 16px;
  padding: 30px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  z-index: 1;
  position: relative;
}

/* === IMPRESSUM MODAL === */
#impressum-modal {
  display: none;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: rgba(10, 10, 10, 0.9);
  color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 2px solid #0ff;
  box-shadow: 0 0 20px #0ff;
  text-shadow: 0 0 3px #0ff;
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content .close {
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 2em;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 0 10px #f0f;
}

#lightbox video {
  border: 3px solid #0ff;
  border-radius: 10px;
  box-shadow: 0 0 20px #0ff;
}

.credit-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.credit-title .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

#logoImage {
  display: block;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

/* === Link Font === */
nav button span {
  font-family: 'Chewy', sans-serif;
  font-size: 2.3em;
  letter-spacing: 1px;
  text-shadow: 0 0 5px #0ff;
}