/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #1a1a1a; /* Dark background */
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav h1 {
    font-size: 1.8rem;
    color: #00ffcc; /* Neon accent color */
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ffcc;
}

main {
    padding-top: 80px; /* Adjust based on header height */
}

footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #aaa;
    font-size: 0.9rem;
}

/* Hero Section Styles */
#hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Place video behind content */
    pointer-events: none; /* Prevent interaction with the video */
}

/* Ensure the iframe fills the container */
#player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust aspect ratio if needed, but cover should work */
    object-fit: cover;
}


.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    padding: 2rem 3rem;
    border-radius: 10px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffcc; /* Neon accent */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #00ffcc;
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #00e6b8;
    transform: scale(1.05);
}

/* Content Section Styles */
.content-section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1rem auto;
    color: #ccc;
}

.alt-bg {
    background-color: #2a2a2a; /* Slightly different background for variation */
}

/* Games Section */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}

.game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Crop images nicely */
    display: block;
}

.game-card h3 {
    font-size: 1.5rem;
    color: #00ffcc;
    margin: 1rem 0 0.5rem 0;
}

.game-card p {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
    color: #bbb;
}

/* Contact Section */
#contact form {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
}

#contact input[type="text"]::placeholder,
#contact input[type="email"]::placeholder,
#contact textarea::placeholder {
    color: #888;
}

#contact textarea {
    resize: vertical; /* Allow vertical resizing */
}

#contact button[type="submit"] {
    align-self: center; /* Center the button */
    cursor: pointer;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}
