/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: white;
    text-align: center;
    padding-top: 70px; /* Adjust based on header height */
}

/* Flexbox for Centering Logo */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Centered Small Logo */
.header-logo {
    height: 40px;
    align-self: left;

}

/* Logo Container */
.logo-container {
    text-align: center;
    padding: 20px 0;
    background-color: transparent;
}

.main-logo {
    height: 80px; /* Adjust size as needed */
    max-width: 90%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    z-index: 1000;
}

/* Hamburger Menu Button (Visible only in portrait mode) */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Hidden by default */
}

/* Navigation Menu */
#nav-menu {
    display: flex;
    gap: 15px;
}

/* Navigation Buttons */
.nav-btn {
    background: none;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

.nav-btn:hover {
    background-color: #777;
}

/* Mobile Navigation (Portrait Mode) */
@media (max-width: 768px) and (orientation: portrait) {
    .menu-toggle {
        display: block; /* Show menu toggle button */
    }

    #nav-menu {
        display: none; /* Hide nav buttons by default */
        position: fixed;
        top: 60px; /* Adjust based on header height */
        right: 0;
        left: 0;
        width: 100%;
        background-color: #202020dc;
        padding: 10px 0;
        text-align: center;
        flex-direction: column;
        z-index: 1001;
    }

    #nav-menu.open {
        display: flex; /* Show nav menu when open */
    }
}

/* Landscape Mode */
@media (orientation: landscape) {
    .menu-toggle {
        display: none; /* Hide menu toggle button */
    }

    #nav-menu {
        display: flex; /* Show nav buttons in header */
        gap: 15px;
    }
}

/* Container */
.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

/* Game Section */
.game-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    flex-wrap: wrap;
}

.game-container img {
    max-width: 40%;
    border-radius: 10px;
}

.game-description {
    max-width: 55%;
    text-align: left;
    padding: 10px;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-buttons a {
    flex: 1 1 auto;
    max-width: 150px;
}

.store-buttons img {
    width: 100%;
    height: auto;
    max-width: 150px;
}

/* About & Contact */
.about-container, .section {
    background: #1e1e1e;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
        text-align: center;
    }

    .game-container img {
        max-width: 80%;
        margin-bottom: 15px;
    }

    .game-description {
        max-width: 100%;
        text-align: center;
    }

    .store-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .store-buttons img {
        max-width: 130px;
    }

    /* Footer Styles */
    footer {
        background: #252525; /* Slightly lighter than the main background */
        color: white;
        padding: 30px 0;
        text-align: center;
        margin-top: 40px;
    }

    .footer-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0px;
        border-radius: 10px; /* Match other boxes */
    }

    .footer-container a {
        color: rgb(0, 145, 255); /* Change to white */
        font-weight: bold; /* Make it stand out */
    }

    .footer-content h3 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .footer-content p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-links {
        margin-top: 15px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .footer-links a {
        color: #2fff00; /* Slightly lighter color for better contrast */
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: #f1c40f; /* Gold accent on hover */
    }

    .footer-copyright {
        margin-top: 20px;
        font-size: 14px;
        opacity: 0.7;
    }

    .about-container {
        width: auto; /* Make it responsive */
        max-width: auto; /* Slightly smaller on mobile */
        height: auto; /* Allow flexible height */
        margin: auto; /* Reduce excess margin */
        padding: auto; /* Match other sections */
        background-color: #1e1e1e !important; /* Keep color consistent */
        border-radius: 10px; /* Match other boxes */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .about-container h3 {
        font-size: 22px;
        text-align: center; /* Centers heading */
        margin-bottom: 10px;
    }
    
    .about-container p {
        font-size: 14px;
        line-height: 1.5;
        color: #b4b4b4;
        text-align: justify; /* Ensures text justification */
        width: 100%; /* Takes full width of container */
        margin: 0 auto; /* Centers text inside */
    }
    
}