/* Game CSS */
.c35gd-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.c35gd-welcome {
    text-align: center;
}

/*.c35gd-button {*/
/*    background-color: #ED6E3B;*/
/*    border-style: solid;*/
/*    border-width: 1px 1px 1px 1px;*/
/*    border-color: #ED6E3B;*/
/*    border-radius: 50px 50px 50px 50px;*/
/*    color: #FFF;*/
/*}*/

/*.c35gd-button:hover {*/
/*    background-color: #FFF!important;*/
/*    color: #ED6E3B!important;*/
/*}*/

.c35gd-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Question CSS */
/*.c35gd-question-container {*/
/*    background-color: white;*/
/*    padding: 20px;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
/*}*/

.c35gd-question {
    margin-bottom: 20px;
}
.c35gd-question h3 {
    min-height: 20vh;
    color: #FFF;
    font-size: 18px;
    line-height: 20px;
    font-family: "Calibri";
    font-weight:700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #590E06A1 0%, #CA1B0DC4 100%);
    border: 2px solid #FFEBD6;
    padding-left: 15%;
    padding-right: 15%;
    text-align: center;
    border-radius: 50px;
    padding-top:30px;
    padding-bottom:30px;
    box-shadow: 0 0 5px #ff8800, 0 0 15px #ff3300, 0 0 30px #e61a00, 0 0 60px #990000, inset 0 0 8px #ff8800, inset 0 0 20px #ff3300;
}


.c35gd-blank-input {
    margin: 20px 0;
}

.c35gd-blank-input input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.c35gd-actions {
    margin-top: 20px;
    text-align: center;
}




.c35gd-info {
    background-color: #d1ecf1;
    color: #FFF;
    border: 1px solid #bee5eb;
}

/* Loading indicator */
.c35gd-loading {
    text-align: center;
    padding: 20px;
}

.c35gd-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: c35gd-spin 1s ease-in-out infinite;
}

@keyframes c35gd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result CSS */

.c35gd-piece-earned {
    margin-top: 20px;
}

.c35gd-piece img {
    border-radius: 12px;
}
/* SỬA: Grid mảnh ghép 3x4 cho 12 mảnh */
.c35gd-puzzle-pieces {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.c35gd-puzzle-row {
    display: flex;
    gap: 10px;
}

.c35gd-puzzle-piece {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.c35gd-has-piece {
    background-color: #e6f7ff;
    border: 2px solid #1890ff;
    box-shadow: 0 2px 5px rgba(24,144,255,0.2);
}

.c35gd-missing-piece {
    background-color: #f5f5f5;
    border: 2px dashed #d9d9d9;
}

.c35gd-rare-piece {
    transform: scale(1.1);
    z-index: 2;
}

.c35gd-rare-piece.c35gd-has-piece {
    background-color: #fffbe6;
    border: 2px solid #faad14;
    box-shadow: 0 0 15px rgba(250,173,20,0.5);
}

/* Responsive CSS */
@media (max-width: 767px) {
    .c35gd-puzzle-piece {
        width: 60px;
        height: 60px;
    }
    
    .c35gd-piece {
        width: 80px;
        height: 80px;
    }
}