:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #ff0000;
    --hover-color: #ff0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.hidden {
    display: none;
  }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 20px;
}
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}
.container {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    max-width: 90%;
    width: 100%;
    max-width: 370px;
}
  
@media screen and (max-width: 428px) {
  .container {
    text-align: center;
    padding: 2rem;
    margin-bottom: 5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    max-width: 90%;
    width: 100%;
    max-width: 370px;
}
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
header {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);
    position: relative;
    opacity: 1;
    cursor: pointer;
}
.avatar:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.1);
    transform: scale(1.05) translateY(-3px);
}
#status-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-color);
    position: absolute;
    bottom: 65px;
    right: 10px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#status-indicator::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
}
#activity-container {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}
#activity-container:hover {
    transform: translateY(-9px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#activity-container.hidden {
    display: none;
}
#activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
#activity-icon {
    width: 64px;
    height: 64px;
    margin-right: 0.5rem;
    border-radius: 5px;
}
#activity-name {
    cursor: pointer;
    color: inherit; 
    transition: color 0.3s ease, text-decoration 0.3s ease; 
}
#activity-name:hover {
    color: #1E90FF;
    text-decoration: underline;
  }
#activity-details, #activity-state {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.status-online::after { background-color: #3ba55c; }
.status-idle::after { background-color: #ffee00; }
.status-dnd::after { background-color: #ed4245; }
.status-offline::after { background-color: #747f8d; }
h1 {
    font-size: 1.8rem;

}
nav ul li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
nav ul li a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
nav ul li a i {
    font-size: 20px;
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 1.5rem;
    }
    .avatar {
        width: 100px;
        height: 100px;
    }
    h1 {
        font-size: 1.5rem;
    }
    nav ul li a {
        padding: 0.6rem 0.8rem;
    }
    nav ul li a i {
        font-size: 18px;
        margin-right: 0.5rem;
    }
    #status-indicator {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background-color: var(--bg-color);
      position: absolute;
      bottom: 52px;
      right: 10px;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
}
#activity-container.hidden {
    display: none;
}
.spotify-activity {
    background: #1e1e1e;
    padding: 12px;
    border-radius: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
  }
  .spotify-activity {
    margin: 0 auto; 
  }
  .activity-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .activity-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .song-name {
    font-weight: 600;
  }
  
  .artist-name {
    font-size: 0.9em;
    color: #aaa;
  }

  #activity-type {
    position: relative;
    top: -10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #cccccc;
  }

  .activity-progress {
    display: none;
    align-items: center;
    margin-top: 8px;
  }
  .progress-bar {
    flex: 1;
    height: 4px;
    background-color: #333;
    margin: 0 8px;
    border-radius: 4px;
    overflow: hidden;
  }
  .filled {
    height: 100%;
    background-color: #1DB954;
    width: 0%;
    transition: width 0.5s ease;
  }
  ul {
    list-style: none;
    
  }
  .example-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
    background-color: #000;
    border-radius: 30px;
    padding: 1px 0px;
  }
  .example-1 .icon-content {
    position: relative;
    font-weight: bolder;
  }
  .example-1 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: bolder; 
  }
  .example-1 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
  }
  .example-1 .icon-content .link {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    background-color: #000;
    transition: all 0.3s ease-in-out;
    font-weight: bolder; 
  }
  .example-1 .icon-content .link:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  }
  .example-1 .icon-content .link svg {
    width: 30px;
    height: 30px;
    fill: #fff;
  }
  
  @media screen and (max-width: 300px) {
    .example-1 .icon-content .link svg {
      width: 22px;
      height: 22px;
    }
  }
  .example-1 .icon-content .link[data-social="spotify"]:hover {
    color: #1db954;
  }
  .example-1 .icon-content .link[data-social="Github"]:hover {
    color: #bd081c;
  }
  .example-1 .icon-content .link[data-social="Discord"]:hover {
    color: #00ffea;
  }
  .example-1 .icon-content .link[data-social="telegram"]:hover {
    color: #0088cc;
  }
.btn-shine {
  color: #fff;
  background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
  background-position: 0;
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s infinite linear;
  -webkit-text-size-adjust: none;
  font-family: "Poppins", sans-serif;
  will-change: background-position;
}
@-moz-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 180px;
    }
    100% {
      background-position: 180px;
    }
  }
  @-webkit-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 180px;
    }
    100% {
      background-position: 180px;
    }
  }
  @-o-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 180px;
    }
    100% {
      background-position: 180px;
    }
  }
  @keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 180px;
    }
    100% {
      background-position: 180px;
    }
  }
  .paudio-player {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: center;
    width: 270px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
    box-sizing: border-box;
  }
  .palbum-cover {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
  }
  .palbum-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .pplayer-controls {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .psong-info {
    margin-bottom: 2px;
  }
  .psong-title {
    font-size: 10px;
    color: #fff;
    margin: 0;
  }
  .partist {
    font-size: 8px;
    color: #b3b3b3;
    margin: 0;
  }
  .pprogress-bar {
    width: 90%;
    height: 3px;
    background-color: #4f4f4f;
    border-radius: 2px;
    overflow: hidden;
  }
  .progress {
    width: 100%;
    height: 100%;
    background-color: #ff0000;
    transform-origin: left;
    transform: scaleX(0);
  }
  .pbuttons {
    display: flex;
  }
  pbutton {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
  }
  .play-btn,
  .pause-btn {
    font-size: 10px;
    color: #fff;
    margin-right: 8px;
    transition: transform 0.2s ease-in-out;
  }
  .play-btn:hover,
  .pause-btn:hover {
    transform: scale(1.2);
  }
  @keyframes progress-animation {
    0% {
      transform: scaleX(0);
    }
  
    100% {
      transform: scaleX(1);
    }
  }
  .volume-control {
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 15px;


  }


  @media screen and (max-width: 768px) {
    .volume-control {
      left: 50%;
      transform: translateX(-50%);
    }
  }
  .slider {
    --slider-width: 44%;
    --slider-height: 11px;
    --slider-bg: rgba(82, 82, 82, 0.322);
    --slider-border-radius: 5px;
    --level-color: #ff0000;
    --level-transition-duration: 5s;
    --icon-margin: 15px;
    --icon-color: var(--slider-bg);
    --icon-size: 25px;
  }
  .slider {
    position: absolute;
    
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .slider .volume {
    display: inline-block;
    vertical-align: top;
    margin-right: var(--icon-margin);
    color: var(--icon-color);
    width: var(--icon-size);
    height: auto;
    position: absolute;
    left: 20px;
    top: -20px;
    pointer-events: none;
    transition-duration: 0.5s;
    
  }
  .slider .level {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: var(--slider-width);
    height: var(--slider-height);
    background: var(--slider-bg);
    overflow: hidden;
    border-radius: var(--slider-border-radius);
    -webkit-transition: height var(--level-transition-duration);
    -o-transition: height var(--level-transition-duration);
    transition: height var(--level-transition-duration);
    cursor: inherit;
    transform: rotate(270deg);
  }
  .slider .level::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0px;
    height: 0px;
    -webkit-box-shadow: -200px 0 0 200px var(--level-color);
    box-shadow:
      -100px 0 5px 100px var(--level-color),
      -100px 0px 20px 100px var(--level-color);
  }
  .slider .level:hover ~ .volume {
    color: var(--level-color);
    opacity: 0.6;
  }
  .slider .level::-moz-range-thumb {
    width: 0;
    height: 0;
    border-radius: 0;
    border: none;
    box-shadow:
      -100px 0 5px 100px var(--level-color),
      -100px 0px 20px 100px var(--level-color);
  }
  .avatar-wrapper {
    position: relative;
    display: inline-block;
  }
  
  #zzz {
    position: absolute;
    top: 0;
    right: 0;
  }
  
  .z {
    position: absolute;
    font-size: 32px;
    opacity: 0;
  }
  .z-1 {
    animation: swayUpToRight 2s ease-out infinite;
  }
  .z-2 {
    animation: swayUpToRight 2s ease-out 0.5s infinite;
  }
  .z-3 {
    animation: swayUpToRight 2s ease-out 1s infinite;
  }
  .z-4 {
    animation: swayUpToRight 2s ease-out 1.5s infinite;
  }

  @keyframes swayUpToRight {
    0% {
      transform: translate(0, 0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translate(80px, -100px) rotate(30deg);
      opacity: 0;
    }
  }

  
