.game-container-wp {
    position: relative;
    text-align: center;
}
.game-container-wp .game-container{
	min-height:0;
}
.btn-wp{
	background:transparent;
    padding: 10px 0;
    flex-wrap: wrap;
    position: static;
}
/* Tổng thể khung Game */
.game-container-wp-in{
    background: rgba(20, 0, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(179, 66, 189, 0.3);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: #fff;
}
@media(max-width:767px){
	.game-container-wp-in{padding:30px 15px;}
}
/* Custom Select Box hiện đại */
#quizGroupSelect {
    background: rgba(115, 14, 92, 0.2);
    border: 2px solid #a65e94;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s;
    appearance: none; /* Ẩn mũi tên mặc định */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}
#quizGroupSelect:focus {
    box-shadow: 0 0 15px rgba(166, 94, 148, 0.5);
    outline: none;
    border-color: #ff79da;
}
#quizGroupSelect option {
    background: #340121;
    color: #fff;
}

/* Kiểu dáng các phương án lựa chọn (Option) */
.option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(166, 94, 148, 0.3);
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.option:hover {
    background: rgba(166, 94, 148, 0.2);
    border-color: #a65e94;
}
.option.selected {
    background: linear-gradient(90deg, #730e5c, #a65e94);
    border-color: #ff79da;
    box-shadow: 0 0 15px rgba(166, 94, 148, 0.6);
}
.option-letter {
    color: #ff79da;
}

/* Ô nhập liệu Fill-in-the-blank */
.fillblank-wp {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}
.fillblank-input {
    width: 45px !important;
    height: 55px !important;
    font-size: 24px !important;
    font-weight: bold;
    text-align: center;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid #730e5c !important;
    color: #ff79da !important;
    border-radius: 8px;
}
.fillblank-input:focus {
    border-color: #ff79da !important;
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 10px #ff79da;
}

/* Nút bấm Confirm & Next theo style bạn gửi */
.section-game button#confirmBtn, 
.section-game #nextQuiz {
    line-height: 1.5em;
    background: #730e5c;
    border: 2px solid #a65e94;
    color: white;
    padding: 12px 37px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px; /* Pill shape */
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
	margin:0;
}
.section-game button#confirmBtn:not(:disabled):hover,
.section-game #nextQuiz:hover {
    background: #8B1E86;
    box-shadow: 0 0 20px rgba(139, 30, 134, 0.8);
    transform: scale(1.02);
}
.section-game button#confirmBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Text phản hồi Đúng/Sai */
.content-text-status {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
}
.text-success {
    color: #00c53e !important;
    text-shadow: 0 0 5px rgb(0 255 15 / 50%);
	animation: zoomCorrect 0.4s ease;
}
.text-danger {
	color: #ff4d4d !important; text-shadow: 0 0 5px rgba(255,77,77,0.5);
	animation: zoomCorrect 0.4s ease;
 }
/* animation */
@keyframes zoomCorrect {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.3); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Animation cho Timer */
#timer {
    font-weight: bold;
}
.timer-animation {
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
section.section-game {
    padding-top: 5vh;
    align-items: center;
}
div#gameContainer{background:transparent;  padding: 0;}
/* CSS bạn đã cung cấp (Tối ưu lại) */
div#startButtonWp:after {
    content: ""; /* Thêm content nếu chưa có */
    background: #340121;
}


/* Container bọc ngoài các tùy chọn */
#quizGroupRadioContainer {
    display: flex;
    flex-direction: column;
	width:100%;
    gap: 12px; /* Khoảng cách giữa các nút */
}

/* Ẩn nút radio chấm tròn mặc định */
.quiz-group-option input[type="radio"] {
    display: none; 
}

/* Định dạng nhãn (label) thành dạng nút bấm (card) */
.quiz-group-option label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1); /* Nền trong suốt nhẹ */
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

/* Hiệu ứng khi hover (di chuột) */
.quiz-group-option label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hiệu ứng khi được chọn (Checked) */
.quiz-group-option input[type="radio"]:checked + label {
    background: #4CAF50; /* Màu nền xanh lá khi chọn, bạn có thể đổi màu khác */
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); /* Đổ bóng phát sáng */
    color: #fff;
    font-weight: bold;
}

/* (Tùy chọn) Thêm một ô tròn giả ở đầu cho đẹp mắt */
.quiz-group-option label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

/* Hiệu ứng ô tròn giả khi được chọn */
.quiz-group-option input[type="radio"]:checked + label::before {
    border-width: 5px;
    border-color: #fff;
    background-color: #4CAF50;
}
.locked-option .option{
    pointer-events: none !important;
    opacity: 0.7;
}
.locked-option .option.selected{
    pointer-events: none !important;
    opacity: 1;
}
/* Hiệu ứng xuất hiện popup mượt mà */
@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.result-success h3 {
    color: #fffb00;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    font-size: 1.8rem;
    font-weight: 800;
}


.result-encourage h3 {
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    font-size: 1.6rem;
    font-weight: 700;
}

.result-text {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.5;
}
div#feedback {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
	pointer-events: none;
}