/* 每日爱情塔罗页面样式 */

.daily-hero {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa8c3 50%, #ff85a1 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.daily-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: starTwinkle 3s ease-in-out infinite;
}

.daily-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* 今日能量区域 */
.energy-section {
    padding: 60px 0;
    background: linear-gradient(45deg, #f8f9ff 0%, #fff0f5 100%);
}

.energy-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    text-align: center;
    border: 2px solid rgba(255, 182, 193, 0.2);
}

.energy-card h2 {
    color: #ff6b9d;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.energy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.energy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff0f5 0%, #fff8fa 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.energy-label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.energy-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6b9d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 每日抽牌区域 */
.daily-reading-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #2c1810 100%);
    position: relative;
    overflow: hidden;
}

.daily-reading-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M12.5,8 C10,8 8,10 8,12.5 C8,17 12.5,21 12.5,21 S17,17 17,12.5 C17,10 15,8 12.5,8 Z" fill="rgba(255,182,193,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    animation: floatHearts 6s ease-in-out infinite;
}

.reading-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.reading-header h2 {
    color: #ffb6c1;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.reading-header p {
    color: #f0c0c0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.card-selection {
    position: relative;
    z-index: 2;
}

.card-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.daily-card {
    width: 120px;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.daily-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 182, 193, 0.3);
}

.daily-card.selected {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 20px 40px rgba(255, 182, 193, 0.5);
}

.card-back {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-pattern {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ffd700 30%, transparent 30%);
    background-size: 12px 12px;
    border-radius: 50%;
    opacity: 0.8;
}

/* 占卜结果区域 */
.reading-result {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.selected-card {
    text-align: center;
    margin-bottom: 30px;
}

.selected-card img {
    width: 150px;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.selected-card h3 {
    color: #ff6b9d;
    font-size: 2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.result-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card-meaning,
.love-advice,
.action-guide {
    padding: 25px;
    background: linear-gradient(135deg, #fff0f5 0%, #fff8fa 100%);
    border-radius: 15px;
    border-left: 5px solid #ff6b9d;
}

.card-meaning h4,
.love-advice h4,
.action-guide h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-meaning p,
.love-advice p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.action-guide ul {
    list-style: none;
    padding: 0;
}

.action-guide li {
    padding: 8px 0;
    color: #555;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.action-guide li::before {
    content: '💕';
    position: absolute;
    left: 0;
    top: 8px;
}

.retry-btn {
    display: block;
    margin: 30px auto 0;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff85a1 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

/* 运势分析区域 */
.fortune-analysis {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff0f5 100%);
}

.fortune-analysis h2 {
    text-align: center;
    color: #ff6b9d;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.fortune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fortune-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.fortune-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.15);
}

.fortune-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.fortune-item h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.fortune-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 动画效果 */
@keyframes floatHearts {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .daily-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .energy-content {
        grid-template-columns: 1fr;
    }
    
    .card-row {
        gap: 15px;
    }
    
    .daily-card {
        width: 100px;
        height: 160px;
    }
    
    .fortune-grid {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        padding: 25px;
    }
    
    .reading-header h2 {
        font-size: 2rem;
    }
    
    .fortune-analysis h2 {
        font-size: 2rem;
    }
} 