body {
  font-family: "Roboto Mono", monospace;
  background-color: #0d1117;
  color: #c9d1d9;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

header {
  margin-top: 20px;
  padding: 0 20px;
  width: 100%;
  max-width: 900px;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #ff8c42;
  box-shadow: 0 0 15px rgba(255, 140, 66, 0.6);
}

.description {
  font-size: 1.2em;
  margin-top: 10px;
  color: #ff8c42;
  padding: 0 20px;
  max-width: 950px;
  line-height: 1.7;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  max-width: 1200px;
  padding: 0 20px;
  flex-grow: 1;
}

.project-card {
  width: 100%;
  max-width: 400px;
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(255, 140, 66, 0.2);
}

.project-card h3 {
  color: #ff8c42;
  margin: 0 0 10px;
}

.project-card p {
  color: #8b949e;
  font-size: 0.9em;
}

.project-card a {
  color: #58a6ff;
  text-decoration: none;
  font-size: 0.9em;
}

.project-card a:hover {
  text-decoration: underline;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0 20px;
}

.load-more {
  background: transparent;
  border: 2px solid #ff8c42;
  color: #ff8c42;
  padding: 10px 30px;
  font-size: 1em;
  font-family: "Roboto Mono", monospace;
  cursor: pointer;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.load-more:hover {
  background: rgba(255, 140, 66, 0.1);
  box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

.load-more:active {
  transform: scale(0.95);
}

.button-text {
  position: relative;
  z-index: 2;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid #ff8c42;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.load-more.loading .button-text {
  opacity: 0;
}

.load-more.loading .loader {
  opacity: 1;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0d1117, #1c1f24, #0d1117);
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
  z-index: -1;
}

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

footer {
  margin-top: auto;
  padding: 20px 0;
  width: 100%;
  background-color: #161b22;
  border-top: 1px solid #30363d;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  color: #c9d1d9;
  font-size: 1.5em;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-link:hover {
  color: #c9d1d9;
  transform: translateY(-5px);
}

.social-link .fa-github:hover {
  color: #6e5494;
}

.social-link .fa-telegram:hover {
  color: #0088cc;
}

.social-link .fa-coffee:hover {
  color: #ffdd00;
}

.social-link .fa-coffee {
  animation: bounce 2s infinite;
  color: #c9d1d9;
  transition: color 0.3 ease;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
    color: #c9d1d9;
  }
  40% {
    transform: translateY(-10px);
    color: #ffdd00;
  }
  60% {
    transform: translateY(-5px);
    color: #ffdd00;
  }
}

.social-link .fa-tiktok:hover {
  color: #ff0050;
}

.social-link .fa-discord:hover {
  color: #7289da;
}

.social-link .fa-youtube:hover {
  color: #e00000;
}

.social-link .fa-twitch:hover {
  color: #8700e0;
}

.social-link i {
  transition:
    transform 0.5s ease,
    color 0.5s ease;
}

.social-link:hover i {
  transform: scale(1.3) rotate(360deg);
  color: #c9d1d9;
}

.sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sakura {
  position: absolute;
  top: -10%;
  width: 20px;
  height: 20px;
  background-color: #ffb7c5;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: fall linear infinite;
  opacity: 0.8;
}

@keyframes fall {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.sakura:nth-child(1) {
  left: 5%;
  animation-duration: 10s;
  animation-delay: 0s;
}

.sakura:nth-child(2) {
  left: 15%;
  animation-duration: 12s;
  animation-delay: 2s;
}

.sakura:nth-child(3) {
  left: 25%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.sakura:nth-child(4) {
  left: 35%;
  animation-duration: 11s;
  animation-delay: 3s;
}

.sakura:nth-child(5) {
  left: 45%;
  animation-duration: 13s;
  animation-delay: 0s;
}

.sakura:nth-child(6) {
  left: 55%;
  animation-duration: 10s;
  animation-delay: 2s;
}

.sakura:nth-child(7) {
  left: 65%;
  animation-duration: 12s;
  animation-delay: 1s;
}

.sakura:nth-child(8) {
  left: 75%;
  animation-duration: 14s;
  animation-delay: 3s;
}

.sakura:nth-child(9) {
  left: 85%;
  animation-duration: 11s;
  animation-delay: 0s;
}

.sakura:nth-child(10) {
  left: 95%;
  animation-duration: 13s;
  animation-delay: 2s;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  padding: 20px;
  max-width: 1200px;
  margin-bottom: 60px;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 11 200px;
  max-width: 250px;
}

.skill i {
  font-size: 3em;
  color: #ff8c42;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.skill i:hover {
  transform: scale(1.2);
  color: #ff5e5e;
}

.skill-level {
  width: 150px;
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.level-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #ff8c42 0%,
    #ff8c42 var(--level),
    #30363d var(--level),
    #30363d 100%
  );
  position: relative;
  animation: pulse 4s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(225, 140, 66, 0.3);
}

.level-circle::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #ff8c42;
  border-radius: 50%;
  opacity: 0;
  animation: orbit 6s linear infinite;
}

.level-circle::before {
  content: attr(data-level);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  color: #c9d1d9;
  text-transform: capitalize;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: rotate(360deg) scale(1.1);
    opacity: 0;
  }
}

.level-circle[data-level="poor"] {
  --level: 25%;
}

.level-circle[data-level="average"] {
  --level: 50%;
}

.level-circle[data-level="normal"] {
  --level: 75%;
}

.level-circle[data-level="super"] {
  --level: 100%;
}

@media (max-width: 768px) {
  .avatar {
    width: 160px;
    height: 160px;
  }

  .description {
    font-size: 1.6em;
    max-width: 90%;
  }

  .project-card {
    width: 100%;
    max-width: 100%;
  }

  .social-links {
    gap: 18px;
  }

  .social-link {
    font-size: 1.8em;
  }

  .skills-container {
    gap: 20px;
    padding: 10px;
  }

  .skill {
    flex: 1 1 150px;
    max-width: 180px;
  }

  .skill i {
    font-size: 2.5em;
  }

  .skill-level {
    width: 120px;
    height: 120px;
  }

  .level-circle::before {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .avatar {
    width: 150px;
    height: 150px;
  }

  .description {
    font-size: 1.5em;
  }

  .project-card {
    padding: 10px;
  }

  .load-more {
    padding: 8px 20px;
    font-size: 0.9em;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    font-size: 1.5em;
  }

  .skill {
    flex: 1 1 100px;
    max-width: 120px;
  }

  .skill i {
    font-size: 2em;
  }

  .skill-level {
    width: 100px;
    height: 100px;
  }

  .level-circle::before {
    font-size: 0.9em;
  }
}
