* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
}

h1 {
    font-size: 3em;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

.subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.divination-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.divination-card:nth-child(1) { animation-delay: 0.1s; }
.divination-card:nth-child(2) { animation-delay: 0.2s; }
.divination-card:nth-child(3) { animation-delay: 0.3s; }
.divination-card:nth-child(4) { animation-delay: 0.4s; }
.divination-card:nth-child(5) { animation-delay: 0.5s; }
.divination-card:nth-child(6) { animation-delay: 0.6s; }
.divination-card:nth-child(7) { animation-delay: 0.7s; }
.divination-card:nth-child(8) { animation-delay: 0.8s; }

.divination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.divination-card:hover::before {
    transform: scaleX(1);
}

.divination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.divination-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.divination-card.coming-soon:hover {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.divination-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
}

.card-icon {
    font-size: 4em;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card-title {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.card-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95em;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    white-space: nowrap;
}

.card-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 10;
}

.card-status.available {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(17, 153, 142, 0.4);
}

.divination-card.coming-soon .card-status {
    background: #e0e0e0;
    color: #999;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: white;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.95em;
    opacity: 0.9;
}

.copyright {
    font-size: 0.85em;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .divination-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .divination-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 3em;
    }

    .card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 10px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1em;
    }

    .divination-card {
        padding: 20px;
    }

    .card-status {
        top: 15px;
        right: 15px;
        padding: 4px 10px;
        font-size: 0.75em;
    }
}
