/* 全局变量 */
:root {
    --mc-dark: #2C2C2C;
    --mc-light: #FFFFFF;
    --mc-accent: #54c754;
    --mc-accent-hover: #69d669;
}

/* 彩虹文字效果 */
.rainbow-text {
    background: linear-gradient(to right,
        #3b82f6,
        #22c55e,
        #eab308,
        #ec4899,
        #3b82f6
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    display: inline-block;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3),
                 0 0 20px rgba(34, 197, 94, 0.2),
                 0 0 30px rgba(234, 179, 8, 0.1);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 全局样式 */
body {
    font-family: 'Minecraft', sans-serif;
    line-height: 1.6;
    color: var(--mc-dark);
    background: #f5f5f5;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--mc-dark);
    text-transform: uppercase;
}

/* Banner区域 */
.banner-section {
    background: var(--mc-dark);
    padding: 4rem 0;
    color: var(--mc-light);
}

.banner-content {
    text-align: center;
    padding: 4rem 0;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 特色服务 */
.features-section {
    padding: 4rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border: 2px solid var(--mc-dark);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 产品套餐 */
.products-section {
    padding: 4rem 0;
    background: #f5f5f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: #fff;
    border: 2px solid var(--mc-dark);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.product-card.featured {
    border-color: var(--mc-accent);
    transform: scale(1.05);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.product-header {
    margin-bottom: 2rem;
}

.product-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: var(--mc-accent);
}

.price span {
    font-size: 1rem;
    opacity: 0.8;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* 新闻区域 */
.news-section {
    padding: 4rem 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-list {
    background: #fff;
    border: 2px solid var(--mc-dark);
    padding: 1rem;
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--mc-dark);
    text-decoration: none;
    transition: background-color 0.3s;
}

.news-item:hover {
    background: #f5f5f5;
}

.news-title {
    flex: 1;
    margin-right: 1rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: none;
    }

    .product-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* 工具类 */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
} 