/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #fff;
  background-color: #0d0d0d;
  overflow-x: hidden;
}

/* Video Hintergrund */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* -------------------- NAVBAR -------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
}

.logo img {
  height: 30px;
  filter: drop-shadow(0 0 0px white);
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 60px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff9900;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  width: 24px;
  height: 18px;
  cursor: pointer;
  gap: 3px; /* gleichmäßiger Abstand */
  align-items: center; /* zentriert horizontal */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 20px 20px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 200px;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    justify-content: flex-start; /* nach links verschoben */
    align-items: center;
    padding-left: 20px; /* Abstand vom linken Rand */
    transition: right 0.4s ease;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 70px;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8.5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8.5px);
  }
}

/* -------------------- HOME - TITEL -------------------- */
.hero {
  height: auto;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 200px;
}

.hero-content h1 {
  font-size: 5.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
}

.h1span {
  color: #ff9900;
}

.hero-content h1 .newzeile {
  display: none;
}

.hero-content p {
  font-size: 1.6rem;
  color: #ccc;
  letter-spacing: 1px;
}

/* -------------------- HOME - INFOS -------------------- */
.info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px; /* breiter als vorher */
  margin: -120px auto 0 auto;
  padding: 0 20px 150px 20px;
  gap: 0; /* wir regeln die vertikale Lücke separat */
}

/* Einzelne Info-Blöcke */
.info {
  display: flex;
  width: 100%;
  margin-bottom: 70px;
}

/* Desktop Zickzack */
@media (min-width: 768px) {
  .info-container {
    flex-direction: column;
  }

  .info:nth-child(odd) {
    justify-content: flex-end;  /* rechts */
  }

  .info:nth-child(even) {
    justify-content: flex-start; /* links */
  }

  /* Textausrichtung */
  .info:nth-child(odd) .text {
    text-align: left;
  }

  .info:nth-child(even) .text {
    text-align: right;
  }
}

/* Text-Breite */
.info .text {
  max-width: 500px; /* kleiner als 50%, damit sie nicht überlappen */
}

/* Überschriften & Text */
.info h2 {
  font-size: 2rem;
  color: #ff9900;
  text-transform: lowercase;
  margin-bottom: 14px;
  font-weight: 600;
}

.info p {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #e0e0e0;
}
/* -------------------- GAMES PAGE -------------------- */
/* Kein Video, stattdessen fixes Bild */
.bg-image {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://webworx94.github.io/morepaingames/media/controller.jpg") center center / cover no-repeat;
  z-index: -2;
}
.bg-image2 {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://webworx94.github.io/morepaingames/media/like.jpg") center center / cover no-repeat;
  z-index: -2;
}
.bg-image3{
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://webworx94.github.io/morepaingames/media/keyboard.jpg") center center / cover no-repeat;
  z-index: -2;
}
/* Hero für Games */
.games-hero {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.games-hero-content h1 {
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255,153,0,0.6);
}
.games-hero-content a {
  color: #ff9900;
}

.h2description {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ccc;
}

/* Hauptcontainer */
.games-container {
  max-width: 1200px;
  margin: -150px auto 0 auto;
  padding: 50px 20px 200px 20px;
  display: flex;
  flex-direction: column;
  gap: 200px;
}

/* Game-Block Layout */
.game-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.game-block.left-text .game-text { order: 1; }
.game-block.left-text .game-gallery { order: 2; }
.game-block.right-text .game-gallery { order: 1; }
.game-block.right-text .game-text { order: 2; }

/* Text */
.game-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.game-text h2 {
  font-size: 2rem;
  color: #ff9900;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.game-text p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin-bottom: 15px;
}

/* Steam-Link */
.steam-link {
  display: inline-block;
  margin-top: 8px;
  color: #ff9900;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.steam-link:hover {
  color: #fff;
}

/* Galerie */
.game-gallery {
  flex: 1;
  min-width: 250px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-display {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-display iframe,
.gallery-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.gallery-thumbs img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.gallery-thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.gallery-thumbs img.active {
  opacity: 1;
  border: 2px solid #ff9900;
}

.lueckenfueller {
  text-align: center;
  margin: -50px auto 150px auto;
  padding: 0 20px;
}
.lueckenfueller2 {
  margin: -100px auto 120px auto;
}
.lueckenfueller h3 {
  font-size: 1.8rem;
  color: #ccc;
  font-weight: 500;
}
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap; /* für Mobile */
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.icon-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* macht Icons weiß auf dunklem Hintergrund */
}

.icon-item p {
  font-size: 1rem;
  color: #ccc;
  font-weight: 400;
}

.icon-item:hover img {
  transform: scale(1.1);
}
.icon-item:hover img {
  transform: scale(1.1);
  filter: brightness(0) invert(0.6) sepia(1) saturate(5) hue-rotate(-25deg);
}
.icon-item:hover p {
  color: #ff9900;
}
/* -------------------- NEWSLETTER -------------------- */
#newsletter {
  padding: 0px 20px 120px 20px;
  margin-top: -160px;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-container h2 {
  font-size: 2rem;
  color: #ff9900;
  font-weight: 700;
  margin: -100px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255,153,0,0.5);
}

.newsletter-container p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 14px 18px;
  border: 1px solid #ff9900;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  width: 60%;
  min-width: 250px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: #ccc;
}

.newsletter-form input[type="email"]:focus {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255,153,0,0.6);
}

.newsletter-form button {
  padding: 17px 30px;
  background-color: #ca7300;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
  background-color: #ff9100;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
  .newsletter-container h2 {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 14px;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }
}
/* -------------------- KONTAKT -------------------- */
.contact-form {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  margin-top: -250px;
}

.form-container {
  width: 100%;
  max-width: 1200px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-width {
  width: 100%;
}

.form-container label {
  font-weight: 500;
  margin-bottom: 8px;
}

.form-container input, textarea {
  padding: 12px;
  border: none;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
}

.form-container textarea {
  resize: vertical;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.captcha-container {
  transform: scale(1);
  transform-origin: left;
}

.send-btn {
  background: #ca7300;
  color: white;
  font-weight: 700;
  border: none;
  padding: 14px 50px;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 1px;
  transition: background 0.2s ease;
}

.send-btn:hover {
  background: #ff9100;
}
/* -------------------- FOOTER -------------------- */
.footer {
  background-color: #c57600;
  width: 100%;
  color: #fff;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* für mobile Ansicht */
  gap: 40px;
}

/* Spalten */
.footer-column {
  flex: 1;
  min-width: 180px;
}

/* Überschriften */
.footer-column h3,
.footer-column h4 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #e4e4e4;
}

/* Logo rechts */
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1); /* falls du sicherstellen willst, dass es weiß bleibt */
}
/* -------------------- SUB/UNSUB -------------------- */
.h1-bye {
  font-size: 4rem;
}

@media (max-width: 1000px) {
  .game-block {
    flex-direction: column;
    gap: 40px;
  }

  .game-text, .game-gallery {
    max-width: 100%;
  }

  .games-hero-content h1 {
    font-size: 3.5rem;
  }

  /* Reihenfolge zurücksetzen */
  .game-block.left-text .game-text,
  .game-block.right-text .game-text {
    order: 1;
  }
  .game-block.left-text .game-gallery,
  .game-block.right-text .game-gallery {
    order: 2;
  }
}

/* Mobile */
@media (max-width: 911px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 150px;
  }
  .hero-content h1 {
    font-size: 4.5rem;
  }
  
  .hero-content h1 .newzeile {
    display: block;
    font-size: 5px;
  }
  .hero-content p {
    font-size: 1.3rem;
  }

  .info {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 50px; /* kleinerer Abstand auf Mobile */
  }

  .info .text {
    max-width: 90%;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    min-width: unset;
  }

  .footer-logo img {
    margin-top: 20px;
  }
}
@media (max-width: 650px) {
  .info-container {
  margin: -20px auto 0 auto;
  }
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-items: center; /* zentriert die Bilder in den Zellen */
  }

  .gallery-thumbs img {
    width: 100%; /* nimmt die volle Breite der Zelle ein */
    height: auto; /* proportional skalieren */
    object-fit: cover;
  }
    .social-icons {
    gap: 50px;
  }

  .icon-item p {
    font-size: 0.9rem;
  }
  .h1-bye {
    font-size: 2.8rem;
  }
}
@media (max-width: 450px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .games-hero-content h1 {
    font-size: 2.7rem;
  }
  .social-icons {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
  .h1-bye {
    font-size: 2.3rem;
  }
}
