body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 800px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    z-index: -1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.activity-selector {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
}

#find-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: bold;
    height: fit-content;
}

#find-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px 5px rgba(102, 126, 234, 0.6);
}

#find-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px 2px rgba(102, 126, 234, 0.4);
}

.date-selector {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.input-group select {
    padding: 8px 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#check-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: bold;
    height: fit-content;
}

#check-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px 5px rgba(102, 126, 234, 0.6);
}

#check-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px 2px rgba(102, 126, 234, 0.4);
}

.result-container {
    margin-top: 2rem;
}

.date-display {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solar-date {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.lunar-date {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.zodiac {
    font-size: 1.2rem;
    color: #764ba2;
    font-weight: bold;
}

.fortune-result {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fortune-score {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.score-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.score-label {
    font-size: 1.1rem;
}

.fortune-details {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fortune-item {
    display: flex;
    margin-bottom: 1rem;
    text-align: left;
}

.item-label {
    font-weight: bold;
    color: #333;
    min-width: 50px;
}

.item-value {
    color: #666;
    flex: 1;
}

.calendar-view {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-header button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.calendar-header button:hover {
    transform: scale(1.1);
}

.calendar-header span {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekdays div {
    padding: 10px 0;
    font-weight: bold;
    color: #667eea;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    padding: 12px 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
    border: 1px solid #e1e8ed;
}

.day:hover {
    background: #f0f5ff;
    transform: translateY(-2px);
}

.day.lucky {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(79, 172, 254, 0.3);
}
.day.unlucky {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.day.today {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 154, 158, 0.3);
}

.day.other-month {
    color: #ccc;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }
    
    .date-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .input-group select {
        width: 100%;
    }
    
    .fortune-result {
        flex-direction: column;
    }
    
    .fortune-score {
        width: 100%;
    }
    
    .fortune-details {
        width: 100%;
    }
}