.tabs {
    max-width: 1024px;
    width: 100%;
    margin: 30px auto;
}

/* Tab Links */
.tabs ul {
    display: flex;
    flex-flow: row wrap;
    padding-top: 5px;
    border-bottom: 1px solid #fff;
}

.tab-links {
    display: flex;
    flex-wrap: wrap;
}

.tab-links li {
    width: 25%;
    max-width: 120px;
    flex: 24%;
    position: relative;
    transition: all 0.2s;
    display: block;
    margin: 0;
}

.tab-links a {
    border: 4px solid #9d9d9d;
    border-radius: 7px;
    display: block;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

.tab-links a:hover,
.tab-links li.active a {
    border-color: #fff159;
}

.tab-links a span {
    display: block;
    color: #fff;
    font-size: 8pt;
    letter-spacing: 1px;
    font-family: "Atmospheric Regular", sans-serif;
    height: 100px;
    white-space: nowrap;
}

.tab-links li.active a span {
    color: #f8d065;
}

/* Tab Content */
.tab-content {
    padding-right: 2%;
}

.tab {
    display: none;
}

.tab.active {
    display: flex;
    flex-flow: row wrap;
}

.tabs img {
    max-width: 100%;
}

/* Tab Item Styling */
.tab a {
    flex: 16.6%;
    max-width: 16.6%;
    display: block;
    padding: 5px;
    perspective: 1000px;
}

.tab a:hover,
.tab a:active {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hot Badge */
.nav-provider-hot {
    background: #ff650f;
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 2%;
    color: #FFF;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 2% 4%;
    border-radius: 15px;
    line-height: 1;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 500px) {
    .tab a {
        flex: 33.33%;
        max-width: 33.33%;
    }

    .tab-links a {
        padding: 5px;
        border-width: 2px;
    }

    .tab-links a span {
        font-size: 7px;
        height: auto;
    }

    .nav-provider-hot {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 375px) {
    .tab-links a span {
        font-size: 5px;
    }
}

/* Tab Icons */
.icon-slot,
.icon-live,
.icon-fish,
.icon-4d {
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove Borders */
.tab-links a,
.tab-links a:hover,
li.active a,
li.active a:hover {
    border: 0 !important;
}

/* Animation */
a.custom {
    animation: gameani 1.5s linear infinite;
}

@keyframes gameani {
    50% {
        transform: scale(0.90);
    }
}