/* 全局变量 */
:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --accent-color: #ff3e3e;
    --text-color: #fff;
    --bg-color: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.9);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-border: 1px solid rgba(0, 242, 254, 0.2);
}

body {
    background: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(79, 172, 254, 0.05) 0%, transparent 20%);
    color: var(--text-color);
}

.page_content {
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 20px;
}

.page_content .box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    transition: all 0.3s ease;
    padding: 40px;
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
}

.page_content .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.page_content .title {
    color: var(--primary-color);
    border-bottom: 2px solid rgba(0, 242, 254, 0.3);
    font-size: 32px;
    width: auto;
    text-align: center;
    height: 60px;
    line-height: 60px;
    margin-bottom: 40px;
    position: relative;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.page_content .title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient);
}

.gsjj .gsjj_content {
    width: 100%;
    max-width: 800px;
    line-height: 1.8;
    text-indent: 2em;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gsjj .gsjj_content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 242, 254, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.gsjj .gsjj_content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.15);
}

.rcfz .rcfz_content {
    background: var(--card-bg);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    margin: 0 auto 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rcfz .rcfz_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rcfz .rcfz_content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.15);
}

.rcfz .rcfz_content:hover::before {
    opacity: 1;
}

.rcfz .rcfz_content .rcfz_title {
    font-size: 24px;
    border-bottom: 2px solid rgba(0, 242, 254, 0.3);
    margin-bottom: 25px;
    padding-bottom: 15px;
    margin-top: 0;
    width: 100%;
    color: var(--primary-color);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rcfz .rcfz_content ul {
    width: 100%;
    padding: 0 20px;
}

.rcfz .rcfz_content ul li {
    height: auto;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.rcfz .rcfz_content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gradient);
    border-radius: 50%;
}

.game_list_box {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.game_list_box .game_list {
    background: var(--card-bg);
    width: 100%;
    max-width: 900px;
    height: auto;
    min-height: 240px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.game_list_box .game_list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game_list_box .game_list:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.2);
    border-color: var(--primary-color);
}

.game_list_box .game_list:hover::before {
    opacity: 1;
}

.game_list_box .game_list img {
    border-radius: 12px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid rgba(0, 242, 254, 0.2);
}

.game_list_box .game_list:hover img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.game_list_box .game_list .game_list_r {
    flex: 0 0 auto;
}

.game_list_box .game_list .game_list_r .game_name {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.game_list_box .game_list .game_text {
    color: #ccc;
    flex: 1;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    padding-right: 0;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game_list_box .game_list .game_des {
    position: relative;
    color: var(--primary-color);
    font-size: 15px;
    background: transparent;
    padding: 10px 25px;
    text-align: center;
    border-radius: 25px;
    width: 140px;
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
    align-self: flex-start;
}

.game_list_box .game_list .game_des:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 242, 254, 0.4);
    border-color: transparent;
}

@media screen and (max-width: 768px) {
    .page_content {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .page_content .box {
        padding: 20px;
    }
    
    .page_content .title {
        font-size: 24px;
        height: 50px;
        line-height: 50px;
    }
    
    .gsjj .gsjj_content,
    .rcfz .rcfz_content {
        padding: 20px;
    }
    
    .game_list_box .game_list {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        min-height: auto;
    }
    
    .game_list_box .game_list img {
        width: 140px;
        height: 140px;
        border-width: 3px;
    }
    
    .game_list_box .game_list .game_list_r,
    .game_list_box .game_list .game_text {
        margin: 20px 0 0 0;
        padding-right: 0;
    }
    
    .game_list_box .game_list .game_list_r .game_name {
        font-size: 28px;
    }
    
    .game_list_box .game_list .game_des {
        position: relative;
        margin: 25px auto 0;
        width: 140px;
    }
}

/* Hero Section */
.hero_section {
    height: 500px;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)),
                url('../images/mhqy_banner.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 242, 254, 0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(79, 172, 254, 0.1) 100%
    );
    animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero_content {
    position: relative;
    z-index: 1;
}

.hero_content h1 {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
    letter-spacing: 2px;
}

.hero_content p {
    font-size: 24px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Game Section */
.game_section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-color), rgba(10, 10, 10, 0.9));
    transition: all 0.3s ease;
}

.game_section:hover {
    background: linear-gradient(to bottom, var(--bg-color), rgba(10, 10, 10, 0.95));
}

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

.game_item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    padding: 40px;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.game_item:hover {
    transform: translateX(10px);
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.game_cover {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 50px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(0, 242, 254, 0.2);
}

.game_cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 242, 254, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game_item:hover .game_cover::after {
    opacity: 1;
}

.game_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.game_item:hover .game_cover img {
    transform: scale(1.05);
}

.game_detail {
    flex: 1;
}

.game_detail h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    letter-spacing: 1px;
}

.game_type {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.game_desc {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
}

.download_btn {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.download_btn:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* About Section */
.about_section {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), var(--bg-color));
}

.section_title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    position: relative;
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient);
}

.about_content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ccc;
    line-height: 1.8;
    text-align: justify;
}

/* Join Section */
.join_section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section_title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.job_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job_item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: var(--card-border);
    position: relative;
}

.job_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
    border-color: var(--primary-color);
}

.job_header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
}

.job_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.job_header h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job_arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    margin-top: -5px;
}

.job_item.active .job_arrow {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.job_content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 30px;
    background: rgba(0, 242, 254, 0.03);
}

.job_item.active .job_content {
    max-height: 500px;
    padding: 25px 30px;
}

.job_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job_content ul li {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    opacity: 0.9;
}

.job_content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.job_content ul li:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .section_title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .job_header {
        padding: 20px;
    }

    .job_header h3 {
        font-size: 18px;
    }

    .job_content {
        padding: 0 20px;
    }

    .job_item.active .job_content {
        padding: 20px;
    }
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .hero_section {
        height: 400px;
    }

    .hero_content h1 {
        font-size: 36px;
    }

    .hero_content p {
        font-size: 18px;
    }

    .game_item {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .game_cover {
        width: 240px;
        height: 240px;
        margin: 0 auto 30px;
    }

    .game_detail h3 {
        font-size: 28px;
    }

    .game_type {
        font-size: 14px;
        padding: 6px 15px;
    }

    .game_desc {
        font-size: 15px;
    }

    .section_title {
        font-size: 28px;
    }

    .job_header {
        padding: 15px 20px;
    }

    .job_header h3 {
        font-size: 20px;
    }

    .job_content {
        padding: 0 20px;
    }

    .job_item.active .job_content {
        padding: 15px 20px;
    }
}