/* General Body & Font Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
}

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

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #007BFF;
    text-decoration: none;
}

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

nav a {
    text-decoration: none;
    color: #555;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom 0.3s;
}

nav a:hover {
    color: #007BFF;
}

nav a.active {
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
}

/* Hero Section */
.hero {
    height: 500px;
    background-image: url('shouye1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Key Metrics Section */
.metrics {
    padding: 60px 0;
    background-color: #fff;
}

.metrics .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.metric-item .number {
    font-size: 60px;
    font-weight: 700;
    color: #333;
}

.metric-item .label {
    display: block;
    font-size: 18px;
    color: #777;
    margin-top: 5px;
}

/* Featured Games Section */
.featured-games {
    padding: 40px 0;
    text-align: center;
}

.game-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allows icons to wrap on smaller screens */
}

.game-carousel img {
    width: 150px;
    height: 150px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.action-buttons a {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    margin: 0 10px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #fff;
    color: #555;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-us-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.btn-more {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-more:hover {
    background-color: #0056b3;
}

.about-illustration {
    flex: 1;
    text-align: center;
}

.about-illustration img {
    max-width: 100%;
    height: auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 50px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group.text-center {
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #eef2f5;
    background-color: #f4f7f9;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

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

.btn-submit {
    background-color: #4285F4;
    color: white;
    padding: 15px 45px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #404752;
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

footer a:hover {
    text-decoration: underline;
}
