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

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

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

.joke-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.joke-card:hover {
    transform: translateY(-5px);
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    color: #667eea;
    font-weight: 800;
}

.emoji {
    font-size: 3rem;
    filter: grayscale(100%) sepia(100%) hue-rotate(200deg) saturate(300%);
}

.joke-content {
    margin: 30px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#joke-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    filter: blur(0);
    transition: filter 0.3s ease;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #eee;
}

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

@media (max-width: 600px) {
    .joke-card {
        padding: 25px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .emoji {
        font-size: 2rem;
    }
    
    #joke-text {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}