/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background: #111;
    color: #fff;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffa500;
}

/* Hero Section with Big Logo */
.hero {
    background: url('NilPlay_Logo.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    background: url('empty.jpeg') no-repeat center center/contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    opacity: 0.2; /* Faded Logo Effect */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1; /* Keeps text above the logo */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black box */
    border-radius: 15px; /* Rounded edges */
    padding: 20px 30px;
    max-width: 600px; /* Restrict box width */
    margin: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffa500;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e69500;
}

/* About Section */
.about, .contact, .games {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
    margin: 20px 0;
}

.about h2, .games h2, .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Games Showcase */
.game-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 300px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.game-card h3 {
    margin: 15px 0 10px;
}

.game-card:hover {
    transform: translateY(-10px);
}

/* Contact Section */
.contact p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    background: #111;
    color: #fff;
    padding: 10px 0;
}