.king-night .active-tab {
    background: #313131;
}

.king-night .active-content {
    background: #080808;
}

.king-night .active-tab {
    background: #313131;
}

.king-night .tab {
    background: #313131;
}

.tab {
    display: inline-block;
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #fff;
    margin-right: 10px;
    transition: background 0.3s;
}

.player-start-rate p {
    color: #fff;
}

.tab:hover {
    background: #ddd;
}

.active-tab {
    background: #fff;
    border-top: 5px solid #007BFF;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.tab-content {
    display: none;
}

.active-content {
    display: block;
    background: #fff;
    border-radius: 0 16px 16px 16px;
}

.chart-container {
    width: 100%;
}

.priceList {
    display: flex;
    gap: 5px;
}

.chartcontainer {
    margin-top: 20px;
}

.leaderboard-score {
    /* display: flex; */
    /* align-items: center; */
    /* padding-top: 20px; */
    /* padding: 30px 30px 30px 30px; */
    /* margin: 30px 50px 0px 50px; */
    /* padding: 10px 60px; */
}

.king-night .leaderboard {
    background: #000000;
}

.king-night .leader-borad-content h2 {
    color: #fff;
}

.king-night .player-score {
    background: #313131;
}

.leaderboard {
    width: 700px;
    /* margin: 0 auto; */
    background-image: linear-gradient(to right top, #35685b, #007277, #0078a0, #007aca, #0072e3, #007cec, #0086f6, #0090ff, #00b0ff, #00ccff, #00e5fd, #5ffbf1);
    border-radius: 0 10px 10px 10px;
    border: 5px solid #007BFF;
    /* margin-top: 50px; */
    background: #f0f2f6;
}

.leader-borad-content {
    position: relative;
    border-radius: 5px;
}

.rank-details {
    padding: 10px 0 10px 0px;
    overflow: scroll;
    height: 600px;
    overflow-x: hidden;
}

.leaderboard-score {
    display: flex;
    align-items: center;
    padding-top: 20px;
    /* padding: 30px 30px 30px 30px; */
    /* margin: 30px 50px 0px 50px; */
    padding: 10px 60px;
}

.player-score {
    display: flex;
    background: #6b6ce8;
    padding: 0 20px;
    border-radius: 7px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0px;
    color: #fff;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.player-start-rate {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-start-rate p {
    font-weight: bolder;
    font-size: 16px;
    margin: 0;
    width: 120px;
    text-align: center;
}

.player-rank-number {
    font-size: 18px;
    font-weight: 700;
    margin: 0px;
    line-height: 50px;
    width: 60px;
    text-align: center;
    color: #fff;
}

.author-img-section {
    /* width: 100px; */
    width: 100%;
}

.author-img {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-circle-img {
    width: 30px;
    height: 30px;
}

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

.player-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.player-name a {
    color: #ffffff;
}

.pyro>.before,
.pyro>.after {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
    -moz-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
    -webkit-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
    -o-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
    -ms-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
    animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
}

@-webkit-keyframes bang {
    to {
        box-shadow: -50px -117.6666666667px #ff1100, 108px -266.6666666667px #008cff, 113px -13.6666666667px #ffa600, -92px -414.6666666667px #ff9900, 97px -394.6666666667px #009dff, -5px -306.6666666667px #ae00ff, -84px -135.6666666667px #ff007b, -107px -401.6666666667px #0095ff, 245px -48.6666666667px #ff3300, -173px -240.6666666667px #4000ff, -229px -406.6666666667px #ff003c, 218px -340.6666666667px #00ff4d, -148px -211.6666666667px #ff8000, 248px -363.6666666667px #0400ff, 90px -66.6666666667px #00ff26, -4px -362.6666666667px #00ff80, 124px 10.3333333333px #00fffb, -117px -261.6666666667px #1aff00, 192px -232.6666666667px #ff0080, 191px 79.3333333333px #ff000d, -90px -286.6666666667px #00ff33, 212px -398.6666666667px #00ff6f, 160px -400.6666666667px #8cff00, 74px 51.3333333333px #ff0080, 193px -109.6666666667px #ff6600, -40px 62.3333333333px #9100ff, 58px -116.6666666667px #5e00ff, 119px -126.6666666667px #00ff59, -68px -79.6666666667px #ff0088, 59px 9.3333333333px #ffbb00, 13px -385.6666666667px #ff5500, -77px -221.6666666667px #00ff5e, -171px -393.6666666667px #00ff84, -148px -149.6666666667px #0091ff, -122px 40.3333333333px #00ffea, -138px -225.6666666667px #0084ff, 112px -115.6666666667px #ff00bb, 150px -45.6666666667px #ffbf00, 139px 8.3333333333px #62ff00, 44px -285.6666666667px #0dff00, -84px -351.6666666667px #00ff40, 100px 75.3333333333px #0009ff, 199px -361.6666666667px #00ff0d, 155px -345.6666666667px #66ff00, 219px -78.6666666667px #ff1a00, -82px -126.6666666667px #ff003c, -231px 1.3333333333px #ff6600, 43px -103.6666666667px #9900ff, -174px -62.6666666667px #00ffd5, 14px -2.6666666667px #00f7ff, -177px 32.3333333333px #ae00ff;
    }
}

@-moz-keyframes bang {
    to {
        box-shadow: -50px -117.6666666667px #ff1100, 108px -266.6666666667px #008cff, 113px -13.6666666667px #ffa600, -92px -414.6666666667px #ff9900, 97px -394.6666666667px #009dff, -5px -306.6666666667px #ae00ff, -84px -135.6666666667px #ff007b, -107px -401.6666666667px #0095ff, 245px -48.6666666667px #ff3300, -173px -240.6666666667px #4000ff, -229px -406.6666666667px #ff003c, 218px -340.6666666667px #00ff4d, -148px -211.6666666667px #ff8000, 248px -363.6666666667px #0400ff, 90px -66.6666666667px #00ff26, -4px -362.6666666667px #00ff80, 124px 10.3333333333px #00fffb, -117px -261.6666666667px #1aff00, 192px -232.6666666667px #ff0080, 191px 79.3333333333px #ff000d, -90px -286.6666666667px #00ff33, 212px -398.6666666667px #00ff6f, 160px -400.6666666667px #8cff00, 74px 51.3333333333px #ff0080, 193px -109.6666666667px #ff6600, -40px 62.3333333333px #9100ff, 58px -116.6666666667px #5e00ff, 119px -126.6666666667px #00ff59, -68px -79.6666666667px #ff0088, 59px 9.3333333333px #ffbb00, 13px -385.6666666667px #ff5500, -77px -221.6666666667px #00ff5e, -171px -393.6666666667px #00ff84, -148px -149.6666666667px #0091ff, -122px 40.3333333333px #00ffea, -138px -225.6666666667px #0084ff, 112px -115.6666666667px #ff00bb, 150px -45.6666666667px #ffbf00, 139px 8.3333333333px #62ff00, 44px -285.6666666667px #0dff00, -84px -351.6666666667px #00ff40, 100px 75.3333333333px #0009ff, 199px -361.6666666667px #00ff0d, 155px -345.6666666667px #66ff00, 219px -78.6666666667px #ff1a00, -82px -126.6666666667px #ff003c, -231px 1.3333333333px #ff6600, 43px -103.6666666667px #9900ff, -174px -62.6666666667px #00ffd5, 14px -2.6666666667px #00f7ff, -177px 32.3333333333px #ae00ff;
    }
}

@-o-keyframes bang {
    to {
        box-shadow: -50px -117.6666666667px #ff1100, 108px -266.6666666667px #008cff, 113px -13.6666666667px #ffa600, -92px -414.6666666667px #ff9900, 97px -394.6666666667px #009dff, -5px -306.6666666667px #ae00ff, -84px -135.6666666667px #ff007b, -107px -401.6666666667px #0095ff, 245px -48.6666666667px #ff3300, -173px -240.6666666667px #4000ff, -229px -406.6666666667px #ff003c, 218px -340.6666666667px #00ff4d, -148px -211.6666666667px #ff8000, 248px -363.6666666667px #0400ff, 90px -66.6666666667px #00ff26, -4px -362.6666666667px #00ff80, 124px 10.3333333333px #00fffb, -117px -261.6666666667px #1aff00, 192px -232.6666666667px #ff0080, 191px 79.3333333333px #ff000d, -90px -286.6666666667px #00ff33, 212px -398.6666666667px #00ff6f, 160px -400.6666666667px #8cff00, 74px 51.3333333333px #ff0080, 193px -109.6666666667px #ff6600, -40px 62.3333333333px #9100ff, 58px -116.6666666667px #5e00ff, 119px -126.6666666667px #00ff59, -68px -79.6666666667px #ff0088, 59px 9.3333333333px #ffbb00, 13px -385.6666666667px #ff5500, -77px -221.6666666667px #00ff5e, -171px -393.6666666667px #00ff84, -148px -149.6666666667px #0091ff, -122px 40.3333333333px #00ffea, -138px -225.6666666667px #0084ff, 112px -115.6666666667px #ff00bb, 150px -45.6666666667px #ffbf00, 139px 8.3333333333px #62ff00, 44px -285.6666666667px #0dff00, -84px -351.6666666667px #00ff40, 100px 75.3333333333px #0009ff, 199px -361.6666666667px #00ff0d, 155px -345.6666666667px #66ff00, 219px -78.6666666667px #ff1a00, -82px -126.6666666667px #ff003c, -231px 1.3333333333px #ff6600, 43px -103.6666666667px #9900ff, -174px -62.6666666667px #00ffd5, 14px -2.6666666667px #00f7ff, -177px 32.3333333333px #ae00ff;
    }
}

@-ms-keyframes bang {
    to {
        box-shadow: -50px -117.6666666667px #ff1100, 108px -266.6666666667px #008cff, 113px -13.6666666667px #ffa600, -92px -414.6666666667px #ff9900, 97px -394.6666666667px #009dff, -5px -306.6666666667px #ae00ff, -84px -135.6666666667px #ff007b, -107px -401.6666666667px #0095ff, 245px -48.6666666667px #ff3300, -173px -240.6666666667px #4000ff, -229px -406.6666666667px #ff003c, 218px -340.6666666667px #00ff4d, -148px -211.6666666667px #ff8000, 248px -363.6666666667px #0400ff, 90px -66.6666666667px #00ff26, -4px -362.6666666667px #00ff80, 124px 10.3333333333px #00fffb, -117px -261.6666666667px #1aff00, 192px -232.6666666667px #ff0080, 191px 79.3333333333px #ff000d, -90px -286.6666666667px #00ff33, 212px -398.6666666667px #00ff6f, 160px -400.6666666667px #8cff00, 74px 51.3333333333px #ff0080, 193px -109.6666666667px #ff6600, -40px 62.3333333333px #9100ff, 58px -116.6666666667px #5e00ff, 119px -126.6666666667px #00ff59, -68px -79.6666666667px #ff0088, 59px 9.3333333333px #ffbb00, 13px -385.6666666667px #ff5500, -77px -221.6666666667px #00ff5e, -171px -393.6666666667px #00ff84, -148px -149.6666666667px #0091ff, -122px 40.3333333333px #00ffea, -138px -225.6666666667px #0084ff, 112px -115.6666666667px #ff00bb, 150px -45.6666666667px #ffbf00, 139px 8.3333333333px #62ff00, 44px -285.6666666667px #0dff00, -84px -351.6666666667px #00ff40, 100px 75.3333333333px #0009ff, 199px -361.6666666667px #00ff0d, 155px -345.6666666667px #66ff00, 219px -78.6666666667px #ff1a00, -82px -126.6666666667px #ff003c, -231px 1.3333333333px #ff6600, 43px -103.6666666667px #9900ff, -174px -62.6666666667px #00ffd5, 14px -2.6666666667px #00f7ff, -177px 32.3333333333px #ae00ff;
    }
}

@keyframes bang {
    to {
        box-shadow: -50px -117.6666666667px #ff1100, 108px -266.6666666667px #008cff, 113px -13.6666666667px #ffa600, -92px -414.6666666667px #ff9900, 97px -394.6666666667px #009dff, -5px -306.6666666667px #ae00ff, -84px -135.6666666667px #ff007b, -107px -401.6666666667px #0095ff, 245px -48.6666666667px #ff3300, -173px -240.6666666667px #4000ff, -229px -406.6666666667px #ff003c, 218px -340.6666666667px #00ff4d, -148px -211.6666666667px #ff8000, 248px -363.6666666667px #0400ff, 90px -66.6666666667px #00ff26, -4px -362.6666666667px #00ff80, 124px 10.3333333333px #00fffb, -117px -261.6666666667px #1aff00, 192px -232.6666666667px #ff0080, 191px 79.3333333333px #ff000d, -90px -286.6666666667px #00ff33, 212px -398.6666666667px #00ff6f, 160px -400.6666666667px #8cff00, 74px 51.3333333333px #ff0080, 193px -109.6666666667px #ff6600, -40px 62.3333333333px #9100ff, 58px -116.6666666667px #5e00ff, 119px -126.6666666667px #00ff59, -68px -79.6666666667px #ff0088, 59px 9.3333333333px #ffbb00, 13px -385.6666666667px #ff5500, -77px -221.6666666667px #00ff5e, -171px -393.6666666667px #00ff84, -148px -149.6666666667px #0091ff, -122px 40.3333333333px #00ffea, -138px -225.6666666667px #0084ff, 112px -115.6666666667px #ff00bb, 150px -45.6666666667px #ffbf00, 139px 8.3333333333px #62ff00, 44px -285.6666666667px #0dff00, -84px -351.6666666667px #00ff40, 100px 75.3333333333px #0009ff, 199px -361.6666666667px #00ff0d, 155px -345.6666666667px #66ff00, 219px -78.6666666667px #ff1a00, -82px -126.6666666667px #ff003c, -231px 1.3333333333px #ff6600, 43px -103.6666666667px #9900ff, -174px -62.6666666667px #00ffd5, 14px -2.6666666667px #00f7ff, -177px 32.3333333333px #ae00ff;
    }
}

@-webkit-keyframes gravity {
    to {
        transform: translateY(200px);
        -moz-transform: translateY(200px);
        -webkit-transform: translateY(200px);
        -o-transform: translateY(200px);
        -ms-transform: translateY(200px);
        opacity: 0;
    }
}

@-moz-keyframes gravity {
    to {
        transform: translateY(200px);
        -moz-transform: translateY(200px);
        -webkit-transform: translateY(200px);
        -o-transform: translateY(200px);
        -ms-transform: translateY(200px);
        opacity: 0;
    }
}

@-o-keyframes gravity {
    to {
        transform: translateY(200px);
        -moz-transform: translateY(200px);
        -webkit-transform: translateY(200px);
        -o-transform: translateY(200px);
        -ms-transform: translateY(200px);
        opacity: 0;
    }
}

@-ms-keyframes gravity {
    to {
        transform: translateY(200px);
        -moz-transform: translateY(200px);
        -webkit-transform: translateY(200px);
        -o-transform: translateY(200px);
        -ms-transform: translateY(200px);
        opacity: 0;
    }
}

@keyframes gravity {
    to {
        transform: translateY(200px);
        -moz-transform: translateY(200px);
        -webkit-transform: translateY(200px);
        -o-transform: translateY(200px);
        -ms-transform: translateY(200px);
        opacity: 0;
    }
}

@-webkit-keyframes position {

    0%,
    19.9% {
        margin-top: 10%;
        margin-left: 40%;
    }

    20%,
    39.9% {
        margin-top: 40%;
        margin-left: 30%;
    }

    40%,
    59.9% {
        margin-top: 20%;
        margin-left: 70%;
    }

    60%,
    79.9% {
        margin-top: 30%;
        margin-left: 20%;
    }

    80%,
    99.9% {
        margin-top: 30%;
        margin-left: 80%;
    }
}

@-moz-keyframes position {

    0%,
    19.9% {
        margin-top: 10%;
        margin-left: 40%;
    }

    20%,
    39.9% {
        margin-top: 40%;
        margin-left: 30%;
    }

    40%,
    59.9% {
        margin-top: 20%;
        margin-left: 70%;
    }

    60%,
    79.9% {
        margin-top: 30%;
        margin-left: 20%;
    }

    80%,
    99.9% {
        margin-top: 30%;
        margin-left: 80%;
    }
}

@-o-keyframes position {

    0%,
    19.9% {
        margin-top: 10%;
        margin-left: 40%;
    }

    20%,
    39.9% {
        margin-top: 40%;
        margin-left: 30%;
    }

    40%,
    59.9% {
        margin-top: 20%;
        margin-left: 70%;
    }

    60%,
    79.9% {
        margin-top: 30%;
        margin-left: 20%;
    }

    80%,
    99.9% {
        margin-top: 30%;
        margin-left: 80%;
    }
}

@-ms-keyframes position {

    0%,
    19.9% {
        margin-top: 10%;
        margin-left: 40%;
    }

    20%,
    39.9% {
        margin-top: 40%;
        margin-left: 30%;
    }

    40%,
    59.9% {
        margin-top: 20%;
        margin-left: 70%;
    }

    60%,
    79.9% {
        margin-top: 30%;
        margin-left: 20%;
    }

    80%,
    99.9% {
        margin-top: 30%;
        margin-left: 80%;
    }
}

@keyframes position {

    0%,
    19.9% {
        margin-top: 10%;
        margin-left: 40%;
    }

    20%,
    39.9% {
        margin-top: 40%;
        margin-left: 30%;
    }

    40%,
    59.9% {
        margin-top: 20%;
        margin-left: 70%;
    }

    60%,
    79.9% {
        margin-top: 30%;
        margin-left: 20%;
    }

    80%,
    99.9% {
        margin-top: 30%;
        margin-left: 80%;
    }
}

.leaderboard-score-div {
    display: flex;
    align-items: center;
}
.leaderboard-score {
    display: flex;
    align-items: center;
    padding-top: 20px;
    /* padding: 30px 30px 30px 30px; */
    /* margin: 30px 50px 0px 50px; */
    padding: 10px 60px;
}

.leader-borad-content h2 {
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
}

/* Track */
.rank-details::-webkit-scrollbar {
    width: 5px;
}

.rank-details::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.rank-details::-webkit-scrollbar-thumb {
    background: #747474;
    border-radius: 10px;
}

a.featured-title {
    background: #000000c2;
    padding: 10px;
    border-radius: 5px;
}

/* Handle on hover */
.rank-details::-webkit-scrollbar-thumb:hover {
    background: #000;
}

/* WooCommerce Product Gallery - Ensure all images are visible */
.woocommerce-product-gallery__wrapper {
	display: block !important;
}

.woocommerce-product-gallery__image {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure thumbnails are displayed */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	margin-bottom: 10px;
}

/* Display thumbnails in a grid if using flex slider */
.woocommerce-product-gallery .flex-control-thumbs {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: 15px !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	margin: 0 !important;
	flex: 0 0 auto !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: #7c3aed;
}

/* For newer WooCommerce gallery structure */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:not(:first-child) {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure all gallery images are clickable and visible */
.woocommerce-product-gallery__image a {
	display: block !important;
}

/* Make sure gallery images are not hidden */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
	display: block !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex !important;
}