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

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

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

a:hover {
    text-decoration: underline;
}

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

header h1 {
    margin: 0;
    float: left;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
}

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

header nav ul li a {
    color: #fff;
    font-weight: bold;
}

header::after {
    content: '';
    display: table;
    clear: both;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0;
    background-color: #222;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero-content h2 {
    color: #00bfff;
    font-size: 2.5em;
    margin-bottom: 10px;
}

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

.btn {
    display: inline-block;
    background-color: #00bfff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn:hover {
    background-color: #009acd;
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 40px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.features h3 {
    color: #00bfff;
    font-size: 2em;
    margin-bottom: 30px;
}

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

.feature-item {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-item h4 {
    color: #00bfff;
    margin-top: 0;
}

/* Esports Section */
.esports, .community {
    padding: 50px 0;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.esports .container, .community .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.esports-image, .community-image {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
}

.esports-content, .community-content {
    max-width: 45%;
}

.esports-content h2, .community-content h2 {
    color: #00bfff;
    font-size: 2em;
    margin-bottom: 10px;
}

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

footer nav ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: #fff;
}

/* Generic Page Styles */
.page-content {
    padding: 40px 0;
    background-color: #222;
}

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

.page-content p {
    margin-bottom: 15px;
}

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

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

.page-content li {
    margin-bottom: 5px;
}

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

.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: #00bfff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #009acd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        float: none;
        text-align: center;
    }

    header nav ul {
        float: none;
        text-align: center;
        padding-top: 10px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero-content h2 {
        font-size: 2em;
    }

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

    .esports .container, .community .container {
        flex-direction: column;
        text-align: center;
    }

    .esports-image, .community-image {
        max-width: 90%;
    }

    .esports-content, .community-content {
        max-width: 90%;
    }
}
