/* Game specific styles */

/* Animations */
@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.animate-pop {
    animation: pop 0.3s ease-out forwards;
}

/* Strikethrough for found words in list */
.word-found {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Custom Overrides requested by User */
@media (min-width: 768px) {

    /* Customize Tailwind utility behaviors within this scope */
    .md\:text-3xl {
        font-size: 1.875rem !important;
        line-height: 3rem !important;
        width: 3rem !important;
        /* Force width */
        text-align: center;
        /* Ensure centered text in fixed width */
    }
}

/* Override bold to be semi-bold (600) globally in this context */
.font-bold {
    font-weight: 600 !important;
}

/* Styl ikony zakładki wzorowany na anagramatorze */
.bookmark-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    color: #9ca3af;
    /* stone-400 */
    transition: color 0.2s, transform 0.2s, fill 0.2s;
    z-index: 10;
}

.bookmark-icon:hover {
    color: #d97706;
    /* amber-600 */
    transform: translateY(-50%) scale(1.15);
}

.bookmark-icon.is-saved {
    fill: #f59e0b;
    /* amber-500 */
    color: #f59e0b;
    /* amber-500 */
    stroke: none;
}