body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    padding-top: 120px; /* Adjusted for fixed header height on desktop and mobile */
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #003366; /* Primary color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    min-height: 60px; /* Ensures content fits */
    color: #fff;
    display: flex;
    flex-direction: column; /* Default to column for mobile, overridden for desktop */
}

.header-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    color: #FFCC00; /* Secondary color */
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    display: block; /* Ensure it takes up space for centering */
}

/* Desktop Navigation */
.main-nav {
    flex-grow: 1; /* Allow nav to take available space */
    display: flex;
    justify-content: center; /* Center nav items */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px; /* Spacing between menu items */
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FFCC00; /* Secondary color on hover/active */
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Above mobile buttons */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFCC00;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Header Buttons (Desktop) */
.header-buttons-desktop {
    display: flex; /* Visible on desktop */
    gap: 15px;
}

/* Header Buttons (Mobile) */
.header-buttons-mobile {
    display: none; /* Hidden by default on desktop */
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    background-color: #003366; /* Match header background */
    z-index: 1000; /* Below hamburger menu, but in separate flow */
    width: 100%;
    box-sizing: border-box;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px; /* More rounded for iGaming */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* General shadow */
}

.btn-register {
    background: linear-gradient(135deg, #FFCC00, #FFAA00); /* Gradient for vivid effect */
    color: #003366;
    border: none;
    box-shadow: 0 5px 15px rgba(255,204,0,0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-register:hover {
    background: linear-gradient(135deg, #FFAA00, #FFCC00);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,204,0,0.6);
}

.btn-login {
    background-color: #004d99; /* Darker blue, contrasting */
    color: #FFCC00;
    border: 2px solid #FFCC00; /* Border for emphasis */
    box-shadow: 0 5px 15px rgba(0,77,153,0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-login:hover {
    background-color: #0066cc; /* Lighter blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,77,153,0.6);
}

/* Footer Styles */
.site-footer {
    background-color: #003366; /* Primary color */
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 15px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px; /* Adjusted min-width for better stacking */
    margin: 20px;
    box-sizing: border-box;
}

.footer-section h3 {
    color: #FFCC00; /* Secondary color for headings */
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #FFCC00;
}

.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.8;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFCC00;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #004d99; /* Slightly lighter blue for divider */
    font-size: 14px;
    color: #ccc;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    body {
        padding-top: 150px; /* Adjust for header height (main-wrapper + mobile buttons) */
    }

    .site-header {
        min-height: auto; /* Allow height to adjust */
    }

    .header-main-wrapper {
        padding: 10px; /* Smaller padding */
        justify-content: space-between;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
        order: -1; /* Place it at the beginning */
    }

    .logo {
        flex-grow: 1; /* Allow logo to take available space */
        text-align: center; /* Center the logo */
        font-size: 24px;
        margin-left: -45px; /* Offset to visually center, accounting for hamburger */
    }

    .main-nav {
        display: none; /* Hide desktop nav */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header-main-wrapper */
        left: 0;
        width: 100%;
        background-color: #003366; /* Same as header */
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        z-index: 1001; /* Above header buttons */
        overflow-y: auto; /* If menu is very long */
        max-height: calc(100vh - 100px); /* Max height for scrollable menu */
        transform: translateY(-100%); /* Start hidden above */
        transition: transform 0.3s ease-out;
    }

    .main-nav.active {
        display: flex; /* Show nav when active */
        transform: translateY(0); /* Slide down */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav li {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator */
    }
    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }

    .header-buttons-desktop {
        display: none; /* Hide desktop buttons */
    }

    .header-buttons-mobile {
        display: flex; /* Show mobile buttons */
    }

    /* Hamburger menu animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-section {
        min-width: 100%; /* Stack footer sections */
        margin: 15px 0;
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}