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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

header {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-in;
}

header h1 {
    font-size: 60px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header .subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

header .tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

main {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

.haiku-display {
    margin-bottom: 40px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.haiku {
    animation: fadeIn 0.6s ease-in;
}

.line {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 8px 0;
    font-weight: 300;
}

.line1, .line3 {
    color: #667eea;
    font-weight: 500;
}

.line2 {
    color: #764ba2;
    margin: 12px 0;
}

.generate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
}

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

footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 600px) {
    main {
        padding: 40px 25px;
    }

    header h1 {
        font-size: 48px;
    }

    .line {
        font-size: 16px;
    }

    .generate-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}