:root {
    --background: #111111;
    --background-light: #1a1a1a;

    --text: #f0f0f0;
    --muted: #b0b0b0;

    --gold: #d4af37;
    --green: #5e965e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family: Arial, sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.7;
}

nav {
    position: sticky;
    top: 0;

    background: rgba(20,20,20,.95);

    padding: 15px 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #333;

    z-index: 100;
}

nav a {
    color: white;

    text-decoration: none;

    margin-left: 20px;
}

nav a:hover {
    color: var(--gold);
}

 .hero {

            min-height: 80vh;

            display: flex;
            justify-content: center;
            align-items: center;

            text-align: center;

            padding: 40px;

            background:
                linear-gradient(
                    rgba(0,0,0,.0),
                    rgba(0,0,0,.1),
                    rgba(0,0,0,.3)
                ),
                url("images/meathead-games-background-image.png");

            background-size: cover;
            background-position: center;

        }

.hero-content {
    max-width: 900px;
}

h1 {
    font-size: 4rem;

    margin-bottom: 10px;
}

h2 {
    color: var(--gold);

    margin-bottom: 25px;
}

.tagline {
    font-size: 1.3rem;

    color: var(--muted);
}

.button {
    display: inline-block;

    margin: 10px;

    padding: 15px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.2s;
}

.button-primary {
    background: var(--gold);

    color: black;
}

.button-primary:hover {
    opacity: 0.9;
}

.button-secondary {
    border: 2px solid var(--green);

    color: white;
}

.button-secondary:hover {
    background: var(--green);
}

section {
    max-width: 1200px;

    margin: auto;

    padding: 80px 30px;
}

.about-section {
    background: #151515;
}

.news-section {
    background: #1a1a1a;
}

.game-card {
    background: var(--background-light);

    border-radius: 12px;

    padding: 30px;

    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.gallery {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
}

.gallery img {
    width: 100%;

    display: block;

    border-radius: 10px;

    border: 2px solid var(--gold);
}

a {
    color: var(--gold);

    text-decoration: none;
}

a:hover {
    color: var(--green);
}

footer {
    text-align: center;

    padding: 40px;

    background: #0b0b0b;

    color: var(--muted);
}

@media (max-width: 768px) {
 
    .hero {
        min-height: 60vh;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

.gallery-image {

    cursor: pointer;

    transition: transform 0.2s;
}

.gallery-image:hover {

    transform: scale(1.03);
}

.lightbox {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.95);

    z-index: 1000;

    justify-content: center;
    align-items: center;
}

.lightbox img {

    max-width: 95%;
    max-height: 95%;
}

.close {

    position: absolute;

    top: 20px;
    right: 35px;

    font-size: 50px;

    color: white;

    cursor: pointer;

    user-select: none;
}

.nav-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    font-size: 60px;

    color: white;

    cursor: pointer;

    user-select: none;

    padding: 20px;

    transition: 0.2s;

    text-shadow: 0 0 10px black;
}

.nav-arrow:hover {

    color: var(--gold);

}

.left-arrow {

    left: 25px;

}

.right-arrow {

    right: 25px;

}
