:root{
  --bg: #eef5ff; 
  --bg-2:#0F2A55;
  --accent:#FFD24A;  
  --text:#FFFFFF;
  --muted:#AFC3E6;
  --otp:#FFB400; 
  --otp-disabled:#B8B8B8;
}

.hero-wrap {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 1000px;
}

.hero-img {
    width: 100%;
    max-width: 1200px;
    display: block;
}

.hero-ribbon small {
    display: block;
    font-weight: 500;
    margin-top: 4px;
}

.section-pad {
    padding: 15px 0;
}

.sec-title,
.sec-title--center{ color: var(--accent); }

.sec-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #933227 !important;
    margin-bottom: 15px;
}

.sec-title--center {
    text-align: center;
    font-weight: 600;
    color: #d97d07bd !important;
    margin-bottom: 16px;
}

.sec-title-first {
    border-bottom: 1px solid black;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.prize-card {
    border-radius: 14px;
}

.prize-card img {
    width: 100%;
    border-radius: 10px;
}

.form-wrap {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid #e8eef7;
    border-radius: 14px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.form-group .required::after {
    content: " *";
    color: #d00;
}

.error {
    color: #d00;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.captcha-img {
    display: block;
    width: 120px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.captcha-img:hover {
    border-color: #007bff;
}

.captcha-refresh-btn {
    display: inline-block;
    padding: 8px 12px;
    margin-left: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-refresh-btn:hover {
    background-color: #e9ecef;
    color: #007bff;
    text-decoration: none;
}

.captcha-refresh-btn i {
    font-size: 14px;
}


.form-actions {
    text-align: center;
    margin-top: 16px;
}

.btn-cta{
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 6px;
  display: inline-block;
}

.btn-cta:hover,
.btn-cta:focus{
  background: #E5C43E;     /* 比原色稍深，保持對比 */
  color: var(--bg);
  text-decoration: none;
}

.btn-otp{
  background: var(--otp);
  color: #222;
  border: none;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
}

.btn-otp:hover{ filter: brightness(0.95); color:#222; }
.btn-otp.is-disabled,
.btn-otp:disabled{
  background: var(--otp-disabled);
  color: #fff;
  cursor: not-allowed;
}

.passcodeBtn{
  padding: 7px;
  color: white;
  border-radius: 4px !important;
}

.acc-btn{
  width: 100%;
  text-align: left;
  background: linear-gradient(90deg, #0A2A86 0%, #1E7BFF 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  margin-bottom: 12px;
}

.acc-btn:hover,
.acc-btn:focus{
  filter: brightness(0.96);
  color: #fff;
}
.acc-btn .plus{ float:right; font-weight:900; color:#fff; }

.acc-body{
  background: #ffffff;
  border: 1px solid #E6EEF9;
  border-radius: 8px;
  padding: 16px;
}

.accordion .acc-btn {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 700;
}

.acc-body {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 10px;
    padding: 14px;
    margin: 0 0 18px;
}

.plus {
    float: right;
}

.footer {
    padding: 24px 0;
    text-align: center;
    color: #6b6b6b;
    font-size: 13px;
    border-top: 1px solid #eee;
    margin-top: 28px;
}

.form-wrap .radio-inline { margin-right: 16px; font-weight: 400; }
.form-wrap .radio-inline input[type=radio] {
  vertical-align: middle;
  margin-top: 2px;
}

body{
  background-color: var(--bg);
  color: var(--txt);
}

h1,h2,h3,h4,h5,.sec-title,.sec-title--center,.pc-title,
label.control-label{
  color: var(--txt);
}

.control-label{ color: #0031bd !important; font-weight:700; font-size: 18px; }

.pc-sub,.pc-desc,.text-muted,.error{
  color: var(--muted);
}

.prize-card{
  box-shadow: 3px 2px 3px rgba(0, 0, 0, 0.6);
}

.btn-cta{
  background: linear-gradient(#ffb44f,#ff8f1a);
  border: 0;
  color: #fff;
  width: 100%;
  margin-top: 30px;
}
.btn-cta:active,
.btn-cta:focus{ color:#fff; }

.btn-sms{
  background: var(--txt);
  border-color: var(--txt);
  color: #fff;
}
.btn-sms[disabled],
.btn-sms.disabled{
  background: #bdbdbd !important;
  border-color: #bdbdbd !important;
  color: #666 !important;
  cursor: not-allowed !important;
}

.form-wrap .radio-inline{ margin-right:16px; font-weight:400; }
.form-wrap .radio-inline input[type=radio]{ vertical-align: middle; margin-top:2px; }

.hero-wrap{ background: var(--bg); }

.help-hint{display:block;margin-top:4px;color:#7a7a7a;font-size:14px;line-height:1.4;}
.error{display:block;color:#d9534f !important;font-size:12px;margin-top:4px;}
.captcha-img{max-width:100%;height:auto;border:1px solid #e5e5e5;border-radius:6px;}

.acc-btn .plus:before {
    content: '＋';
    font-weight: bold;
    transition: all 0.3s ease;
}

.acc-btn[aria-expanded="true"] .plus:before {
    content: '－';
}

.acc-btn .plus {
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.acc-btn[aria-expanded="true"] .plus {
    transform: rotate(180deg);
}

.acc-btn .plus {
    transition: transform 0.3s ease;
}

.iti.iti--allow-dropdown.iti--show-flags {
    width: 100% !important;
}

.captcha-box{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  border-radius: 5px;
  background: linear-gradient(45deg, #FFA500, #0000FF);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 4px;
  user-select: none;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  width: 100%;
  max-width: 110px;
}

.section-1 {
    display: flex;
}

.section-2 {
    display: flex;
}

.prize-img2 {
    max-width:320px;
}

@media (max-width: 768px) {
    .section-1 {
        flex-direction: column;
        align-items:center;
    }

    .section-2 {
        flex-direction: column;
        align-items: center;
    }

    .prize-img {
        max-width: 400px;
    }

    .prize-img2 {
        max-width: 400px;
    }

@media (min-width: 1200px) {
    .container {
    width: 100%;
    max-width: 1000px;
  }
}

.btn:focus, .btn:active:focus{
  outline: none;
}