body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background-color: #0c0c0c;
    color: #f1f1f1;
    scroll-behavior: smooth;
}

nav {
    position: sticky;
    top: 0;
    background: #000000cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid #46FF00;
}

nav img{
    position: absolute;
    height: 3vh;
    left: 10px;
    top: 10px;
}

nav a {
    color: #f1f1f1;
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #46FF00;
}

.hero {
    background: url('images/main_splashart_V2.png') center center no-repeat;
    background-size: 100%, 100%; /* width auto, height 100% of container */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    background: rgba(0, 0, 0, 0.65);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px #46FF00;
}

section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #46FF00;
}

.trailer iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

.screenshots {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
}

.screenshots img {
    width: 300px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.screenshots img:hover {
    transform: scale(1.05);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.features div {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px #46FF00;
}

.download {
    text-align: center;
    margin-top: 4rem;
}

.download a {
    background: #31b300;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.download a:hover {
    background: #69FF33;
}

.about-content {
    max-width: 800px;
    margin: auto;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px #46FF00;
    line-height: 1.6;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.about-content strong {
    color: #46FF00;
    font-size: 1.1rem;
}

/* Lightbox overlay style */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

#lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 30px #46FF00;
    cursor: zoom-out;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid #46FF00;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .trailer iframe {
        height: 250px;
    }

    nav {
        flex-direction: column;
    }
}

/* Scrollbar styling for Webkit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0c0c0c; /* same as body background */
}

::-webkit-scrollbar-thumb {
    background-color: #46FF00;
    border-radius: 10px;
    border: 2px solid #0c0c0c; /* adds padding around thumb */
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #69FF33; /* lighter green on hover */
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #46FF00 #0c0c0c;
}