* {
  -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

body {
  font-family: "Inter", sans-serif;
  background: #121111;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}



/* PLEASEEE JUST WORKKKKKKK */

/* styles.css */

.center {
  /* Remove all fixed positioning and transforms from here */
  /* position: fixed; */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */

  color: #FFF;
  font-size: 200%;
  text-align: center;
  /* Use these for initial centering of its immediate children */
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  min-height: 100vh;
  /* Ensure it takes at least full viewport height */
  flex-direction: column;
  /* Stack children vertically */
}

h2 {
  font-size: 200%;
  text-align: center;
}

.green {
  color: #CBFFBA;
}

.blue {
  color: #DCB4FF;
  /* I KNOW THIS IS NOT A BLUE BUT I LIKE IT */
}

/* NAVIGATION BAR */

.nav {
  font-family: "Amiri", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 175%;
  color: #FFF;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  text-decoration: none;
  z-index: 1100;
}

a {
  color: inherit;
  text-decoration: inherit;
}

.star {
  color: #ffffff9a;
  font-size: 100%;
  font-style: normal;
  cursor: default;
  padding-left: 2vh;
  padding-right: 2vh;
}

.fab {
  display: none;
  position: fixed;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(216, 216, 216, 0.12);
  background: rgba(39, 39, 39, 0.74);
  box-shadow: 0px 12px 84.7px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4.5px);
  justify-content: center;
  align-items: center;
  z-index: 1100;
  cursor: pointer;
  transition: background 0.2s, transform 0.4s cubic-bezier(.4, 2, .6, 1);
}

.fab.open {
  transform: translateX(-50%) rotate(45deg);
}

.fab img {
  width: 32px;
  height: 32px;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
}

.fab.open img {
  transform: rotate(90deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(18, 17, 17, 0.7);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(.4, 2, .6, 1), backdrop-filter 0.6s cubic-bezier(.4, 2, .6, 1);
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
  backdrop-filter: blur(8px);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  transition: opacity 0.6s cubic-bezier(.4, 2, .6, 1), transform 0.6s cubic-bezier(.4, 2, .6, 1);
}

.mobile-nav-links.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.mobile-nav-links a {
  margin: 18px 0;
  font-size: 180%;
  color: #FFF;
  text-decoration: none;
  font-family: "Amiri", serif;
  font-style: italic;
  transition: color 0.2s;
  opacity: 0;
  transform: translateY(60px);
  transition:
    color 0.2s,
    opacity 0.6s cubic-bezier(.4, 2, .6, 1),
    transform 0.6s cubic-bezier(.4, 2, .6, 1);
}

.mobile-nav-links.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links.open a:nth-child(1) {
  transition-delay: 0.15s;
}

.mobile-nav-links.open a:nth-child(2) {
  transition-delay: 0.3s;
}

.mobile-nav-links.open a:nth-child(3) {
  transition-delay: 0.45s;
}

.mobile-nav-links.open a:nth-child(4) {
  transition-delay: 0.6s;
}

.mobile-nav-links a {
  transition-delay: 0s;
}

.ad-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18,17,17,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ad-popup-fadein 0.5s;
}
@keyframes ad-popup-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ad-popup-content {
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 8px 48px #000a;
  padding: 0;
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad-popup-image {
  max-width: 80vw;
  max-height: 60vh;
  border-radius: 14px 14px 0 0;
  display: block;
}
.ad-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: #232325;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.7em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.ad-popup-close:hover {
  background: #333;
}






























/* Responsive: show FAB and hide nav on small screens */
@media (max-width: 600px) {
  .nav {
    display: none !important;
  }

  .fab {
    display: flex;
  }
}




















































/* Startzustand */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero h1 {
  font-size: 3.5rem;
  color: #d9a8ff;
  font-weight: bold;
  margin-bottom: 2rem;
}



.hero .content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: all 1s ease;

  position: relative;
  z-index: 2;
}




.hero .content h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #d9a8ff;
  font-weight: bold;
  transition: transform 1.2s ease 0.75s;
  z-index: 2;
}



/*
.hero .content h1 {
  font-size: 3rem;
  color: #d9a8ff;
  font-weight: bold;
  transition: all 1s ease;
  text-align: center;
}

*/

/* Bild über ::after */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  background-image: url('cover.jpg');
  /* Pfad anpassen */
  background-size: cover;
  background-position: center;
  transform: translate(-50%, -50%) scale(1.1);
  filter: blur(30px);
  opacity: 0;
  transition: transform 1s ease 0.3s, filter 1.5s ease 0.3s, opacity 2s ease 0.3s;


  z-index: 1;
  pointer-events: none;
}

/* GELADENER Zustand */
.hero.loaded::after {
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px);
  opacity: 1;
}

.hero.loaded .content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding-left: 5vw;
  padding-top: 15vh;
  position: relative;
  z-index: 2;
}



/*

.hero.loaded .content h1 {
  text-align: left;
  margin-left: 5vw;
}

*/
.hero.loaded .content h1 {
  transform: translate(0, 0);
  top: 15vh;
  left: 5vw;
}













/* Scroll Gradient Effect */

.scroll-gradient {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 999;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.scroll-gradient.bottom {
  bottom: 0;
  background: linear-gradient(to top, #121111f2, rgba(18, 17, 17, 0));
}















.cover-image {
  max-width: 40vw;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 5vw;
  margin-top: -5vh;
}

.text-section {
  padding: 3rem 5vw;
  background-color: #111;
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  width: 100%;
  max-width: 700px;
  margin: 0 auto; /* Center horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.text-section {
  width: 100%;
  max-width: 700px;
}

.amiri-txt {
  font-family: "Amiri", serif;
  font-weight: 400;
  color: #FFF;
  font-size: 3rem;
  margin-top: 1rem;
}

.inter-txt {
  font-family: "Inter", serif;
  font-weight: 400;
  color: #FFF;
  font-size: 3rem;
  margin-top: 1rem;
}

.star-txt {
  font-family: sans-serif;
  font-weight: 400;
  color: #FFF;
  font-size: 3rem;
  margin-top: 1rem;
}




















.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero .content h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #d9a8ff;
  font-weight: bold;
  transition: transform 1s ease 0.4s, top 1s ease 0.4s, left 1s ease 0.4s;
  z-index: 2;
}



.hero.loaded .content h1 {
  position: absolute;
  top: 50%;
  left: 5vw;
  /* transform: translateY(-50%); */
}


























/* MOBILE THINGS STUFF IDKKKKKKK */





@media (max-width: 600px) {

  /*
  .hero .content h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  transition: top 1s ease, transform 1s ease;
}

.hero.loaded .content h1 {
  top: 5vh;
  transform: translate(-50%, 0);
}

  .hero::after .content h1 {
  transform: translate(0, -50%);

}*/

 .hero .content h1 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 4rem;
    transition: top 1s ease, transform 1s ease;
  }

  .hero.loaded .content h1 {
    top: 5vh;
    transform: translateY(0);
  }







  


    .hero.loaded .content {
    width: 100vw;
  }

  .hero {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .hero::after {
    background-image: url('mobile.webp');
    background-position: center center;
    background-size: cover;
    transform: translate(-50%, -50%) scale(1.1);
    filter: blur(30px);
    opacity: 0;
    transition: transform 1.2s ease 0.3s, filter 1.2s ease 0.3s, opacity 1.4s ease 0.3s;
  }

  .hero.loaded::after {
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0px);
    opacity: 1;
  }

  .fab {
    display: flex;
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
    transition: opacity 0.6s ease 1s, transform 0.6s ease 1s;
  }

  .fab.visible {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
