html, body {
      margin: 0; padding: 0; height: 100%;
      font-family: 'Poppins', 'Sans Sheriff';
      background: radial-gradient(circle,rgba(59, 199, 255, 1) 0%, rgba(20, 101, 252, 1) 99%);
      color: rgb(255, 255, 255);
      overflow-y: auto;
    } 
body {
  overflow-y: scroll;           /* enable vertical scroll */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
}

body::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}
    /* Header with centered name + bio */
    .header {
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      user-select: none;
      padding: 0 20px;
      position: relative; /* needed for scroll indicator positioning */
    }

    .header h1 {
      font-size: 4rem;
      margin: 0;
      letter-spacing: 2px;
      animation: header 1s;
    }

    .header p {
      margin-top: 0.5rem;
      font-weight: 400;
      font-size: 1.2rem;
      max-width: 500px;
      animation: header 2s;
    }

    /* Scroll indicator container */
    .scroll-indicator-container {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 10px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: rgb(255, 255, 255);
      user-select: none;
      z-index: 1000;
      background: transparent;
      transition: position 0.3s ease;
    }

    /* Sticky state - when inside header */
    .scroll-indicator-container.sticky {
      position: absolute;
      bottom: 50px;
      left: 50%;
      transform: translateX(-50%);
      width: auto;
      padding: 0;
    }

    .scroll-indicator-container .text {
      font-size: 1rem;
      margin-bottom: 4px;
      text-align: center;
      animation: bounceColors 2s infinite;
    }

    .scroll-indicator-container .iconify {
      font-size: 2.5rem;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(10px); }
    }
    @keyframes bounceColors {
      0%, 100% { color: rgba(255, 255, 255, 0.692); }
      50% { color: white; }
    }
.reveal{
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
    
}
.section{
  font-size: xx-large;
  text-align: center;
  margin-top: 100px;
}
.githubCard {
  display: flex;
  justify-content: center;
  align-items: center;     /* centers vertically */
  height: 300px;
}
.discordCard {
  display: flex;
  justify-content: center;
  align-items: center;     /* centers vertically */
  height: 300px;
}
.card{
  position: relative; /* recommended for positioning */
  overflow: hidden; /* this is key */
  background-color: rgba(255, 255, 255, 0.075);
  width: 60%;
  padding: 5px;
  height: 300px;
  border-radius: 20px;
  border: rgba(255, 255, 255, 0.233) solid 1px;
  text-align: center;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;

}
.project-card{
  position: relative; /* recommended for positioning */
  overflow: hidden; /* this is key */
  background-color: rgba(255, 255, 255, 0.075);
  width: 60%;
  padding: 5px;
  height: 300px;
  border-radius: 20px;
  border: rgba(255, 255, 255, 0.233) solid 1px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
}
.card p{

  margin-top: -15px;
  text-decoration: none;
  font-size: 15px;

}
a{
  color: rgb(0, 60, 255);
  text-decoration: none;
  transition: 0.5s ease-in-out;
}
a:hover{
  color: #0077ff;

}
.pfp{
  margin-top: 30px;
  height: 90px;
  width: 90px;
  border-radius: 900px;
  border: rgba(255, 255, 255, 0.568) solid 1px;
  
}
.visible {
    opacity: 1;
    transform: translateY(0);
    
  }
  @keyframes header{
    0% {opacity: 0; transform: translateY(60px)}
    50% {opacity: 1; transform: translateY(60px)}
    100% {transform: translateY(0)}
  } 

  .button{
    color: white;
    transition: 0.5s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
    margin-top: 0px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.226);
    border-radius: 300px;
    cursor: pointer;
    border: solid 0.5px;
    border-color: rgba(255, 255, 255, 0.233);

  }
  .button:hover{
    background-color: rgba(255, 255, 255, 0.336);
    color: white;
    border-color: white;
  }
/* Avatar with status circle */
.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 30px;
}

.avatar-img {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  border: rgba(255, 255, 255, 0.568) solid 1px;
}

.status-indicator {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: 3px solid #2b2d3100; /* match your card background */
  border-radius: 50%;
}

/* Status color codes like Discord */
.status-indicator.online {
  background-color: #23a55a;
}
.status-indicator.idle {
  background-color: #f0b232;
}
.status-indicator.dnd {
  background-color: #f23f43;
}
.status-indicator.offline {
  background-color: #747f8d;
}

/* Display name */
.display-name {
  margin-top: -10px;
  font-size: 14px;
  color: #aaa;
}
.projectImg {
  position: absolute;
  top: -10px;   /* offset upward */
  left: -10px;  /* offset left */
  width: calc(100% + 20px);   /* 20px wider */
  height: calc(100% + 20px);  /* 20px taller */
  object-fit: cover;
  z-index: 1;
  transition: 0.5s ease-in-out;
}

.projecth2 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 2;
  margin: 0;
  font-size: 24px;

}
.project-card:hover .projectImg{
  scale: 1.1;
}
.project-card:hover{
  scale: 1.02;
}
.type{
  position: absolute;
  z-index: 2;
  left: 30px;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.123);
  border-radius: 900px;
  border: rgba(255, 255, 255, 0.199) solid 1px;
  backdrop-filter: blur(10px);
}
.projectLink{

  position: absolute;
  z-index: 2;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.123);
  border-radius: 900px;
  border: rgba(255, 255, 255, 0.199) solid 1px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: rgba(255, 255, 255, 0.678);
  transition: 0.5s ease-in-out;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  padding: 10px;
  opacity: 0;
  text-decoration: none;
  top: 20px;
}
.project-card:hover .projectLink{
  opacity: 1;
}
.projectLink:hover{
  color: white;
  background-color: rgba(255, 255, 255, 0.185);
  cursor: pointer;
}
.projectLink a{
  text-decoration: none;
  
}
.projectCard {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;     /* centers vertically */
  height: 300px;
}
#discordCard {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: rgba(255, 255, 255, 0.185) 1px solid;
  padding: 10px 14px;
  border-radius: 12px;
  width: 300px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  transition: 0.3s ease-in-out 0.6s;
  opacity: 0;
}
#robloxCard{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: rgba(255, 255, 255, 0.185) 1px solid;
  padding: 10px 14px;
  border-radius: 12px;
  width:300px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  transition: 0.3s ease-in-out;
  opacity: 0;
}

.avatarWrapper {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  z-index: 1000;
}
.robloxPfp {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  z-index: 1000;
  border-radius: 900px;
}
.robloxPfp img{
  border-radius: 900px;
  background-color: rgba(255, 255, 255, 0.281);
  border: 1px rgba(255, 255, 255, 0.411) solid;
}
.avatarImg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1000;
}
.musicImg {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  z-index: 1000;
}
#song{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: rgba(255, 255, 255, 0.185) 1px solid;
  padding: 10px 14px;
  border-radius: 12px;
  width:300px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  transition: 0.3s ease-in-out .3s;
  opacity: 0;
}
.profileCard{
    margin-top: 20px;
}
.tools{
  position: fixed;
  z-index: 1000;
  bottom: 80px;
  right: 55px;
  width: 300px;
  transition: 0.3s ease-in-out;
}
#robloxCard .avatarWrapper{
  border-radius: 900px;
}
.tooltoggle{

  position: fixed;
  z-index: 2;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.123);
  border-radius: 900px;
  border: rgba(255, 255, 255, 0.199) solid 1px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: rgba(255, 255, 255, 0.678);
  transition: 0.5s ease-in-out;
  display: inline-flex;
  align-items: center;
  font-size: 30px;
  padding: 10px;
  text-decoration: none;
  bottom: 20px;
}

.tooltoggle:hover{
  color: white;
  background-color: rgba(255, 255, 255, 0.185);
  cursor: pointer;
}
.tooltoggle:active{
  color: white;
  background-color: rgba(255, 255, 255, 0.185);
  cursor: pointer;
}

.tools.open #song{
  transform: translateY(0px);
  opacity: 1;
}
.tools.open #discordCard{
  transform: translateY(0px);
  opacity: 1;
}
.tools.open #robloxCard{
  transform: translateY(0px);
  opacity: 1;
}
.tooltoggle.active{
  color: white;
  background-color: rgba(255, 255, 255, 0.185);
}
.status-online {
  color: #23a55a;
}

.status-idle {
  color: #f0b232;
}

.status-dnd {
  color: #f74b4e;
}

.status-offline {
  color: #ffffff79;
}
.musicButton{
  position: fixed;
  z-index: 2;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.123);
  border-radius: 900px;
  border: rgba(255, 255, 255, 0.199) solid 1px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: rgba(255, 255, 255, 0.678);
  transition: 0.5s ease-in-out;
  display: inline-flex;
  align-items: center;
  font-size: 25px;
  padding: 10px;
  text-decoration: none;
  bottom: 10px;
}
.musicButton:hover{
  color: white;
  background-color: rgba(255, 255, 255, 0.185);
  cursor: pointer;
}
.bugs{
  width: 100%;
  text-align: center;
  padding-bottom: 5px;
  padding-top: 2px;
  background-color: rgba(255, 255, 255, 0.226);
  backdrop-filter: blur(10px)
}

@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .projectImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


  .header h1 {
    font-size: 2.2rem;
    padding: 0 10px;
  }

  .header p {
    font-size: 1rem;
    max-width: 90%;
    padding: 0 10px;
  }

.card,
.project-card {
  width: 90%;
  height: auto;
  min-height: 220px;
  max-width: 500px;
  margin: 20px auto;
  padding: 15px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}


  .card p {
    font-size: 14px;
    padding: 0 10px;
  }

  .projecth2 {
    font-size: 1.1rem;
    bottom: 20px;
  }

  .type {
    font-size: 13px;
    left: 20px;
    padding: 5px 10px;
  }

  .projectLink {
    right: 20px;
    font-size: 14px;
    padding: 6px 10px;
    top: 15px;
  }

  .pfp,
  .avatar-img,
  .avatarImg {
    width: 60px;
    height: 60px;
  }

  .status-indicator {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .scroll-indicator-container .text {
    font-size: 0.85rem;
  }

  .scroll-indicator-container .iconify {
    font-size: 2rem;
  }

.tools {
  width: 90vw;
  right: 5vw;
  bottom: 80px;
}


  .tooltoggle,
  .musicButton {
    right: 15px;
    bottom: 20px;
    font-size: 20px;
    padding: 8px;
  }

  #discordCard,
#song {
  width: 100%;
  max-width: 350px;
}


  .musicImg {
    width: 50px;
    height: 50px;
  }

  .button {
    font-size: 14px;
    padding: 8px 14px;
    margin-top: 10px;
  }

  .section {
    font-size: 1.2rem;
    margin-top: 60px;
    padding: 0 10px;
  }
}
.githubCard,
.discordCard,
.projectCard {
  height: auto;
  flex-direction: column;
  padding: 10px;
}
@media screen and (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
    max-width: 90%;
  }

  .pfp, .avatar-img, .avatarImg {
    width: 60px;
    height: 60px;
  }

  .scroll-indicator-container .iconify {
    font-size: 2rem;
  }

  .button {
    font-size: 14px;
    padding: 8px 14px;
  }

  .tooltoggle,
  .musicButton {
    right: 10px;
    bottom: 15px;
    font-size: 20px;
    padding: 6px;
  }

  .type,
  .projectLink {
    padding: 5px 10px;
    font-size: 13px;
  }

  .projecth2 {
    font-size: 1rem;
    bottom: 20px;
  }
}
