/* Стили для мини-игр */

.game-wrapper {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow);
    margin: 2rem 0;
}

.game-title {
    text-align: center;
    color: var(--dark-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-instructions {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--primary-yellow);
    border-radius: 8px;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-yellow);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-orange);
}

/* Olympus Trial Game */
.olympus-trial-canvas {
    border: 4px solid var(--primary-orange);
    border-radius: 10px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    display: block;
    margin: 1rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Yıldırım Avı Game */
.yildirim-avi-canvas {
    border: 4px solid var(--primary-orange);
    border-radius: 10px;
    background: linear-gradient(180deg, #0f0c29 0%, #302b63 100%);
    display: block;
    margin: 1rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Game Over Modal */
.game-over-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.game-over-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h2 {
    color: var(--dark-orange);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Lightning Effects */
@keyframes lightning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.lightning-flash {
    animation: lightning 0.1s;
}

/* Particle Effects */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

