/* Cute font */
@font-face {
    font-family: 'CuteFont';
    src: url('assets/cute-font.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    background-color: #f9f0ff;
    font-family: 'CuteFont', 'Short Stack', cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #6b5b7a;
}

.app-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
    position: relative;
}

.cute-frame {
    background-color: #fff5f7;
    border: 3px solid #ffb6c1;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 20px rgba(255, 182, 193, 0.3);
    overflow: hidden;
}

.cloud-decoration {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 60px;
    height: 30px;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 
        -20px 10px 0 0 #fff,
        20px 10px 0 0 #fff,
        0 -10px 0 0 #fff;
}

.app-header h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 5px;
    color: #ff8fab;
    text-shadow: 2px 2px 0 #fff;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #b5b5b5;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    margin-bottom: 20px;
}

.cute-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    font-family: inherit;
    font-size: 14px;
    background-color: #fff;
    color: #6b5b7a;
}

.cute-input:focus {
    outline: none;
    border-color: #ff8fab;
    box-shadow: 0 0 0 3px rgba(255, 143, 171, 0.2);
}

.cute-input::placeholder {
    color: #d4a5c4;
}

.cute-button {
    padding: 12px 20px;
    background-color: #ff8fab;
    color: white;
    border: none;
    border-radius: 15px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
    box-shadow: 0 4px 0 #d47b95;
}

.cute-button.small {
    padding: 8px 15px;
    font-size: 12px;
}

.cute-button:hover {
    background-color: #ff7a9d;
    transform: translateY(-2px);
}

.cute-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d47b95;
}

.weather-display {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.1);
}

.weather-icon-container {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    position: relative;
}

.weather-icon {
    width: 80px;
    height: 80px;
    background-image: url('assets/BBB.png');
    background-size: 80px 80px;
    image-rendering: pixelated;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.weather-info {
    flex: 1;
}

.temperature {
    font-size: 32px;
    margin-bottom: 5px;
    color: #ff8fab;
}

.weather-description {
    font-size: 14px;
    margin-bottom: 5px;
    color: #a58fb4;
}

.location {
    font-size: 12px;
    color: #d4a5c4;
}

.weather-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.detail-box {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    width: 48%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.1);
}

.detail-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    background-image: url('assets/CCC.png');
    background-size: 39px 40px;
    image-rendering: pixelated;
}

.humidity-icon {
    background-position: -80px 0;
}

.wind-icon {
    background-position: -160px 0;
}

.detail-value {
    font-size: 16px;
    margin-bottom: 3px;
    color: #ff8fab;
}

.detail-label {
    font-size: 10px;
    color: #d4a5c4;
}

.unit-toggle {
    text-align: center;
}

.bunny-decoration {
    position: absolute;
    bottom: 10px;
    right: 2px;
    width: 60px;
    height: 60px;
    background-image: url('assets/AAA.png');
    background-position: -90px 0;
    background-size: 80px 60px;
    image-rendering: pixelated;
    z-index: 1;
}
