/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #eee;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding-bottom: 60px; /* Space for mobile bottom nav */
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Bar */
#top-bar {
    background-color: #0d0d0d;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    position: relative; /* For hamburger positioning */
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.website-title {
    font-size: 1.8em;
    color: #ffcc00; /* Gold color */
    text-transform: uppercase;
}

.promo-banner {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-left: 15px;
    display: none; /* Hidden by default on mobile, show on larger screens */
}

.top-right-section {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between auth and hamburger */
}

.auth-section {
    /* Login/Signup buttons and user profile were here, now only hamburger remains on mobile */
    display: flex; /* Keep flex for potential desktop items, but will be empty without login */
    align-items: center;
    gap: 10px;
}

/* Base button styles, used by play-btn, info-btn */
/* .btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
} */


/* User Profile & Dropdown styles removed as per request */

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101; /* Above other elements */
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffcc00;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animation for X icon */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Top Bar Image Slider (Hero Carousel) */
#hero-slider {
    width: 100%;
    height: 250px; /* Fixed height for the slider */
    overflow: hidden;
    position: relative;
    background-color: #111;
    border-bottom: 1px solid #333;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%; /* Each slide takes full width */
    height: 100%;
    position: relative;
    cursor: pointer;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffcc00;
}


/* Menu Bar */
#menu-bar {
    background-color: #222;
    padding: 10px 20px;
    border-bottom: 1px solid #444;
    animation: menuSlideIn 0.8s ease-out forwards; /* Slide-in animation */
    transform: translateX(-100%); /* Start off-screen */
    opacity: 0; /* Start hidden for animation */
}

@keyframes menuSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
}

.menu-item {
    text-decoration: none;
    color: #ddd;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-item img {
    height: 20px; /* Adjust icon size */
    width: auto;
}

.menu-item:hover, .menu-item.active {
    background-color: #333;
    color: #ffcc00;
}



/* Main Categories Showcase Section (from image) */
#main-categories-showcase {
    margin-top: 40px; /* Space from above content */
    padding: 0 20px;
}

.category-showcase-grid {
    display: flex; /* Changed from grid to flex for horizontal layout */
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); Removed grid property */
    gap: 20px;
    max-width: 900px; /* Limit width as seen in image */
    margin: 0 auto;
    /* justify-content: center; Not strictly necessary with overflow-x auto, but can be kept for initial alignment if content doesn't fill */
    overflow-x: auto; /* Enables horizontal scrolling and makes the scrollbar appear automatically */
    -webkit-overflow-scrolling: touch; /* Improves scrolling performance on iOS devices */
    scroll-snap-type: x mandatory; /* Enables horizontal scroll snapping */
    padding-bottom: 15px; /* Added space for the scrollbar to be visible */
}

.category-showcase-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    height: 220px; /* Fixed height as in the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For illustration positioning */
    flex-shrink: 0; /* Prevents cards from shrinking, ensuring they stay in a single row */
    min-width: 280px; /* Ensures each card maintains a minimum width */
    scroll-snap-align: start; /* Snaps the start of each card to the scroll container */
}

.category-showcase-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.category-showcase-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px; /* Space between header and description */
    position: relative;
    z-index: 2; /* Above illustration */
}

.category-showcase-card .category-icon {
    width: 30px;
    height: 30px;
    filter: brightness(1.2); /* Make icons pop a bit */
}

.category-showcase-card .category-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
}

.category-showcase-card .card-illustration {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1; /* Behind text */
    opacity: 0.8;
}

.category-showcase-card .card-illustration img {
    height: 150px; /* Adjust size of illustrations */
    width: auto;
    display: block; /* Remove extra space below image */
}

.category-showcase-card .card-description {
    font-size: 0.9em;
    color: #ccc;
    flex-grow: 1; /* Push illustration to bottom */
    position: relative;
    z-index: 2;
    padding-right: 50%; /* Make space for the illustration */
}

/* Specific Backgrounds for each Category Card */
.category-showcase-card.casino-bg {
    background: linear-gradient(135deg, #2e4d41, #1e3b33);
}
.category-showcase-card.sports-bg {
    background: linear-gradient(135deg, #4d2e41, #3b1e33);
}
.category-showcase-card.sprite-bg {
    background: linear-gradient(135deg, #2e414d, #1e333b);
}
.category-showcase-card.live-bg {
    background: linear-gradient(135deg, #4d2a2a, #3b1c1c);
}
.category-showcase-card.slots-bg {
    background: linear-gradient(135deg, #4d412e, #3b331e);
}
.category-showcase-card.ezugi-bg {
    background: linear-gradient(135deg, #2a2d4d, #1c1f3b);
}




/* Main Content Area */
#main-content {
    flex-grow: 1; /* Occupy remaining space */
    padding: 20px;
    max-width: 100%; /* Center content */
    margin: 0 auto;

}

#game-categories h2, #live-bets h2, #coming-soon h2, #promo-banners h2, #live-casino h2, #chicken-road-games h2 { /* Added #chicken-road-games */
    color: #ffcc00;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

/* Section Slider Container - for games, coming soon, promos */
.section-slider-container {
    margin-top: 50px;
    position: relative; /* For positioning nav buttons */
    padding: 0 40px; /* Space for arrows */
}

.section-slider-container .slider-track {
    display: flex;
    overflow-x: scroll; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to cards */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    gap: 20px; /* Gap between cards */
    padding-bottom: 10px; /* Space in case scrollbar briefly appears */
}

.section-slider-container .slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.game-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* text-align: center; */ /* Removed as content is just an image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* padding-bottom: 15px; */ /* Removed as content is just an image */
    opacity: 0; /* For animation on load */
    transform: translateY(20px); /* For animation on load */

    /* Ensure cards take up specific width for snapping */
    flex: 0 0 calc(25% - 15px); /* 4 items per view with gap */
    scroll-snap-align: start; /* Snap to the start of each card */

    height: auto; /* Fixed height for game cards so image can fill */
    display: block; /* Make it a block-level link */
    text-decoration: none; /* Remove underline for link */
}

.game-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.game-thumbnail {
    width: 100%;
    height: 100%; /* Make image fill the game-card height */
    object-fit: cover;
    display: block;
    /* border-bottom: 1px solid #444; */ /* Removed as no text below image */
}

/* Removed styles for .game-title, .game-provider, .play-btn, .info-btn */
/*
.game-title {
    font-size: 1.1em;
    margin: 10px 0 5px;
    color: #fff;
}

.game-provider {
    font-size: 0.8em;
    color: #aaa;
    margin-bottom: 10px;
}

.play-btn, .info-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.play-btn:hover, .info-btn:hover {
    background-color: #0056b3;
}
*/

/* Slider Navigation Buttons for Sections */
.slider-nav-btn {
    position: absolute;
    top: 60%; /* Center vertically relative to container */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffcc00;
    border: none;
    padding: 10px 15px;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.slider-nav-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}


/* Coming Soon Section */
#coming-soon {
    /* Styles inherited from .section-slider-container */
}
.coming-soon-grid {
    /* Styles inherited from .section-slider-container .slider-track and .game-grid */
}

/* Live Bet Section */
#live-bets {
    margin-top: 50px;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.live-bet-table-container {
    overflow-x: auto; /* Allow horizontal scroll for table on small screens */
}

.live-bet-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.live-bet-table th, .live-bet-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.live-bet-table th {
    background-color: #333;
    color: #ffcc00;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.live-bet-table tbody tr:last-child td {
    border-bottom: none;
}

.live-bet-table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* Promotional Banners Section (Bottom images) */
#promo-banners {
    /* Styles inherited from .section-slider-container */
}

.promo-grid {
    /* Styles inherited from .section-slider-container .slider-track */
    display: flex; /* Override grid for slider functionality */
    /* Adjust item width for promos */
}

.promo-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* text-align: center; */ /* Removed */
    text-decoration: none;
    /* color: #eee; */ /* Removed as no text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* display: flex; */ /* Removed */
    /* flex-direction: column; */ /* Removed */
    /* align-items: center; */ /* Removed */
    /* padding-bottom: 15px; */ /* Removed */

    /* Ensure items take up specific width for snapping */
    flex: 0 0 calc(25% - 15px); /* 4 items per view with gap */
    scroll-snap-align: start; /* Snaps to the start of each card */

    height: 150px; /* Example fixed height for promo cards */
    display: block; /* Make it a block-level link */
}

.promo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.promo-item img {
    width: 100%;
    height: 100%; /* Make image fill the promo-item height */
    object-fit: cover;
    display: block;
    /* margin-bottom: 10px; */ /* Removed */
    /* border-bottom: 1px solid #444; */ /* Removed */
}

/* Removed styles for .promo-text */
/*
.promo-text {
    font-weight: bold;
    font-size: 1em;
    padding: 0 10px;
}
*/

/* New section for top footer logos (awards and partners) */
#footer-top-section {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.award-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.award-logo {
    height: 60px; /* Adjust size as per image */
    width: auto;
    opacity: 0.9;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px; /* Limit width to contain logos nicely */
}

.partner-logo {
    height: 40px; /* Adjust size as per image */
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Footer (main content area with links) */
#footer {
    background-color: #0d0d0d;
    color: #aaa;
    padding: 30px 20px; /* Increased padding */
    font-size: 0.9em;
    border-top: 1px solid #333; /* Already exists, maybe remove if footer-top-section has one */
    /* text-align: center; Removed as columns will handle alignment */
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 30px; /* Space between columns */
    max-width: 1200px; /* Match main content width */
    margin: 0 auto 30px auto; /* Center and add space below */
}

.footer-col {
    /* No specific styles here, children handle layout */
}

.footer-col h3 {
    color: #ffcc00; /* Gold color for headings */
    font-size: 1.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px; /* Space between links */
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffcc00;
}

.copyright-info {
    margin-top: 20px; /* Space from columns above */
    text-align: center; /* Center copyright text */
    padding-top: 20px;
    border-top: 1px solid #222; /* Separator for copyright section */
}

.copyright-info p {
    margin-bottom: 8px;
}

/* Modal Styles - Removed as per request */

/* Utility classes */
.hidden {
    display: none !important;
}

/* Animations (for "all website content animation open true") */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animation for content appearing on scroll/load */
/* This will be triggered by JS with Intersection Observer */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-load.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Bottom Navigation Bar */
#mobile-bottom-nav {
    display: none; /* Hidden by default, show only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

#mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #aaa;
    font-size: 0.75em;
    transition: color 0.3s ease;
    flex: 1; /* Distribute space evenly */
}

#mobile-bottom-nav .nav-item img {
    height: 25px;
    width: 25px;
    margin-bottom: 3px;
}

#mobile-bottom-nav .nav-item:hover,
#mobile-bottom-nav .nav-item.active {
    color: #ffcc00;
}
#mobile-bottom-nav .nav-item.active img {
    filter: brightness(1.5) saturate(1.5); /* Make active icon pop */
}


/* Media Queries for Responsiveness */
/* Tablet & smaller desktops */
@media (max-width: 1024px) {
    .menu-list {
        justify-content: space-around;
        gap: 10px;
    }
    .game-card {
        flex: 0 0 calc(33.333% - 13.333px); /* 3 items per view with gap */
    }
    .promo-item {
        flex: 0 0 calc(33.333% - 13.333px); /* 3 items per view with gap */
    }
    .promo-banner {
        display: block; /* Show on tablets */
    }
    #hero-slider {
        height: 200px;
    }
    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet and below now */
    }

    #main-content {
        padding: 15px; /* Less padding on smaller screens */
        max-width: 300px; /* Limit width for better readability */
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    #top-bar {
        flex-direction: row; /* Keep elements in a row */
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    .logo-section {
        flex-direction: row; /* Keep logo and title in a row */
        gap: 5px;
    }
    .website-title {
        font-size: 1.4em;
    }
    .logo {
        height: 35px;
    }
    .promo-banner {
        display: none; /* Hide on small mobile to save space */
    }
    .auth-section {
        display: none; /* Always hide on mobile since login/signup are removed */
        order: 1; /* Move auth section to allow hamburger to be next to logo */
    }
    .top-right-section {
        gap: 10px;
    }
    .hamburger-menu {
        display: flex; /* Show hamburger menu */
        order: 2; /* Position after auth-section if auth is hidden */
        margin-left: auto; /* Push to right */
    }

    #menu-bar {
        position: fixed;
        top: 0; /* Align with top if menu needs to be full screen height */
        left: -100%; /* Initially off-screen */
        width: 70%; /* Side menu width */
        height: 100vh;
        background-color: #1a1a1a;
        padding: 20px 0;
        z-index: 998; /* Below modal, above content */
        transition: left 0.3s ease-in-out;
        flex-direction: column; /* Stack vertically */
        align-items: flex-start; /* Align menu items left */
        border-right: 1px solid #444;
        border-bottom: none;
        opacity: 1; /* Reset for mobile menu transition */
        transform: translateX(0); /* Reset from desktop animation */
    }

    body.menu-open #menu-bar {
        left: 0; /* Slide in */
    }

    .menu-list {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        gap: 5px;
    }
    .menu-item {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
        border-bottom: 1px solid #333;
    }
    .menu-item:last-child {
        border-bottom: none;
    }

    #hero-slider {
        height: 150px;
    }
    .slide-caption {
        font-size: 1em;
        padding: 8px 10px;
        bottom: 10px;
        left: 10px;
    }
    .section-slider-container {
        padding: 0 10px; /* Less padding on mobile for arrows */
    }
    .game-card {
        flex: 0 0 calc((100% - 40px) / 3); /* 3 items per view with 20px gap between them */
    }
    .promo-item {
        flex: 0 0 calc((100% - 40px) / 3); /* 3 items per view with 20px gap between them */
        /* flex-direction: column; */ /* Removed as promo-item is now just image link */
        padding: 0; /* Removed padding */
        /* gap: 5px; */ /* Removed */
    }
    .promo-item img {
        width: 100%; /* Full width within item */
        height: 100%; /* Now fills parent */
        /* margin-bottom: 5px; */ /* Removed */
    }
    /* .promo-text { */
        /* text-align: center; */ /* Removed */
    /* } */

    #main-content {
        padding: 15px;
    }
    .live-bet-table-container {
        overflow-x: auto; /* Allow horizontal scroll for table on small screens */
    }
    .live-bet-table {
        width: 100%;
        font-size: 0.7em; /* Smaller font for mobile */
        max-width: 100%; /* Ensure table fits within container */
    }
    .live-bet-table th, .live-bet-table td {
        padding: 8px 10px; /* Smaller padding for mobile */
    }
    .live-bet-table th {
        font-size: 0.8em; /* Smaller font for headers */
    }
    .live-bet-table tbody tr {
        font-size: 0.7em; /* Smaller font for table rows */
    }
    .live-bet-table tbody tr td {
        padding: 6px 8px; /* Smaller padding for table cells */
    }

    /* Main Categories Showcase (2 posts left to right) */
    .category-showcase-grid {
        flex-direction: row; /* Override to keep horizontal layout */
        flex-wrap: nowrap; /* Ensure they stay in a single row for scrolling */
        justify-content: flex-start; /* Align cards to the start */
        align-items: stretch; /* Ensure cards have equal height if needed */
    }
    .category-showcase-card {
        flex: 0 0 calc(50% - 10px); /* 2 items per view with 20px gap (10px per side) */
        min-width: unset; /* Remove fixed min-width to let flex basis take over */
    }

    #mobile-bottom-nav {
        display: flex; /* Show on mobile */
    }
    body {
        padding-bottom: 60px; /* Ensure space for bottom nav */
    }
    #footer {
        margin-bottom: 60px; /* Prevent overlap with fixed bottom nav */
    }

    /* Footer columns stay 2 columns on small screens now */
    /* .footer-nav-columns {
        grid-template-columns: 1fr;
        text-align: center;
    } */
    .footer-col h3 {
        text-align: center;
    }
    .footer-col ul {
        margin-bottom: 20px; /* Space between stacked columns */
    }
    .footer-col ul li {
        text-align: center;
    }

/* Main Content Area */
#main-content {
    flex-grow: 1; /* Occupy remaining space */
    padding: 20px;
    max-width: 100%; /* Center content */
    margin: 0 auto;

}

#game-categories h2, #live-bets h2, #coming-soon h2, #promo-banners h2, #live-casino h2 { /* Added #live-casino */
    color: #ffcc00;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

/* Section Slider Container - for games, coming soon, promos */
.section-slider-container {
    margin-top: 50px;
    position: relative; /* For positioning nav buttons */
    padding: 0 40px; /* Space for arrows */
}

.section-slider-container .slider-track {
    display: flex;
    overflow-x: scroll; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to cards */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    gap: 20px; /* Gap between cards */
    padding-bottom: 10px; /* Space in case scrollbar briefly appears */
}

.section-slider-container .slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.game-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* text-align: center; */ /* Removed as content is just an image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* padding-bottom: 15px; */ /* Removed as content is just an image */
    opacity: 0; /* For animation on load */
    transform: translateY(20px); /* For animation on load */

    /* Ensure cards take up specific width for snapping */
    flex: 0 0 calc(25% - 15px); /* 4 items per view with gap */
    scroll-snap-align: start; /* Snap to the start of each card */

    height: 180px; /* Fixed height for game cards so image can fill */
    display: block; /* Make it a block-level link */
    text-decoration: none; /* Remove underline for link */
}

.game-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.game-thumbnail {
    width: 100%;
    height: 100%; /* Make image fill the game-card height */
    object-fit: cover;
    display: block;
    /* border-bottom: 1px solid #444; */ /* Removed as no text below image */
}

/* Removed styles for .game-title, .game-provider, .play-btn, .info-btn */
/*
.game-title {
    font-size: 1.1em;
    margin: 10px 0 5px;
    color: #fff;
}

.game-provider {
    font-size: 0.8em;
    color: #aaa;
    margin-bottom: 10px;
}

.play-btn, .info-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.play-btn:hover, .info-btn:hover {
    background-color: #0056b3;
}
*/

/* Slider Navigation Buttons for Sections */
.slider-nav-btn {
    position: absolute;
    top: 65%; /* Center vertically relative to container */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffcc00;
    border: none;
    padding: 10px 15px;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.slider-nav-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

}

@media (max-width: 480px) {
    .website-title {
        font-size: 1.3em;
    }
    .logo {
        height: 30px;
    }
    /* .btn {
        padding: 6px 12px;
        font-size: 0.9em;
    } */
    #game-categories h2, #live-bets h2, #coming-soon h2, #promo-banners h2, #live-casino h2 { /* Added #live-casino */
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .game-card {
        flex: 0 0 calc((100% - 30px) / 3); /* 3 items for very small screens with 15px gap */
    }
    .promo-item {
        flex: 0 0 calc((100% - 30px) / 3); /* 3 items for very small screens with 15px gap */
        /* flex-direction: column; */ /* Removed */
    }
    .section-slider-container .slider-track {
        gap: 15px; /* Adjust gap for consistency */
    }
    .section-slider-container {
        padding: 0 10px; /* Minimal padding for arrows on small screens */
    }
    /* Modal styles removed as per request */
    #hero-slider {
        height: 120px;
    }
    .slide-caption {
        font-size: 0.9em;
        padding: 5px 8px;
        bottom: 5px;
        left: 5px;
    }
    .award-logo {
        height: 40px; /* Smaller logos on very small screens */
    }
    .partner-logo {
        height: 30px; /* Smaller logos on very small screens */
    }

    /* Adjust category showcase for very small screens if needed, keeping 2 per row */
    .category-showcase-card {
        flex: 0 0 calc(50% - 10px); /* Maintain 2 items per row */
    }
    /* Footer columns stay 2 columns now */
    /* .footer-nav-columns {
        grid-template-columns: 1fr;
    } */
}

/* Specific styling for user profile visibility - Removed as per request */
/* On desktop, now only show hamburger if explicitly needed */
@media (min-width: 769px) {
    #mobile-bottom-nav {
        display: none; /* Hide bottom nav on desktop */
    }
    /* Hide hamburger menu on desktop */
    .hamburger-menu {
        display: none;
    }
    /* Ensure desktop auth section is visible but now it's empty */
    .auth-section {
        display: flex !important;
    }

}
