/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
html, body {
    height: 100%;
    overflow: hidden;
}
body {
    background: url(/wp-content/uploads/2025/09/bg-golden.jpg);
    background-size: cover;
    background-position: center; 
}
.full-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    padding: 20px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.WMT-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.WMT-right img {object-fit: fill;}
.WMT-left {text-align: center;}
#cc-code-input {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    min-height: 92px;
    padding: 18px 24px;
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
    letter-spacing: .2px;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, .6);
    background: linear-gradient(145deg, #e8c46a 0%, #bc9333 45%, #8d6b10 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -8px 24px rgba(0, 0, 0, .25), 0 2px 10px rgba(0, 0, 0, .25);
    outline: none;
    border-image: none;
    -webkit-appearance: none;
    appearance: none;
    transition: transform .06s 
ease, box-shadow .2s 
ease, filter .2s 
ease;
}
/* Placeholder nhạt, dễ đọc */
#cc-code-input::placeholder{
  color: #fff !important;
}
#cc-code-input:hover{
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 -10px 26px rgba(0,0,0,.28),
    0 4px 14px rgba(0,0,0,.28);
}
#cc-code-input:focus{
  box-shadow:
    0 0 0 3px rgba(255,255,255,.28),
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 -10px 26px rgba(0,0,0,.28);
}
#cc-code-input:active{transform: translateY(1px);}
.cc-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.qs-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.qs-box button {margin-right: 0;}
#cc-code-input::placeholder {
    opacity: 0.8;
    color: #d6cfa8;
}
button:hover {transform: translateY(-5px);}
.war-img img {
    width: 150px;
    margin-bottom: 20px;
}
.cc-content h3, .cc-v-prize-text .h1 {
    font-size: 68px;
    font-weight: 700;
    background: linear-gradient(107deg, #facc15, #fff0b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-transform: capitalize;
    margin-bottom: 24px;
}
.cc-content p {
    font-size: 27px;
    color: #fff;
    letter-spacing: -0.1px;
    margin-bottom: 0;
}
.cc-content h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}
.cc-v-prize-text {text-align: center;}
.cc-v-prize-text .cc-actions {
    width: 50%;
    position: relative;
    margin: 20px auto 0;
    text-align: center;
    top: 0;
    right: 0;
}
.labelGd {
    color: #fff;
    font-size: 21px;
}
.bg-gt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
}
.cc-v .cc-body {position: relative;}
.cc-v .cc-body p {
    color: #fff;
    font-size: 30px;
    margin-bottom: 3px;
}
.cc-prizeBox {
    text-transform: capitalize;
    background-color: #00000096;
    border-radius: 50px;
    border: 1px solid #facc15;
    padding: 15px 20px;
    width: fit-content;
    margin: 0 auto 10px;
}
.cc-dim {
    font-size: 26px;
    color: #facc15;
}
.cc-code-line {
    color: #fff;
    font-size: 22px;
    margin-top: 6px;
}
.cc-code-val {color: #facc15;}
.note, .labelSpin {
    color: #fff;
    font-size: 17px;
}
.result-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #fff;
    font-size: 25px;
}
.cc-table td code {color: #000;}
.cc-table td {color: #fff;}

@media (min-width: 1200px) {
    .WMT-left {
        width: 851px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 992px) {
    .cc-spin-box {margin-bottom: 36px;}
    body {background: url(/wp-content/uploads/2025/09/bgwmtop.jpg);}
    #cc-code-input {width: 60%;}
    .WMT-layout {justify-content: inherit;}
    .wmt-title {margin: 0 auto 100px;}
    .full-screen {padding: 0;}
    .title-qs img {width: 72%;}
    .note {
        margin: 0 auto;
        margin-top: 8%;
        max-width: 70%;
    }
    .page-template-page-home #cc-check-btn img {width: 62%;}
    #cc-code-input {font-size: 32px;}
    .labelSpin {
        font-size: 50px;
        font-weight: 700;
    }
}
@media (max-width: 767px) {
    .wmt-title img {
        width: 34%;
        margin-bottom: 19px;
    }
    #cc-code-input {
        min-height: 50px;
        font-size: 18px;
    }
    .cc-v-prize-text {padding: 10px;}
    .cc-v img {height: 100%;}
    .cc-v-prize-text .h1 {
        font-size: 30px;
        margin-bottom: 3px;
    }
    .cc-v .cc-body p, .labelGd {font-size: 16px;}
    .cc-dim {
        padding: 10px;
        font-size: 14px;
    }
    .cc-code-line {font-size: 18px;}
    .note {font-size: 11px;}
    .title-qs {padding: 0 15px;}
    .cc-actions {right: -23%;}
    body.page-template-page-home .cc-btn img {width: 50%;}
}