:root {
    --color-primary: #526aff;
    --color-primary-hover: #569dff;
    --color-secondary: #c0c0c0;
    --color-secondary-hover: #9e9a9a;
    --gradient-primary: linear-gradient(132deg, rgb(255, 199, 0) 0%, rgb(255, 244, 85) 100%);
}

body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    background: #111;
    color: #c0c0c0;
    scroll-behavior: smooth;
}

img {
    width: 100%;
    border-radius: 0.8rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 27px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 21px;
}

h5 {
    font-size: 19px;
}

h6 {
    font-size: 17px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-hover);
}

table th {
    color: #fff;
}

table td {
    color: #c0c0c0;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary-hover) !important;
}

.btn {
    border-radius: .6rem;
}

.btn:focus, .btn:focus-within, .btn:focus-visible {
    color: unset;
    box-shadow: none !important;
}

.btn-primary {
    color: white;
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    border: none;
    background: var(--gradient-primary);
    transition: all .3s;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    color: #212121;
    border: none;
    box-shadow: 0px 0px 7px 0px var(--color-primary);
}

.btn-secondary {
    color: #c0c0c0;
    background: #272727;
    border: none;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:visited {
    background: #393939;
    border: none;
    box-shadow: none;
}

hr {
    opacity: 1;
    height: 2px;
    background: #484848;
}

hr.primary {
    background: var(--gradient-primary);
}

nav {
    padding: 1rem 0;
}

.logo a {
    color: #fff;
    display: flex;
    font-family: 'Exo', sans-serif;
    align-items: center;
    width: fit-content;
}

.logo a span {
    line-height: 27px;
    font-size: 30px;
    font-weight: 800;
}

.logo img {
    max-width: 200px;
    margin-right: .5rem;
}

.menu {
    font-weight: 700;
}

.menu ul {
    display: flex;
    align-items: center;
    justify-content: end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    padding: 0 .5rem;
}

.menu ul li a:not(.btn) {
    color: var(--color-secondary);
    vertical-align: middle;
}

.menu ul li a:hover:not(.btn) {
    color: var(--color-secondary-hover);
}

.menu ul li i {
    font-size: 20px;
    vertical-align: sub;
}

.menu ul li:first-child {
    padding-left: 0;
}

.menu ul li:last-child {
    padding-right: 0;
}

.fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.fixed-menu .fixed-menu-cont {
    background: #191919;
    padding: 0 12px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 43%);
}

.fixed-menu .fixed-menu-item {
    padding: .7rem 0;
    font-weight: 700;
    display: block;
    text-align: center;
    align-self: center;
    color: var(--color-secondary);
}

.fixed-menu .fixed-menu-item:not(:last-child) {
    border-right: 1px solid #111111;
}

.fixed-menu .fixed-menu-item:hover {
    color: var(--color-secondary-hover);
}

.fixed-menu .fixed-menu-icon i {
    font-size: 25px;
}

.fixed-menu .fixed-menu-text {
    font-size: 12px;
}

.input-search {
    background: #272727 !important;
    border: none !important;
    border-radius: 0.6rem;
    color: #c0c0c0 !important;
}

.input-search::placeholder {
    color: #656565;
    opacity: 1;
}

.input-search:focus {
    box-shadow: none;
}

.slot-container {
    background: #272727;
    padding: .5rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all .3s;
    overflow: hidden;
}

.slot-container:hover {
    box-shadow: 0px 0px 7px rgb(123 123 123 / 69%);
}

.slot-title {
    margin: .5rem 0;
}

.slot-title h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot-title div {
    margin-bottom: 3px;
}

.slot-stats {
    background: #1b1b1b;
    padding: .5rem;
    border-radius: 0.5rem;
    margin: .8rem 0;
}

.slot-stats .stats-title {
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #272727;
    padding-bottom: 0.5rem;
    margin-bottom: .5rem;
}

.slot-stats .stats-list {
    display: flex;
    font-weight: 700;
    font-size: 13px;
}

.slot-stats .stats-list:not(:last-child) {
    border-bottom: 1px solid #272727;
    padding-bottom: 0.5rem;
    margin-bottom: .5rem;
}

.slot-stats .stats-list div {
    width: 50%;
}

.slot-stats .stats-list div:first-child {
    text-align: left;
}

.slot-stats .stats-list div:last-child {
    text-align: right;
}

.back-top {
    position: fixed;
    z-index: 100;
    bottom: 20px;
    right: 20px;
}

.back-top button {
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
}

.back-top button i {
    font-size: 25px;
}

footer {
    margin-bottom: 1rem;
}

.text-gradient {
    text-align: center;
    background: linear-gradient(to right, #FFC700 20%, #FFF455 40%, #FFC100 60%, #FFC94A 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    animation: shine 1.2s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.slideshow-images-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.slideshow-images {
    display: none;
}

.slideshow-images.active {
    display: block;
}

.slideshow-images img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .slideshow-images img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .slideshow-images img {
        height: 250px;
    }
}

.prev-slideshow-images, .next-slideshow-images {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next-slideshow-images {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slideshow-images:hover, .next-slideshow-images:hover {
    background-color: rgba(0,0,0,0.8);
}

.popup-container {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.popup-body {
    background-color: #272727;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 5px;
}

.popup-close:hover,
.popup-close:focus {
    color: #fff;
}

.popup-content {
    padding: 20px 10px;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    margin: auto;
    width: 70px;
    height: 17px;
}

.lds-ellipsis div {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a0a0a0;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

@media(max-width: 768px) {
    .logo a {
        margin: auto;
    }
    footer {
        margin-bottom: 85px;
    }
}

@media(max-width: 645px) {
    .back-top {
        bottom: 85px;
        right: 12px;
    }
}

.slot-container button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.5);
}

.slot-container button:active {
    transform: scale(0.98);
}

.slot-stats div[style*="background: linear-gradient(90deg, #FFC700, #FF8C00)"] {
    animation: rtpPulse 2s ease-in-out infinite;
}

@keyframes rtpPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}
