* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0 20px;
  background: radial-gradient(circle at 50% 30%, #0e226b 0%, #040d33 50%, #020617 90%);
  background-size: 140% 140%;
  animation: gradientShift 12s ease-in-out infinite alternate;
  font-family: Arial, sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Cpolygon fill='%23fcd34d' opacity='0.35' points='80,40 85,55 100,55 88,64 93,79 80,69 67,79 72,64 60,55 75,55'/%3E%3Cpolygon fill='%23fcd34d' opacity='0.2' points='380,120 383,130 393,130 385,136 388,146 380,140 372,146 375,136 367,130 377,130'/%3E%3Cpolygon fill='%23fcd34d' opacity='0.25' points='240,320 244,332 256,332 246,339 250,351 240,343 230,351 234,339 224,332 236,332'/%3E%3Cpolygon fill='%23fcd34d' opacity='0.15' points='420,410 422,416 428,416 423,420 425,426 420,422 415,426 417,420 412,416 418,416'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 500px 500px;
  pointer-events: none;
  z-index: 0;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}
]

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Cpolygon fill='%23fcd34d' opacity='0.3' points='150,220 153,230 163,230 155,236 158,246 150,240 142,246 145,236 137,230 147,230'/%3E%3Cpolygon fill='%23fcd34d' opacity='0.18' points='310,50 312,56 318,56 313,60 315,66 310,62 305,66 307,60 302,56 308,56'/%3E%3Cpolygon fill='%23fcd34d' opacity='0.22' points='50,430 53,440 63,440 55,446 58,456 50,450 42,456 45,446 37,440 47,440'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 500px 500px;
  pointer-events: none;
  z-index: 0;
  
  animation: starTwinkle 8s ease-in-out infinite alternate-reverse;
  animation-delay: -3s;
}

/* --- Animations --- */
@keyframes gradientShift {
  0% { background-position: 50% 20%; }
  100% { background-position: 50% 50%; }
}

@keyframes starTwinkle {
  0% { opacity: 0.2; }
  50% { opacity: 0.65; }
  100% { opacity: 0.3; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-item {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.header.animated-item { animation-delay: 0.1s; }
.about-text.animated-item { animation-delay: 0.25s; }

.links-container .link-btn:nth-of-type(1) { animation-delay: 0.4s; }
.links-container .link-btn:nth-of-type(2) { animation-delay: 0.55s; }
.links-container .link-btn:nth-of-type(3) { animation-delay: 0.7s; }
.links-container .link-btn:nth-of-type(4) { animation-delay: 0.85s; }
.links-container .link-btn:nth-of-type(5) { animation-delay: 1.0s; }
.links-container .link-btn:nth-of-type(6) { animation-delay: 1.15s; }
.links-container .link-btn:nth-of-type(7) { animation-delay: 1.3s; }
.links-container .link-btn:nth-of-type(8) { animation-delay: 1.45s; }
.links-container .link-btn:nth-of-type(9) { animation-delay: 1.6s; }

/* --- Layout Elements --- */
.header {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 20px 0;
  z-index: 1;
}

.logo {
  height: 50px;
  width: auto;
}

.links-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  flex-grow: 1;
  z-index: 1;
}

.about-text {
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 20px;
  background: rgba(1, 10, 50, 0.5);
  padding: 12px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  /* Added text shadow */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #fcd34d; /* Soft yellow text */
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-appearance: none;
  /* Added yellow text glow */
  text-shadow: 
    0 0 6px rgba(252, 211, 77, 0.7),
    0 0 12px rgba(252, 211, 77, 0.4);
}

.link-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 220, 100, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 220, 100, 0.2);
  transform: translateY(-3px);
}

.link-btn:active {
  transform: translateY(0);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-right: 16px;
  flex-shrink: 0;
  transform: translateZ(0);
}

.icon-box svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.bg-discord   { background-color: #5865F2; }
.bg-youtube   { background-color: #FF0000; }
.bg-tiktok    { background-color: #010101; border: 1px solid rgba(255, 255, 255, 0.25); }
.bg-instagram { background-color: #E1306C; }
.bg-reddit    { background-color: #FF4500; }
.bg-am        { background-color: #FA243C; }
.bg-spotify   { background-color: #1DB954; }
.bg-contact   { background-color: #00a8ff; }

.btn-label {
  flex-grow: 1;
}

.btn-label::before {
  content: "★ ";
  color: #fcd34d;
  text-shadow: 0 0 8px rgba(252, 211, 77, 0.8);
  margin-right: 4px;
}

.footer {
  width: 100%;
  text-align: center;
  padding: 40px 0 20px 0;
  font-size: 13px;
  opacity: 0.6;
  z-index: 1;
}
