* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #4da6ff;
    --light-blue: #e6f2ff;
    --white: #ffffff;
    --accent-orange: #ff9900;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--light-blue);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary-blue);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.2);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-orange);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
    background: rgba(77, 166, 255, 0.1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* 英雄区域 */
.hero {
    margin-top: 100px;
    padding: 80px 0;
    text-align: center;
    background: url('../bj.png') no-repeat center center/cover;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(77, 166, 255, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #cce6ff, #e6f2ff);
    color: #4da6ff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #cce6ff;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: transparent;
    color: #4da6ff;
    border-color: #4da6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-orange {
    background: linear-gradient(135deg, #ffe0cc, #fff2e6);
    color: #ff9900;
    border: 2px solid #ffd6cc;
}

.btn-orange:hover {
    background: transparent;
    color: #ff9900;
    border-color: #ff9900;
}

/* 服务器信息 */
.server-info {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-orange);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(77, 166, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-orange);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
}

/* 服务器特色 */
.features {
    padding: 80px 0;
    background: rgba(230, 242, 255, 0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
}

/* 规则部分 */
.rules {
    padding: 80px 0;
    background: var(--white);
}

.rules-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-orange);
}

.rules-list {
    list-style: none;
}

.rules-list li {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rules-list h3 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 20px;
}

.rules-list p {
    color: var(--text-light);
    line-height: 1.6;
}

.rules-list a {
    color: var(--primary-blue);
    text-decoration: none;
}

.rules-list a:hover {
    text-decoration: underline;
    color: var(--accent-orange);
}

/* FAQ部分 */
.faq {
    padding: 80px 0;
    background: rgba(230, 242, 255, 0.5);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(77, 166, 255, 0.05);
}

.faq-question h3 {
    color: var(--primary-blue);
    margin: 0;
}

.faq-question i {
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.faq-answer {
    background: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 工单系统 */
.ticket-section {
    padding: 80px 0;
    background: var(--white);
}

.ticket-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-orange);
}

/* 加入服务器 */
.join-server {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(255, 153, 0, 0.1) 100%);
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.join-server h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.join-server p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.server-ip {
    background: rgba(77, 166, 255, 0.1);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin: 20px 0;
    border: 2px dashed var(--primary-blue);
}

.server-ip span {
    font-family: monospace;
    font-size: 24px;
    color: var(--accent-orange);
    font-weight: 700;
}

.ip-container {
    margin: 20px 0;
}

/* 页脚 */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .mobile-menu {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .rules-content {
        padding: 20px;
    }

    .ticket-form {
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* 更新日志部分 */
.updates-section {
    padding: 80px 0;
    background: var(--white);
}

.updates-container {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-orange);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.update-title {
    color: var(--primary-blue);
    font-size: 22px;
    margin: 0;
}

.update-date {
    color: var(--accent-orange);
    font-weight: 600;
}

.update-content {
    color: var(--text-light);
    line-height: 1.6;
}

.update-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.update-content li {
    margin-bottom: 8px;
}

/* 服务器区域介绍 */
.server-areas {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.area-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1;
    transition: transform 0.3s;
}

.area-card:hover {
    transform: translateY(-10px);
}

.area-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.5rem;
}

.area-content {
    padding: 25px;
}

.area-content ul {
    list-style-position: inside;
    margin-top: 15px;
}

.area-content li {
    margin-bottom: 10px;
}

.city-area .area-header {
    background-color: var(--primary-blue);
}

.survival-area .area-header {
    background-color: var(--accent-orange);
}

/* 首页最新更新日志 */
.recent-updates {
    margin-top: 30px;
}

.update-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #007cba;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.update-header h3 {
    margin: 0;
    color: #333;
}

.update-date {
    color: #666;
    font-size: 0.9em;
}

.update-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .update-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}