@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;600&display=swap');


body {
  margin: 0;
  padding: 0;
  font-family: 'Kanit', sans-serif;
  background: radial-gradient(circle at bottom, #4d4d4d, #2b2b2b, #1a1a1a);
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}


.stars, .stars2, .stars3 {
  position: fixed;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-position: 0 0;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  filter: brightness(1.3);
}

.stars { animation: moveStars 50s linear infinite; opacity: 0.9; }
.stars2 { animation: moveStars 100s linear infinite; opacity: 0.6; }
.stars3 { animation: moveStars 150s linear infinite; opacity: 0.4; }

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: -10000px 5000px; }
}


.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.logo {
  width: 120px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 180, 180, 0.7));
  animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(255, 180, 180, 0.5))
            drop-shadow(0 0 20px rgba(110, 0, 0, 0.6));
    transform: scale(1);
  }
  to {
    filter: drop-shadow(0 0 25px rgba(255, 220, 220, 1))
            drop-shadow(0 0 45px rgba(110, 0, 0, 0.8));
    transform: scale(1.05);
  }
}


header {
  text-align: center;
  z-index: 2;
  position: relative;
  margin-top: 20px;
}

h1 {
  font-size: 2.4rem;
  color: #BA0900;
  /* text-shadow: 0 0 15px #ff5e5e, 0 0 25px #757474; */
  margin: 10px 0;
}

p {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin: 0;
}


.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  margin-bottom: 100px;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 0 20px;
}


.menu-btn {
  position: relative;
  width: 100%;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 20px 0;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(45deg, #6E0000, #757474);
  border: 2px solid rgba(255, 180, 180, 0.6);
  box-shadow:
    0 0 15px rgba(255, 160, 160, 0.5),
    0 0 30px rgba(110, 0, 0, 0.7),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.4s ease,
    border 0.4s ease,
    background 0.4s ease;
}


.menu-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 2px;
  background: linear-gradient(90deg, #ffb6b6, #ff6a6a, #6E0000);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: glowBorder 6s linear infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes glowBorder {
  0% { filter: hue-rotate(0deg); opacity: 0.7; }
  50% { filter: hue-rotate(45deg); opacity: 1; }
  100% { filter: hue-rotate(0deg); opacity: 0.7; }
}


.menu-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #8e0000, #9d9d9d);
  border: 2px solid rgba(255, 220, 220, 0.8);
  box-shadow:
    0 0 25px rgba(255, 180, 180, 0.8),
    0 0 60px rgba(255, 100, 100, 0.7),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
}


.inner-star {
  position: absolute;
  background: radial-gradient(circle, #ffffff, #ffeaea, #6E0000);
  border-radius: 50%;
  opacity: 0.8;
  animation: moveInside 6s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 6px #ff7c7c;
  filter: brightness(1.3);
}

@keyframes moveInside {
  0% { transform: translate(0, 0); opacity: 0.8; }
  25% { transform: translate(20px, -10px); opacity: 1; }
  50% { transform: translate(-10px, 15px); opacity: 0.7; }
  75% { transform: translate(10px, -20px); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 0.8; }
}


footer {
  position: relative;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: #c0c0c0;
  font-size: 0.9rem;
  z-index: 2;
  margin-top: auto;
  padding-bottom: 20px;
}


@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .menu-btn {
    font-size: 1.2rem;
    padding: 15px 0;
  }

  .logo {
    width: 90px;
    height: 90px;
  }
}


.contact {
  text-align: center;
  margin-bottom: 80px;
  z-index: 2;
  position: relative;
}

.contact h2 {
  font-size: 1.8rem;
  color: #ff5e5e;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #ff5e5e;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-logo {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s, filter 0.3s;
  filter: drop-shadow(0 0 10px rgba(255, 100, 100, 0.6));
}

.contact-logo:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px rgba(255, 180, 180, 1));
}

@media (max-width: 600px) {
  .contact-logo {
    width: 50px;
    height: 50px;
  }
}

/* Moblie */

@media (max-width: 480px) {
  body {
    padding: 10px;
    background: radial-gradient(circle at top, #3a3a3a, #1a1a1a);
  }

  .logo-container {
    margin-top: 5px;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  header {
    margin-top: 10px;
  }

  h1 {
    font-size: 1.6rem;
    margin: 5px 0;
  }

  p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .menu {
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 60px;
    padding: 0 10px;
  }

  .menu-btn {
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 30px;
  }

  .contact h2 {
    font-size: 1.4rem;
  }

  .contact-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-logo {
    width: 25px;
    height: 25px;
  }

  footer {
    font-size: 0.8rem;
    padding-bottom: 10px;
  }
}
