@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

* {
  cursor: none;
}

body {
  background-color: #090909;
  font-family: "DM Mono";
  font-style: normal;
  font-display: swap;
  color: white;
}

.CustomCursor {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: none;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  z-index: 99;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

::-moz-selection,
::selection {
  background-color: transparent;
}

h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 500;
}
h2,
h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-display: none;
  font-weight: 500;
}
p {
  color: #8f8f8f;
  font-display: none;
  font-weight: 400;
  max-width: 75vw;
}

.Main {
  padding-left: 7vw;
  padding-right: 7vw;
  padding-top: 7vh;
  padding-bottom: 7vh;
}

.ProjectContainer {
  display: block;
  border-style: none;
  border-radius: 15px;
  background-color: #171717;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 13px;
  padding-right: 13px;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  max-width: 80vw;
  color: #a3a3a3;
  font-family: "DM Mono";
  font-style: normal;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
}

.MusicButton,
.LanguageContainer,
.SocialButton {
  display: block;
  border-style: solid;
  border-color: #414141;
  border-width: 0.5px;
  border-radius: 18px;
  background-color: #171717;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #a3a3a3;
  font-family: "DM Mono";
  font-style: normal;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.SocialButton {
  height: 25px;
}
.MusicButton,
.LanguageContainer {
  height: 30px;
  margin-bottom: 10px;
}

.MusicButton:hover,
.LanguageContainer:hover,
.SocialButton:hover,
.ProjectContainer:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.Separator {
  height: 5px;
  background: linear-gradient(
    90deg,
    #ff6f61,
    #ffca28,
    #4caf50,
    #2196f3,
    #9c27b0
  );
  background-size: 300% 300%;
  animation: SeperatorAnimation 10s ease infinite;
  border: none;
  border-radius: 10px;
  margin: 20px 0;
}

@keyframes SeperatorAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.SocialRow, .Languages {
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.SocialIcon {
  display: block;
}

.Link {
  text-decoration: none;
  color: #a3a3a3;
  font-family: "DM Mono";
  font-style: normal;
  display: block;
}

.TextSep {
  font-size: 1.75rem;
  color: #707070;
}

.Wave {
  display: inline-block;
  animation: WaveAnim 2.5s infinite ease-in-out;
  transform-origin: 70% 70%;
}

@keyframes WaveAnim {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(20deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(20deg); }
  40% { transform: rotate(-5deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* TikTok Repost Grid */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.tiktok-video {
  position: relative;
  aspect-ratio: 9/16;
  background: #111;
  border: 1px solid #414141;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tiktok-video:hover {
  border-color: #666;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tiktok-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiktok-video .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.15s ease;
}

.tiktok-video:hover .play-overlay {
  opacity: 0;
}

.tiktok-video .play-overlay i {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h3 i {
  margin-right: 8px;
}

@media (max-width: 1024px) {
  .tiktok-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tiktok-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
