/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: #00aaff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: #333;
    padding: 10px 0;
    border-bottom: 2px solid #00aaff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00aaff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

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

.btn {
    background-color: #00aaff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0077cc;
    text-decoration: none;
}

/* Content Sections */
.content-section {
    padding: 40px 0;
    background-color: #2a2a2a;
    margin-bottom: 20px;
}

.content-section h2 {
    color: #00aaff;
    text-align: center;
    margin-bottom: 30px;
}

.content-section p {
    line-height: 1.6;
    text-align: justify;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #00aaff;
}

footer ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #00aaff;
}

/* Specific Page Styles */
.page-title {
    background-color: #333;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

.page-title h1 {
    color: #00aaff;
    font-size: 3em;
}

.game-list, .news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.game-item, .news-item {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-item:hover, .news-item:hover {
    transform: translateY(-5px);
}

.game-item img, .news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info, .news-info {
    padding: 15px;
}

.game-info h3, .news-info h3 {
    color: #00aaff;
    margin-top: 0;
}

.game-info p, .news-info p {
    font-size: 0.9em;
    line-height: 1.5;
}

.contact-form {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 20px auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #444;
    color: #f0f0f0;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #00aaff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0077cc;
}

.policy-content {
    padding: 20px;
    line-height: 1.8;
    background-color: #2a2a2a;
    margin-bottom: 20px;
}

.policy-content h2 {
    color: #00aaff;
    margin-top: 20px;
    margin-bottom: 15px;
}

.policy-content h3 {
    color: #00aaff;
    margin-top: 15px;
    margin-bottom: 10px;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .game-list, .news-list {
        grid-template-columns: 1fr;
    }
}
