/* Game Over Modal */
.game-over-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    direction: rtl;
}

.game-over-modal.hidden {
    display: none;
}

.game-over-content {
    background-color: #F47C7C;
    border-radius: 0.5rem;
    padding: 2rem 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-over-content.win {
    background-color: #22c55e;
}

.game-over-content.lose {
    background-color: #F47C7C;
}

.game-over-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.game-over-word {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.game-over-button {
    background-color: #ffffff;
    color: #141c3a;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.game-over-button:hover {
    background-color: #f3f4f6;
    transform: scale(1.02);
}

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

.game-over-share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
}

.btn-share-whatsapp {
    background-color: #25D366;
}

.btn-share-whatsapp:hover {
    background-color: #20BA5A;
    transform: scale(1.02);
}

.btn-share-copy {
    background-color: #6b7280;
}

.btn-share-copy:hover {
    background-color: #4b5563;
    transform: scale(1.02);
}

.btn-share:active {
    transform: scale(0.98);
}

.btn-share svg {
    flex-shrink: 0;
}

.game-over-lose-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.game-over-button-extra {
    background-color: #fbbf24;
    color: #78350f;
}

.game-over-button-extra:hover {
    background-color: #f59e0b;
}

.game-over-button-reveal {
    background-color: #6b7280;
    color: #ffffff;
}

.game-over-button-reveal:hover {
    background-color: #4b5563;
}

/* Responsive */
@media (max-width: 767px) {
    .game-over-content {
        padding: 1.5rem 2rem;
        max-width: 90%;
    }
    
    .game-over-title {
        font-size: 1.75rem;
    }
    
    .game-over-word {
        font-size: 1.125rem;
    }
    
    .game-over-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

