#bgVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  #bgVideo {
    object-fit: contain;
    min-width: 100%;
    min-height: auto;
    transform: translatex(23px);
  }
}

.avatar-wrapper-outer {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
}

.avatar-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-frame-outer {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  pointer-events: auto;
  z-index: 5;
  transition: all 0.3s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

@media (max-width: 787px) {
  body {
    overflow-y: auto;
    height: 94vh;
    padding: 20px;
  }
}

.profile-card {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  padding-top: 16px;
  padding-right: 65px;
  padding-bottom: 29px;
  padding-left: 65px;
  border-radius: 15px;
  text-align: center;
  width: 320px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

@media screen and (max-width: 400px) {
  .profile-card {
    width: 90%;  
    padding: 20px;
  }
}

.profile-card::before,
.profile-card::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0);
  z-index: -1;
  filter: blur(8px);
}

.avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  transition: 0.3s;
}

.avatar:hover {
  box-shadow: 0 0 15px white, 0 0 30px rgba(38, 0, 253, 0.479);
  transform: scale(1.05);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1; 
}

.frame-overlay {
  position: absolute;
  top: 3px; 
  left: 64px;
  width: 124px;
  height: 150px;
  object-fit: scale-down;
  border-radius: 50%;
  z-index: 11;
  pointer-events: none; 
}

@media screen and (max-width: 400px) {
  .frame-overlay {
    top: 2px;;
    left: 62px;
    width: 95px;
    height: 110px;
  }
}

h2 {
  margin: 10px 0;
  font-size: 22px;
  font-weight: bold;
}

p {
  margin: 2px 0 10px;
  font-size: 14px;
  opacity: 0.8;
}

.discord-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.discord-link:hover {
  color: #7289da;
  text-shadow: 0 0 10px rgba(114, 137, 218, 0.8);
}

.name h2 {
  font-size: 20px;
  position: relative;
  top: -22px;
  left: 2px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: blue;
}

.notes {
  margin-top: 20px;
  text-align: center;
}

.notes p {
  margin: 10px 0;
}

.notes a.discord-link {
    display: inline-block;
    padding: 10px 15px;
    top: -20px;
    left: -0;
    font-size: 14px;
    position: relative;
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.5);
    border-radius: 8px;
    color: #7289da;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.3);
}


.notes a.discord-link:hover {
  background: #7289da;
  color: white;
  box-shadow: 0 0 20px rgba(114, 137, 218, 0.7);
  transform: scale(1.05);
}


.social-links {
  display: flex;
  position: relative;
  top: -5px;
  left: 0px;
  font-size: 23px;
  justify-content: center;
  gap: 15px;
}


.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.473);
  font-size: 16px;
  transition: 0.3s;
}

.social-links a i {
  font-size: 22px;
}

.social-links a:hover {
  transform: scale(1.2);
  color: rgb(55, 0, 255);
  text-shadow: 0 0 10px rgb(4, 0, 255), 0 0 20px blue;
}

.music-control {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.384);
  padding: 8px 12px;
  border-radius: 12px;
  z-index: 1000;
  transition: 0.3s;
}

#soundIcon {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.volume-slider {
  margin-left: 10px;
  opacity: 0;
  width: 0;
  transition:
    opacity 0.5s ease,
    width 0.5s ease,
    margin-left 0.5s ease;
  overflow: hidden;
}

.volume-slider input[type="range"] {
  width: 100px;
  accent-color: red;
}

.volume-slider.show {
  opacity: 1;
  width: 100px;
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  .profile-card {
    width: 90%;
    padding: 20px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 13px;
  }

  .social-links a {
    font-size: 14px;
  }

@media screen and (max-width: 767px) {
  .social-links a {
        gap: 7px;
    }
}
  .social-links a i {
    font-size: 10px;
  }
  @media screen and (max-width: 767px) {
    .social-links a i {
        font-size: 19px;
    }
}

.donate-link {
  margin-top: 20px;
  text-align: center;
}

.donate-button {
  background: linear-gradient(145deg, #0004ff8a, #4c6fffaf);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 68, 255, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
}

.donate-button:visited {
  color: #ffffff;
}

.donate-button:hover {
  background: linear-gradient(145deg, #3c5bff, #5c7aff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 68, 255, 0.6);
}

.music-control {
  position: fixed;
  top: 20px;
  left: 20px; 
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.384);
  padding: 8px 12px;
  border-radius: 12px;
  z-index: 1000;
  transition: 0.3s;
}

#soundIcon {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.volume-slider {
  margin-left: 10px;
  opacity: 0;
  width: 0;
  transition: opacity 0.5s ease, width 0.5s ease, margin-left 0.5s ease;
  overflow: hidden;
}

.volume-slider input[type="range"] {
  width: 100px;
  accent-color: red;
}

.volume-slider.show {
  opacity: 1;
  width: 100px;
  margin-left: 10px;
}
 }