/* Cheerful CSS for Liz! 🌈 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.message-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.message-box h2 {
    color: #2d3436;
    margin-bottom: 15px;
    font-size: 2rem;
}

.qualities {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-top: 15px;
}

.qualities li {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #2d3436;
    padding: 5px 0;
}

.motivation-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.motivation-section h3 {
    color: #2d3436;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.motivation-text {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #2d3436;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.motivation-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: bold;
}

.motivation-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.clubbed-hand-section {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.clubbed-hand-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.7rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
    50% { text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5); }
}

.clubbed-hand-message {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.clubbed-hand-message p {
    color: #2d3436;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.clubbed-hand-message p:last-child {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

.shining-star {
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.gif-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.gif-section h3 {
    color: #2d3436;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.dancing-kitten {
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.dancing-kitten:hover {
    transform: scale(1.05) rotate(2deg);
}

.gif-caption {
    color: #2d3436;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
}

.affirmation-section {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.affirmation-section h3 {
    color: #2d3436;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.affirmation-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.affirmation-box p {
    font-size: 1.3rem;
    color: #2d3436;
    font-style: italic;
    font-weight: 500;
}

.affirmation-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.affirmation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.final-message {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.final-message h2 {
    color: #2d3436;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.final-message p {
    color: #2d3436;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.signature {
    font-style: italic;
    color: #636e72;
}

footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 20px;
    color: #2d3436;
}

/* Mobile-optimized typography for better readability */
@media (max-width: 768px) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        line-height: 1.7;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .message-box p,
    .motivation-text,
    .affirmation-box p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .qualities li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
        font-weight: 600;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .qualities {
        text-align: center;
    }
    
    .qualities li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .dancing-kitten {
        max-width: 250px;
    }
    
    .motivation-text,
    .affirmation-box p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 8px;
        padding: 15px;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.7rem;
        font-weight: 700;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    h2, h3, h4 {
        font-weight: 600;
    }
    
    .dancing-kitten {
        max-width: 200px;
    }
    
    p, .qualities li,
    .motivation-text,
    .affirmation-box p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Ensure button text remains legible */
@media (max-width: 480px) {
    .motivation-btn,
    .affirmation-btn {
        font-size: 1rem;
        font-weight: 500;
    }
}

/* Fun animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 1s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}
