@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');

:root {
  --kolony-color: #81F2F1;
  --primary-black: #010909;
  --primary-white: #E3FCFC;
  --kolony-font: "Montserrat";
  --kolony-small-fonts: "Poppins", sans-serif;
  --defualt-font: sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  color: var(--primary-black);
  background-color: black;
  transition: all 3s ease;
  background-image: url("img/background-image.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    scroll-behavior: auto;
}


@media (max-width: 1024px) {
  body {
    background-position: center top;
  }
}

@media (max-width: 768px) {
  body {
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 425px) {
  body {
    background-size: cover;
    background-position: center center;
  }
}

header {
  display: flex;
  padding-top: 2rem;
  justify-content: center;
}

main {
  display: flex;
  justify-content: center;
  text-align: center;
  color: var(--primary-white);
  font-family: var(--kolony-font);
  margin: 0 2rem; 
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
}

h1 {
  font-size: clamp(1.7rem, 5vw, 4rem);
  font-family: var(--kolony-font);
  font-weight: 800;
  /* padding-top: clamp(1rem, 5vw, 2rem); */
}

.hero-p {
  font-size: clamp(0.1rem, 3.5vw, 1.5rem);
  padding-top: clamp(1rem, 5vw, 2.5rem);
}

.hero-p {
    position: relative;
    padding: clamp(1rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 3.5vw, 1.5rem);
    text-align: center;
    z-index: 1;
  }
  
  /* Top-left curved line */
  .hero-p::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-top: 2px solid var(--kolony-color);
    border-left: 2px solid var(--kolony-color);
    border-top-left-radius: 10px;
  }
  
  /* Bottom-right curved line */
  .hero-p::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--kolony-color);
    border-right: 2px solid var(--kolony-color);
    border-bottom-right-radius: 10px;
  }
  
  
  /* Mobile tweaks */
  @media (max-width: 768px) {
    .hero-p::before,
    .hero-p::after {
      width: 25px;
      height: 25px;
    }

    .hero-p::before {
        top: -3px;
    }

    .hero-p::after {
        bottom: 3px;
    }
  }
  

.soon {
  font-family: var(--defualt-font);
  font-size: clamp(1rem, 5vw, 1.2rem);
  opacity: 60%;
  font-weight: bold;
  padding-top: clamp(5.6rem, 4vw, 7rem);
  padding-bottom: 1rem;
}

.cta-button {
  margin-bottom: clamp(3.5rem, 3vw, 20rem);
}

@keyframes pulse-float {
    0% { transform: translateY(0) scale(1); box-shadow: 0 0 15px rgba(129, 242, 241, 0.4); }
    50% { transform: translateY(-8px) scale(1.03); box-shadow: 0 0 25px rgba(129, 242, 241, 0.7); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 0 15px rgba(129, 242, 241, 0.4); }
}

button.cta {
    padding: 1.3rem 5rem;
    border-radius: 40px;
    border: none;
    color: var(--primary-black);
    font-family: var(--defualt-font);
    font-size: 1.3rem;
    font-weight: bold;
    background-color: var(--kolony-color);
    cursor: pointer;
    text-decoration: none;
    margin-bottom: clamp(2rem, 3vw, 20rem);
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: pulse-float 3s ease-in-out infinite;
    box-shadow: 0 0 15px var(--kolony-color);
}


@media (max-width: 768px) {
  button.cta {
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
  }
}

button.twitter, .telegram, .gitbook {
  background-color: var(--kolony-color);
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

button:hover {
  color: var(--primary-black);
  background-color: var(--primary-white);
  transform: scale(1.05);
}

img.x-vector, .t-vector, .g-vector {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-white);
  font-family: var(--kolony-font);
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem;
} */

.footer-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    color: var(--primary-white);
    font-family: var(--kolony-font);
}

.footer-buttons .footer-texts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: clamp(0.1rem, 2.5vw, 1rem);
    text-align: center;
}

@media (max-width: 768px) {
    .footer-texts {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-buttons {
        /* flex-direction: column-reverse; */
        gap: 1rem;
        padding: 1.2rem;
        text-align: center;
    }
}

/* Mobile: Smaller buttons */
@media (max-width: 768px) {
    footer button.twitter,
    footer button.telegram,
    footer button.gitbook {
      padding: 6px 10px;
    }
  
    /* Optional: shrink icons too */
    .x-vector, .t-vector, .g-vector {
      width: 14px;
      height: auto;
    }

    .x-vector {
      width: 13px;
    }

    p.socials {
      font-size: 15px;
    }
    p.doc {
      font-size: 15px;
    }
  }



.socials, .doc {
  font-size: clamp(0.1rem, 4vw, 1rem);
}

#galaxy-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
