/*
 * =====================================================
 *  Made by @tomusiekk (www.tomusiek.xyz or www.tomek.pages.dev)
 *  
 *  © 2025 tomusiekk. All rights reserved.
 *  
 *  This code is strictly protected.
 *  You are NOT allowed to copy, modify,
 *  distribute, or use it in any way without explicit permission.
 *  
 *  Respect the creation. Respect the creator.
 * =====================================================
 */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: black;
  background-image: url('assets/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
  overflow: hidden;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  background: rgba(128, 128, 128, 0.1);
  border-radius: 30px;
  padding: 0 35%;
  margin: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#logo-link {
  opacity: 1;
  position: absolute;
  left: 20px;
  height: 40px;
}

#logo {
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

a {
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.5s ease;
}

a:hover {
  opacity: 1;
}

#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#status-div {
  font-family: 'Manrope', sans-serif;
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 70%;
}

#dot {
  margin-top: 2.4%;
  width: 2.5px;
  height: 2.5px;
  background-color: #f58738;
  border: 4px solid #F38231;
  border-radius: 50%;
  display: inline-block;
  animation: blink 2s infinite;
}

#status {
  margin-top: 2%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.7;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0;
}

.arctise {
  background: linear-gradient(90deg, #F5AF19, #FF6A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typewriter {
  border-right: 2px solid orange;
  overflow: hidden;
  animation: blink-caret 0.6s step-end infinite;
}

#description {
  margin-top: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.69;
  max-width: 60%;
}

#mail {
  display: inline-block;
  position: relative;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: none;
    transition: 
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease;
}

#mail::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background-color: #3b82f6;
  transition: width 0.3s ease-in-out;
}

#mail:hover {
  color: #2563eb;
}

#mail:hover::after {
  width: 100%;
}

#mail:active {
  transform: scale(0.97);
}

.buttons {
  font-family: 'Manrope', sans-serif;
  display: flex;
  gap: 15px;
  justify-content: center;
}

/*#shop {
  font-weight: 500;
  border-radius: 6px;
  background: none;
  border: 2px solid #716456;
  color: #716456;
  padding: 10px 22px;
}*/

#exchange,
#shop {
  position: relative;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  color: #fff;
  cursor: pointer;
  background-color: #F38231;
  transition: all 0.2s ease;
  font-weight: 600;
}

#exchange:hover:active,
#shop:hover:active {
  transform: scale(0.96);
}

#exchange:before,
#exchange:after,
#shop:before,
#shop:after {
  position: absolute;
  content: "";
  width: 150%;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1000;
  background-repeat: no-repeat;
}

#exchange:hover,
#shop:hover {
  transform: scale(1.05);
}

#exchange:hover:before,
#shop:hover:before {
  top: -70%;
  background-image: radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #F38231 20%, transparent 30%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #F38231 15%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
    10% 10%, 18% 18%;
  background-position: 50% 120%;
  animation: orangetopBubbles 0.6s ease;
}

#exchange:hover::after,
#shop:hover::after {
  bottom: -70%;
  background-image: radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #F38231 15%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%),
    radial-gradient(circle, #F38231 20%, transparent 20%);
  background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
  background-position: 50% 0%;
  animation: orangebottomBubbles 0.6s ease;
}

footer {
  color: gray;
  text-align: center;
  padding: 5px;
  font-size: 0.9rem;
  font-family: 'Manrope', sans-serif;
}

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 22ch;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: orange
  }
}

@keyframes blink {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(243, 130, 49, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(243, 130, 49, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(243, 130, 49, 0);
  }
}

@keyframes orangetopBubbles {
  0% {
    background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
      40% 90%, 55% 90%, 70% 90%;
  }

  50% {
    background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
      50% 50%, 65% 20%, 90% 30%;
  }

  100% {
    background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
      50% 40%, 65% 10%, 90% 20%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

@keyframes orangebottomBubbles {
  0% {
    background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
      70% -10%, 70% 0%;
  }

  50% {
    background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
      105% 0%;
  }

  100% {
    background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
      110% 10%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}