/**
 * XCraft 我的世界社区网站样式
 * Minecraft像素风格设计 - 2026终极版
 */

/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --grass-green: #4caf50;
    --grass-dark: #2e7d32;
    --grass-light: #81c784;
    --dirt-brown: #8b5a2b;
    --sky-blue: #87ceeb;
    --stone-gray: #78909c;
    --dark-stone: #455a64;
    --wood-brown: #8d6e63;
    --leaf-green: #388e3c;
    --gold: #ffd700;
    --gold-light: #ffe082;
    --diamond: #00bcd4;
    --redstone: #e53935;
    --obsidian: #0d0d1a;
    --bedrock: #1a1a2e;
    --cobblestone: #607d8b;
    --nether: #8b0000;
    --emerald: #2ecc71;
    
    --primary: #4caf50;
    --primary-dark: #2e7d32;
    --primary-light: #81c784;
    --secondary: #ff9800;
    --accent: #ffd700;
    --accent-light: #fff59d;
    --bg-dark: #0d0d1a;
    --bg-card: rgba(26, 26, 46, 0.85);
    --bg-card-hover: rgba(40, 40, 70, 0.95);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    
    --glow-green: rgba(76, 175, 80, 0.6);
    --glow-gold: rgba(255, 215, 0, 0.6);
    --glow-blue: rgba(0, 188, 212, 0.6);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* 动态背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

/* ===== 像素风格装饰 ===== */
.pixel-block {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255,255,255,0.15);
    display: inline-block;
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--grass-dark) 100%);
    box-shadow: 
        inset -3px -3px 6px rgba(0,0,0,0.4),
        inset 3px 3px 6px rgba(255,255,255,0.15),
        0 4px 8px rgba(0,0,0,0.3);
    animation: blockFloat 3s ease-in-out infinite;
}

@keyframes blockFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.pixel-border {
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--grass-green), var(--accent), var(--grass-green)) 1;
    position: relative;
}

/* ===== 头部导航 ===== */
.site-header {
    background: linear-gradient(180deg, rgba(13, 13, 26, 0.98) 0%, rgba(13, 13, 26, 0.92) 100%);
    backdrop-filter: blur(25px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
    box-shadow: 
        0 4px 30px rgba(0,0,0,0.6),
        0 0 80px rgba(76, 175, 80, 0.08);
    animation: headerSlide 0.8s ease;
}

@keyframes headerSlide {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 
        0 0 15px rgba(76, 175, 80, 0.6),
        3px 3px 6px rgba(0,0,0,0.6);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(180deg, 
        var(--grass-green) 0%, 
        var(--grass-dark) 48%, 
        var(--dirt-brown) 52%, 
        #654321 100%
    );
    border: 3px solid var(--dark-stone);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 6px 20px rgba(0,0,0,0.6);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 
        inset 0 0 25px rgba(0,0,0,0.6),
        0 8px 30px rgba(76, 175, 80, 0.5);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
}

.main-nav a {
    color: var(--text-muted);
    padding: 12px 24px;
    display: block;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.4);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 90%;
}

/* ===== 主内容区 ===== */
.main-content {
    flex: 1;
    padding: 50px 0;
}

/* ===== 首页Hero区域 ===== */
.hero {
    background: linear-gradient(135deg, 
        var(--bg-dark) 0%, 
        #1a1a2e 35%, 
        #16213e 65%, 
        var(--bg-dark) 100%
    );
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(76, 175, 80, 0.15);
}

/* 像素方块背景动画 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect fill='%234caf50' width='20' height='20' opacity='0.04'/%3E%3Crect fill='%234caf50' x='40' y='40' width='20' height='20' opacity='0.06'/%3E%3Crect fill='%23ffd700' x='60' y='20' width='20' height='20' opacity='0.03'/%3E%3C/svg%3E");
    animation: bgMove 25s linear infinite;
}

@keyframes bgMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* 光晕效果 */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    color: var(--text-light);
    margin-bottom: 28px;
    text-shadow: 
        0 0 30px rgba(76, 175, 80, 0.4),
        4px 4px 8px rgba(0,0,0,0.6);
    animation: fadeInDown 1s ease;
    letter-spacing: 2px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 span {
    color: var(--accent);
    text-shadow: 
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 80px rgba(255, 215, 0, 0.4);
    display: inline-block;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero p {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease 0.3s both;
    line-height: 1.8;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 28px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

/* 按钮闪光效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    box-shadow: 
        0 6px 20px rgba(76, 175, 80, 0.5),
        0 0 40px rgba(76, 175, 80, 0.3);
    border: 2px solid rgba(76, 175, 80, 0.6);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(76, 175, 80, 0.6),
        0 0 60px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #e68900 100%);
    color: var(--text-light);
    box-shadow: 
        0 6px 20px rgba(255, 152, 0, 0.5),
        0 0 40px rgba(255, 152, 0, 0.3);
    border: 2px solid rgba(255, 152, 0, 0.6);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 152, 0, 0.6),
        0 0 60px rgba(255, 152, 0, 0.4);
}

/* ===== 服务器信息卡片 ===== */
.server-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 
        0 6px 25px rgba(0,0,0,0.4),
        0 0 50px rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

/* 卡片顶部渐变条 */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 卡片光晕 */
.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(76, 175, 80, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(0,0,0,0.5),
        0 0 80px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.5);
}

.info-card:hover::before,
.info-card:hover::after {
    opacity: 1;
}

.info-card h3 {
    color: var(--primary-light);
    font-size: 24px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.info-card p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 15px;
}

/* ===== 区块标题 ===== */
.section-title {
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(76, 175, 80, 0.25);
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

/* 左侧渐变条 */
.section-title::before {
    content: '';
    width: 5px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--primary));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* 底部动画线 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

/* ===== 公告区块 ===== */
.announcements {
    display: grid;
    gap: 28px;
    margin-bottom: 70px;
}

.announcement-item {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-left: 5px solid var(--secondary);
    border: 1px solid rgba(76, 175, 80, 0.15);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.announcement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 50%, rgba(255, 215, 0, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-item:hover {
    transform: translateX(12px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.4),
        0 0 50px rgba(255, 215, 0, 0.15);
}

.announcement-item:hover::before {
    opacity: 1;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.announcement-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.announcement-date {
    color: var(--text-dim);
    font-size: 14px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(76, 175, 80, 0.25);
    font-weight: 600;
}

.announcement-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

/* ===== 新闻区块 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 36px;
    margin-bottom: 70px;
}

.news-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.5),
        0 0 80px rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-stone) 0%, var(--bedrock) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8));
    z-index: 1;
}

.news-image span {
    position: relative;
    z-index: 2;
}

.news-content {
    padding: 28px;
}

.news-date {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== 统计数字 ===== */
.stats-section {
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.1) 0%, 
        rgba(255, 215, 0, 0.08) 50%, 
        rgba(76, 175, 80, 0.1) 100%
    );
    padding: 100px 0;
    margin: 80px 0;
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

/* 顶部光效 */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

/* 粒子背景 */
.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='2' fill='%23ffd700' opacity='0.1'/%3E%3C/svg%3E");
    animation: particles 30s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    color: var(--text-light);
    position: relative;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        4px 4px 8px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    line-height: 1;
}

.stat-item:hover .stat-number {
    transform: scale(1.15);
    text-shadow: 
        0 0 50px rgba(255, 215, 0, 0.8),
        0 0 100px rgba(255, 215, 0, 0.4);
}

.stat-label {
    font-size: 18px;
    opacity: 0.8;
    margin-top: 16px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== 页面Hero ===== */
.page-hero, .status-hero {
    background: linear-gradient(135deg, 
        var(--bg-dark) 0%, 
        #1a1a2e 50%, 
        var(--bg-dark) 100%
    );
    padding: 100px 0;
    text-align: center;
    color: var(--text-light);
    border-bottom: 2px solid rgba(76, 175, 80, 0.15);
    position: relative;
    overflow: hidden;
}

/* 页面Hero背景图案 */
.page-hero::before, .status-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='6' fill='%234caf50' opacity='0.08'/%3E%3C/svg%3E");
    animation: bgMove 20s linear infinite;
}

.page-hero h1, .status-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 30px rgba(76, 175, 80, 0.4),
        4px 4px 8px rgba(0,0,0,0.6);
    position: relative;
}

.page-hero p, .status-hero p {
    font-size: 20px;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    line-height: 1.8;
}

/* ===== 服务器状态页 ===== */
.server-main-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 56px;
    margin-top: -50px;
    box-shadow: 
        0 15px 60px rgba(0,0,0,0.5),
        0 0 100px rgba(76, 175, 80, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.25);
    position: relative;
    z-index: 2;
}

.server-status-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.status-dot-large {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot-large.online {
    background: var(--primary);
    box-shadow: 0 0 30px var(--primary);
}

.status-dot-large.offline {
    background: var(--redstone);
    box-shadow: 0 0 30px var(--redstone);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.status-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
}

.server-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.detail-item {
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.02));
    border-radius: 16px;
    border: 2px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.detail-label {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.detail-value {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.content-section {
    padding: 80px 0;
}

/* ===== 关于我们页 ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.rule-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rule-card:hover {
    transform: translateY(-8px);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.5),
        0 0 60px rgba(76, 175, 80, 0.15);
}

.rule-card h3 {
    color: var(--primary-light);
    font-size: 22px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.rule-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 
        0 15px 45px rgba(0,0,0,0.5),
        0 0 80px rgba(76, 175, 80, 0.2);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 
        0 6px 20px rgba(76, 175, 80, 0.5),
        0 0 40px rgba(76, 175, 80, 0.25);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
}

.feature-item h4 {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 14px;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== 加入我们页 ===== */
.join-section {
    min-height: calc(100vh - 120px);
}

.join-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(76, 175, 80, 0.15);
}

.join-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='6' fill='%234caf50' opacity='0.08'/%3E%3C/svg%3E");
}

.join-banner h1 {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    text-shadow: 
        0 0 30px rgba(76,175,80,0.4),
        4px 4px 8px rgba(0,0,0,0.6);
    position: relative;
}

.join-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    position: relative;
}

.join-container {
    padding: 60px 24px;
    max-width: 1200px;
}

.contact-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 80px;
}

.contact-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}

.qq-card::before {
    background: linear-gradient(90deg, #12b7f5, #007aff);
}

.oopz-card::before {
    background: linear-gradient(90deg, #FF6B35, #FF8C42);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(76,175,80,0.1);
}

.card-icon-wrap {
    margin-bottom: 24px;
}

.card-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.card-icon svg {
    width: 50px;
    height: 50px;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
}

.qq-icon {
    background: linear-gradient(135deg, #12b7f5, #007aff);
    box-shadow: 0 8px 25px rgba(18, 183, 245, 0.4);
}

.oopz-icon {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.contact-card h3 {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.card-code {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1;
}

.qq-card .card-code {
    color: #12b7f5;
    text-shadow: 0 0 20px rgba(18, 183, 245, 0.5);
}

.oopz-card .card-code {
    color: #FF6B35;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.card-desc {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.card-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-buttons .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.qq-btn {
    background: linear-gradient(135deg, #12b7f5, #007aff);
    color: white;
}

.qq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 183, 245, 0.4);
}

.qq-btn-outline {
    background: transparent;
    border: 1px solid rgba(18, 183, 245, 0.5);
    color: #12b7f5;
}

.qq-btn-outline:hover {
    background: rgba(18, 183, 245, 0.1);
    border-color: #12b7f5;
}

.oopz-btn {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
}

.oopz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.oopz-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 107, 53, 0.5);
    color: #FF6B35;
}

.oopz-btn-outline:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #FF6B35;
}

.steps-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(76,175,80,0.3);
}

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

.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: rgba(76,175,80,0.3);
    background: rgba(26, 26, 46, 0.8);
}

.step-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.step-content h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-content p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    line-height: 1.6;
}

.step-content p strong {
    color: var(--primary);
}

.faq-section {
    margin-bottom: 80px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background: rgba(76,175,80,0.05);
}

.faq-question::after {
    content: '+';
    width: 24px;
    height: 24px;
    background: rgba(76,175,80,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.7;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-section {
    margin-bottom: 40px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 500px;
    margin: 0 auto;
}

.info-icon {
    font-size: 40px;
}

.info-content h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 6px;
    font-weight: 700;
}

.info-content p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}

.info-content p strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        max-width: 100%;
        width: 100%;
    }
    
    .join-banner h1 {
        font-size: 32px;
    }
    
    .join-banner p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-num {
        align-self: flex-start;
    }
}

/* ===== 底部 ===== */
.site-footer {
    background: linear-gradient(180deg, var(--bedrock) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 80px 0 32px;
    margin-top: auto;
    border-top: 2px solid rgba(76, 175, 80, 0.15);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 56px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--primary-light);
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(76, 175, 80, 0.25);
    font-weight: 700;
}

.footer-section p,
.footer-section li {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-dim);
    font-size: 14px;
}

.icp-info {
    margin-top: 16px;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

.icp-info a {
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: var(--primary-light);
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--grass-green), var(--grass-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--grass-light), var(--grass-green));
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .join-cards {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }
    
    .join-hero h1 {
        font-size: 36px;
    }
    
    .join-hero p {
        font-size: 16px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-line {
        display: none;
    }
    
    .section-header .section-title {
        font-size: 28px;
    }
    
    .server-main-card {
        padding: 32px;
        margin-top: -30px;
    }
    
    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 32px 0;
    }
    
    .info-card, .news-card, .rule-card, .feature-item, .step-item {
        padding: 24px;
    }
}