@font-face {
    font-family: "Coiny"; /* Tên bạn tự đặt cho font */
    src: url(/fonts/frontend/Coiny-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-red: #D32F2F;
    --accent-yellow: #FFC107;
    --text-dark: #333;
    --bg-color: #FFFFFF;
}

html {
    font-size: 16px;
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
}

body {
    padding: 0 !important;
    margin: 0 !important;
    margin-inline: auto !important;
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box !important;
    max-width: 430px !important;
    height: 100dvh;
}

input[type="text"],
input[type="tel"] {
    border-radius: 0.3rem;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.quiz-option-container {
    display: flex;
    margin: 0.5rem 0;
}

.quiz-option-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.quiz-option-container label {
    margin-bottom: 5px;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.7rem;
    font-weight: normal;
    transition: all 0.2s;
    color: #FFFFFF;
}

.quiz-option-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
    transform: translateY(20%);
}

.quiz-option-container label::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease-in-out;
}

.quiz-option-container input[type="radio"]:checked + label::after {
    opacity: 1;
    transform: translate(50%, 90%);
}

.quiz-option-container input[type="radio"]:checked + label {
    font-weight: 700;
    color: #FFFFFF;
}

::placeholder {
    color: #C8C8C8 !important;
}

::-webkit-input-placeholder {
    color: #C8C8C8 !important;
}

::-moz-placeholder {
    color: #C8C8C8 !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #C8C8C8 !important;
}

.app-container {
    background-color: var(--bg-color);
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*display: none;*/
    flex-direction: column;
    background-color: var(--bg-color);
    z-index: 1;
}

.content-padding {
    padding: 1rem;
}

.background {
    background-image: url(/images/frontend/background.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.default-heading {
    font-size: 1.5rem;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    line-height: 2rem;
    text-transform: uppercase;
    color: #F8F0E4;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #EC602A;
    text-shadow: -2px 2px 0px #C71512,
    0px 4px 4px #00000052;
}

.form-control {
    border: 0.125rem solid var(--primary-red);
    border-radius: 0.625rem;
    padding: 0.75rem;
    margin-bottom: 0.9375rem;
    background: white;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
    border-color: var(--primary-red);
}

.form-group {
    margin-bottom: 20px;
}

.label-question {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    accent-color: white;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.hidden-visibility {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.footer-vector {
    width: 100%;
    height: 5.625em;
    display: block;
}

.app-screen.active {
    display: block;
    z-index: 2;
}

.screen-enter {
    display: flex;
    z-index: 3;
    animation: slideInFromBottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.screen-exit {
    display: flex;
    z-index: 1;
    animation: slideOutToTop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.sound {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999999;
    color: #000000;
}

/*.btn-makase {*/
/*    display: block;*/
/*    text-align: center;*/
/*    padding: 4px 20px 4px 20px;*/
/*    border: 4px solid transparent;*/
/*    -webkit-border-radius: 3.125rem;*/
/*    border-radius: 3.125rem;*/
/*    background-image: -webkit-linear-gradient(right, #FFB23C 0%, #FFE9A5 100%),*/
/*    -webkit-linear-gradient(right, #FFE9A5 0%, #FFB032 100%);*/
/*    background-image: linear-gradient(270deg, #FFB23C 0%, #FFE9A5 100%),*/
/*    linear-gradient(270deg, #FFE9A5 0%, #FFB032 100%);*/
/*    background-origin: border-box;*/
/*    background-clip: padding-box, border-box;*/
/*    font-family: "Coiny", sans-serif;*/
/*    font-size: 1.25rem;*/
/*    font-weight: 900;*/
/*    color: #c21a0e;*/
/*    text-transform: uppercase;*/
/*    cursor: pointer;*/
/*    -webkit-tap-highlight-color: transparent;*/
/*    outline: none;*/
/*    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);*/
/*    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);*/
/*    -webkit-transition: -webkit-transform 0.5s, -webkit-filter 0.5s;*/
/*    transition: transform 0.5s, filter 0.5s;*/
/*    -webkit-font-smoothing: antialiased;*/
/*    -moz-osx-font-smoothing: grayscale;*/

/*    !*height: 3rem; !* Đặt chiều cao cố định *!*!*/
/*    !*line-height: calc(3.5rem - 8px); !* Trừ đi phần border (4px * 2) để chữ căn giữa chuẩn *!*!*/
/*    !*padding: 0 20px;*!*/
/*    !*display: flex; !* Sử dụng Flexbox để căn giữa chữ tốt hơn trên mọi thiết bị *!*!*/
/*    !*align-items: center;*!*/
/*    !*justify-content: center;*!*/
/*    -webkit-appearance: none; !* Xóa style mặc định của Safari/iOS *!*/
/*    appearance: none;*/
/*}*/

.btn-makase {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 20px 5px 20px;
    box-sizing: border-box;
    border: 4px solid transparent;
    border-radius: 3.125rem;
    background-image: linear-gradient(to left, #FFB23C 0%, #FFE9A5 100%),
    linear-gradient(to left, #FFE9A5 0%, #FFB032 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-family: "Coiny", sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    color: #c21a0e;
    text-transform: uppercase;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: transform 0.5s, filter 0.5s;
}

.btn-makase.is-android {
    padding: 8px 20px 14px 20px;
}

#btn-reward-cta.is-android {
    padding: 8px 20px 14px 20px;
}

.btn-makase:active {
    transform: scale(0.95);
    background-image: linear-gradient(270deg, #E44242 0%, #E96D45 100%),
    linear-gradient(270deg, #FD805B 0%, #DF4B4C 100%);
    color: #FFFFFF;
}

.btn-back {
    border-radius: 1.5rem;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-size: 1.25rem;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    background: transparent;
}

.absolute-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/*Section Home*/
.section-home {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-home .top-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33%;
    background-image: url(/images/frontend/background-1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.section-home .logo {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8.875rem;
    z-index: 2;
}

.section-home .cloud-left {
    position: absolute;
    top: 4rem;
    left: 2rem;
    z-index: 1;
    max-width: 22%;
}

.section-home .cloud-right,
.section-lucky .cloud-right {
    position: absolute;
    top: 3rem;
    right: 3.5rem;
    z-index: 1;
    max-width: 22%;
}

.section-home .bottom-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68%;
    background-image: url(/images/frontend/background-2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top;
}

.section-home .product-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 41.31%;
    aspect-ratio: 182 / 222;
    z-index: -1;
    transform: translateY(-72%);
}

.section-home .product-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 34.18%;
    aspect-ratio: 154 / 209;
    z-index: -1;
    transform: translateY(-79%);
}

.section-home .product-center {
    position: absolute;
    top: 0;
    left: 50%;
    width: 71.84%;
    aspect-ratio: 302/313;
    transform: translate(-50%, -32%);
}

.section-home .heading {
    position: absolute;
    top: 0;
    left: 50%;
    width: 89.65%;
    transform: translate(-50%, 96%);
}

.section-home .footer .prizes-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    transform: translate(-46%, -31%);
    z-index: -1;
}

.section-home .footer .social-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
    transform: translate(12px, -110px);
}

.section-home .footer .toggle-btn {
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section-home .footer .social-wrapper.active .toggle-btn {
    transform: rotate(180deg) !important;
}

.section-home .footer .social-list {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.section-home .footer .social-wrapper.active .social-list {
    max-height: 400px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
}

.section-home .footer .social-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    margin-bottom: -20px;
    transition: transform 0.3s ease, margin 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.section-home .footer .social-wrapper.active .social-item {
    margin-bottom: 8px;
}

.section-home .footer .social-item:hover {
    transform: scale(1.1);
}

.section-home .footer .qr {
    max-width: 3rem;
    right: 0;
    bottom: 0;
    position: absolute;
    cursor: pointer;
    transform: translate(-10px, -10px);
    transition: transform 0.2s;
}

.section-home .cta-container {
    display: flex;
    justify-content: center;
}

/*Section Loading*/
.section-loading .loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1.125rem;
}

.section-loading .loading-overlay .loading-icon {
    width: 10rem;
}

/*.section-loading .loading-overlay .loading-heading {*/
/*    width: 21rem;*/
/*}*/

.section-form .heading-container {
    text-align: center;
    margin-top: 1rem;
}

.section-loading .loading-overlay .loading-text {
    font-size: 1rem;
    font-weight: 400;
    color: #2C2C2C;
    line-height: 1.7rem;
}

.section-loading .loading-overlay .loading-arrows {
    height: 2.5rem;
    margin-top: 1.5rem;
    width: auto;
    display: block;
}

.section-loading .footer-2,
.section-result .footer-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    aspect-ratio: 393/94;
    background-image: url(/images/frontend/footer-vector-2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top;
}

.section-result .result-cta-container {
    display: flex;
    justify-content: center;
}

/*Section Form*/
.section-form {
    display: block;
}

.section-form .top-area {
    margin: 1rem 1rem 0 1rem;
}

.section-form .top-area .logo-container {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-form .top-area .logo {
    width: 10.25rem;
}

.section-form .heading-container {
    text-align: center;
    margin-top: 1rem;
}

.section-form .form-container {
    padding: 4rem 1.5rem;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(/images/frontend/background-3.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top;
}

.section-form .form-container label {
    font-weight: 400;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.section-form .form-container select {
    border: 0.125rem solid var(--primary-red);
    padding: 0.75rem;
    margin-bottom: 0.9375rem;
    border-radius: 0.3rem;
    color: #C8C8C8;
}

.section-form .form-container option:not(:first-of-type) {
    color: #000000;
}

.section-form .form-container select:valid {
    color: #000000;
}

.section-form .form-container em {
    color: #FFFFFF;
    font-size: 0.8rem;
    font-family: Inter, sans-serif;
    display: block;
    margin-top: -0.5rem;
}

.section-form .form-container .form-cta-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.section-form button {
    min-width: 6.6em;
}

/*Section Quiz*/
.section-quiz .logo-container {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-quiz .logo {
    width: 9.25rem;
}

.section-quiz .heading-container {
    text-align: center;
}

.section-quiz .bottom-area {
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(/images/frontend/background-3.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top;
}

.section-quiz .bottom-area .quiz-container {
    height: 25.5em;
}

.section-quiz .bottom-area .quiz-container .quiz-count-container {
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: right;
}

.section-quiz .bottom-area .quiz-container .quiz-count {
    background: #F8F0E4;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-size: 1.25rem;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    border-radius: 1.5rem;
    padding: 0.75rem 1rem 0.5rem 1rem;
}

.section-quiz .bottom-area .quiz-container .quiz-question {
    font-weight: 800;
    font-size: 1rem;
    color: #FFFFFF;
    line-height: 1.5rem;
}

/*Section Result*/
.section-result .container {
    text-align: center;
    width: 100%;
    margin: 0 0 1rem 0;
}

.section-result .container img {
    width: 7.5rem;
}

.section-result .container p {
    font-size: 1rem;
    margin: 0 auto;
}

/*Section Feedback*/
.section-feedback .container {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
}

.section-feedback .container img {
    width: 8.2rem;
}

.section-feedback .subheading {
    color: #2C2C2C;
    font-weight: 400;
    line-height: 1.25rem;
    font-size: 0.875rem;
    margin: 0 auto;
}
.section-feedback .product-list-container {
    margin: 1rem auto;
    height: 100%;
}

.section-feedback .product-card {
    background: #FFFFFF80;
    border-radius: 0.25rem;
    padding: 0.625rem;
    margin-bottom: 0.9375rem;
    display: flex;
    align-items: center;
    border: 0.0625rem solid #FFFFFF;
    box-shadow: 0px 0.25rem 0.25rem 0px #0000001A;
}

.section-feedback .product-card .product-info{
    flex: 1;
}

.section-feedback .product-card .product-info h6{
    line-height: 1.25rem;
}

.section-feedback .product-card h6 {
    font-size: 0.875rem;
}

.section-feedback .product-img {
    width: 5.27rem;
    height: 5.27rem;
    margin-right: 0.9375rem;
    box-shadow: 0 1px 2px 0 #0000004D;
}

.section-feedback .product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 6px;
    padding: 0.25rem;
    border: 1px solid #C71512;
    color: #C71512;
    font-weight: bold;
    font-family: sans-serif;
    background-color: transparent;
    width: fit-content;
    font-size: 12px;
}

.section-feedback .product-success-btn {
    border: 1px solid #00AC4F;
    color: #00AC4F;
}

.section-feedback .cta-container {
    background-image: url(/images/frontend/popup/vector.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0;
    z-index: 100;
    display: none;
    height: 15%;
    width: 100%;
    text-align: center;
}

.section-feedback .cta-container .btn-feedback-cta {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -30%);
}

/*Section Lucky*/
.section-lucky .top-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    display: block;
    background-image: url(/images/frontend/background-4.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.section-lucky .top-area .container {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
}

.section-lucky .top-area .container img {
    width: 7.8125rem;
}

.section-lucky .top-area .cloud-left {
    position: absolute;
    top: 4rem;
    left: 1rem;
    z-index: 1;
    max-width: 25%;
}

.section-lucky .top-area .cloud-right {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1;
    max-width: 25%;
}

.section-lucky .bottom-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    display: block;
    background-image: url(/images/frontend/background-5.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    padding: 4rem 2rem 0 2rem;
    margin: 0;
}

.section-lucky .bottom-area h2 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.625rem;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #CA0000;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #FFFFFF;
    text-shadow: 0px 4px 4px #00000052,
    -1px 1px 0px #FFCC00;
}

.section-lucky .bottom-area p {
    margin-top: 0.5rem;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 400;
}

.section-lucky .bottom-area .gift-box {
    cursor: pointer;
    transition: transform 0.3s;
    width: 90%;
}

.section-lucky .bottom-area .gift-box:hover {
    transform: scale(1.05);
}

.section-lucky .bottom-area .footer-area .prizes-container {
    position: absolute;
    left: 50%;
    bottom: 1.8em;
    transform: translateX(-50%);
    width: 80%;
}

.section-lucky .bottom-area .footer-area .prizes-container img {
    width: 100%;
    height: auto;
    display: block;
}

.section-lucky .bottom-area .footer-area .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.section-lucky .bottom-area .footer-area .footer img {
    width: 100%;
    height: 10.59vh;
    display: block;
}

.section-lucky .bottom-area .footer-area .cat-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.section-lucky .bottom-area .footer-area .cat-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/*Popup Feedback*/
.popup-feedback {
    top: unset;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background-color: transparent;
    background-image: url(/images/frontend/background-3.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 1000;
    border-radius: 30px 30px 0 0;
    padding: 30px 20px 40px 20px;
    box-sizing: border-box;
    color: white;
    transform: translateY(100%);
}

.popup-feedback.active {
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out forwards;
}

.popup-feedback.hiding {
    animation: fadeOutDown 0.4s ease-in forwards;
}

.popup-feedback .popup-header {
    text-align: center;
    margin-bottom: 1.25rem;
    margin-top: 1.875rem;
}

.popup-feedback .popup-header h2 {
    font-size: 1.5rem;
    margin: 3rem 0 0 0;
    line-height: 1.625rem;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #CA0000;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #FFFFFF;
    text-shadow: 0px 4px 4px #00000052,
    -1px 1px 0px #FFCC00;
}

.popup-feedback .product-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.popup-feedback .product-preview img {
    width: 6.75rem;
}

.popup-feedback .option-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.popup-feedback .option-container label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.8rem;
    font-weight: normal;
    transition: all 0.2s;
    color: #FFFFFF;
}

.popup-feedback .option-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}

.popup-feedback .option-container label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 7px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease-in-out;
}

.popup-feedback .option-container input[type="radio"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
}

.popup-feedback .option-container input[type="radio"]:checked + label {
    font-weight: 700;
    color: #FFFFFF;
}

/*Section Reward*/
.gift-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.gift-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gift-anim-center {
    margin-top: -6rem;
    width: 100%;
    height: auto;
    transform: scale(0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gift-overlay.active .gift-anim-center {
    transform: scale(1);
}

.section-reward .confetti-container {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%) translateY(-25%);
}

.section-reward .confetti-container img {
    width: auto;
    height: auto;
    display: block;
    margin-top: -3rem;
}

.section-reward .logo-container {
    text-align: center;
}

.section-reward .logo-container .logo {
    width: 10.125rem;
    height: auto;
    margin-bottom: 2rem;
}

.section-reward .logo-container .cloud-left {
    position: absolute;
    top: -1.7rem;
    left: 1rem;
    z-index: 1;
    width: 38%;
}

.section-reward .logo-container .cloud-right {
    position: absolute;
    top: 3rem;
    right: 2rem;
    z-index: 1;
    width: 33%;
}

.section-reward .heading {
    font-size: 1.5rem;
    margin: 1rem auto;
    text-transform: uppercase;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    line-height: 2rem;
    color: #CA0000;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #FFFFFF;
    text-shadow: 0px 4px 4px #00000052,
    -1px 1px 0px #FFCC00;
    padding: 0 2rem;
}

.section-reward p {
    font-size: 1.25rem;
    color: #FFFFFF;
    font-weight: 400;
    padding: 0 2rem;
}

.section-reward .prize-img {
    max-height: 220px;
}

.section-reward .cta-container {
    position: relative;
    display: inline-block;
}

.section-reward .cta-container img {
    position: absolute;
    z-index: 2;
    left: -1.25rem;
    bottom: 0;
    width: 2.3rem;
    height: auto;
    pointer-events: none;
}

.section-reward .cta-button {
    text-transform: uppercase;
    font-size: 1rem;
    font-family: "Coiny", system-ui;
    color: #FFFFFF;
    font-weight: 400;
    border-radius: 1.25rem;
    padding: 10px 20px 5px 20px;
    border: 3px solid transparent;
    background-image: linear-gradient(270deg, #C41515 0%, #F25423 100%),
    linear-gradient(270deg, #EA5225 0%, #C71516 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.qr-overlay {
    display: none; /* Ẩn mặc định */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Nền đen mờ */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.qr-large {
    width: 80%;
    max-width: 350px;
    border: 10px solid white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/*Animation*/
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-10.59vh);
    }
}

@keyframes slideOutToTop {
    0% {
        transform: translateY(0);
        filter: brightness(1);
    }

    100% {
        transform: translateY(-30%);
        filter: brightness(0.5);
    }
}

@keyframes floatLeftToRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(1.5rem);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-6.25rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(6.25rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(100px);
    }
}

@keyframes zoomInFade {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes autoPress3D {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 6px 0 #b91c1c;
    }

    50% {
        transform: translateY(6px);
        box-shadow: 0 0 0 #b91c1c;
    }
}

@keyframes tearDownAndDarken {
    0% {
        transform: translateY(0);
        filter: brightness(1);
    }

    100% {
        transform: translateY(110vh);
        filter: brightness(0.4);
    }
}

@keyframes tearDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(110vh);
    }
}

@keyframes bounceAlpha {
    0% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }

    25% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    26% {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }

    55% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.cloud {
    animation: floatLeftToRight 3s ease-in-out infinite alternate;
}

.animate-fly-left {
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-fly-right {
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
}

.animate-fly-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-box-zoom {
    opacity: 0;
    animation: zoomInFade 0.8s ease-out forwards;
}

.animate-auto-press-3d {
    animation: autoPress3D 1.5s ease-in-out infinite;
}

.animate-bounce-alpha {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/*Carousel*/
.carousel-inner {
    height: 37vh;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: auto !important;
    height: 100% !important;
    margin: 0 auto;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 1rem auto;
    position: relative;
}

.carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: transparent !important;
    border: 2px solid #c9302c !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    border-top: 0;
    border-bottom: 0;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #c9302c !important;
}

.carousel-caption {
    position: relative;
    right: unset;
    bottom: unset;
    left: unset;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #cc2b1e;
    -webkit-text-stroke: 5px white;
    paint-order: stroke fill;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

/*Cat tearing*/
.tear-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    overflow: visible;
    transform: translateY(0);
    will-change: transform, filter;
}

.tear-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(45deg, transparent 33.333%, white 33.333%, white 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, white 33.333%, white 66.667%, transparent 66.667%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 0;
    filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.3));
}

.dark-page-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.8;
    z-index: 2;
    transition: opacity 1.5s ease-in;
    pointer-events: none;
}

.cat-tearing-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    pointer-events: none;
    z-index: 10000;
}

.cat-tearing {
    width: 100%;
    height: auto;
    display: block;
}

body.animating .tear-overlay {
    animation: tearDownAndDarken 1.5s ease-in forwards;
}

body.animating .cat-tearing-wrapper {
    animation: tearDown 1.5s ease-in forwards;
}

body.animating .dark-page-container::after {
    opacity: 0;
}

/*.darker {*/
/*    opacity: 0.5;*/
/*    transition: all 0.4s ease;*/
/*}*/
