/* -------------------------------------------------
   Grundlayout & Farben
---------------------------------------------------*/

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #0b0c10 0%, #1f2833 100%);
  color: #c5c6c7;
}

header {
  text-align: center;
  background: #45a29e;
  color: #fff;
  padding: 40px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

header h1 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.player-photo {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #66fcf1;
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.6);
}

/* -------------------------------------------------
   Navigation (Desktop + Mobile)
---------------------------------------------------*/

nav, #main-nav {
  background: #1f2833;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 0;
}

nav a, #main-nav a {
  color: #66fcf1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover, #main-nav a:hover {
  background: rgba(102,252,241,0.1);
  border-radius: 5px;
  color: #fff;
}

#main-nav a.active {
  color: #66fcf1;
  font-weight: 600;
  border-bottom: 2px solid #66fcf1;
}

#nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #66fcf1;
  cursor: pointer;
  margin: 10px;
  z-index: 2000;
}

@media (max-width: 768px) {
  #nav-toggle {
    display: block;
    position: fixed;
    top: 15px;
    right: 20px;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    background: #0b0c10;
    padding: 10px;
    position: fixed;
    top: 60px;
    right: 0;
    width: 70%;
    border-left: 2px solid #66fcf1;
    z-index: 1500;
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav a {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #1f2833;
  }
}

/* -------------------------------------------------
   Intro-Box
---------------------------------------------------*/

section.intro {
  max-width: 900px;
  margin: 40px auto;
  background: #0b0c10;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border: 1px solid transparent;
  background: linear-gradient(#0b0c10,#0b0c10) padding-box,
              linear-gradient(90deg,#45a29e,#66fcf1) border-box;
}

h2 {
  color: #66fcf1;
  border-bottom: 2px solid #45a29e;
  padding-bottom: 10px;
}

@media (max-width: 600px) {
  header h1 { font-size: 1.8em; }
  section.intro { margin: 20px; padding: 20px; }
}

/* -------------------------------------------------
   Bilder & Video-Thumbnails
---------------------------------------------------*/

.image-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.image-row img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.image-row img:hover {
  transform: scale(1.05);
}

.timeline-img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.timeline-img.wide {
  width: 200%;
  max-width: none;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.video-thumb:hover {
  transform: scale(1.03);
}

.video-thumb::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #66fcf1;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumb:hover::after {
  opacity: 1;
}

/* -------------------------------------------------
   Timeline (optimiert & fix für abgeschnittene Items)
---------------------------------------------------*/

.timeline {
  max-width: 900px;
  margin: 40px auto;
  position: relative;
  padding-left: 30px;
  overflow: visible;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#45a29e, #66fcf1);
  border-radius: 2px;
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #66fcf1;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.6);
}

.timeline-item h3 {
  margin: 0;
  color: #66fcf1;
  font-size: 1.45em;
}

.timeline-item p {
  margin: 5px 0 0 0;
  color: #c5c6c7;
  line-height: 1.4;
}

/* -------------------------------------------------
   Footer
---------------------------------------------------*/

footer {
  text-align: center;
  padding: 20px;
  background: #1f2833;
  color: #c5c6c7;
  font-size: 0.9em;
  border-top: 1px solid #45a29e;
}

/* -------------------------------------------------
   Links allgemein
---------------------------------------------------*/

a {
  color: #66fcf1;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #45a29e;
  text-decoration: underline;
}

.profile-section a {
  font-size: 1.1em;
}

.profile-section {
  max-width: 900px;
  margin: 40px auto;
  background: #0b0c10;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border: 1px solid transparent;
  background: linear-gradient(#0b0c10,#0b0c10) padding-box,
              linear-gradient(90deg,#45a29e,#66fcf1) border-box;
}
