:root {
    --minecraft-green: #44bd32;
    --minecraft-dark: #1D1C1A;
    --minecraft-gray: #666666; /* Updated from #7f8c8d to be more consistent with our new darker gray */
    --minecraft-accent: #FF8C00;
    --minecraft-secondary: #3B8526;
    --minecraft-bg: #121212;
    --minecraft-panel: #1D1C1A;
    --minecraft-dirt: #8B4513;
    --minecraft-stone: #7D7D7D;
    --card-hover: rgba(59, 133, 38, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #E0E0E0;
    background-color: var(--minecraft-bg);
    background-image: url('/images/bg-1.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}





/* Header styles */
header {
    background-color: var(--minecraft-panel);
    text-align: center;
    padding: 3rem 1rem;
    box-shadow: 0 4px 0 var(--minecraft-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom: 4px solid var(--minecraft-green);
    animation: header-slide-down 1s ease-out;
}

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

.minecraft-block {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78i iglkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDpbTVBUaWNrZXJdPSIxNTk0NjY1NjM5IiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjFlNDdmOGJmLWE0YTctNDM0Yy1iNzIxLWM2MzBmZGU3ZTRiNiIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMC0wNy0xM1QxNzowNzoxOSswMjowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjAtMDctMTNUMTc6MDc6MTkrMDI6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjAtMDctMTNUMTc6MDc6MTkrMDI6MDAiPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdyYXNzPC9yZGY6bGk+IDwvcmRmOkFsdD4gPC9kYzp0aXRsZT4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxZTQ3ZjhiZi1hNGE3LTQzNGMtYjcyMS1jNjMwZmRlN2U0YjYiIHN0RXZ0OndoZW49IjIwMjAtMDctMTNUMTc6MDc6MTkrMDI6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7JZ4QBAAAB1UlEQVRYw+2XsUoDQRCGvz0OJAgWgkUKQYiVYGFhYWNhYWEhiKWVL5AXsPEB7K0s7OysLCwECwtBCCIIQgpFDMY7dZMNm+Uu5nIXC8ENLLc7M/v/M7OzC0QiEYlEIpGIxP9EADoAKvKsJM+6QAcwJVx6wAhI5TkCeuL7FZrAGEiFGQNNy3cnwFTpTIGuFVMX3xRYAGfAkSXeE9+F6LTF1xXdGnAJDIE7y4Yb4Bo4BxrAQPwD0T0DTmQNS9nKCHgAToGjiCmIgBawBK5kIysiG6Jb0/ZWBt3iGpxKUhqWbQa8AjfAXsAJqAP3wLuWgDdgX2Ia4hsDD8BuQQlwsQNcAc/aJp6AA/GdiG8OPJaUABcnwAuwkk28Ai3xtcS3Ap5LSoALAzgHPrRNvAF7FpFQCXDRECm91jYxBnY0IiES4MIAWsASuNY2MQEONSKhEuBiV6T0TtvEpCQJcNEEXoArbRNzoFOSBLioi5S+aJuYAe2SJMBFJFLa0jYxl5hQCXDRkILU1TYxKUkCXOyIlN5qm5gCRyVJgItIpPRQ28RcYkIlwEVdpPRF28QMOClJAlxEIqUtbRNziQmVABcNKUhdbRPTkiTARSRS2tQ2MZeYUAlwEYlE/ik+AYYKtlNsrChuAAAAAElFTkSuQmCC');
}

@keyframes block-float {
    0% {
        transform: translateY(100px) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

h1 {
    font-size: 3rem;
    color: var(--minecraft-green);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.minecraft-title {
    position: relative;
    animation: title-bounce 0.5s ease-out;
}

@keyframes title-bounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

h2, h3, h4, h5, h6 {
    color: var(--minecraft-green);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.subtitle {
    color: #666666; /* Updated from #AAAAAA */
    font-size: 1.1rem;
    animation: fade-in 1s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px; /* 增加最大宽度以适应1920x1080分辨率 */
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 一排显示4个工具卡片 */
    gap: 1.5rem;
    padding: 1rem;
    animation: grid-appear 0.8s ease-out;
}

@keyframes grid-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    background: var(--minecraft-panel);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid var(--minecraft-secondary);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 改为顶部对齐，确保图标在同一水平线上 */
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), 
                inset 0 0 30px rgba(0, 0, 0, 0.2);
    background-color: var(--minecraft-dark); /* 确保背景不透明 */
    image-rendering: pixelated;
    background-image: 
        linear-gradient(0deg, rgba(59, 133, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 133, 38, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: center center;
    border-radius: 2px;
}

.tool-card::before {
    content: none; /* 移除透明效果 */
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 
                inset 0 0 30px rgba(59, 133, 38, 0.1);
}

.tool-card-hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pixel-border {
    position: absolute;
    background-color: var(--minecraft-green);
    animation: pixel-appear 0.5s ease-out forwards;
    opacity: 0;
    box-shadow: 0 0 5px rgba(68, 189, 50, 0.5);
}

@keyframes pixel-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* 为所有图标设置统一高度 */
    line-height: 1;
    position: relative;
    text-shadow: none;
}

/* 单独处理emoji图标 */
.tool-icon:not(:has(img)) {
    line-height: 1;
    padding-top: 5px; /* 轻微上移emoji图标 */
}

.tool-icon-img {
    max-width: 32px;
    max-height: 32px;
    filter: brightness(1.5);
    transition: all 0.3s ease;
    image-rendering: pixelated;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    position: absolute; /* 使用绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精确居中 */
}

/* 懒加载样式 */
.lazy-load {
    opacity: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.lazy-loaded {
    opacity: 1;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.tool-icon-pop {
    transform: scale(1.2);
    animation: icon-pop 0.5s infinite alternate;
}

@keyframes icon-pop {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1.4);
    }
}

.tool-card h3 {
    color: var(--minecraft-green);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.tool-card p {
    color: #AAAAAA;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制最多显示3行 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: 4.3em; /* 约为3行文字的高度 */
}

/* Coming Soon Tool Cards */
.coming-soon {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
    border: 2px dashed #444;
    position: relative;
    overflow: hidden;
}

.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(59, 133, 38, 0.1),
        rgba(59, 133, 38, 0.1) 10px,
        rgba(59, 133, 38, 0.2) 10px,
        rgba(59, 133, 38, 0.2) 20px
    );
    pointer-events: none;
    z-index: 1;
}

.coming-soon:hover {
    transform: none;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-color: #444;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--minecraft-accent);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    transform: rotate(10deg);
    animation: badge-pulse 2s infinite alternate;
    z-index: 3;
    box-shadow: 0 2px 0 rgba(0,0,0,0.5);
}

@keyframes badge-pulse {
    from {
        transform: rotate(10deg) scale(1);
    }
    to {
        transform: rotate(10deg) scale(1.1);
    }
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--minecraft-panel);
    border-top: 4px solid var(--minecraft-green);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, 
        var(--minecraft-green), 
        var(--minecraft-green) 20px, 
        transparent 20px, 
        transparent 30px
    );
    background-size: 30px 4px;
    animation: footer-border-slide 10s linear infinite;
}

@keyframes footer-border-slide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 300px 0;
    }
}

footer p {
    color: #666666; /* Updated from #AAAAAA */
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}

.usage-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--minecraft-panel);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    border: 2px solid var(--minecraft-secondary);
}

.usage-section h2 {
    color: var(--minecraft-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.usage-content {
    color: #666666; /* Updated from #AAAAAA */
}

.usage-content ul {
    padding-left: 1.5rem;
}

.usage-content li {
    margin-bottom: 0.5rem;
}

/* Header decoration */
.header-decoration {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    perspective: 600px;
}

.grass-block, .dirt-block, .stone-block {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    position: relative;
    transform-style: preserve-3d;
    animation: block-rotate 10s infinite linear;
}

.grass-block {
    animation-delay: 0s;
}

.dirt-block {
    animation-delay: -3.33s;
}

.stone-block {
    animation-delay: -6.66s;
}

.grass-block::before, .dirt-block::before, .stone-block::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    image-rendering: pixelated;
}

.grass-block::before {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA7klEQVQ4y5WSPw4BURDGf28RnZWoXEDhBDo3UNFoFBSi0GkUWoXCCRQKrULjBK6gUAhfMpvZfX95yUt2Z+Z935/ZNdyd/6i+HJiZmdlURI5FLxSRjZktXsHMbAQcgWbRywM7YOCcu/8AmNkAOAFN4ApcgKFz7pQCmFkfOAMt4A7MnXPbDGA/ZVUVuAFj59wuBohsq8AZGDnnDjFAZFsFTsDQOXeMAaLYVoAzMHDOHWOAyLYKnIGec+4UA0S2VeAE9Jxz5xggGlsVOAJd59wlBohiq9g3b6fYZgBR2Srw/JxLLJsBRGWbA/xJL3LWdVl0AAAAAElFTkSuQmCC');
}

.dirt-block::before {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAkklEQVQ4y2P8//8/AyWAiYFCQLEBLNgEX716tQOI/xPAO6KiopqxGcACxNdJMADk5h1YDWAhwQBmqJvBBjCRYAALVF6CnBBJMYAFKn+DaANIMYAFyr9BtAGkGMACld8B0wNWA0gJAyaonpvEGMBCggEsUPkbxIQBCw7Nu4B4PwHcFRUVtRmbAUxQzT+INOAHMQYwMgIAqe0cEQnL9TYAAAAASUVORK5CYII=');
}

.stone-block::before {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAApElEQVQ4y2P8//8/AyWAiYFCQLEBLMQo/v//vwIQywPxfSD+/v//fwViDGABYgUgvg3EX4H4DBArEmMAC9RmkM0g8AOIVYgxgAVq80Mo/xExBrBA/QwKdBY0A5iBmGgDWKA2f4YawAJ1Ack2s0D9DHIzC9QQZmIMYIGGAcjNIIPlgVieGANYoNEIcjPI5vtArECMAcxQm0Fufg3EZ4gxgJERAADr2BkRmLgQJwAAAABJRU5ErkJggg==');
}

@keyframes block-rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Add 3D effect to blocks */
.grass-block::after, .dirt-block::after, .stone-block::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), 
                inset 0 0 0 4px rgba(0, 0, 0, 0.1);
    animation: block-shadow 10s infinite linear;
}

@keyframes block-shadow {
    0%, 100% {
        box-shadow: inset -2px -2px 0 2px rgba(0, 0, 0, 0.2), 
                    inset 2px 2px 0 2px rgba(255, 255, 255, 0.1);
    }
    25% {
        box-shadow: inset 2px -2px 0 2px rgba(0, 0, 0, 0.2), 
                    inset -2px 2px 0 2px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: inset 2px 2px 0 2px rgba(0, 0, 0, 0.2), 
                    inset -2px -2px 0 2px rgba(255, 255, 255, 0.1);
    }
    75% {
        box-shadow: inset -2px 2px 0 2px rgba(0, 0, 0, 0.2), 
                    inset 2px -2px 0 2px rgba(255, 255, 255, 0.1);
    }
}

/* Minecraft Button Style */
.minecraft-btn {
    background-color: var(--minecraft-green);
    color: white;
    border: none;
    padding: 8px 16px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2),
                inset 0 -4px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.minecraft-btn:hover {
    background-color: var(--minecraft-secondary);
}

.minecraft-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2),
                inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

/* Minecraft Navigation - Enhanced */
.minecraft-nav {
    background: linear-gradient(135deg, 
        rgba(29, 28, 26, 0.98) 0%, 
        rgba(35, 35, 35, 0.95) 25%, 
        rgba(40, 40, 40, 0.97) 50%, 
        rgba(35, 35, 35, 0.95) 75%, 
        rgba(29, 28, 26, 0.98) 100%);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, 
        transparent 0%, 
        var(--minecraft-green) 20%, 
        rgba(76, 175, 80, 0.8) 50%, 
        var(--minecraft-green) 80%, 
        transparent 100%) 1;
    position: sticky;
    top: 0;
    z-index: 10001;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(68, 189, 50, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.minecraft-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(68, 189, 50, 0.15) 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(68, 189, 50, 0.15) 70%, 
        transparent 100%);
    animation: nav-shine 8s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes nav-shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.minecraft-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--minecraft-green) 0%, 
        var(--minecraft-secondary) 25%, 
        var(--minecraft-green) 50%, 
        var(--minecraft-secondary) 75%, 
        var(--minecraft-green) 100%);
    background-size: 200% 100%;
    animation: nav-border-flow 3s ease-in-out infinite;
}

@keyframes nav-border-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.nav-header .nav-logo {
    flex: 0 0 auto;
}

.nav-logo {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.logo-link {
    color: var(--minecraft-green);
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7), 0 0 10px rgba(68, 189, 50, 0.3);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-link::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    background-image: url('/images/minecraft-plot-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    image-rendering: pixelated;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.logo-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--minecraft-green), var(--minecraft-secondary));
    transition: width 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7), 0 0 20px rgba(68, 189, 50, 0.6);
}

.logo-link:hover::before {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
}

.logo-link:hover::after {
    width: 100%;
}



.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--minecraft-green);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    height: 44px; /* Match toggle button height approx */
    white-space: nowrap;
}

.lang-switch-btn:hover {
    background: rgba(68, 189, 50, 0.2);
    box-shadow: 0 0 10px rgba(68, 189, 50, 0.3);
    transform: translateY(-2px);
}

/* 汉堡菜单按钮样式 - Enhanced */
.nav-toggle {
    display: block;
    background: linear-gradient(135deg, rgba(68, 189, 50, 0.15), rgba(59, 133, 38, 0.25));
    border: 2px solid var(--minecraft-green);
    cursor: pointer;
    padding: 0.85rem;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-toggle:hover {
    background: linear-gradient(135deg, rgba(68, 189, 50, 0.2), rgba(59, 133, 38, 0.3));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #5dd93a;
}

.nav-toggle:hover::before {
    left: 100%;
}

.nav-toggle:active {
    transform: translateY(-1px) scale(1.02);
}

.toggle-bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background: linear-gradient(90deg, var(--minecraft-green), #5dd93a);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.toggle-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-toggle:hover .toggle-bar::after {
    opacity: 1;
}

/* 按钮激活状态 - Enhanced */
.nav-toggle.active {
    background: linear-gradient(135deg, rgba(68, 189, 50, 0.3), rgba(59, 133, 38, 0.4));
}

.nav-toggle.active .toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active .toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(135deg, rgba(29, 28, 26, 0.95), rgba(18, 18, 18, 0.98));
    border-radius: 8px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(68, 189, 50, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0;
    z-index: 10002;
    position: relative;
}

.nav-links::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(68, 189, 50, 0.2);
}

.nav-links.show {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding: 0.75rem 0;
    transform: translateY(0);
}

.nav-link {
    color: #CCCCCC;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--minecraft-green), var(--minecraft-secondary));
    transition: width 0.3s ease;
    z-index: 0;
}

.nav-link::after {
    content: '🔗';
    font-size: 0.9em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--minecraft-green);
    text-shadow: 0 0 10px rgba(68, 189, 50, 0.6);
    background: rgba(68, 189, 50, 0.1);
    transform: translateX(8px);
    padding-left: 2rem;
}

.nav-link:hover::before {
    width: 4px;
}

.nav-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-link.active {
    color: var(--minecraft-green);
    background: rgba(68, 189, 50, 0.15);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(68, 189, 50, 0.5);
}

.nav-link.active::before {
    width: 4px;
}

.nav-link:last-child {
    border-bottom: none;
}

/* 添加导航链接图标 */
.nav-link[href*="player-head"]::after { content: '👤'; }
.nav-link[href*="color-codes"]::after { content: '🎨'; }
.nav-link[href*="commands"]::after { content: '⚡'; }
.nav-link[href*="motd"]::after { content: '💬'; }
.nav-link[href*="server-status"]::after { content: '📊'; }
.nav-link[href*="server-banner"]::after { content: '🖼️'; }
.nav-link[href*="minecraft-banner"]::after { content: '🎬'; }
.nav-link[href*="banner-generator"]::after { content: '🏳️'; }
.nav-link[href*="minecraft-coloring"]::after { content: '🎨'; }
.nav-link[href*="fonts"]::after { content: '🔤'; }
.nav-link[href*="ai-assistant"]::after { content: '🤖'; }
.nav-link[href*="resource-download"]::after { content: '📦'; }
.nav-link[href*="sitemap"]::after { content: '🗺️'; }

/* 大屏幕样式 - Enhanced Desktop Navigation */
@media (min-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
    }
    
    /* 优化中等屏幕下的工具卡片布局 */
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    /* Enhanced汉堡菜单按钮在桌面端 */
    .nav-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.8rem;
        background: linear-gradient(135deg, rgba(68, 189, 50, 0.15), rgba(59, 133, 38, 0.25));
        border: 2px solid var(--minecraft-green);
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .nav-toggle:hover {
        background: linear-gradient(135deg, rgba(68, 189, 50, 0.25), rgba(59, 133, 38, 0.35));
        transform: translateY(-50%) translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    /* Enhanced下拉菜单 */
    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 1rem;
        flex-direction: column;
        width: 280px;
        background: linear-gradient(135deg, rgba(29, 28, 26, 0.98), rgba(18, 18, 18, 0.99));
        border: 2px solid var(--minecraft-green);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(68, 189, 50, 0.2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(-10px);
        margin-top: 0;
        z-index: 10002;
    }
    
    .nav-links::before {
        top: -10px;
        right: 30px;
        border-bottom: 10px solid var(--minecraft-green);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
    }
    
    .nav-links::after {
        content: '';
        position: absolute;
        top: -8px;
        right: 32px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgba(29, 28, 26, 0.98);
    }
    
    .nav-links.show {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
        transform: translateY(0);
        animation: dropdown-appear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes dropdown-appear {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .nav-link {
        padding: 1rem 1.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.05rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover {
        padding-left: 2.25rem;
        background: rgba(68, 189, 50, 0.12);
        transform: translateX(6px);
    }
    
    .nav-link:last-child {
        border-bottom: none;
        border-radius: 0 0 10px 10px;
    }
    
    .nav-link:first-child {
        border-radius: 10px 10px 0 0;
    }
}

/* Enhanced Banner with Hero Animation */
.banner {
    background-color: var(--minecraft-panel);
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid var(--minecraft-secondary);
    position: relative;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEklEQVQImWNgYGD4z8DAwMAAADgDAKdD8tMAAAAASUVORK5CYII=');
    background-size: 2px 2px;
    overflow: hidden;
    animation: banner-fade-in 1.5s ease-out 0.5s both;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 0;
}

/* Hero floating blocks animation */
.banner::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 69, 19, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(68, 189, 50, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, rgba(125, 125, 125, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(255, 140, 0, 0.3) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px;
    animation: hero-blocks-float 20s linear infinite;
    z-index: 0;
}

@keyframes banner-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hero-blocks-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, -10px) rotate(90deg);
    }
    50% {
        transform: translate(10px, -5px) rotate(180deg);
    }
    75% {
        transform: translate(-5px, 10px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

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

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    animation: hero-title-glow 3s ease-in-out infinite alternate;
}

@keyframes hero-title-glow {
    from {
        text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), 0 0 10px var(--minecraft-green);
    }
    to {
        text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), 0 0 20px var(--minecraft-green), 0 0 30px rgba(68, 189, 50, 0.5);
    }
}

.banner p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    animation: hero-text-slide 1s ease-out 1s both;
}

@keyframes hero-text-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7日热门工具样式 */
.hot-tools-section {
    margin: 3rem 0;
    /* 在mega-card内部，不需要突破容器宽度 */
    position: relative;
    overflow: hidden;
    width: 100%; /* 修改为100%，不再使用100vw */
    margin-left: 0; /* 移除负margin */
}

.hot-tools-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hot-tools-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    /* 渐变遮罩效果，边缘渐变消失 */
    mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hot-tools-track {
    display: flex;
    gap: 2rem;
    animation: scroll-hot-tools 40s linear infinite;
    width: max-content;
}

@keyframes scroll-hot-tools {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hot-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--minecraft-dark);
    border: 2px solid var(--minecraft-secondary);
    transition: all 0.3s ease;
    min-width: 140px;
    text-decoration: none;
    position: relative;
}

.hot-tool-item::before {
    content: none; /* 移除透明效果 */
}

.hot-tool-item:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--minecraft-accent);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(68, 189, 50, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(68, 189, 50, 0.4);
}

.hot-tool-item:hover::before {
    left: 100%;
}

.hot-tool-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hot-tool-item:hover .hot-tool-icon {
    transform: scale(1.1);
}

.hot-tool-name {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--minecraft-green);
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* 鼠标悬停时暂停动画 */
.hot-tools-container:hover .hot-tools-track {
    animation-play-state: paused;
}

/* Tools Section */
.tools-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid var(--minecraft-secondary);
}



/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--minecraft-green);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 5px rgba(59, 133, 38, 0.5);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr); /* 移动端显示2列 */
        gap: 1rem;
    }

    header {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .coming-soon-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .banner h2 {
        font-size: 1.8rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    /* 7日热门工具移动端适配 */
    .hot-tools-section {
        margin: 2rem 0;
        /* 移动端也不需要特殊处理 */
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
    
    .hot-tools-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hot-tool-item {
        min-width: 140px;
        max-width: 140px;
        padding: 1rem 0.6rem;
    }
    
    .hot-tool-icon {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .hot-tool-name {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .hot-tools-track {
        gap: 1.5rem;
        animation-duration: 35s; /* 移动端稍快一些 */
    }
}

/* ===== 首页专用样式 ===== */
/* User Reviews Section Styles */
.reviews-section {
    margin: 4rem 0 2rem 0;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    /* 在mega-card内部，不需要突破容器宽度 */
    width: 100%; /* 修改为100%，不再使用100vw */
    margin-left: 0; /* 移除负margin */
}

.reviews-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    /* 扩展到浏览器边缘的渐变遮罩 */
    width: 100%;
    mask: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.review-track {
    display: flex;
    gap: 2rem;
    animation: scroll-reviews 30s linear infinite;
    width: max-content;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: var(--minecraft-dark);
    border: 2px solid var(--minecraft-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 350px;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1;
}

.review-card:hover {
    transform: translateY(-2px) scale(1.02);
    /* 悬停时轻微放大效果 */
}

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

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.review-card p {
    color: #E0E0E0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: var(--minecraft-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--minecraft-green);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    color: var(--minecraft-green);
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.reviewer-title {
    color: var(--minecraft-gray);
    font-size: 0.85rem;
}

/* 复制评价卡片以实现无缝循环 */
.review-track::after {
    content: '';
    display: block;
    width: 2rem;
}

/* Resource Search Section Styles */
.resource-search-section {
    padding: 3rem 0;
    position: relative;
    background-color: var(--minecraft-dark);
    border: 2px solid var(--minecraft-secondary);
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.resource-search-section::before {
    content: none; /* 移除透明效果 */
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.search-title {
    font-family: 'VT323', monospace;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.search-subtitle {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.search-box-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.minecraft-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px 0 0 8px;
    font-size: 1.1rem;
    font-family: 'VT323', monospace;
    color: #1D1C1A; /* 使用网站主色调的深色 */
    outline: none;
    transition: all 0.3s ease;
}

.minecraft-search-input::placeholder {
    color: rgba(29, 28, 26, 0.6); /* 使用主色调的占位符 */
    font-style: italic;
}

.minecraft-search-input:focus {
    background: white;
    color: #121212; /* 聚焦时使用更深的主色调 */
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.minecraft-search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--minecraft-green) 0%, var(--minecraft-secondary) 100%);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.minecraft-search-btn:hover {
    background: linear-gradient(135deg, var(--minecraft-secondary) 0%, var(--minecraft-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.minecraft-search-btn:active {
    transform: translateY(0);
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.suggestion-label {
    color: #CCCCCC;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    font-family: 'VT323', monospace;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'VT323', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Website Features Showcase Styles */
.features-showcase {
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.features-title {
    font-family: 'VT323', monospace;
    font-size: 2.5rem;
    color: var(--minecraft-green);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.features-subtitle {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 3rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--minecraft-dark);
    padding: 2rem;
    border-radius: 2px;
    border: 2px solid var(--minecraft-secondary);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: none; /* 移除透明效果 */
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--minecraft-accent);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--minecraft-green);
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #E0E0E0;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.stats-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    margin-top: 3rem;
    background-color: var(--minecraft-dark);
    border: 2px solid var(--minecraft-secondary);
    border-radius: 8px;
    position: relative;
}

.stats-section::before {
    content: none; /* 移除透明效果 */
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'VT323', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #AAAAAA;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 首页专用响应式设计 */
@media (max-width: 768px) {
    .reviews-section {
        margin: 2rem 0 1rem 0;
        padding: 1.5rem 1rem;
        /* 确保移动端也居中显示 */
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        text-align: center;
    }
    
    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .reviewer-title {
        font-size: 0.8rem;
    }
    
    .review-card p {
        font-size: 0.9rem;
    }
    
    .resource-search-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
        /* 确保移动端居中显示 */
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        text-align: center;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-subtitle {
        font-size: 1rem;
    }
    
    .search-box-wrapper {
        flex-direction: column;
        max-width: 100%;
    }
    
    .minecraft-search-input {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .minecraft-search-btn {
        border-radius: 8px;
        justify-content: center;
    }
    
    .search-suggestions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .suggestion-tag {
        text-align: center;
    }
    
    .features-showcase {
        padding: 2rem 0;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 250px;
        max-width: 250px;
        padding: 0.8rem;
    }
    
    .review-stars {
        font-size: 1rem;
    }
    
    .reviewer-avatar {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
    
    .minecraft-search-input,
    .minecraft-search-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

/* 小屏手机端工具网格优化 */
@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr; /* 小屏幕显示1列 */
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* 移动端导航菜单优化 */
    .minecraft-nav {
        background: linear-gradient(135deg, 
            rgba(25, 25, 25, 0.98) 0%, 
            rgba(35, 35, 35, 0.96) 25%, 
            rgba(40, 40, 40, 0.97) 50%, 
            rgba(35, 35, 35, 0.96) 75%, 
            rgba(25, 25, 25, 0.98) 100%);
        backdrop-filter: blur(18px) saturate(1.1);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.5),
            0 3px 12px rgba(68, 189, 50, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
        border-bottom: 3px solid transparent;
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            var(--minecraft-green) 30%, 
            rgba(76, 175, 80, 0.9) 50%, 
            var(--minecraft-green) 70%, 
            transparent 100%) 1;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.3rem;
        text-shadow: 
            0 0 10px rgba(68, 189, 50, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .nav-toggle {
        background: linear-gradient(135deg, 
            rgba(68, 189, 50, 0.8) 0%, 
            rgba(76, 175, 80, 0.9) 50%, 
            rgba(68, 189, 50, 0.8) 100%);
        border: 2px solid rgba(68, 189, 50, 0.6);
        box-shadow: 
            0 4px 15px rgba(68, 189, 50, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: scale(1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle:hover {
        background: linear-gradient(135deg, 
            rgba(76, 175, 80, 0.9) 0%, 
            rgba(68, 189, 50, 1) 50%, 
            rgba(76, 175, 80, 0.9) 100%);
        box-shadow: 
            0 6px 20px rgba(68, 189, 50, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .nav-toggle.active {
        background: linear-gradient(135deg, 
            rgba(255, 193, 7, 0.8) 0%, 
            rgba(255, 152, 0, 0.9) 50%, 
            rgba(255, 193, 7, 0.8) 100%);
        border-color: rgba(255, 193, 7, 0.8);
        box-shadow: 
            0 6px 20px rgba(255, 193, 7, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1.1) rotate(90deg);
    }
    
    .toggle-bar {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle.active .toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: rgba(255, 255, 255, 0.9);
    }
    
    .nav-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active .toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: rgba(255, 255, 255, 0.9);
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, 
            rgba(20, 20, 20, 0.98) 0%, 
            rgba(30, 30, 30, 0.95) 50%, 
            rgba(25, 25, 25, 0.98) 100%);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(68, 189, 50, 0.3);
        border-top: none;
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.5),
            0 5px 15px rgba(68, 189, 50, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        animation: mobile-dropdown-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, 
            var(--minecraft-green) 0%, 
            rgba(76, 175, 80, 0.8) 100%);
        transform: scaleY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 20px;
        height: 20px;
        background: radial-gradient(circle, 
            rgba(68, 189, 50, 0.8) 0%, 
            rgba(68, 189, 50, 0.4) 70%, 
            transparent 100%);
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover {
        background: linear-gradient(90deg, 
            rgba(68, 189, 50, 0.15) 0%, 
            rgba(68, 189, 50, 0.08) 100%);
        color: var(--minecraft-green);
        padding-left: 2rem;
        text-shadow: 0 0 8px rgba(68, 189, 50, 0.6);
    }
    
    .nav-link:hover::before {
        transform: scaleY(1);
    }
    
    .nav-link:hover::after {
        transform: translateY(-50%) scale(1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* 移动端导航链接图标 */
    .nav-link[href*="player-head"]::after {
        content: '👤';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link[href*="color-codes"]::after {
        content: '🎨';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link[href*="commands"]::after {
        content: '⚡';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link[href*="server-status"]::after {
        content: '🖥️';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link[href*="motd"]::after {
        content: '📝';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link[href*="banner"]::after {
        content: '🎯';
        background: none;
        font-size: 1.2rem;
        width: auto;
        height: auto;
        border-radius: 0;
    }
}

@keyframes mobile-dropdown-appear {
    0% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
} 

/* Policy Pages Styles */
.content-section {
    max-width: 1200px; /* 增加内容区域的最大宽度 */
    margin: 0 auto;
    background-color: var(--minecraft-panel);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 4px solid var(--minecraft-secondary);
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    image-rendering: pixelated;
    background-image: 
        linear-gradient(0deg, rgba(59, 133, 38, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 133, 38, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: center center;
    border-radius: 0;
}

/* 添加像素边框 */
.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px dashed var(--minecraft-green);
    border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABQSURBVDiNY2AYbOA/EHMyEFA0m4GB4T8OORaomhMM+BUzMuBWhJULwg2gCmDEY8BsJgYGBlYcCtiZGBj+45Bkgqr5j0PuP0F/DPhQGH5gIAEAABswE3YSqdPTAAAAAElFTkSuQmCC") 4 repeat;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
    animation: border-glow 4s infinite alternate;
}

/* 添加角落方块装饰 - 已注释掉因为图片不存在 */
/*
.content-section::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Grass_Block.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -10px;
    left: -10px;
    transform: rotate(-15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 右上角 - 已注释掉因为图片不存在 */
/*
.content-section .corner-block-tr {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Diamond_Block.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -8px;
    right: -8px;
    transform: rotate(15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 左下角 - 已注释掉因为图片不存在 */
/*
.content-section .corner-block-bl {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Stone.png');
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -8px;
    left: -8px;
    transform: rotate(15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 右下角 - 已注释掉因为图片不存在 */
/*
.content-section .corner-block-br {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Dirt.png');
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -8px;
    right: -8px;
    transform: rotate(-15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

.content-section > * {
    position: relative;
    z-index: 5; /* 确保内容在像素边框上方 */
}

.page-content {
    color: #E0E0E0;
}

.policy-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3,
.content-section h1,
.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--minecraft-secondary);
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-section {
        padding: 1rem;
    }
    
    .policy-section h3 {
        font-size: 1.3rem;
    }
} 

/* 1080p显示器优化 (1920x1080) */
@media (min-width: 1200px) and (max-width: 1599px) {
    main {
        max-width: 1400px;
        padding: 2rem 2rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(4, 1fr); /* 一排显示4个工具卡片 */
        gap: 1.8rem;
    }
    
    .tool-card {
        padding: 1.8rem;
    }
    
    .tool-icon {
        font-size: 2.8rem;
    }
    
    .tool-card h3 {
        font-size: 1.5rem;
    }
    
    .content-section {
        max-width: 1200px;
        padding: 2.5rem;
    }
    
    .banner {
        padding: 3.5rem 1.5rem;
    }
    
    .banner h2 {
        font-size: 2.8rem;
    }
    
    .banner p {
        font-size: 1.3rem;
    }
}

/* 桌面端导航菜单高级视觉效果 */
@media (min-width: 769px) {
    .minecraft-nav {
        background: linear-gradient(135deg, 
            rgba(25, 25, 25, 0.95) 0%, 
            rgba(35, 35, 35, 0.92) 30%, 
            rgba(40, 40, 40, 0.95) 70%, 
            rgba(30, 30, 30, 0.95) 100%);
        backdrop-filter: blur(20px) saturate(1.2);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 2px 10px rgba(68, 189, 50, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            var(--minecraft-green) 20%, 
            rgba(76, 175, 80, 0.8) 50%, 
            var(--minecraft-green) 80%, 
            transparent 100%) 1;
        position: relative;
        overflow: hidden;
    }
    
    .minecraft-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(68, 189, 50, 0.1) 50%, 
            transparent 100%);
        animation: nav-shimmer 8s infinite;
        z-index: 0;
    }
    
    .nav-container {
        position: relative;
        z-index: 1;
    }
    
    .nav-logo {
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-logo:hover {
        transform: scale(1.05);
        text-shadow: 
            0 0 20px rgba(68, 189, 50, 0.8),
            0 0 40px rgba(68, 189, 50, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .nav-links {
        background: linear-gradient(180deg, 
            rgba(20, 20, 20, 0.95) 0%, 
            rgba(25, 25, 25, 0.92) 50%, 
            rgba(20, 20, 20, 0.95) 100%);
        backdrop-filter: blur(25px) saturate(1.3);
        border: 2px solid rgba(68, 189, 50, 0.2);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 5px 20px rgba(68, 189, 50, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        z-index: 10002;
    }
    
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(68, 189, 50, 0.6) 50%, 
            transparent 100%);
        z-index: 1;
    }
    
    .nav-link {
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, 
            rgba(68, 189, 50, 0.2) 0%, 
            rgba(68, 189, 50, 0.1) 100%);
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) scale(0) rotate(0deg);
        width: 8px;
        height: 8px;
        background: var(--minecraft-green);
        border-radius: 50%;
        box-shadow: 
            0 0 10px rgba(68, 189, 50, 0.6),
            0 0 20px rgba(68, 189, 50, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2;
    }
    
    .nav-link:hover {
        background: linear-gradient(90deg, 
            rgba(68, 189, 50, 0.15) 0%, 
            rgba(68, 189, 50, 0.08) 100%);
        color: var(--minecraft-green);
        text-shadow: 
            0 0 10px rgba(68, 189, 50, 0.6),
            0 0 20px rgba(68, 189, 50, 0.3);
        transform: translateX(8px);
        padding-left: 1.5rem;
    }
    
    .nav-link:hover::before {
        width: 100%;
    }
    
    .nav-link:hover::after {
        transform: translateY(-50%) scale(1) rotate(360deg);
    }
    
    /* 桌面端导航链接图标增强 */
    .nav-link[href*="player-head"]:hover::after {
        content: '👤';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
    
    .nav-link[href*="color-codes"]:hover::after {
        content: '🎨';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
    
    .nav-link[href*="commands"]:hover::after {
        content: '⚡';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
    
    .nav-link[href*="server-status"]:hover::after {
        content: '🖥️';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
    
    .nav-link[href*="motd"]:hover::after {
        content: '📝';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
    
    .nav-link[href*="banner"]:hover::after {
        content: '🎯';
        background: none;
        font-size: 1.1rem;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        filter: drop-shadow(0 0 8px rgba(68, 189, 50, 0.6));
    }
}

@keyframes nav-shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* 宽屏显示器优化 */
@media (min-width: 1600px) {
    body {
        font-size: 18px; /* 稍微增加基础字体大小 */
    }
    
    main {
        max-width: 1600px; /* 进一步增加宽屏下的最大宽度 */
        padding: 2rem 3rem; /* 增加左右内边距 */
    }
    
    .tools-grid {
        grid-template-columns: repeat(4, 1fr); /* 一排显示4个工具卡片 */
        gap: 2rem; /* 增加卡片间距 */
    }
    
    .tool-card {
        padding: 2rem; /* 增加卡片内边距 */
    }
    
    .tool-icon {
        font-size: 3rem; /* 增加图标大小 */
    }
    
    .tool-card h3 {
        font-size: 1.6rem; /* 增加标题字体大小 */
    }
    
    .tool-card p {
        font-size: 1rem; /* 增加描述文字大小 */
    }
    
    .content-section {
        max-width: 1400px; /* 宽屏下内容区域最大宽度 */
        padding: 3rem; /* 增加内边距 */
    }
    
    .banner {
        padding: 4rem 2rem; /* 增加banner内边距 */
    }
    
    .banner h2 {
        font-size: 3rem; /* 增加banner标题大小 */
    }
    
    .banner p {
        font-size: 1.4rem; /* 增加banner文字大小 */
    }
    
    /* 导航菜单优化 */
    .nav-container {
        max-width: 1600px; /* 与main保持一致 */
    }
    
    .nav-link {
        font-size: 1.1rem; /* 增加导航链接字体大小 */
        padding: 0.75rem 1.5rem; /* 增加导航链接内边距 */
    }
    
    .minecraft-nav {
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.4),
            0 3px 15px rgba(68, 189, 50, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
} 

/* 导航菜单粒子效果 */
.nav-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.nav-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--minecraft-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 6s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(20px) scale(0);
        opacity: 0;
    }
}

/* 导航菜单响应式过渡增强 */
@media (min-width: 769px) and (max-width: 1199px) {
    .minecraft-nav {
        backdrop-filter: blur(15px) saturate(1.1);
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.25),
            0 2px 8px rgba(68, 189, 50, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .nav-links {
        backdrop-filter: blur(20px) saturate(1.2);
        box-shadow: 
            0 15px 45px rgba(0, 0, 0, 0.35),
            0 4px 15px rgba(68, 189, 50, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
}

/* 平板端优化 */
@media (min-width: 481px) and (max-width: 768px) {
    .minecraft-nav {
        background: linear-gradient(135deg, 
            rgba(28, 28, 28, 0.96) 0%, 
            rgba(38, 38, 38, 0.93) 50%, 
            rgba(28, 28, 28, 0.96) 100%);
        backdrop-filter: blur(12px);
        box-shadow: 
            0 6px 25px rgba(0, 0, 0, 0.35),
            0 2px 6px rgba(68, 189, 50, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .nav-container {
        padding: 0.9rem 1.2rem;
    }
    
    .nav-logo {
        font-size: 1.4rem;
    }
    
    .nav-toggle {
        width: 35px;
        height: 35px;
    }
    
    .nav-links {
        background: linear-gradient(180deg, 
            rgba(18, 18, 18, 0.97) 0%, 
            rgba(25, 25, 25, 0.94) 50%, 
            rgba(20, 20, 20, 0.97) 100%);
        backdrop-filter: blur(18px);
        box-shadow: 
            0 12px 30px rgba(0, 0, 0, 0.45),
            0 4px 12px rgba(68, 189, 50, 0.18);
    }
    
    .nav-link {
        padding: 1.1rem 1.4rem;
        font-size: 1.05rem;
    }
}

/* 小屏手机端优化 */
@media (max-width: 480px) {
    .minecraft-nav {
        background: linear-gradient(135deg, 
            rgba(25, 25, 25, 0.97) 0%, 
            rgba(35, 35, 35, 0.94) 50%, 
            rgba(25, 25, 25, 0.97) 100%);
        backdrop-filter: blur(10px);
        box-shadow: 
            0 5px 20px rgba(0, 0, 0, 0.4),
            0 1px 5px rgba(68, 189, 50, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        border-bottom: 2px solid var(--minecraft-green);
    }
    
    .nav-container {
        padding: 0.7rem 0.8rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        width: 32px;
        height: 32px;
    }
    
    .toggle-bar {
        height: 3px;
    }
    
    .nav-links {
        background: linear-gradient(180deg, 
            rgba(15, 15, 15, 0.98) 0%, 
            rgba(22, 22, 22, 0.95) 50%, 
            rgba(18, 18, 18, 0.98) 100%);
        backdrop-filter: blur(15px);
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.5),
            0 3px 10px rgba(68, 189, 50, 0.2);
        border: 1px solid rgba(68, 189, 50, 0.25);
    }
    
    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
    
    .nav-link::after {
        right: 1.2rem;
        font-size: 1rem;
    }
}

/* 导航菜单加载动画 */
@keyframes nav-load {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.minecraft-nav {
    animation: nav-load 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Coming Soon Notice */
.coming-soon-notice {
    background-color: rgba(68, 189, 50, 0.1);
    border: 2px solid var(--minecraft-green);
    padding: 1rem;
    margin: 1rem auto;
    max-width: 800px;
    text-align: center;
    border-radius: 4px;
    animation: notice-pulse 2s infinite;
}

.coming-soon-notice p {
    color: var(--minecraft-green);
    font-weight: bold;
    margin: 0;
}

@keyframes notice-pulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(68, 189, 50, 0.4);
    }
    50% {
        box-shadow: 0 0 10px rgba(68, 189, 50, 0.7);
    }
}

/* 响应式样式 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .coming-soon-badge {
        font-size: 0.7rem;
    }
    
    .banner h2 {
        font-size: 1.8rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
}

/* 大卡片容器 - 用于首页所有部分 */
.mega-card {
    background: var(--minecraft-dark);
    border: 4px solid var(--minecraft-secondary);
    border-radius: 0;
    margin: 2rem 0;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    image-rendering: pixelated;
    background-image: 
        linear-gradient(0deg, rgba(59, 133, 38, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 133, 38, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: center center;
}

/* 添加像素边框 */
.mega-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px dashed var(--minecraft-green);
    border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABQSURBVDiNY2AYbOA/EHMyEFA0m4GB4T8OORaomhMM+BUzMuBWhJULwg2gCmDEY8BsJgYGBlYcCtiZGBj+45Bkgqr5j0PuP0F/DPhQGH5gIAEAABswE3YSqdPTAAAAAElFTkSuQmCC") 4 repeat;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
    animation: border-glow 4s infinite alternate;
}

/* 添加角落方块装饰 - 已注释掉因为图片不存在 */
/*
.mega-card::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Grass_Block.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -10px;
    left: -10px;
    transform: rotate(-15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 右上角 - 已注释掉因为图片不存在 */
/*
.mega-card .corner-block-tr {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Diamond_Block.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -8px;
    right: -8px;
    transform: rotate(15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 左下角 - 已注释掉因为图片不存在 */
/*
.mega-card .corner-block-bl {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Stone.png');
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -8px;
    left: -8px;
    transform: rotate(15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

/* 角落方块装饰 - 右下角 - 已注释掉因为图片不存在 */
/*
.mega-card .corner-block-br {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/items/Dirt.png');
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -8px;
    right: -8px;
    transform: rotate(-15deg) scale(0.8);
    image-rendering: pixelated;
    z-index: 2;
}
*/

@keyframes border-glow {
    0% {
        box-shadow: 0 0 5px rgba(68, 189, 50, 0.2);
        opacity: 0.7;
    }
    50% {
        box-shadow: 0 0 10px rgba(68, 189, 50, 0.4);
        opacity: 0.9;
    }
    100% {
        box-shadow: 0 0 5px rgba(68, 189, 50, 0.2);
        opacity: 0.7;
    }
}

.mega-card .section-title {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid var(--minecraft-secondary);
}



/* 适配mega-card内部的内容宽度 */
.mega-card > *:not(.corner-block-tr):not(.corner-block-bl):not(.corner-block-br) {
    position: relative;
    z-index: 5; /* 确保内容在像素边框上方 */
}

.mega-card .hot-tools-section,
.mega-card .reviews-section,
.mega-card .features-showcase {
    width: 100%;
    margin-left: 0;
    padding: 0;
}

.mega-card .hot-tools-container,
.mega-card .reviews-container,
.mega-card .features-container {
    padding: 1rem 0;
    overflow: hidden;
    max-width: 100%;
}

/* 广告容器样式 - 桌面端 */
.ad-container {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    overflow: visible;
}

/* 空广告容器完全隐藏（当容器内没有实际内容时） */
.ad-container:empty {
    display: none;
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    visibility: hidden;
    opacity: 0;
}

/* 被拦截的广告容器完全隐藏 */
.ad-container.ad-blocked,
.ad-container[data-ad-status="blocked"] {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
    overflow: hidden !important;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    border: 1px solid rgba(68, 189, 50, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lang-switch-btn:hover {
    transform: translateY(-1px);
    border-color: var(--minecraft-green);
    box-shadow: 0 10px 20px rgba(68, 189, 50, 0.22);
    background: rgba(0, 0, 0, 0.82);
}

.lang-switch-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .lang-switch-btn {
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 9px;
    }
}
