.weather-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.weather-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    color: #fff;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.calculator-title i {
    font-size: 2.8rem;
}

.calculator-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.calculator-badge {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.search-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.search-input-wrapper i {
    color: #999;
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4facfe;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.search-hint {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

.hot-cities {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hot-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.hot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-btn {
    padding: 8px 18px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hot-btn:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.weather-result {
    margin-bottom: 40px;
}

.weather-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.current-weather {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-info {
    text-align: center;
    margin-bottom: 25px;
}

.city-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.city-name i {
    color: #4facfe;
}

.update-time {
    font-size: 0.9rem;
    color: #999;
}

.weather-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.weather-icon {
    font-size: 5rem;
    color: #ffa500;
    margin-bottom: 15px;
}

.temperature {
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 10px;
}

.temperature .degree {
    font-size: 2rem;
    font-weight: 400;
}

.weather-info {
    font-size: 1.2rem;
    color: #666;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-item i {
    font-size: 1.3rem;
    color: #4facfe;
}

.detail-item span {
    font-size: 0.85rem;
    color: #666;
}

.air-quality {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.air-quality .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.air-quality .section-title i {
    color: #4facfe;
}

.air-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.air-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.air-label {
    font-size: 0.85rem;
    color: #999;
}

.air-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.aqi-good { color: #00e400; }
.aqi-moderate { color: #ffff00; }
.aqi-unhealthy-sensitive { color: #ff7e00; }
.aqi-unhealthy { color: #ff0000; }
.aqi-very-unhealthy { color: #99004c; }
.aqi-hazardous { color: #7e0023; }

.future-weather {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.future-weather .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-weather .section-title i {
    color: #4facfe;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.future-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.future-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.future-icon {
    font-size: 2.5rem;
    color: #ffa500;
}

.future-temp {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.future-weather-text {
    font-size: 0.85rem;
    color: #666;
}

.future-wind {
    font-size: 0.8rem;
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3rem;
    color: #fff;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 12px;
}

.empty-state p {
    color: #666;
}

.loading-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.calculator-guide {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.guide-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guide-item {
    text-align: center;
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
}

.guide-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.guide-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .calculator-title {
        font-size: 1.8rem;
    }

    .weather-details,
    .air-grid,
    .future-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .hot-grid {
        justify-content: center;
    }
}