* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

p, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

body, html {
    padding: 0;
    margin: 0;
}

body {
    background: var(--bg-color);
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

h1 {
    font-size: 62px;
    font-weight: 600;
    line-height: 50px;
    color: var(--second-text-color);
    margin-bottom: 20px;
}

.sub-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    color: var(--second-text-color);
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--main-text-color);
    margin-bottom: 40px;
}

h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--h4-text-color);
    margin-bottom: 10px;
}

.section-block {
    margin: 50px 0;
}

.dark-section {
    background-color: var(--dark-section-color);
    width: 100%;
    margin: 0;
    padding: 50px 0;
}

.list {
    margin: 24px 0;
}

.list li {
    color: var(--main-text-color);
    list-style: square;
    margin-bottom: 4px;
    padding: 4px 0;
    font-size: 16px;
}

p, table {
    line-height: 22px;
    text-align: justify;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 300;
    color: var(--p-text-color);
}

.header {
    background: var(--bg-header);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.btn {
    padding: 15px 30px;
    border: none;
    color: var(--btn-text-color);
    text-decoration: none;
    font-size: 18px;
    border-radius: 2px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s;
    white-space: nowrap;
}

.btn:hover {
    filter: brightness(85%);
}

.btn-signup {
    background: transparent;
    margin-right: 5px;
    border: 2px solid var(--btn-bg-signup-color);
    color: var(--btn-bg-signup-color);
}

.btn-login {
    background: var(--btn-bg-login-color);
    border: 2px solid var(--btn-bg-login-color);
}

.btn-get-bonus {
    background: var(--btn-bg-get-bonus-color);
}

.logo {
    width: 160px;
}
.logo img {
    width: 100%;
}

.nav-header ul {
    display: flex;
    gap: 30px;
}

.nav-header ul li a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
}

.side-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 0;
    background: var(--bg-color);
    overflow: hidden;
    transition: width 0.4s;
    z-index: 10;
}

.side-panel ul {
    padding: 40px;
}

.side-panel img {
    padding: 30px 40px;
}

.side-panel li {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
    white-space: nowrap;
    padding: 10px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .1);
}

.side-panel-open {
    display: none;
    border: none;
    background: transparent;
    color: var(--main-text-color);
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
}

.side-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    color: var(--main-text-color);
    font-size: 38px;
    width: 40px;
    height: 40px;
    font-weight: bold;
    cursor: pointer;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.nav-list li {
    width: 50%;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 17px;
    text-transform: uppercase;
}

.hero-section {
    background-image: url("../assets/banner/betninja-casino-banner.webp");
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.info-img {
    height: 100%;
    width: 45%;
    flex-shrink: 0;
}

.info-img img {
    width: 100%;
    height: 100%;
}

.info-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    text-decoration: underline;
    color: var(--p-text-color);
}

.info-link:hover {
    text-decoration: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
}

footer {
    background: var(--bg-footer);
    margin-top: auto;
    width: 100%;
}

.footer-margin {
    margin-top: 60px;
}

.footer-content {
    padding: 40px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-bottom-p {
    padding: 40px 0 0;
}

.nav-footer {
    margin-bottom: 20px;
}

.nav-footer ul {
    display: flex;
    gap: 20px;
}

.nav-footer ul li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--btn-text-color);
}

.banners-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 20px;
}

.banners-block img {
    height: 35px;
}

.banners-block-mobile-overlay {
    overflow: hidden;
    width: 100%;
}

.banners-block-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 20px;
    transform: translate(0);
    animation: 10s anBanners forwards infinite linear;
}

@keyframes anBanners {
    0% {
        transform: translate(0);
    }
    100% {
        transform: translate(-968.71px);
    }
}

.banners-block-mobile img {
    height: 35px;
}

.footer-small {
    font-size: 14px;
    font-weight: 300;
    color: #b8b8b8;
    margin-bottom: 5px;
    margin-top: 0;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.game-card {
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.15);
}
.game-card:hover {
    transform: scale(1.05);
}

.image-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-container img {
    width: 100%;
    display: block;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .hover-overlay {
    opacity: 1;
}

.text-container {
    padding: 10px 20px 20px;
    background-color: var(--bg-color);
}

.game-title {
    font-size: 20px;
    color: var(--main-text-color);
    margin-right: 40px;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.game-title:after {
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: -30px;
    content: '>';
    transition: 0.2s;
}

.game-text {
    margin: 0;
}

.game-card:hover .game-title {
    color: var(--h4-text-color);
}

.game-card:hover .game-title:after {
    color: var(--h4-text-color);
    transform: translate(5px, -50%);
}

@media screen and (max-width: 1150px) {
    .hero-banner {
        height: 400px;
    }
    .nav-header {
        display: none;
    }
    .nav-footer ul {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .side-panel-open {
        display: block;
    }
    .btn-container {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding: 0 40px;
    }
}

@media screen and (max-width: 1000px) {
    .banners-block {
        display: none;
    }
    .banners-block-mobile{
        display: flex;
    }
}

@media screen and (max-width: 600px) {
    .hero-banner {
        height: 350px;
    }
    .header-content {
        padding: 24px 0 80px;
    }
    .btn-container {
        display: flex;
        position: absolute;
        width: calc(100% - 40px);
        top: 90px;
        padding: 0;
    }
    .btn-signup, .btn-login {
        width: 100%;
    }
    .hero-banner-content {
        padding: 40px;
        width: 100%;
    }
    .info {
        flex-direction: column;
    }
    .info-img {
        height: 100%;
        width: 100%;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 500px) {
    .nav-list li {
        width: 100%;
    }
    h1 {
        font-size: 30px;
    }
}



