* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Top 10 Section */
.main {
    padding: 40px 20px;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 150px;
    justify-content: center;

}

.cards {
    padding: 40px 20px;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #ffffff96;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cards img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.cards h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.top-ten-title {
    font-size: 1.2rem;
    color: #c967c4;
    margin-bottom: 1.5rem;
}

/* Shadow Box for Top 10 Items */
.shadow-box {
    background-color: #fff;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5vw;
    border-radius: 12px;
    margin-bottom: 0.8vh;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.points {
    font-weight: bold;
    text-decoration: underline;
    color: #d428ff;
}

.name {
    background-color: #f0f0f0;
    padding: 0.4rem;
    border-radius: 4px;
    font-weight: bold;
    color: #333;
}

.arabic-numbers {
    font-weight: bold;
    color: #ff5722;
}

/* Sidebar */
.sidebar {
    padding: 30px 50px;
    /* width: 600px; */
    height: 355px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-3px);
  /*  position: absolute;
    right: 24px !important;
    top: 190px;*/
    gap: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sidebar button {
    background-color: #c967c4;
    color: white;
    border: none;
    padding: 0.8rem;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 6px;
    width: 100%;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    text-align: center;
    white-space: normal;
    line-height: 1.4;
}

.sidebar button:hover {
    background-color: #b454ad;
}

/* Menu Toggle */
#menu-toggle {
    display: none;
    position: fixed;
    position: absolute;
    top: 190px;
    right: 6.5vw;
    font-size: 20px;
    color: #c967c4;
    background-color: #ffffff4a;
    border-radius: 100px;
    z-index: 1100;
    padding: 10px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: rotate(90deg);
    animation: menu-rotate 5s linear infinite;
    transition: transform 0.3s, color 0.3s;
}

@keyframes menu-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#menu-toggle:hover {
    color: #e800b5;
    animation: paused;
    transform: rotate(0deg);
}

/* Responsive Design */
@media (max-width: 994px) {
    .sidebar {
        display: none;
    }

    #menu-toggle {
        display: block;
    }

    .sidebar.sidebar-open {
        display: flex;
        position: absolute;
        top: 240px;
        right: 2vw;
        width: 60vw;
        max-width: 260px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .ss {
        max-width: 95%;
    }

    .cards {
        padding: 3vw 2vw;
    }

    .top-ten-title {
        margin-top: 1.5vh;
    }

    .shadow-box {
        padding: 1vw;
        gap: 0.8rem;
    }

    .sidebar button {
        flex: 1 1 45%;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .ss {
        max-width: 100%;
    }

    .cards {
        padding: 4vw 3vw;
    }

    .sidebar button {
        flex: 1 1 100%;
        font-size: 0.8rem;
        padding: 0.6rem;
    }

    .shadow-box {
        flex-direction: column;
        text-align: center;
        padding: 2vw;
    }

    .shadow-box img {
        margin: 0 auto 0.8rem !important;
        width: 40px !important;
        height: 40px !important;
    }
}




/* CSS */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(248, 240, 240);
  background: #e9e1e1;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg, #e300ff, #ff00c8);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #c967c4;
  left: 0;
  top: 0;
  border-radius: 10px;
}