﻿/* 禁止下载样式 */
img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
    /* 额外的保护 */
    -webkit-filter: none;
    filter: none;
    transform: none;
    transition: none;
}

/* 禁用图片的保存功能 */
img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.9) 0%, rgba(90, 140, 105, 0.9) 50%, rgba(74, 124, 89, 0.9) 100%), url('2018-09-28_mm18_1538115656318_cylyfo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    position: relative;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    background: transparent;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-contact,
.btn-feedback,
.btn-login,
.btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-size: 14px;
}

.btn-contact:hover,
.btn-feedback:hover,
.btn-login:hover,
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}



/* 用户信息样式 */
.user-info {
    position: relative;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.user-dropdown:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
}

.username {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.user-profile {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-label {
    font-size: 12px;
    color: #999;
}

.profile-name {
    font-weight: 500;
    color: #333;
}

.logout-item {
    color: #f44336;
    font-weight: 500;
}

.logout-item:hover {
    background-color: #ffebee !important;
}

.logout-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-text::before {
    content: "🚪";
    font-size: 14px;
}

/* 主要内容区域 */
.main {
    margin-top: 80px;
    padding: 20px 0;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), url('2020-06-10_mm18_1591771956428_9qufxa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-right: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    display: inline-block;
}

.stats-text {
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 通用区域样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 活动赛事区域 */
.events {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('bg1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(10px);
}

.events-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.events-decoration {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.events-grid {
    display: grid;
    gap: 30px;
}

.event-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #666;
}

.event-list {
    list-style: none;
}

.event-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.event-list li:last-child {
    border-bottom: none;
}

/* 活动按钮 */
.event-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-event-action,
.btn-event-detail {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-event-action:hover,
.btn-event-detail:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.btn-event-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 游戏标签图片按钮样式 */
.game-labels {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.label-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    padding: 0;
    margin: 0;
}

.label-img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.label-btn:hover {
    transform: translateY(-2px) scale(1.1);
}

.label-btn:hover .label-img {
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.label-btn:active {
    transform: translateY(0) scale(1.05);
}

/* 排行榜区域 */
.leaderboard {
    padding: 80px 0;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leaderboard-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-3px);
}

.leaderboard-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.leaderboard-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rank-text {
    color: #667eea;
    font-weight: 500;
    cursor: pointer;
}

.my-rank {
    color: #666;
    font-size: 0.9rem;
}

.rank-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

/* 游戏模式区域 */
.games {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.game-platforms {
    display: flex;
    gap: 8px;
}

.platform {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.game-description {
    color: #666;
    line-height: 1.6;
}

/* 游戏导航 */
.game-nav {
    padding: 40px 0;
}

.game-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.game-nav-item {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-nav-item:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* 玩家作品区域 */
.player-works {
    padding: 80px 0;
}

.works-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qq-groups h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.qq-list {
    list-style: none;
}

.qq-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.qq-list li:last-child {
    border-bottom: none;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    margin-right: 20px;
}

.footer-text {
    color: #ccc;
    font-size: 0.9rem;
}

.national-emblem {
    height: 20px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
}

/* 视频栏目样式 */
.video-section {
    position: relative;
    background: #000;
    min-height: 600px;
    overflow: hidden;
}

.video-fullscreen {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.video-info {
    color: white;
}

.video-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.video-description {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.game-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: white;
}

.player-count {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.game-labels {
    display: flex;
    gap: 10px;
}

.label {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 视频操作按钮样式 */
.btn-video-action {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 5px;
}

/* 纯图片按钮样式 */
.btn-img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-img-blue {
    filter: hue-rotate(180deg) saturate(1.5) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 隐藏文字覆盖 */
.btn-text {
    display: none;
}

.btn-video-action:hover {
    transform: scale(1.05);
}

.btn-video-action .btn-img {
    width: 150px;
    height: 50px;
}

/* 兼容旧样式 */
.btn-bg {
    width: 120px;
    height: 40px;
    object-fit: cover;
    display: block;
}

.btn-bg-blue {
    filter: hue-rotate(180deg) saturate(1.5);
}

.btn-video-action .btn-bg {
    width: 150px;
    height: 50px;
}

/* 邮箱验证样式 */
.email-verification {
    display: flex;
    gap: 10px;
}

.email-verification input {
    flex: 1;
}

.verification-btn {
    background: linear-gradient(45deg, #4ade80, #22d3ee);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.verification-btn:hover {
    background: linear-gradient(45deg, #22d3ee, #4ade80);
    transform: translateY(-2px);
}

.verification-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }
    
    .game-nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    /* 视频栏目响应式 */
    .video-content {
        height: 400px;
    }
    
    .video-overlay {
        padding: 20px;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-controls {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .game-info {
        align-items: center;
        text-align: center;
    }
    
    .game-labels {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-bg {
        width: 100px;
        height: 35px;
    }
    
    .btn-text {
        font-size: 14px;
    }
    
    .btn-video-action .btn-bg {
        width: 130px;
        height: 45px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.event-card,
.leaderboard-card,
.game-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
}

/* 网易云音乐播放器样式 */
#musicPlayer {
    transition: all 0.3s ease;
    opacity: 0.95;
}

#musicPlayer:hover {
    opacity: 1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#musicPlayer.hidden {
    bottom: -80px !important;
}

#musicPlayer.visible {
    bottom: 80px !important;
}

/* 音乐控制悬浮按钮 */
#musicToggleBtn {
    transition: all 0.3s ease;
    user-select: none;
}

#musicToggleBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#musicToggleBtn:active {
    transform: scale(0.95);
}

/* 音乐播放器控制按钮 */
.music-controls {
    position: absolute;
    top: -30px;
    right: 0;
    display: flex;
    gap: 5px;
}

.music-control-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.music-control-btn:hover {
    background: rgba(0,0,0,0.9);
}

/* 可以拖拽的播放器 */
#musicPlayer.draggable {
    cursor: move;
}

/* Minecraft风格弹窗 */
.mc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.mc-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: #c6c6c6;
    border: 4px solid #555;
    border-style: outset;
    box-shadow: 
        inset 2px 2px 0 #fff,
        inset -2px -2px 0 #000,
        4px 4px 0 #000;
    font-family: 'Courier New', monospace;
    color: #000;
    image-rendering: pixelated;
}

.mc-modal-header {
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
    border-bottom: 2px solid #555;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mc-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 0 #fff;
}

.mc-modal-close {
    background: #c6c6c6;
    border: 2px solid #555;
    border-style: outset;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    padding: 0;
}

.mc-modal-close:hover {
    background: #d0d0d0;
}

.mc-modal-close:active {
    border-style: inset;
}

.mc-modal-body {
    padding: 20px;
    background: #c6c6c6;
    min-height: 100px;
}

.mc-modal-text {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    white-space: pre-line;
}

.mc-modal-footer {
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
    border-top: 2px solid #555;
    padding: 12px 16px;
    text-align: center;
}

.mc-btn {
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
    border: 2px solid #555;
    border-style: outset;
    padding: 8px 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    text-shadow: 1px 1px 0 #fff;
    min-width: 80px;
}

.mc-btn:hover {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
}

.mc-btn:active {
    border-style: inset;
    background: linear-gradient(to bottom, #d0d0d0, #b0b0b0);
}

.mc-btn-primary {
    background: linear-gradient(to bottom, #5cb85c, #449d44);
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.mc-btn-primary:hover {
    background: linear-gradient(to bottom, #6cc76c, #55a055);
}

.mc-btn-primary:active {
    background: linear-gradient(to bottom, #449d44, #357a35);
}

/* 加载页面样式 */
.loading-screen {
} 

/* 人机验证样式 */
.captcha-container {
    text-align: center;
}

.captcha-area {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.captcha-puzzle {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.puzzle-piece {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #4CAF50;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.puzzle-piece:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.puzzle-target {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.3);
    border: 2px dashed #4CAF50;
    border-radius: 5px;
    pointer-events: none;
}

.captcha-timer {
    color: #666;
    font-size: 14px;
    margin: 20px 0;
}

.captcha-timer.warning {
    color: #ff9800;
}

.captcha-timer.danger {
    color: #f44336;
}

.status-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    display: none;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.button-group .minecraft-button {
    min-width: 100px;
}
