/* Grundreset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  background-color: #0b0c10;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #cbd5e1;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
  overflow-y: visible !important;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px; /* Höhe für 140x140 Logo */
  background: linear-gradient(90deg, #0b0c10, #1a1f36);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 10px #0099ff,
    0 0 20px #00bfff,
    0 0 30px #00ccff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 4000;
}

/* Logo Link */
#logo-link {
  height: 140px;
  display: flex;
  align-items: center;
}

#logo-link img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* Navigation */
nav {
  position: fixed;
  top: 160px; /* unter Header */
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0b0c10, #1a1f36);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 8px #0099ff,
    0 0 15px #00bfff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  overflow: visible;
  z-index: 4500;
  color: #00bfff;
  font-weight: 600;
  font-size: 1rem;
}

/* Menü Basis */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  position: relative;
}

.nav-menu > li {
  position: relative;
}

/* Links Styling */
.nav-menu a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow:
    0 0 5px #00bfff,
    0 0 10px #0099ff;
  transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: block;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #fff;
  background: linear-gradient(90deg, #00bfff, #fff);
  box-shadow:
    0 0 10px #00bfff,
    0 0 20px #00ccff,
    0 0 30px #0099ff;
  outline: none;
}

/* Dropdown Styling */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #111624, #0b0c10);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 8px #0099ff,
    0 0 15px #00bfff;
  display: none;
  flex-direction: column;
  min-width: 150px;
  padding: 0.5rem 0;
  z-index: 5000;
}

/* Dropdown Items */
.dropdown li {
  list-style: none;
}

.dropdown li a {
  padding: 8px 16px;
  font-weight: 500;
  box-shadow: none;
  border-radius: 0;
}

.dropdown li a:hover,
.dropdown li a:focus {
  background: linear-gradient(90deg, #00bfff, #fff);
  color: #000;
  box-shadow: none;
}

/* Dropdown anzeigen beim Hover und Fokus */
.nav-menu > li:hover > .dropdown,
.nav-menu > li:focus-within > .dropdown {
  display: flex;
}

/* Main Content */
main {
  position: relative;
  z-index: 1;
  margin-top: 210px; /* Header + Nav Höhe */
  padding: 1.5rem;
  min-height: calc(100vh - 210px);
  border-radius: 12px;
  background: linear-gradient(135deg, #111624, #0b0c10);
  box-shadow:
    inset 0 0 15px #003366,
    0 0 30px #0055cc;
  overflow: visible !important;
}

/* Scrollbar für Nav */
nav::-webkit-scrollbar {
  height: 6px;
}

nav::-webkit-scrollbar-track {
  background: #0b0c10;
  border-radius: 3px;
}

nav::-webkit-scrollbar-thumb {
  background: #0099ff;
  border-radius: 3px;
}

/* Drei Spalten Section */
#three-columns-section {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1700px; /* 3 x 540 + Zwischenräume */
  margin: 2rem auto;
  box-sizing: border-box;
}

#three-columns-section .column {
  width: 540px;
  height: 640px;
  background: linear-gradient(135deg, #111624, #0b0c10);
  border: 2px solid #0099ff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow:
    0 0 10px #0099ff,
    0 0 20px #00bfff;
  color: #cbd5e1;
  overflow: auto;
  box-sizing: border-box;
}

#three-columns-section .column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  #three-columns-section {
    flex-direction: column;
    align-items: center;
  }
  #three-columns-section .column {
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
  }
}

/* Webplayer Button */
#webplayer-button {
  background-color: #007BFF;
  color: #fff;
  border: 2px solid #007BFF;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 10px transparent;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  user-select: none;
}

#webplayer-button:active {
  box-shadow:
    0 0 15px #00bfff,
    0 0 30px #00ccff;
  background-color: #0056b3;
  border-color: #00bfff;
}

/* Localplayer Button */
#localplayer-button {
  background-color: #007BFF;
  color: #fff;
  border: 2px solid #007BFF;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 10px transparent;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  user-select: none;
}

#localplayer-button:active {
  box-shadow:
    0 0 15px #00bfff,
    0 0 30px #00ccff;
  background-color: #0056b3;
  border-color: #00bfff;
}

/* Neon-Trennlinie */
.neon-divider {
  border: none;
  height: 2px;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  background: linear-gradient(90deg, #00bfff, #ffffff, #00bfff);
  box-shadow:
    0 0 8px #00bfff,
    0 0 15px #0099ff;
  border-radius: 12px;
}

/* Button Container */
.button-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Umrandeter Content-Container mit Neon-Stil */
.content-wrapper {
  width: 100%;
  max-width: none;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #0b0c10, #111624);
  border: 3px solid #0099ff;
  border-radius: 15px;
  box-shadow:
    0 0 20px #0099ff,
    inset 0 0 15px #003366;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Überschriften mit Neon-Gradient */
.content-wrapper h1,
.content-wrapper h2 {
  background: linear-gradient(90deg, #00bfff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px #00bfff,
    0 0 15px #0099ff;
  margin-bottom: 1rem;
}

.content-wrapper h1 {
  font-size: 2rem;
}

.content-wrapper h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Responsive für Content Wrapper */
@media (max-width: 600px) {
  .content-wrapper {
    padding: 1rem;
    margin: 1rem;
  }
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  header {
    height: 110px;
    padding: 0 1rem;
    justify-content: center;
  }

  #logo-link {
    height: 100px;
  }

  #logo-link img {
    width: 100px;
    height: 100px;
  }

  nav {
    top: 110px;
    height: auto;
    font-size: 0.9rem;
    justify-content: flex-start;
    padding: 0 1rem;
  }

  main {
    margin-top: 150px;
    padding: 1rem;
  }

  #three-columns-section {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0.5rem 1rem;
  }

  #three-columns-section .column {
    width: 90% !important;
    height: auto !important;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #three-columns-section .column a {
    display: block;
    margin: 0 auto 1rem auto;
  }

  #three-columns-section .column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }

  #webplayer-button,
  #localplayer-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-radius: 30px;
  }

  .neon-divider {
    margin: 1.5rem auto;
    max-width: 90%;
  }

  .content-wrapper {
    max-width: 100% !important;
    margin: 1rem;
    padding: 1rem;
  }
}
