  body {
    font-family: "Exo 2", sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    padding-bottom: 60px;
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffccff, #5dffff);
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  a {
    text-decoration: none;
    
  }

  header {
    background-color: #ff69b4;
    padding: 10px;
  }

  header h1 {
    font-size: 3em;
    color: #ffff00;
    text-shadow: 2px 2px 0 #0000ff;
    margin: 0;
    animation: glow 2s infinite alternate;
  }

.logo {
    width: 20%;
}

.social-links {
    color: #6D2AC6;
    text-shadow: #ffff00 2px 2px 2px;
    font-size: 2em;
}

  footer {
    background-color: #ff69b4;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1em;
    color: #5405bb;
  }

  main {
    padding: 30px;
  }

  main img {
    width: 200px;
    height: 200px;
    margin: 0px;
    animation: bounce 2s infinite alternate;
  }

  nav {
    margin: 15px 0;
  }

  nav a {
    background-color: #6D2AC6;
    color: #ffff00;
    padding: 10px 10px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s;
  }

  nav a:hover {
    background-color: #ffff00;
    transform: scale(1.2);
  }

  .games-grid {
    display: grid;
    grid-template-columns: repeat(var(--repeat, auto-fit), minmax(calc(250px * 1) , 1fr));
    margin-top: 20px;
  }

  .game-card {
    background: linear-gradient(135deg, lab(86.02% 29.41 -20.81) 0%, #86cfff 100%);
    border: 4px solid #c496ff;
    border-radius: 15px;
    height:90%;
    width:90%;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    display: block;
  }

  .game-card:hover {
    transform: scale(1.05);
  }

  .game-card img {
    width: 80%;
    height: 40%;
    object-fit: cover;
    border: 3px solid #c496ff;
    background: #ffffff;
    margin-bottom: 10px;
  }

  .game-card h3 {
    margin: 10px 0 5px;
    font-size: 1.4em;
    color: #6D2AC6;
  }

  .game-card p {
    font-size: 0.9em;
    color: #333;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 2fr));
    gap: 40px;
    margin-top: 20px;
  }

  .team-card {
    background: linear-gradient(135deg, lab(86.02% 29.41 -20.81) 0%, #86cfff 100%);
    border: 4px solid #6D2AC6;
    border-radius: 15px;
    height:90%;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    display: block;
  }

  .team-card:hover {
    transform: scale(1.05);
  }

  .team-card img {
    width: 50%;
    height: 40%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #6D2AC6;
    background: #ffffff;
    margin-bottom: 10px;
  }

  .team-card h3 {
    margin: 10px 0 5px;
    font-size: 1.4em;
    color: #6D2AC6;
  }

  .team-card p {
    font-size: 0.9em;
    color: #333;
  }

  #model-container {
    width: 100%;
    height: 600px;
    position: relative;
  }

  #loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #888;
  }

  #home-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: #fff;
    border: 4px solid #6D2AC6;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.content-box h2 {
    color: #6D2AC6;
    font-size: 1.8em;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 0 #ffff00;
    border-bottom: 3px solid #6D2AC6;
    padding-bottom: 0.5rem;
}

.box-content {
    color: #333;
    line-height: 1.6;
    font-size: 1em;
}

.about-box {
    background: linear-gradient(135deg, lab(97.24% -6.04 25.74) 0%, #bae3ff 100%);
}

.news-box {
    background: linear-gradient(135deg, lab(97.24% -6.04 25.74) 0%, #bae3ff 100%);
}

.news-box .box-content {
    max-height: 460px;
    overflow-y: auto;
    padding-right: 0.5rem;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar visually while keeping scrolling functional */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* WebKit browsers */
.news-box .box-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* If you want to reveal the scrollbar on hover, add class `show-scroll` to `.news-box` */
.news-box.show-scroll .box-content::-webkit-scrollbar {
    display: block;
    width: 10px;
}

.news-box.show-scroll .box-content {
    scrollbar-width: thin;
}


.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #6D2AC6;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item h3 {
    color: #6D2AC6;
    font-size: 1.3em;
    margin: 0 0 0.5rem 0;
}

.news-date {
    color: #5405bb;
    font-size: 0.9em;
    font-style: italic;
    margin: 0 0 0.5rem 0;
}

.news-item p:last-child {
    margin: 0;
    color: #333;
}

#model-section {
    width: 100%;
    max-width: 600px;
    height: 40vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

#model-container {
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 500px;
    position: relative;
    margin: 0 auto;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
    animation: pulse 1.5s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
    #home-content {
        flex-direction: column;
        align-items: center;
    }
    
    .content-box {
        max-width: 100%;
        width: 100%;
    }
    
    #model-section {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    #home-content {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .content-box {
        padding: 1rem;
    }
    
    .content-box h2 {
        font-size: 1.5em;
    }

    .news-box .box-content {
        max-height: 220px;
    }
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.art-card {
  background: linear-gradient(135deg, lab(97.24% -6.04 25.74) 0%, #bae3ff 100%);
  border: 4px solid #6D2AC6;
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s, background 0.3s;
}

.art-card:hover {
  transform: scale(1.05) rotate(2deg);
  background: #e0ffe0;
}

.art-card img {
  width: 100%;
  height: auto;
  border: 3px solid #6D2AC6;
  color: #ffffff;
  margin-bottom: 10px;
}

.art-card h3 {
  margin: 5px 0;
  font-size: 1.3em;
  color: #6D2AC6;
}

.art-card p {
  font-size: 0.9em;
  color: #333;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.track-card {
  background: linear-gradient(135deg, lab(97.24% -6.04 25.74) 0%, #bae3ff 100%);
  border: 4px solid #6D2AC6;
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s, background 0.3s;
}

.track-card:hover {
  transform: scale(1.05) rotate(1deg);
  background: #e0ffe0;
}

.track-card img {
  width: 100%;
  height: auto;
  border: 3px solid #6D2AC6;
  margin-bottom: 10px;
}

.track-card h3 {
  margin: 5px 0;
  font-size: 1.3em;
  color: #6D2AC6;
}

audio {
  width: 100%;
  margin-top: 10px;
  outline: none;
  border: 2px solid #6D2AC6;
  border-radius: 8px;
}

.animation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.animation-card {
  background: linear-gradient(135deg, lab(97.24% -6.04 25.74) 0%, #bae3ff 100%);
  border: 4px solid #6D2AC6;
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s, background 0.3s;
}

.animation-card:hover {
  transform: scale(1.05) rotate(-1deg);
  background: #ffffcc;
}

.animation-card video {
  width: 100%;
  height: auto;
  border: 3px solid #6D2AC6;
  margin-bottom: 10px;
}

.animation-card h3 {
  margin: 5px 0;
  font-size: 1.3em;
  color: #6D2AC6;
}

.animation-card p {
  font-size: 0.9em;
  color: #333;
}