/* /Components/LanguageSelector.razor.rz.scp.css */
.language-selector[b-41vi3qg2b8] {
    position: relative;
    display: inline-block;
}

.language-btn[b-41vi3qg2b8] {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-btn:hover[b-41vi3qg2b8] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.language-btn:active[b-41vi3qg2b8] {
    transform: scale(0.95);
}

.language-menu[b-41vi3qg2b8] {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-width: 150px;
    z-index: 1000;
}

.language-option[b-41vi3qg2b8] {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover[b-41vi3qg2b8] {
    background: #f0f0f0;
}

.language-option.active[b-41vi3qg2b8] {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.language-option.active:hover[b-41vi3qg2b8] {
    background: #5568d3;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .language-btn[b-41vi3qg2b8] {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .language-menu[b-41vi3qg2b8] {
        min-width: 120px;
    }
    
    .language-option[b-41vi3qg2b8] {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
/* /Components/QrCodeDialog.razor.rz.scp.css */
.qr-dialog-overlay[b-jjlio9l6y6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.qr-dialog-content[b-jjlio9l6y6] {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-jjlio9l6y6 0.3s ease-out;
}

@keyframes slideIn-b-jjlio9l6y6 {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.qr-dialog-header[b-jjlio9l6y6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.qr-dialog-header h2[b-jjlio9l6y6] {
    margin: 0;
    color: #667eea;
    font-size: 1.8rem;
}

.close-button[b-jjlio9l6y6] {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover[b-jjlio9l6y6] {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.qr-dialog-body[b-jjlio9l6y6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code-image[b-jjlio9l6y6] {
    width: 280px;
    height: 280px;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.qr-url[b-jjlio9l6y6] {
    color: #666;
    font-size: 0.9rem;
    word-break: break-all;
    text-align: center;
    margin: 0;
    max-width: 300px;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .qr-dialog-content[b-jjlio9l6y6] {
        padding: 1.5rem;
    }

    .qr-dialog-header h2[b-jjlio9l6y6] {
        font-size: 1.5rem;
    }

    .qr-code-image[b-jjlio9l6y6] {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 360px) {
    .qr-dialog-content[b-jjlio9l6y6] {
        padding: 1rem;
    }

    .qr-dialog-header h2[b-jjlio9l6y6] {
        font-size: 1.3rem;
    }

    .qr-code-image[b-jjlio9l6y6] {
        width: 200px;
        height: 200px;
    }
}
/* /Components/RulesDialog.razor.rz.scp.css */
.rules-dialog-overlay[b-9sdqrpt7aa] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.rules-dialog-content[b-9sdqrpt7aa] {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-9sdqrpt7aa 0.3s ease-out;
}

@keyframes slideIn-b-9sdqrpt7aa {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.rules-dialog-header[b-9sdqrpt7aa] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rules-dialog-header h2[b-9sdqrpt7aa] {
    margin: 0;
    color: #667eea;
    font-size: 1.8rem;
}

.close-button[b-9sdqrpt7aa] {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover[b-9sdqrpt7aa] {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.rules-dialog-body[b-9sdqrpt7aa] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-section[b-9sdqrpt7aa] {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.05);
}

.rule-section h3[b-9sdqrpt7aa] {
    margin: 0 0 0.75rem 0;
    color: #667eea;
    font-size: 1.3rem;
}

.rule-section p[b-9sdqrpt7aa] {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.special-rule[b-9sdqrpt7aa] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.special-rule ul[b-9sdqrpt7aa] {
    margin: 0.75rem 0 0 0;
    padding-left: 1.5rem;
    color: #333;
}

.special-rule li[b-9sdqrpt7aa] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.special-rule strong[b-9sdqrpt7aa] {
    color: #667eea;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .rules-dialog-content[b-9sdqrpt7aa] {
        padding: 1.5rem;
        max-width: 95%;
    }

    .rules-dialog-header h2[b-9sdqrpt7aa] {
        font-size: 1.5rem;
    }

    .rule-section h3[b-9sdqrpt7aa] {
        font-size: 1.2rem;
    }

    .rule-section[b-9sdqrpt7aa] {
        padding: 0.75rem;
    }
}

@media (max-width: 360px) {
    .rules-dialog-content[b-9sdqrpt7aa] {
        padding: 1rem;
    }

    .rules-dialog-header h2[b-9sdqrpt7aa] {
        font-size: 1.3rem;
    }

    .rule-section h3[b-9sdqrpt7aa] {
        font-size: 1.1rem;
    }
}
/* /Pages/Game.razor.rz.scp.css */
.game-container[b-89h4wv3z0o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-title[b-89h4wv3z0o] {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.status-message[b-89h4wv3z0o] {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.game-board[b-89h4wv3z0o] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.board-row[b-89h4wv3z0o] {
    display: flex;
    gap: 0.5rem;
}

.cell[b-89h4wv3z0o] {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cell:hover:not(:disabled)[b-89h4wv3z0o] {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cell:active:not(:disabled)[b-89h4wv3z0o] {
    transform: scale(0.95);
}

.cell:disabled[b-89h4wv3z0o] {
    cursor: not-allowed;
}

.cell-x[b-89h4wv3z0o] {
    color: #e74c3c;
}

.cell-o[b-89h4wv3z0o] {
    color: #3498db;
}

.cell-empty[b-89h4wv3z0o] {
    color: transparent;
}

.button-container[b-89h4wv3z0o] {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.new-game-btn[b-89h4wv3z0o], .rules-btn[b-89h4wv3z0o], .qr-code-btn[b-89h4wv3z0o] {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.new-game-btn:hover[b-89h4wv3z0o], .rules-btn:hover[b-89h4wv3z0o], .qr-code-btn:hover[b-89h4wv3z0o] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.new-game-btn:active[b-89h4wv3z0o], .rules-btn:active[b-89h4wv3z0o], .qr-code-btn:active[b-89h4wv3z0o] {
    transform: scale(0.95);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .game-title[b-89h4wv3z0o] {
        font-size: 2.5rem;
    }

    .status-message[b-89h4wv3z0o] {
        font-size: 1.2rem;
    }

    .cell[b-89h4wv3z0o] {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .game-title[b-89h4wv3z0o] {
        font-size: 2rem;
    }

    .status-message[b-89h4wv3z0o] {
        font-size: 1rem;
    }

    .cell[b-89h4wv3z0o] {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .game-board[b-89h4wv3z0o] {
        gap: 0.4rem;
        padding: 0.75rem;
    }

    .board-row[b-89h4wv3z0o] {
        gap: 0.4rem;
    }
}

/* Landscape mode on mobile - adjust layout */
@media (max-height: 600px) and (orientation: landscape) {
    .game-container[b-89h4wv3z0o] {
        padding: 0.5rem;
    }

    .game-title[b-89h4wv3z0o] {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .status-message[b-89h4wv3z0o] {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .cell[b-89h4wv3z0o] {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .new-game-btn[b-89h4wv3z0o] {
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
