body {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  font-family: "Termina", sans-serif;
  align-items: center;
  background: linear-gradient(40deg, #000000, #19063e);
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  height: 100vh;
  min-height: -webkit-fill-available;
  overflow-y: hidden;
  overflow-x: hidden;
}

html {
  height: 100vh;
  height: -webkit-fill-available;
}

.container {
  z-index: 3;
  max-height: 100vh;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  max-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 25px;
}

/* First logo rule removed - using unified styling below */

/* Logo container styling */
.container > div:last-child {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 200px; /* Add minimum height */
  min-width: 300px; /* Add minimum width */
  /*border: 1px solid rgba(255, 255, 255, 0.1); /* Debug border */
}

/* Unified logo styling */
#logo {
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  display: block; /* Changed from 'none' to 'block' */
  width: 50rem; /* Set explicit width */
  height: 25rem; /* Set explicit height */
  max-width: 400px;
  opacity: 0;
  filter: blur(10px);
  transition: all 2s ease-in-out;
  /*border: 1px solid rgba(255, 0, 0, 0.3); /* Debug border - red */
}

.text {
  font-size: 5vw;
  max-width: 90%;
  color: rgb(255, 255, 255);
  overflow: hidden;
}

#text-part1 {
  font-weight: 700;
  transition: all 0.5s ease-in-out;
  transform: translateY(20px);
}

#text-part2 {
  font-weight: 400;
}

.noise {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;
  opacity: 0.075;
}

#gradient-canvas {
  position: fixed;
  width: 100%;
  height: 100%;
  --gradient-color-1: #2c0c43;
  --gradient-color-2: #d70e5c;
  --gradient-color-3: #170724;
  --gradient-color-4: #1ba3dc;
  --gradient-color-5: #ee7365;
  --gradient-color-6: #3b0340;
  --gradient-color-7: #ef80bb;
  z-index: 0;
  opacity: 0.9;
  filter: blur(0.5em);
}

button {
  background-color: unset;
  border-top-style: unset;
  border-right-style: unset;
  border-bottom-style: unset;
  border-left-style: unset;
  color: white;
  opacity: 50%;
}

.fixed-sound-toggle {
  position: fixed;
  transition: opacity 0.3s;
  bottom: 24px;
  right: 24px;
  cursor: pointer;
  z-index: 1000;
  /*padding: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    box-shadow: 0 0px 10px rgba(255, 255, 255, 0.2);
    */
}

.fixed-sound-toggle:hover {
  opacity: 100%;
}

@media (max-width: 960px) {
  .text {
    font-size: 6vw;
  }
}

* {
  transition: all 0.5s ease-out;
}

@media (max-width: 600px) {
  body {
    background: #0f0327;
  }

  .text {
    font-size: 6vw;
  }

  #logo {
    width: 100%;
    max-width: 300px;
    height: 150px;
  }

  /* Mobile responsive adjustments for logo */
  #logo {
    max-width: 90%;
  }
}
