/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 70px; /* Space for fixed header */
    padding-bottom: 80px; /* Space for fixed bottom banner */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    margin-right: 10px;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-register {
    background-color: #ffc107;
    color: #000;
    border: 2px solid #ffc107;
}

.btn-register:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.btn-hero {
    background-color: #28a745;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-top: 20px;
}

.btn-hero:hover {
    background-color: #218838;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #1a1a1a;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%; /* Ensure full height for vertical alignment */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px; /* Slightly reduced */
    width: auto;
}

.desktop-nav {
    flex-grow: 1; /* Allow nav to take available space */
    display: flex;
    justify-content: center; /* Center nav items */
}

.desktop-nav ul {
    display: flex;
    gap: 15px; /* Reduced gap */
    align-items: center;
}

.desktop-nav a {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem; /* Reduced font size */
    white-space: nowrap; /* Prevent wrapping */
    padding: 5px 0;
}

.desktop-nav a:hover {
    color: #ffc107;
}

.auth-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-left: 15px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #222;
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.mobile-menu-content nav ul {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-content nav a {
    color: #fff;
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-image {
    margin: 30px auto 0; /* Center horizontally */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    max-width: 800px;
    width: 100%; /* Ensure it takes width up to max-width */
    display: flex; /* Flex to center img if needed */
    justify-content: center;
}

.hero-image img {
    width: 100%; /* Make image fill the container */
    height: auto;
    display: block;
}

/* Features Section */
.features-section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.features-section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #333;
}

/* New Diverse Blocks */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background-color: #eee;
}

.game-card h4 {
    padding: 10px;
    font-size: 0.9rem;
    color: #333;
    margin: 0;
}

.step-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    border-left: 4px solid #ffc107;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
    margin-bottom: 10px;
    display: block;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 15px;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-answer {
    padding: 15px;
    display: none;
    border-top: 1px solid #eee;
    color: #555;
    text-align: left;
}

.faq-item.active .faq-answer {
    display: block;
}

.provider-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.provider-logo {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: bold;
    color: #555;
    border: 1px solid #eee;
}

.bonus-card {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.bonus-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.bonus-card .amount {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.app-feature-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.app-feature-list li {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-feature-list li:last-child {
    border-bottom: none;
}

.app-icon {
    font-size: 1.5rem;
    color: #28a745;
}

/* Image Showcase Section */
.image-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.image-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: scale(1.02);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-weight: bold;
    color: #1a1a1a;
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    text-align: left;
}

.image-description {
    padding: 0 15px 20px;
    color: #666;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.5;
}

/* SEO Content Section */
.seo-content-section {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.seo-content-section article {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.seo-content-section h2, .seo-content-section h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 25px;
}

.seo-content-section h2:first-child {
    margin-top: 0;
}

.seo-content-section p {
    margin-bottom: 15px;
    color: #555;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 60px; /* Space for bottom banner on mobile */
}

.footer-logo img {
    height: 40px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

/* Fixed Bottom CTA Banner */
.fixed-bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #111, #222);
    border-top: 2px solid #ffc107;
    z-index: 999;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.banner-text {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: left;
    max-width: 600px;
}

.banner-highlight {
    color: #ffc107;
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.fixed-bottom-banner img {
    max-height: 60px; /* Adjust based on banner aspect ratio */
    width: auto;
    max-width: 100%;
}

.close-banner {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 900px) { /* Tablet breakpoint */
    .desktop-nav {
        display: none; /* Hide nav earlier to prevent crowding */
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .auth-buttons {
        margin-left: auto; /* Push auth buttons to right */
    }
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 0.9rem;
        max-width: 200px;
    }
    .banner-highlight {
        font-size: 1rem;
    }
    .fixed-bottom-banner {
        gap: 10px;
        padding: 5px;
    }
    .fixed-bottom-banner img {
        max-height: 40px;
    }

    .btn-login, .btn-register {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        margin-right: 5px;
        gap: 5px;
    }
    
    .btn-login, .btn-register {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin-right: 0;
    }
    
    .btn-login {
        display: inline-block; /* Ensure login button is visible */
    }
}
