/* 基础重置与全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Tahoma, Geneva, Verdana, sans-serif;
    /* 如果使用Google Fonts，请取消下一行的注释 */
    /* font-family: 'Noto Sans SC', sans-serif; */
    height: 100vh;
    overflow: hidden;
    color: #ffffff;
    line-height: 1.6;
}

/* 背景样式 */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    
    /* 深色遮罩，让文字更清晰 */
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
}

/* 内容容器 */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

/* 标题样式 */
.title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    letter-spacing: 1px;
}

/* 按钮网格布局 */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 900px;
}

/* 基础按钮样式 */
.btn {
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 可点击按钮样式 */
.btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 可点击按钮的悬停效果 */
.btn.active:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* 待制作按钮样式 */
.btn.disabled {
    background-color: #6c757d;
    color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

/* JavaScript禁用时的提示信息 */
.js-disabled-message {
    display: none;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.no-js .js-disabled-message {
    display: block;
}

.no-js .button-grid {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .button-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 500px;
    }
    
    .btn {
        padding: 16px 20px;
        font-size: 1.1rem;
        min-height: 55px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 15px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .container {
        padding: 15px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-grid .btn {
    animation: fadeInUp 0.6s ease forwards;
}

/* 为每个按钮添加延迟动画 */
.button-grid .btn:nth-child(1) { animation-delay: 0.1s; }
.button-grid .btn:nth-child(2) { animation-delay: 0.2s; }
.button-grid .btn:nth-child(3) { animation-delay: 0.3s; }
.button-grid .btn:nth-child(4) { animation-delay: 0.4s; }
.button-grid .btn:nth-child(5) { animation-delay: 0.5s; }
.button-grid .btn:nth-child(6) { animation-delay: 0.6s; }