body {
    background-color: black;
}

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

#quiz-container {
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 59, 59, 0.2);
}

.answer-btn {
    background: rgba(41, 41, 41, 0.9);
    border: 1px solid rgba(255, 59, 59, 0.3);
    transition: all 0.3s ease;
}

.answer-btn:hover {
    border-color: rgba(255, 59, 59, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.2);
}

.answer-btn.correct {
    background: rgba(46, 160, 67, 0.8) !important;
    border-color: #2ea043;
}

.answer-btn.wrong {
    background: rgba(248, 81, 73, 0.8) !important;
    border-color: #f85149;
}

.answer-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#modal-content.active {
    animation: modalFadeIn 0.5s ease forwards;
    opacity: 1;
    transform: scale(1);
}

#shop-modal.active {
    display: flex;
}

@keyframes bagAppear {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bagShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px) rotate(-5deg);
    }
    75% {
        transform: translateX(10px) rotate(5deg);
    }
}

.bag-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    z-index: 59;
    display: none;
    transition: opacity 0.3s ease;
}

.bag-overlay.active {
    display: block;
    opacity: 1;
}

.bag-animation {
    position: fixed;
    top: 40%;
    /*left: 50%;*/
    transform: translate(-50%, -50%);
    z-index: 60;
    width: 200px;
    height: 200px;
    object-fit: contain;
    opacity: 0;
    display: none;
}

.bag-animation.active {
    display: block;
    animation: bagAppear 0.5s ease forwards, bagShake 0.5s ease 0.5s forwards;
    opacity: 1;
}
