/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

.logo {
    font-size: 36px;
    color: #ff5733;
    font-weight: bold;
    text-decoration: none;
}

.logo:hover {
    color: #ffa500;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 400px;
    background: url('/assets/images/Freespincard_banner_web.webp') no-repeat center center/cover;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f8f8f8;
    color: #333;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Overview Section */
.overview {
    padding: 3rem 1rem;
}

/* Grid Styling */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 columns */
    gap: 2rem;
}

.grid img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.provider, .game, .casino {
    text-align: center;
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Index Grid Styling */
.index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default: 2 columns */
    gap: 0;
    align-items: center;
}

.index-grid-item {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.index-grid-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
}

.modal-content h3 {
    margin-top: 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.logo-grid a img {
    width: 100%;
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-grid img:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        background: url('/assets/images/Freespincard_banner_mobile.webp') no-repeat center center/cover;
        min-height: 300px; /* Adjust for smaller screens */
    }

    .hero-content h1 {
        font-size: 2rem; /* Smaller heading */
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
    }

    .index-grid {
        grid-template-columns: 1fr; /* Single-column layout */
    }

    .modal-content {
        width: 90%;
        padding: 1.5rem;
    }

    .logo-grid {
        grid-template-columns: 1fr; /* Single-column for logos */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem; /* Smaller heading */
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
    }
}
/* Recommended Casinos Section */
.recommended-casinos {
    padding: 3rem 0;
    background-color: #f9f9f9; /* Light background for distinction */
    text-align: center;
}

.recommended-casinos h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.online-casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns for desktop */
    gap: 2rem; /* Space between cards */
    justify-items: center; /* Center-align items */
    align-items: stretch;
}

.casino-card {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px); /* Elevate card on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.casino-card img {
    max-width: 100%;
    max-height: 120px; /* Set a uniform logo height */
    object-fit: contain;
    margin-bottom: 1rem;
}

.casino-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: #ff6600;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e05500;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .online-casino-grid {
        grid-template-columns: 1fr; /* Single column for tablets and smaller screens */
    }

    .casino-card {
        padding: 1rem; /* Reduce padding for smaller devices */
    }

    .casino-card img {
        max-height: 100px; /* Adjust logo size for smaller screens */
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

