/* 通知公告整体样式 */
.announcement-section {
    margin: 40px 0;
    text-align: center;
}

.announcement-section h3 {
    color: #00C66B;
    margin-bottom: 8px;
    font-size: 24px;
}

.announcement-section p {
    color: #666;
    margin-bottom: 30px;
}

/* 我的世界公告板容器 */
.minecraft-noticeboard {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* 告示牌容器 */
.signs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 告示牌行 */
.sign-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* 单个告示牌 */
.minecraft-sign {
    position: relative;
    width: 280px;
    height: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 无损放大设置 */
    image-rendering: -webkit-optimize-contrast; /* Webkit/Chrome */
    image-rendering: crisp-edges; /* Firefox */
    image-rendering: pixelated; /* 现代浏览器 */
    -ms-interpolation-mode: nearest-neighbor; /* IE */
}

/* 告示牌内容 - 移除背景色和边框 */
.sign-content {
    background: transparent;
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 90%;
    height: 90%;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 为文字添加阴影，提高在背景图片上的可读性 */
.sign-content h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding-bottom: 5px;
}

.sign-content p {
    color: white;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


.sign-link {
    color: #00C66B;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 悬停效果 */
.minecraft-sign:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 悬停时添加半透明背景，提高文字可读性 */
.minecraft-sign:hover .sign-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .sign-row {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .minecraft-sign {
        width: 250px;
    }
}

@media (max-width: 600px) {
    .signs-container {
        gap: 30px;
    }
    
    .sign-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .minecraft-sign {
        width: 90%;
        max-width: 300px;
    }
}