.weather-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.weather-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: 20px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.weather-page h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    text-align: center;
}

.weather-icon {
    width: 80px;
    height: 80px;
}

/* Current weather horizontal layout */
.current-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.current-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-right {
    text-align: left;
}

/* Design: iPhone */
.design-iphone {
    background: linear-gradient(to right, #007aff, #ffffff);
    color: #fff;
}

.design-iphone .temp {
    font-size: 40px;
    font-weight: bold;
}

/* Design: Fruitful (card-based with emojis) */
.design-fruitful {
    background: #f9f9f9;
    color: #333;
}

.design-fruitful .current-content {
    justify-content: center;
}

.design-fruitful .card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 150px;
}

.design-fruitful .emoji {
    font-size: 24px;
    margin-right: 8px;
}

/* Forecast layouts */
.forecast-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
}

.forecast-item {
    min-width: 120px;
    text-align: center;
}

/* Transitions (unchanged) */
@keyframes slide-top {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}
.slide-top { animation: slide-top 1s ease forwards; }

@keyframes slide-bottom {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}
.slide-bottom { animation: slide-bottom 1s ease forwards; }

@keyframes slide-left {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}
.slide-left { animation: slide-left 1s ease forwards; }

@keyframes slide-right {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}
.slide-right { animation: slide-right 1s ease forwards; }

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.fade-in { animation: fade-in 1s ease forwards; }

@keyframes zoom-in {
    0% { transform: scale(0.5); }
    100% { transform: scale(1); }
}
.zoom-in { animation: zoom-in 1s ease forwards; }

@keyframes rotate-in {
    0% { transform: rotate(-90deg); }
    100% { transform: rotate(0); }
}
.rotate-in { animation: rotate-in 1s ease forwards; }

@keyframes flip-in {
    0% { transform: rotateY(180deg); }
    100% { transform: rotateY(0); }
}
.flip-in { animation: flip-in 1s ease forwards; }

@keyframes bounce-in {
    0% { transform: translateY(-100%); }
    60% { transform: translateY(0); }
    80% { transform: translateY(-20%); }
    100% { transform: translateY(0); }
}
.bounce-in { animation: bounce-in 1s ease forwards; }

@keyframes pulse {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.pulse { animation: pulse 1s ease forwards; }