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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #4ade80 0%, #38bdf8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.favorites-counter {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.favorites-counter i {
    color: #e74c3c;
    margin-right: 5px;
}

.joke-container {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.joke-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.joke-text.fade {
    opacity: 0;
}

.buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.favorite-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0.5rem;
}

.favorite-button:hover {
    transform: scale(1.1);
}

.favorite-button.active {
    color: #e74c3c;
}

.favorite-button i {
    transition: transform 0.2s ease;
}

.favorite-button:hover i {
    transform: scale(1.1);
}

.next-button {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.next-button:hover {
    background-color: #764ba2;
    transform: scale(1.05);
}

.next-button:active {
    transform: scale(0.95);
} 