@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #132029;
    /* Dark background from image reference */
    color: #e0e0e0;
    overflow-x: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* or any background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

#loader img {
    width: 10%;
    animation: zoomInOut 2s infinite ease-in-out;
}

/* Utility classes for background from image */
.bg-dark-green-main {
    background-color: #132029;
}

.bg-dark-green-navbar {
    background-color: #122B25;
}

.bg-dark-green-card {
    background-color: #123455;
}

.text-golden-yellow {
    color: #4aa3fb;
}

.btn-golden-yellow {
    background-color: #4aa3fb;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-golden-yellow:hover {
    background-color: #4aa3fb;
    transform: translateY(-2px);
}

/* Navbar Styling */
.navbar {
    position: absolute;
    /* Make navbar overlap */
    top: 0;
    width: 100%;
    background-color: rgba(18, 43, 37, 0.5);
    /* Slightly transparent dark green from image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    /* Ensure it's above other content */
    border-bottom-left-radius: 0;
    /* No rounded corners at bottom when overlapping */
    border-bottom-right-radius: 0;
}

.navbar-brand img {
    height: 40px;
    border-radius: 5px;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #4aa3fb !important;
    /* Golden Yellow hover from image */
    transform: translateY(-2px);
}

.notification-icon {
    position: relative;
    font-size: 1.2rem;
    color: #4aa3fb;
    /* Golden Yellow for notification icon */
    margin-right: 15px;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #4aa3fb;
    /* Bright Red from image */
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* Hero Banner */
.hero-banner {
    background: url('assets/banner.jpg') no-repeat center center/cover;
    /* Placeholder banner image */
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
    /* Added padding-top to account for overlapping navbar */
    padding-top: 120px;
    /* Adjust based on navbar height */
    border-radius: 0;
    /* No rounded corners at top when overlapping */
    margin: 0;
    /* Remove margin to start from top edge */
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: -1;
    border-radius: 0;
}

.hero-banner h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-banner p {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.btn-hero {
    background-color: #4aa3fb;
    /* Golden Yellow button from image */
    color: #122B25;
    /* Dark green text */
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-hero:hover {
    background-color: #4aa3fb;
    /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

/* General Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4aa3fb;
    /* Golden Yellow title from image */
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4aa3fb;
    /* Golden Yellow underline */
    border-radius: 2px;
}

.bg-darker {
    background-color: #1B3D35;
    /* Dark green for alternating sections */
}

/* Game Cards Styling */
.game-card {
    background-color: #0c2620;
    /* Dark green */
    border-radius: 18px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-width: 260px;
    /* Bigger card width */
    max-width: 300px;
    /* Limit max size for consistency */
    height: 350px;
    /* Taller card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bigger images inside cards */
.game-card img {
    width: 100%;
    height: 240px !important;
    /* Increased image height */
    object-fit: cover;
    /* Fill the card area */
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Hover animations */
.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
}

.game-card:hover img {
    transform: scale(1.08);
}

/* Labels/Badges */
.game-card .badge {
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Promotional Banners (like in image) */
.promo-banner {
    background-color: #1B3D35;
    /* Dark green card background */
    border-radius: 15px;
    padding: 30px;
    /* margin: 40px 0; */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(27, 61, 53, 0.8), rgba(27, 61, 53, 0.2)), url('https://placehold.co/1200x300/1B3D35/4aa3fb?text=PROMO+BG') no-repeat center center/cover;
    z-index: -1;
    filter: brightness(0.6);
}

.promo-banner .promo-content {
    z-index: 1;
}

.promo-banner h3 {
    color: #4aa3fb;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-banner p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.promo-banner img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-left: 20px;
}

/* Game Categories like in the image */
.game-category-section {
    padding: 40px 0;
    background-color: #102c44;
    /* Dark green for this section */
    border-radius: 15px;
    margin-bottom: 40px;
}

.game-category-title {
    color: #4aa3fb;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 5px solid #4aa3fb;
}

/* Specific styling for horizontal game cards (Original Games) */
.original-games-row .game-card {
    min-width: 160px;
    /* Fixed width for horizontal scrolling items */
    flex-shrink: 0;
    /* Prevent cards from shrinking */
    margin-right: 15px;
    /* Spacing between cards */
}

.original-games-row .game-card:last-child {
    margin-right: 0;
}

.game-card2 {
    background-color: #043a51;
    /* Casino theme card background */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.game-card2 img {
    width: 100%;
    height: 200px;
    /* ✅ Better size (matches Top Casino Games) */
    object-fit: cover;
    transition: transform 0.3s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.game-card2:hover img {
    transform: scale(1.05);
}

.game-card2 .card-body {
    flex: 1;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card2 .card-title {
    color: #4aa3fb;
    /* Golden accent */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-card2 .card-text {
    color: #c0c0c0;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* 🎰 Highlights Section (Casino Leaderboard Style) */
.highlights-section {
    /* background: linear-gradient(145deg, #0c2620, #1B3D35); */
    border-radius: 18px;
    padding: 35px;
    margin-top: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.highlights-section h3 {
    color: #4aa3fb;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 6px solid #4aa3fb;
    padding-left: 12px;
}

/* Table Styling */
.highlights-table {
    width: 100%;
    /* border-collapse: separate; */
    border-spacing: 0 12px;
}

.highlights-table th {
    color: #4aa3fb;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    letter-spacing: 0.5px;
}

.highlights-table td {
    color: #f1f1f1;
    padding: 16px 12px;
    background-color: #1F4251;
    /* border-radius: 10px; */
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}

.highlights-table td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.highlights-table td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Hover effect */
.highlights-table tbody tr:hover td {
    /* background: linear-gradient(145deg, #2a5264, #22434f); */
    transform: translateY(-3px);
    /* box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4); */
}

/* Player Avatar */
.highlights-table .player-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #4aa3fb;
}

/* Game Icon */
.highlights-table .game-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
}

/* Flex alignment for player & game cells */
.highlights-table .player-info,
.highlights-table .game-info {
    display: flex;
    align-items: center;
}


/* Free Coins / VIP Club Section */
.dual-promo-card {
    background-color: #1B3D35;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Ensure equal height */
}

.dual-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(27, 61, 53, 0.8), rgba(27, 61, 53, 0.2)), url('https://placehold.co/600x400/1B3D35/4aa3fb?text=PROMO+BG') no-repeat center center/cover;
    z-index: -1;
    filter: brightness(0.6);
}

.dual-promo-card h4 {
    color: #4aa3fb;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.dual-promo-card p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.dual-promo-card img {
    max-width: 100%;
    height: 350px !important;
    border-radius: 10px;
    margin-top: 20px;
}

.dual-promo-card:hover {
    box-shadow: 0 12px 35px rgba(0, 191, 255, 0.8);
}

/* Live Games Section */
.live-game-card {
    background-color: #1B3D35;
    /* Dark green for cards from image */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.live-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.live-game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.live-game-card:hover img {
    filter: brightness(0.9);
}

.live-game-card .live-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #4aa3fb;
    /* Bright Red from image */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.live-game-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 20px;
    color: white;
}

.live-game-card .card-overlay .card-title {
    color: #4aa3fb;
    /* Golden Yellow title from image */
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.live-game-card .card-overlay .card-text {
    font-size: 0.95rem;
    color: #f0f0f0;
}

.btn-play-now {
    background-color: #4aa3fb;
    /* Golden Yellow button from image */
    color: #122B25;
    /* Dark green text */
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-play-now:hover {
    background-color: #4aa3fb;
    /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

/* Testimonials Slider (Carousel) */
.testimonial-card {
    background-color: #1B3D35;
    /* Dark green for cards from image */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    height: 100%;
    /* Ensure consistent height */
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4aa3fb;
    /* Golden Yellow border from image */
}

.testimonial-card h4 {
    color: #4aa3fb;
    /* Golden Yellow heading from image */
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-card p {
    color: #c0c0c0;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card .stars {
    color: #4aa3fb;
    /* Golden Yellow stars from image */
    font-size: 1.1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(251, 191, 36, 0.7);
    /* Golden Yellow tint with transparency */
    border-radius: 50%;
    padding: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Blog Section */
.blog-card {
    background-color: #063f70;
    /* Dark green for cards from image */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 25px;
}

.blog-card .card-title {
    color: #4aa3fb;
    /* Golden Yellow title from image */
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card .card-text {
    color: #c0c0c0;
    line-height: 1.7;
}

.blog-card .btn-read-more {
    color: #4aa3fb;
    /* Golden Yellow link from image */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .btn-read-more:hover {
    color: #4aa3fb;
    /* Slightly darker gold on hover */
    text-decoration: underline;
}

/* Footer */

.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay for footer */
    z-index: -1;
}

.main-footer h5 {
    color: #4aa3fb;
    /* Golden Yellow heading from image */
    font-weight: 600;
    margin-bottom: 25px;
}

.main-footer p,
.main-footer a {
    color: #c0c0c0;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: #4aa3fb;
    /* Golden Yellow hover from image */
}

.footer-social-icons a {
    color: #c0c0c0;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: #4aa3fb;
    /* Golden Yellow hover from image */
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: #a0a0a0;
}

/* Custom Scrollbar for horizontal game rows */
.overflow-auto::-webkit-scrollbar {
    height: 8px;
}

.overflow-auto::-webkit-scrollbar-track {
    background: #1B3D35;
    border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: #4aa3fb;
    border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-thumb:hover {
    background: #4aa3fb;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hero-banner h1 {
        font-size: 3rem;
    }

    .hero-banner p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .testimonial-card img {
        width: 60px;
        height: 60px;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
    }

    .promo-banner img {
        margin-top: 30px;
        margin-left: 0;
    }

    .dual-promo-card img {
        max-width: 120px;
    }

    /* Adjust padding for smaller screens if navbar collapses */
    .hero-banner {
        padding-top: 80px;
        /* Smaller padding when navbar is taller */
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 450px;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .highlights-table th,
    .highlights-table td {
        font-size: 0.85rem;
        padding: 10px 5px;
    }

    .highlights-table .player-avatar {
        width: 25px;
        height: 25px;
    }

    .highlights-table .game-icon {
        width: 20px;
        height: 20px;
    }

    .original-games-row .game-card {
        min-width: 120px;
        /* Smaller fixed width for very small screens */
    }
}

/* Blue overlay effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 60, 150, 0.6);
    /* Blue tint */
    z-index: 1;
}

/* Countdown Box Style */
.count-box {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 90px;
}

.count-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.count-box span {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* Different colors */
.count-box.hour {
    border-color: #ff4d4d;
}

.count-box.min {
    border-color: #ff9900;
}

.count-box.sec {
    border-color: #0099ff;
}

/* Breadcrumb Wrapper */
.breadcrumb-wrapper {
    background: url("assets/breadcrumb-bg.jpg") center/cover no-repeat;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

/* Breadcrumb Base */
.breadcrumb {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    background: transparent;
}

/* Items */
.breadcrumb-item a {
    color: #4aa3fb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
}

/* Divider > sign */
.breadcrumb-item+.breadcrumb-item::before {
    content: ">>";
    padding: 0 10px;
    color: #ccc;
}

/* Active Item */
.breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}