html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: black;
  background-image: url(background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  min-height: 100vh;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none; 
  -ms-user-select: none; 
  -webkit-touch-callout: none;
  -khtml-user-select: none;

}

h1 {
  position: relative;
  font-size: 4rem;
  font-weight: 650;
  color: black;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  margin: 40px auto 20px auto;
  transition: transform 0.3s ease;
  z-index: 1;
  overflow: hidden;
}


h1::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
}

h1:hover {
  transform: translateY(-5px);
}

.menu-button,
.button-container a {
  background: linear-gradient(to bottom, #888888, #555555);
  color: white;
  border: 1px solid #444444;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 5px 0 #333333,
    0 8px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.menu-button:hover,
.button-container a:hover {
  background: linear-gradient(to bottom, #6699ff, #3366cc);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 #222222,
    0 10px 18px rgba(0, 0, 0, 0.45);
}

.menu-button:active,
.button-container a:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.5),
    0 2px 0 #222222,
    0 4px 6px rgba(0, 0, 0, 0.4);
}

.menu-button {
  position: fixed;
  top: 230px;
  right: 20px;
  animation: rotate360 4s ease-in-out infinite;
}

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  position: absolute;
  top: 200px;
  right: 20px;
  z-index: 9999;
}

.slider {
  position: relative;
  max-width: 800px;
  height: 500px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.slider:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: white;
}

.platforms {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: flex;
  gap: 20px;
  padding: 10px;
  background-color: #fff;
  border-top: 2px solid #fff;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.platforms a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.platforms a:hover {
  transform: scale(1.1);
}

.platforms img {
  width: 45px;
  height: auto;
}

.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: 105%;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, #888888, #555555);
  color: white;
  padding: 8px 14px;
  border-radius: 15px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #444444;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #555555 transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 11;
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
}


.text-window {
  position: relative;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  margin: 20px auto 40px auto;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-size: 1.3em;
  color: black;
  transition: transform 0.3s ease;
  z-index: 1;
  overflow: hidden;
}


.text-window::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 19px; 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}


.text-window:hover {
  transform: translateY(-5px);
}

.top-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 120px auto 20px auto; 
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.top-image:hover {
  transform: translateY(-5px);
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow: hidden;
  transition: opacity 0.5s ease-in-out;
}

#loader {
  width: 100px;
  height: 100px;
  border: 8px solid rgba(52, 152, 219, 0.3);
  border-top: 8px solid #0056b3;
  border-radius: 50%;
  animation: spin 1s linear infinite, grow 1.5s ease-out 1.1s forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes grow {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes rotate360 {
  0%, 90% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background-color: white;
  border-top: white;
  padding: 10px 20px;
  font-size: 14px;
  color: black;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.footer p {
  margin: 0;
  font-weight: normal;
}

.footer a {
  color: #007BFF;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: -5px;
  width: 55px;
  height: 55px;
  border: none;
  background-color: #007bff;
  font-size: 24px;
  display: none; 
  transition: background-color 0.3s;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  background: linear-gradient(to bottom, #888888, #555555);

  border-radius: 50%;
  border: 1px solid #444444;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.2),
    0 6px 0 #333333,
    0 10px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  
}

#scrollTopBtn:hover {
    background: linear-gradient(to bottom, #6699ff, #3366cc);
  transform: translate(-50%, -54%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    0 8px 0 #222222,
    0 12px 20px rgba(0, 0, 0, 0.5);

}

#scrollTopBtn:active {
  transform: translate(-50%, -48%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 0 #222222,
    0 6px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 800px) {
  .button-container,
  .platforms {
    flex-direction: column;
    align-items: center;
  }

.button-container a,
.menu-button {
  padding: 13px 20px;      
  font-size: 15px;          
  border-radius: 30px;      
  width: 70%;              
  text-align: center;       
  }
  
  .button-container a {
    animation: bounce 3s ease-in-out infinite;
	animation-delay: 2s;
  }

  .button-container a:nth-child(1) {
    animation-delay: 0s;
  }

  .button-container a:nth-child(2) {
    animation-delay: 0.2s;
  }

  .button-container a:nth-child(3) {
    animation-delay: 0.4s;
  }

  .button-container a:nth-child(4) {
    animation-delay: 0.6s;
  }
  
  .button-container a:nth-child(5) {
    animation-delay: 0.8s;
  }

  .tooltip::after {
    max-width: 200px;
    font-size: 10px;
	display: none;
    content: none;
  }
  
  .tooltip::before {
	display: none;
    content: none;
  }

  .text-window {
    padding: 20px;
    font-size: 1em;
    max-width: 500px;
    width: 90%;
    margin: 10px auto; 
    position: relative;
    top: 50%; 
  }

  .top-image {
    width: 90%;  
    max-width: none; 
    margin: 80px auto 20px auto;  
  }
  .prev, .next {
    top: auto;
    bottom: 50px;
    transform: translateY(0);
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
    padding: 8px;
  }

  .prev {
    left: 25%;
  }

  .next {
    right: 25%;
  }

  .slider {
    height: 300px; 
  }
  
  .top-image,
  .slider {
    order: 1;
  }
   
  
  #scrollTopBtn {
    right: -18px;  
  }
  
  

  
#menu {
  order: 2;
  position: static !important; 
  margin: 10px auto 20px auto;
  right: auto !important; 
  top: auto !important; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#menu a {
  flex: 1 1 100%;
}

  .text-window {
    order: 3;
}
  
@keyframes bounce {
  0%, 10%, 100% {
    transform: translateY(0);
  }
  5% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1200px) {
  .slider {
    height: 420px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .text-window {
    font-size: 1.15em;
  }
}



@media (max-width: 992px) {
  .slider {
    height: 360px;
  }

  .text-window {
    font-size: 2em;
    padding: 25px;
  }

  .top-image {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }

  .slider {
    height: 280px;
  }

  .text-window {
    font-size: 0.95em;
    padding: 20px;
  }

  .prev, .next {
    font-size: 18px;
    padding: 6px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .top-image {
    margin: 60px auto 20px auto;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 2.3rem;
  }

  .text-window {
    font-size: 0.9em;
    padding: 15px;
  }

  .slider {
    height: 220px;
  }

  .platforms img {
    width: 36px;
  }

  .prev, .next {
    font-size: 16px;
  }
}
