body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #8b5cf6 0%, #fad0c4 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.game-header {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #a855f7;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game-description {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #555;
}

.game-main {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banker-container {
    margin: 30px 0;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banker {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
}

.banker:hover {
    transform: scale(1.05);
}

.bonk-button {
    background: #a855f7;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bonk-button:hover {
    background: #ff5252;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.bonk-button:active {
    transform: scale(0.98);
}

#scoreDisplay {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a855f7;
    margin: 20px 0;
}

.game-footer {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-footer p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
}

/* Responsive design */
@media (max-width: 600px) {
    .game-container {
        padding: 10px;
    }
    
    .game-header h1 {
        font-size: 2rem;
    }
    
    .banker {
        width: 150px;
    }
    
    .bonk-button {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
}

/* Bank Bonk: bigger banker + visible bonk animation */
.banker-container {
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:360px;
}

.banker {
    width:min(760px, 92%);
    max-width:760px;
    height:auto;
    cursor:pointer;
    transform-origin:center bottom;
    transition:transform .12s ease;
}

.banker.bonk {
    animation: bankerBonk .45s cubic-bezier(.2,.8,.2,1);
}

@keyframes bankerBonk {
    0%   { transform:translateY(0) rotate(0deg) scale(1); }
    20%  { transform:translateY(-55px) rotate(-6deg) scale(1.06); }
    45%  { transform:translateY(8px) rotate(7deg) scale(.96); }
    65%  { transform:translateY(-20px) rotate(-4deg) scale(1.02); }
    100% { transform:translateY(0) rotate(0deg) scale(1); }
}


.dialogue{
    max-width:700px;
    margin:20px auto;
    padding:18px 24px;
    border-radius:18px;
    background:rgba(25,25,35,.92);
    border:1px solid rgba(192,132,252,.55);
    box-shadow:0 8px 30px rgba(0,0,0,.25);
    color:white;
    font-size:1.25rem;
    font-weight:700;
    text-align:center;
}

.banker.bonk{
    animation:bonk .45s ease;
}

@keyframes bonk{
    0%{transform:translateY(0) rotate(0)}
    20%{transform:translateY(-45px) rotate(-7deg)}
    40%{transform:translateY(8px) rotate(7deg)}
    60%{transform:translateY(-18px) rotate(-4deg)}
    100%{transform:translateY(0) rotate(0)}
}
