/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

/* Header */
.header {
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Navigation Bar */
.nav-bar {
    background-color: #2c3e50;
    padding: 10px;
    text-align: center;
}
.nav-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-bar li {
    display: inline;
    margin-right: 20px;
}
.nav-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-bar a:hover {
    color: #4caf50;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #9b59b6, #5d2e8d);
    padding: 100px;
    text-align: center;
    color: #fff;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}
.hero button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.hero button:hover {
    background-color: #c0392b;
}

/* Main Content */
.main-content {
    padding: 20px;
}
.card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-body {
    padding: 20px;
}
.card-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #4caf50;
}
.card-text {
    font-size: 18px;
    margin-bottom: 20px;
}
.btn-primary {
    background-color: #4caf50;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #3e8e41;
}
.card-style1 {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background-color: #f7f7f7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.card-style2 {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.card-style3 {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background-color: #f2f2f2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}
.about-section h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.feature-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.feature-card i {
    margin-bottom: 20px;
    color: #8e44ad;
}
.feature-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}
.testimonials h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.testimonial-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-card .author {
    font-weight: bold;
    color: #2c3e50;
}

/* Call-to-Action Section */
.cta {
    padding: 50px 0;
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    text-align: center;
}
.cta h2 {
    margin-bottom: 20px;
}
.cta p {
    margin-bottom: 30px;
}
.cta button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cta button:hover {
    background-color: #c0392b;
}

/* Newsletter Section */
.newsletter {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}
.newsletter h2 {
    margin-bottom: 20px;
    color: #4caf50;
}
.newsletter p {
    margin-bottom: 30px;
}
.newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.newsletter input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.newsletter button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.newsletter button:hover {
    background-color: #3e8e41;
}

/* FAQ Section */
.faq {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}
.faq h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.faq-item {
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.faq-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Social Media Call-to-Action */
.social-cta {
    padding: 50px 0;
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    text-align: center;
}
.social-cta h2 {
    margin-bottom: 20px;
}
.social-cta p {
    margin-bottom: 30px;
}
.social-links a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #4caf50;
}

/* Gaming Tips Section */
.gaming-tips {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}
.gaming-tips h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.tip-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.tip-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Leaderboard Section */
.leaderboard {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}
.leaderboard h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.leaderboard table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}
.leaderboard th, .leaderboard td {
    padding: 10px;
    border: 1px solid #ddd;
}
.leaderboard th {
    background-color: #4caf50;
    color: #fff;
}

/* Blog Preview Section */
.blog-preview {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}
.blog-preview h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.blog-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.blog-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.blog-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}
.blog-card .read-more {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
}
.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Game Categories Section */
.game-categories {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}
.game-categories h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.category-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.category-card i {
    margin-bottom: 20px;
    color: #8e44ad;
}
.category-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Developer Spotlight Section */
.developer-spotlight {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}
.developer-spotlight h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.developer-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.developer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.developer-card img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.developer-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Community Events Section */
.community-events {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}
.community-events h2 {
    margin-bottom: 40px;
    color: #4caf50;
}
.event-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.event-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}
.event-card p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    clear: both;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.footer ul li {
    display: inline;
    margin-right: 15px;
}
.footer ul li a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}
.footer ul li a:hover {
    color: #4caf50;
}