/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

/* Header and Navigation */
header {
    border-bottom: 1px solid #eaeaea;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo img {
    height: 40px;
}

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

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

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

.nav-button {
    background-color: #007bff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Banner Section */
.banner {
    position: relative;
    text-align: center;
    color: white;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.banner-text h1 {
    font-size: 3rem;
    margin: 0;
}

.banner-text p {
    font-size: 1.2rem;
}

/* QQ Group Section */
.qq-group {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.qq-group h2 {
    margin-bottom: 20px;
}

.qq-group p {
    display: inline-block;
    margin: 10px 15px;
}

.qq-group a {
    color: #ff6666;
    text-decoration: none;
}

/* Friend Links Section */
.friend-links {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.friend-links h2 {
    margin-bottom: 30px;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.link-button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #007bff;
    border-radius: 20px;
    text-decoration: none;
    color: #007bff;
    background-color: #fff;
    transition: all 0.3s ease;
}

.link-button:hover {
    background-color: #007bff;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 0.9rem;
}
