html {
    scroll-behavior: smooth;
}

body {
    background-color: #eef2fb;
    color: #ffffff;
    font-family: "Barlow", sans-serif;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);
    margin: 0;
    padding: 0;
}

/* Header Style */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #045694;
    font-family: "Barlow", sans-serif;
    max-height: 100vh;
    overflow-y: auto;
    border: none !important;
}

.nav-item .nav-link {
    color: #ffffff !important;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
}

.btn-play-now {
    font-weight: 600;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);
    color: #ffffff;
    border: 0;
    transition: all 0.3s ease-in-out;
}

.btn-play-now:hover {
    color: #ffffff !important;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    transition: transform 0.3s ease;
}

.btn-play-now:hover .arrow-circle {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: #045694;
    }
    .btn-play-now {
        padding: 2;
        padding-left: 0;
    }
    .offcanvas-body {
        padding-top: 0;
    }
}

@media (min-width: 768px) {
    .offcanvas-body .navbar-nav {
        display: flex;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 0;
    }
    .navbar .container-lg {
        background-color: #045694 !important;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

/* Mobile Top Navbar */
.mobile-top-nav {
    background-color: #045694;
    height: 60px;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* Mobile Bottom Navbar */
.mobile-bottom-nav {
    background-color: #045694;
    height: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1050;
}

.mobile-bottom-nav a {
    flex: 1;
    font-size: 0.75rem;
    text-decoration: none;
}

/* Hero Styles */
.hero-section {
    padding: 60px 0 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.text-primary {
    color: #045694 !important;
}

.hero-section .btn-primary {
    background-color: #045694 !important;
    border: none;
    box-shadow: 0 4px 12px rgba(4, 86, 148, 0.2);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #034370 !important;
}

.hero-img-container {
    position: relative;
    max-width: 100%;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero-img {
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    width: 100%;
    transition: transform 0.5s ease;
}

.hero-img-container:hover .hero-img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(4, 86, 148, 0.2), transparent);
    pointer-events: none;
    border-radius: 20px;
}

/* Game Providers */
.sponsor-strip {
    overflow: hidden;
    padding-top: 20px;
}

.sponsor-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sponsor-scroll-track {
    display: flex;
    gap: 16px;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.sponsor-card {
    background: #111;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    min-width: 120px;
    max-width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause scroll on hover */
.sponsor-scroll-wrapper:hover .sponsor-scroll-track {
    animation-play-state: paused;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .sponsor-card {
        min-width: 100px;
        height: 50px;
    }
}

/* blogs styles */
.blog-section .card-title {
    font-weight: 600;
}

.blog-section .card-text {
    font-size: 0.95rem;
}

.blog-section .card img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .sticky-top {
        position: static !important;
    }

    .featured-blog {
        margin-bottom: 2rem;
    }
}

/* create account styles */
.step-box {
    transition: all 0.3s ease;
}

.step-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.step-icon svg {
    color: #045694;
}

/* promotions styles */
.promo-banner-section {
    background-color: #eef2fb;
    overflow: hidden;
}

.promo-banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-banner-img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .promo-banner-img {
        max-height: 500px;
    }
}

@media (max-width: 576px) {
    .promo-banner-img {
        max-height: 400px;
    }
}

/* Game Category Navigation Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .games-category-nav {
        top: 80px !important;
    }
}

.games-nav-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.games-nav-scroll::-webkit-scrollbar {
    display: none;
}

.game-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    background-color: #045694 !important;
    color: #ccc;
    transition: all 0.2s ease-in-out;
}

.game-tab:hover,
.game-tab:focus {
    background-color: #2d2d2d;
    color: #fff;
}

.game-tab.active {
    background-color: #0d6efd;
    color: #fff;
}

.search-box {
    min-width: 180px;
    font-size: 1rem;
    padding: 4px 10px;
    border-radius: 30px;
    background-color: #045694 !important;
    color: #fff;
}

.games-category-nav .search-box {
    color: #ccc;
}

/* Game Section Styles */
.game-category h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.game-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    margin: 0 -1rem 10px;
    padding: 0 1rem 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.game-scroll::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 auto;
    width: 170px;
    height: 170px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .game-card {
        width: 130px;
        height: 130px;
    }

    .game-category h5 {
        font-size: 1rem;
    }
}

/* Article Styles */
.article-section {
    color: #ccc !important;
}
