/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

header {
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    text-transform: uppercase;
}

header nav {
    position: relative;
}

header nav .menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

header nav .menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

header nav ul li a:hover {
    background-color: #333;
}

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    background: url('https://img1.wsimg.com/isteam/ip/65e91bf9-fb90-487a-bc81-51c0adccde66/_7fa12ace-a736-49d8-9932-04605ec6a6e1.jpeg/:/rs=w:984,h:984') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: -1;
    animation: moveBackground 10s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero h2 {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.2em;
    margin: 0 0 20px 0;
    animation: fadeIn 2s ease-in-out 1s;
}

.hero button {
    font-size: 1em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff9900;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    animation: fadeIn 2s ease-in-out 2s;
}

.hero button:hover {
    background-color: #cc7a00;
    transform: scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 60px 0;
}

#about {
    background-color: white;
    text-align: center;
}

#about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2em;
    margin: 0 auto;
    max-width: 800px;
}

#about img {
    max-width: 80%;
    height: auto;
    margin-top: 20px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#about img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 0, 0, 0.2);
}

#games {
    background-color: #e6e6e6;
}

#games h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.game-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    width: calc(33.333% - 40px);
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-item h3 {
    margin-top: 0;
}

.game-item img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.game-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 0, 0, 0.2);
}

#features {
    background-color: #f9f9f9;
    text-align: center;
}

#features h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

#features ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#features ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #ff9900;
    font-size: 1.5em;
}

#features img {
    max-width: 80%;
    height: auto;
    margin-top: 20px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#features img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 0, 0, 0.2);
}

#contact {
    background-color: white;
    text-align: center;
}

#contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm label {
    margin-top: 10px;
    font-size: 1.2em;
}

#contactForm input, #contactForm textarea {
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

#contactForm input:focus, #contactForm textarea:focus {
    border-color: #ff9900;
}

#contactForm button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#contactForm button:hover {
    background-color: #cc7a00;
    transform: scale(1.1);
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 0;
    font-size: 1em;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer nav ul li {
    margin: 0 15px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

footer nav ul li a:hover {
    color: #ff9900;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-50%);
    animation: animateGlow 10s infinite linear;
}

@keyframes animateGlow {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav .menu-icon {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    header nav ul.show {
        display: flex;
    }

    header nav ul li {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero button {
        font-size: 0.9em;
        padding: 10px 15px;
    }

    .container {
        padding: 10px;
    }

    .game-item {
        width: calc(100% - 40px);
    }

    footer .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .hero button {
        font-size: 0.8em;
        padding: 8px 12px;
    }

    #about h2 {
        font-size: 1.5em;
    }

    #about p {
        font-size: 1em;
        max-width: 100%;
    }

    #features h2 {
        font-size: 1.5em;
    }

    #features ul li {
        font-size: 1em;
    }

    #contact h2 {
        font-size: 1.5em;
    }

    #contactForm label {
        font-size: 1em;
    }

    #contactForm input, #contactForm textarea {
        font-size: 0.9em;
    }

    footer p {
        font-size: 0.9em;
    }

    footer nav ul li {
        margin: 0 10px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}
