/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: url('../Images/bg.png') repeat;
    background-size: auto; 
    color: rgb(0, 0, 0);
    text-align: center;
}
/* Center header with max width */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;

    flex-wrap: wrap;
}

 
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .logo-section {
        justify-content: right;  
        text-align: center;  
        width: 100%; 
        margin-left: -68px;
    }

    .logo-section img {
        max-width: 50%; 
        height: auto;
    }
}


 
.payout {
    display: flex;
    align-items: center;
 
}

 
.logo,
.apps-icon,
.payout img {
    max-width: 100%;
    height: auto;
}

 
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        text-align: center;



    }

    .payout {
        margin-left: 0;
        justify-content: center;
        margin-top: 10px;
    }
}
/* NAVBAR */
.navbar {
    display: flex;
    justify-content: center; 
    align-items: center; 
    background: linear-gradient(to bottom, #d20404, #8b0000);
    padding: 3px ;
    position: relative;
    flex-wrap: wrap;  
}

/* NAVIGATION LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    align-items: center;   
    justify-content: center;  
    flex-grow: 1;
}

.nav-links li {
    color: white;
 
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    font-size: clamp(14px, 3vw, 12px);
}

.nav-links li:hover {
    color: yellow;
    font-weight: bold;
}

.mob_nav{
    display: none;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

.mob_nav_con{
    display: none;
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: black;
    gap: 20px;
    padding: 20px 20px;
    align-items: flex-start; 
    flex-grow: 1;
    list-style: none;
    position: absolute;
    top: 0;
    left: -100%;
    transition: .5s;
}

.mob_nav_active{
    left: 0;
}

.mob_nav_con li {
    color: white;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    font-size: clamp(14px, 3vw, 12px);
}

.mob_nav_con li:hover {
    color: yellow;
    font-weight: bold;
}

.mob_nav_close{
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 25px;
    right: 20px;
    background: linear-gradient(to right, #8B0000, #B22222, #8B0000);
    font-size: 16px !important;
    color: white;
    border-radius: 5px;
}

.mov_nav_row{
    display: flex;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    left: 10px;
    z-index: 1001;
    margin-top: -322px;
}

.bar {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 5px;
}

/* CLOSE ICON ANIMATION */
.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU */
@media screen and (max-width: 768px) {
    .navbar {
        background: none;  
    }

    .nav-links {
        flex-direction: column;
        justify-content: center;  
        align-items: center;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        text-align: center;
        padding: 20px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
margin-top: -268px;
background-color: black;

    }

    .menu-toggle {
        display: flex;
    }

    /* Close Button */
    .close-btn {
        background: red;
        color: white;
        font-size: 18px;
        font-weight: bold;
        border: none;
        padding: 10px;
        cursor: pointer;
        position: absolute;
        top: 90px;
        left: 20px;
        border-radius: 5px;
    }

    .close-btn:hover {
        background: darkred;
    }
}



/* Center align the join button

/* JOIN BUTTON */
.join-btn {
    background: linear-gradient(to bottom, #d20404, #8b0000);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    outline: none;
    margin-left: -136px;
}

/* Center align the join button for mobile */
@media screen and (max-width: 768px) {
    .join-btn {
        margin-top: 20px;
    }
}

/* Hover effect */
.join-btn:hover {
    background: linear-gradient(to bottom, #ff0000, #b30000);
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(255, 0, 0, 0.7);
}

/* Active/Pressed Effect */
.join-btn:active {
    transform: scale(0.95);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Center the slider */
.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}
/* Swiper Settings */
.swiper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Background Images for Slides */
.swiper-slide {
    background-size: cover;
    background-position: center;
    width: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* Ensure Images Fit Properly */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

/* Hide Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}


/* Banner Container */
.hot-games-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #8B0000, #B22222, #8B0000); /* Dark Red Gradient */
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 0;
    border-radius: 5px;
    width: 100%;
    text-transform: uppercase;
}

/* Fire Icon Styling */
.fire-icon {
    font-size: 24px; 
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hot-games-banner {
        font-size: 16px; 
        padding: 8px 0;
    }
    .fire-icon {
        font-size: 18px;  
    }
}

@media (max-width: 480px) {
    .hot-games-banner {
        font-size: 14px;  
        padding: 6px 0;
    }
    .fire-icon {
        font-size: 16px;
    }
}

.game-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    flex-wrap: wrap; 
}
/* Game Card Styling */
.game-card {
    background: url('background-image.png') center/cover no-repeat;
    width: 100%;
    max-width: 350px;  
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

/* Header: Logo and Icon */
.game-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.icon {
    width: 25px; /* Heart icon */
    height: auto;
}

.logo {
    width: 120px; /* Spadegaming logo */
    height: auto;
}

/* Container to align all game cards */
.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

/* Individual Game Card */
.game-card {
    background: black;
    width: 320px; /* Default width */
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}

/* Header: Logo and Heart Icon */
.game-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.icon {
    width: 25px;
}

.logo {
    width: 180px;
}
.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.game-card {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
}
.game-card:hover {
    transform: scale(1.05);
}
.game-card img {
    width: 100%;
    border-radius: 10px;
}
.game-card h3 {
    margin: 10px 0;
    font-size: 20px;
}
.stars {
    color: gold;
    font-size: 18px;
}
.play-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .game-card {
        width: 90%;
    } }
    .game-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .game-card {
        display: flex;
        align-items: center;
        background: black;
        width: 350px; /* Default for desktop */
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
        transition: transform 0.3s;
    }
    
    .game-card:hover {
        transform: scale(1.05);
    }
    
    .game-card img {
        width: 120px; /* Prevents image from being too big */
        max-width: 100%;
        border-radius: 10px;
    }
    
    .game-info {
        flex: 1;
        padding-left: 10px;
        color: white;
    }
    
    .game-info img {
        width: 180px; /* Logo size */
    }
    
    .game-info h3 {
        font-size: 18px;
        margin: 5px 0;
    }
    
    .stars {
        color: gold;
        font-size: 16px;
    }
    
    .play-btn {
        display: inline-block;
        margin-top: 5px;
        padding: 8px 12px;
        background: red;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
    }
    
    /* Mobile View: Maintain the same structure */
    @media (max-width: 768px) {
        .game-container {
            flex-direction: column; /* Stack elements */
            align-items: center;
        }
    
        .game-card {
            width: 350px; /* Same width as desktop */
            flex-direction: row; /* Keep image + text side by side */
        }
    
        .game-card img {
            width: 130px; /* Keep Images proportional */
        }
    }
    .footer {
        background: linear-gradient(to right, #8B0000, #B22222);
        color: white;
        padding: 20px;
        text-align: center;
    }
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        align-items: flex-start;
    }
    .footer-section {
        flex: 1;
        min-width: 250px;
        margin: 10px;
    }
    .footer h3 {
        font-size: 18px;
    }
    .footer img {
        /* max-width: 100px; */
        height: 25px;
        margin: 5px;
    }
    .certifications, .payment-methods {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
    }

    .top_btn{
        position: fixed;
        bottom: 2%;
        right: 2%;
        background: linear-gradient(to right, #8B0000, #B22222, #8B0000);
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0px 1px 8px white;
        font-size: 14px;
        font-weight: bold;
    }