/* Custom styles for the dad jokes page */
.joke-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.troll-dad {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.troll-dad:hover {
    transform: scale(1.05);
}

.joke-blockquote {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-left: 5px solid #8b5cf6;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.joke-blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #8b5cf6;
    font-family: serif;
    line-height: 1;
}

.joke-blockquote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 4rem;
    color: #8b5cf6;
    font-family: serif;
    line-height: 1;
}

.joke-text {
    color: #f3f4f6;
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.joke-text.placeholder {
    color: #9ca3af;
    font-style: normal;
}

.speech-bubble-arrow {
    position: absolute;
    top: -15px;
    left: 100px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #374151;
}

.loading-animation {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .joke-blockquote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .joke-text {
        font-size: 1.1rem;
    }
    
    .speech-bubble-arrow {
        left: 60px;
    }
} 