
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(100deg, #ffffff, rgb(232, 232, 232));
}
.joke-div {
    background: linear-gradient(90deg, rgb(111, 188, 92), rgb(69, 172, 65));
    border-radius: 10px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
    margin-top: 150px;
    width: 400px;
    height: auto;
    box-shadow: 0 8px 20px #00000033;
    transition: all 0.3s ease;
}
.joke-div:hover {
    box-shadow: 0 8px 30px #00000033;
}
.joke-div h1 {
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;

}
.joke-generator {
     text-shadow: 2px 2px 0 #ff0800, 4px 4px 0 #e5ff00;
    animation: shadow-dance 2s infinite;
}
@keyframes shadow-dance {
    0%, 100% {
        text-shadow: 2x 2px 0 #ff0800, 4px 4px 0  #e5ff00;
    }
    50% {
        text-shadow: -2px -2px 0 #e5ff00, -4px -4px 0 #ff0800;
    }
}


.joke-div:hover h1 {
    background: rgba(255, 255, 255, 0.3);
}
#joke-container {
    margin: 40px auto;
    background: #90ee90;
    border-radius:15px;
    box-shadow: 0 8px 20px #00000033  ;
    font-size: 20px;
    line-height: 1.5;
    padding: 20px 25px;

    transition: all 0.5s ease-in;
}
.joke-container:hover {
    box-shadow: 0 8px 30px #00000033;
}
#joke-btn1 {
 box-shadow: 0 10px 25px rgb(97, 104, 38);
 background-color: white;
 border: none;
 border-radius: 5px;
 padding: 10px 20px;
 cursor: pointer;
 font-size: 16px;
 font-weight: bolder;
 transition: all 0.3s ease;
 backdrop-filter: blur(8px);
}
#joke-btn1:hover {
    transform: scale(0.95);

}
#joke-btn1:active {
    transform: scale(0.90);
    box-shadow: 0 15px 30px rgb(104, 75, 38);
}
#joke-btn2 {
    box-shadow: 0 10px 25px rgb(97, 104, 38);
    background-color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bolder;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
#joke-btn2:hover {
    transform: scale(0.95);
}
#joke-btn2:active {
    transform: scale(0.90);
    box-shadow: 0 15px 30px rgb(104, 75, 38);
}
.joke-setup {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
.joke-punchline {
    font-family: 'Arial', sans-serif;
    font-style: italic;
    color: #333;
}

#joke-btn1 {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    color: white;
    letter-spacing: 1px;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(.2,.8,.2,1);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);
}


#joke-btn1::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#joke-btn1:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.35),
        0 0 20px rgba(255,255,255,0.35);
}

#joke-btn1:hover::after {
    opacity: 1;
}

#joke-btn1:active {
    transform: scale(0.95);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.4);
}




/* ===== ULTRA EFFECT – BTN2 (GLASS LIFT STYLE) ===== */

#joke-btn2 {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 14px;
    color: white;
    letter-spacing: 1px;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(.2,.8,.2,1);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);
}

/* belső glow réteg */
#joke-btn2::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 25px rgba(255,255,255,0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#joke-btn2:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.38),
        0 0 25px rgba(255,255,255,0.4);
}

#joke-btn2:hover::after {
    opacity: 1;
}

#joke-btn2:active {
    transform: scale(0.95);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.45);
}