/* Base styles – mobile first */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    font-size: 12px;
  }
  
  body {
    font-family: "stinger-variable", sans-serif;
    background: white;
    color: #000;
    line-height: 1.4;
  }
  
  header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    background: transparent; /* Kein Hintergrund */
    position: absolute; /* Über dem intro-Bereich */
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;  
    }

    .footer {
    width: 100%;
    position: relative;
    }
    
    .footer-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    }
  
  .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
    background-image: url(img/Ringe.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .intro h1 {
    font-size: 4.5rem; /* größerer Text für mobile */
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 3rem;
  }
  
  .subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 6rem;
  }
  
  
  .play-button {
    font-size: 1.2rem;
    padding: 1rem 1.8rem;
    background: #2CE2EF;;
    color: #F18B45;
    border: none;
    border-radius: 20px;
    padding: 0.7rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: none;
  }
  
  .truth {
    color: #2CE2EF;;
  }
  
  .or {
    color: #000;
  }
  
  .dare {
    color: #F18B45;
  }
  
 
  .game-section {
    position: relative;
    padding: 4rem 3rem; /* mehr Raum oben/unten */
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 20%, rgba(44, 226, 239, 1) 20%, rgba(44, 226, 239, 1) 55%, rgba(241, 139, 69, 1) 55%, rgba(241, 139, 69, 1) 90%, rgba(255, 255, 255, 1) 90%);
  }
  

  .button-overlay {
    position: absolute;
    bottom: 7%; /* unteres Viertel */
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .truth-button,
  .dare-button {
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 20px;
    padding: 0.8rem 2.5rem;
    box-shadow: 4px 4px 0 white;
    cursor: pointer;
  }
  
  .truth-button {
    background: #2CE2EF;;
    color: white;
  }
  
  .dare-button {
    background: #F18B45;
    color: white;
  }

  .chat-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    z-index: 2;
  }
  
  .chat-img {
    width: 115%;
    max-width: 380px;
    border-radius: 3rem;
    margin-top: -40px; /* höher ziehen ins weiße */
  }
  
  /* Mobile Standardmäßig */
  .mobile-only {
    margin-top: -90px; /* oder fein abstimmen mit -30px, -50px etc. */
  }

  .desktop-only {
    display: none;
  }
  
  .chat-bubbles {
    position: absolute;
    left: 0;
    right: 0;
    top: 4%; /* Startpunkt der Bubbles */
    bottom: 35%; /* Platz für Buttons lassen */
    padding: 0px 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    z-index: 1;
  }
  
  .bubble {
    max-width: 85%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1.3;
    box-shadow: 2px 2px 0 #000;
  }
  
  .bubble.truth {
    background-color: #2CE2EF;
    align-self: flex-start;
  }
  
  .bubble.dare {
    background-color: #F18B45;
    align-self: flex-end;
  }
  .language-button {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    border: none;
    background: #F18B45;
    color: white;
    border-radius: 20px;
    cursor: pointer;
  }

  #language-select {
    padding: 8px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
  }


.language-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.language-modal-content {
  background: #2CE2EF;
  padding: 65px 6rem;
  border-radius: 10px;
  text-align: center;
}

.language-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.language-modal-content li {
  font-size: 2rem;
  margin: 0.8rem 0;
  cursor: pointer;
}

.language-modal-content li:hover {
  text-decoration: underline;
}

.language-modal-content h2 {
  font-size: 2rem; /* Schriftgröße anpassen */
  font-weight: bold; /* Optional: Fett machen */
  margin-bottom: 2rem; /* Optional: Abstand nach unten */
}

.star {
  display: none;
}

  /* Tablbet styles */
@media (min-width: 768px) {
    html, body {
      font-size: 20px;
    }
    .footer-img {
      margin-top: -20px; /* Verschiebt das Bild leicht nach oben */
    }

  .intro {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
      min-height: 95vh; /* Füllt den ganzen Bildschirm */
    
      background-image: url(img/Ringe.svg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    
      text-align: center;
      padding: 2rem 1rem;
    }
  .play-button {
      font-size: 1.2rem;
      padding: 1rem 1.8rem;
      background: #2CE2EF;;
      color: #F18B45;
      border: none;
      border-radius: 20px;
      padding: 0.7rem 1.2rem;
      font-weight: bold;
      cursor: pointer;
      display: block;
    }
  .game-section {
      padding: 2rem 2rem; /* mehr Raum oben/unten */
      background: #FFF;
      background: linear-gradient(0deg, rgba(44, 226, 239, 1) 55%, rgba(241, 139, 69, 1) 55%, rgba(241, 139, 69, 1) 100%);
      justify-content: center;
      display: none;
    }
    
  .game-section.active {
      display: block;
    }

  .chat-image-wrapper {
      position: relative;
      display: flex;
      justify-content: center;
      margin-bottom: 2rem;
      margin-top: 2rem;
    }
    
  .chat-img {
      max-width: 100%;
      height: auto;
    }
    
  .truth-button,
  .dare-button {
      width: auto;
      min-width: 120px;
    }

  .mobile-only {
        display: none;
    }

  .desktop-only {
        display: block;
      }

  .button-overlay {
        position: absolute;
        bottom: 7%;
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }
  
  .truth-button,
  .dare-button {
      font-size: 1.2rem;
      font-weight: bold;
      border-radius: 20px;
      padding: 0.8rem 3rem;
      box-shadow: 4px 4px 0 white;
      cursor: pointer;
      }

  .chat-bubbles {
    position: absolute;
    left: 0;
    right: 0;
    top:10%;
    bottom: 25%;
    padding: 0px 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    z-index: 1;
  }
  .bubble {
    max-width: 90%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow: 2px 2px 0 #000;
  }
    .star {
    display: block;
    position: absolute;
    width: 40px; /* oder was passt */
    height: auto;
  }

  .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 5;
  }

  /* Einzelne Positionen */
  .star1 { top: 14%; right: 5%; }
  .star2 { top: 17%; left: 12%; }
  .star3 { top: 42%; right: 10%; }
  .star4 { bottom: 40%; left: 18%; }
  .star5 { bottom: 28%; right: 25%; }
  .star6 { bottom: 15%; left: 35%; }
}
  
@media (min-width: 1024px) {
  html {
    font-size: calc(25px + (100vw - 1024px) * 0.01); /* Dynamische Skalierung */
  }

  .play-button {
    font-size: 1.2rem;
    padding: 1rem 1.8rem;
    background: #2CE2EF;
    color: #F18B45;
    border: none;
    border-radius: 20px;
    padding: 0.7rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
  }

  .intro h1 {
    font-size: 5rem;
  }

  .subtitle {
    font-size: 2rem;
  }
}