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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    position: relative;
}

.select-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.content {
    text-align: center;
    z-index: 1;
}

.title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.month-card {
    position: relative;
    width: 280px;
    height: 160px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.month-card.available {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 9月份图块特殊背景 */
.month-card[data-month="9"] {
    background: url('../IMG/001.png') center/contain no-repeat;
    border: none;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

/* 9月份图块hover状态 - 移除蓝色阴影 */
.month-card[data-month="9"].available:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

/* 10月份图块特殊背景 */
.month-card[data-month="10"] {
    background: url('../IMG/002.png') center/contain no-repeat;
    border: none;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

/* 10月份图块hover状态 - 移除蓝色阴影 */
.month-card[data-month="10"].available:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.month-card.available:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 184, 148, 0.4);
}

.month-card.locked {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    cursor: not-allowed;
}

.status-dot {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.status-dot.green {
    background: #00e676;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}

.status-dot.red {
    background: #ff5252;
    box-shadow: 0 0 15px rgba(255, 82, 82, 0.6);
}

.month-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.status-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.unlock-time {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 12px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .select-page {
        padding: 40px 20px;
        align-items: flex-start;
    }
    
    .content {
        width: 100%;
        padding-top: 20px;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .months-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
    }
    
    .month-card {
        width: 250px;
        height: 140px;
    }
    
    .month-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .select-page {
        padding: 30px 15px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .months-grid {
        max-width: 280px;
        gap: 15px;
    }
    
    .month-card {
        width: 100%;
        height: 120px;
    }
    
    .month-title {
        font-size: 22px;
    }
    
    .status-text, .unlock-time {
        font-size: 13px;
    }
}

/* 第五个卡片居中显示 */
.months-grid .month-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
}

@media (max-width: 768px) {
    .months-grid .month-card:nth-child(5) {
        grid-column: auto;
    }
}