* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #e3f2fd;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #e3f2fd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    width: 100%;
    padding: 16px;
    margin: 30px 0;
}

header {
    text-align: center;
    margin-bottom: 12px;
}

h1 {
    color:  #007acc;
    font-family: "Comic Sans MS", "Comic Sans", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.image-container {
    text-align: center;
    margin-bottom: 12px;
}

#cartoon-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 450px;
    object-fit: contain;
}

#image-caption {
    margin-top: 15px;
    color: #555;
    font-style: italic;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #666;
}

#day-info {
    font-size: 0.95rem;
    margin: 0;
}

.feedback-btn {
    display: inline-block;
    padding: 0 16px;
    font-size: 0.95rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    line-height: 1.5;
}

.mail-icon {
    font-size: 1.4rem;
    vertical-align: text-bottom;
    line-height: 1;
}

.feedback-btn:hover {
    color: #1e40af;
    background: #f1f5f9;
}

.nav-btn {
    padding: 12px 24px;
    font-size: 1rem;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    background: #dbeafe;
    color: #1e40af;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-weight: 500;
}

.nav-btn:hover {
    background: #bfdbfe;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nav-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}



@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
}
