@charset "UTF-8";

/* 耀才11.11狂賞 2026 (based on summer-offer-2026.css) */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    color: #333;
    background: #fff;
    font-family: "Microsoft JhengHei", "PingFang HK", "Noto Sans TC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

img {
    border: 0;
}

.special-page {
    width: 100%;
    overflow: hidden;
}

.special-container {
    width: 92%;
    max-width: 920px;
    margin: 0 auto;
}

/* ---------- A. Hero / Banner ---------- */

.special-hero {
    position: relative;
    width: 100%;
    background-color: #021531;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.special-hero-registration {
    min-height: 0;
    background-image: none;
}

.special-hero-picture {
    position: static;
    display: block;
    width: 100%;
}

.special-hero-banner {
    display: block;
    width: 100%;
    height: auto;
}

/* Banner and form box share one grid cell: the box sits on top of the banner,
   and the hero is always at least as tall as the box (so it can never be clipped,
   even if the banner image is missing or shorter than the box). */
.special-hero-registration {
    display: grid;
}

.special-hero-registration > .special-hero-picture,
.special-hero-registration > .special-hero-inner {
    grid-area: 1 / 1;
}

.special-hero-registration .special-hero-inner {
    position: relative;
    z-index: 1;
}

.special-hero-confirmation {
    min-height: 0;
    height: auto;
    background-image: none;
}

.special-hero-inner {
    width: 100%;
    max-width: none;
    min-height: inherit;
    margin: 0 auto;
    padding: 18px 2.5%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* ---------- Registration form card ---------- */

.special-form-card {
    scroll-margin-top: 110px;
    width: 510px;
    max-width: 100%;
    padding: 13px 18px 15px;
    background: rgba(255, 255, 255, .98);
    border-radius: 22px;
    box-shadow: 0 5px 20px rgba(0, 52, 86, .22);
    margin-right: 14%;
    margin-bottom: 1%;
    transition: box-shadow .3s ease;
}

.special-form-card.is-highlight {
    box-shadow: 0 0 0 4px #ff7a00, 0 5px 20px rgba(0, 52, 86, .22);
}

.special-form-title {
    margin: 0 0 9px;
    color: #bd0000;
    font-size: 23px;
    line-height: 1.25;
    text-align: center;
}

.special-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 0 6px;
}

.special-form-row label,
.special-form-label {
    display: block;
    width: 92px;
    height: 36px;
    flex: 0 0 92px;
    margin: 0;
    padding: 0 8px;
    color: #444;
    background: #e7e7e7;
    border: 1px solid #c9c9c9;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
}

.special-form-row-sms label {
    color: #444;
}

.special-input,
.special-form-row input[type="text"] {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    color: #222;
    background: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 2px;
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
}

.special-form-row > .special-input,
.special-form-row > .special-phone,
.special-form-row > .special-captcha-row,
.special-form-row > .special-otp-row {
    min-width: 0;
    flex: 1 1 0;
}

.special-input:focus,
.special-form-row input[type="text"]:focus {
    border-color: #008fb0;
    outline: 2px solid rgba(0, 169, 194, .18);
}

.special-phone {
    display: flex;
    width: 100%;
}

.special-region {
    position: relative;
    flex: 0 0 auto;
}

.special-region-selected {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 8px;
    background: #f4f4f4;
    border: 1px solid #b8b8b8;
    border-right: 0;
    cursor: pointer;
}

.special-region-selected img,
.special-region-list img {
    width: 24px;
    height: 16px;
    margin-right: 6px;
}

.special-region-code {
    display: inline-block;
    margin-right: 6px;
    color: #075b7a;
    font-size: 12px;
    font-weight: 700;
}

.special-region-arrow {
    color: #555;
    font-size: 10px;
}

.special-region-list {
    display: none;
    position: absolute;
    top: 36px;
    left: 0;
    z-index: 30;
    min-width: 190px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    list-style: none;
}

.special-region-list.open {
    display: block;
}

.special-region-list li {
    display: flex;
    align-items: center;
    padding: 9px 10px;
    color: #333;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
}

.special-region-list li:hover {
    background: #eefaff;
}

.special-dial-code {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 7px;
    color: #444;
    background: #f4f4f4;
    border-top: 1px solid #b8b8b8;
    border-bottom: 1px solid #b8b8b8;
    font-size: 13px;
    line-height: 34px;
    cursor: pointer;
}

.special-phone .special-input {
    min-width: 0;
    flex: 1 1 auto;
}

.special-captcha-row,
.special-otp-row {
    display: flex;
    align-items: stretch;
}

.special-captcha-image {
    width: 112px;
    height: 36px;
    flex: 0 0 112px;
    object-fit: cover;
    border: 1px solid #b8b8b8;
    border-right: 0;
}

.special-captcha-row .special-input,
.special-otp-row .special-input {
    min-width: 0;
    flex: 1 1 auto;
}

.special-otp-button {
    min-width: 128px;
    height: 36px;
    padding: 4px 10px;
    color: #fff;
    background: #ff7a00;
    border: 1px solid #ff7a00;
    border-radius: 2px 0 0 2px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.special-otp-row .special-input {
    border-left: 0;
}

.special-form-note {
    width: calc(100% - 92px);
    margin: 3px 0 0 92px;
    color: #666;
    font-size: 11px;
    line-height: 1.45;
}

.special-error {
    display: block;
    width: calc(100% - 92px);
    min-height: 0;
    margin: 2px 0 0 92px;
    color: #c00;
    font-size: 11px;
    line-height: 1.35;
}

.special-form-card > .special-error {
    width: 100%;
    margin-left: 0;
    text-align: center;
}

.special-submit {
    display: block;
    width: 132px;
    height: 36px;
    margin: 9px auto 0;
    color: #fff;
    background: #ff7a00;
    border: 0;
    border-radius: 3px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- Confirmation page: 恭喜您 block ---------- */

.special-congrats-block {
    padding: 30px 0 34px;
    background: #ffffff;
    text-align: center;
}

.special-congrats-title {
    margin: 0 0 6px;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.special-congrats-sub {
    margin: 0;
    color: #ec5f27;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.special-congrats-amount {
    margin: 4px 0 0;
    color: #ec5f27;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.special-congrats-amount strong {
    font-size: 64px;
    font-weight: 700;
    vertical-align: -4px;
}

/* ---------- Offer sections B–E ---------- */

.special-section {
    padding: 32px 0 36px;
    text-align: center;
}

.special-section-dark {
    background: #021531;
}

.special-section-light {
    background: #fbfbf9;
}

.special-section .special-container {
    max-width: 720px;
}

.special-section-link {
    display: block;
}

.special-section-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.special-section-frame {
    position: relative;
}

/* Clickable area over the 「立即登記」 drawn in the image (bottom part of each image).
   Tune per section if needed, e.g. style="height: 20%". */
.special-section-hotspot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 25%;
    cursor: pointer;
}

.special-section-hotspot:focus-visible {
    outline: 3px solid #ff7a00;
    outline-offset: -3px;
}

/* No registration form on the confirmation page */
.special-confirmation-page .special-section-hotspot {
    display: none;
}

.special-mobile-copy {
    display: none;
}

/* ---------- 領取獎賞方法 (confirmation page) ---------- */

.special-reward {
    padding: 30px 0 38px;
    background: #fff;
}

.special-reward .special-container,
.special-terms .special-container {
    max-width: 700px;
}

.special-reward h2 {
    margin: 0 0 24px;
    color: #ff7a00;
    font-size: 24px;
    text-align: center;
    text-decoration: underline;
}

.special-reward-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
}

.special-reward-step-download {
    padding-bottom: 26px;
    border-bottom: 1px solid #ddd;
}

.special-reward-step-code {
    padding-top: 24px;
    flex-wrap: wrap;
}

.special-step-number {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: #fff;
    background: #ff7a00;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

.special-reward-copy {
    min-width: 0;
    flex: 1 1 0;
    font-size: 17px;
    line-height: 1.7;
}

.special-reward-copy strong {
    color: #ff7a00;
}

.special-reward-image {
    display: block;
    width: 145px;
    max-width: 100%;
    height: auto;
}

.special-qr-link {
    display: block;
    width: 145px;
    flex: 0 0 145px;
}

.special-guide-wrap {
    width: 100%;
    padding-left: 44px;
    text-align: center;
}

.special-guide-image {
    width: 300px;
    margin: 14px auto 0;
}

/* ---------- 條款及細則 ---------- */

.special-terms {
    padding: 34px 0 42px;
    color: #555;
    background: #f0f0f0;
}

.special-terms h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.special-terms p,
.special-terms li {
    font-size: 14px;
    line-height: 1.75;
}

.special-terms ul {
    margin: 0;
    padding-left: 22px;
}

.special-disclaimer-list li {
    margin-bottom: 10px;
}

.special-disclaimer-list a {
    color: #0066cc;
    text-decoration: underline;
}

/* ---------- Existing-client modal / loading ---------- */

.special-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(0, 0, 0, .55);
    align-items: center;
    justify-content: center;
}

.special-modal.open {
    display: flex;
}

.special-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 470px;
    padding: 30px 28px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .28);
    text-align: center;
}

.special-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #fff;
    background: #8bd8f7;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 64px;
    text-align: center;
}

.special-modal-message {
    margin: 0 0 22px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
}

.special-modal-close {
    min-width: 100px;
    padding: 9px 20px;
    color: #fff;
    background: #ff7a00;
    border: 0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}

.special-loading {
    display: none;
    position: fixed;
    z-index: 1100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .72);
    align-items: center;
    justify-content: center;
}

.special-loading.open {
    display: flex;
}

.special-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #d6edf5;
    border-top-color: #008fb0;
    border-radius: 50%;
    animation: special-spin .8s linear infinite;
}

@keyframes special-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Desktop scaling of the form overlay (unchanged from summer) ---------- */

@media (max-width: 1600px) {
    .special-hero-registration .special-hero-inner {
        padding: 1.125vw 2.5vw;
    }

    .special-form-card {
        width: 31.875vw;
        padding: .8125vw 1.125vw .9375vw;
        border-radius: 1.375vw;
    }

    .special-form-title {
        margin-bottom: .5625vw;
        font-size: clamp(14px, 1.4375vw, 23px);
    }

    .special-form-row {
        margin-bottom: .375vw;
    }

    .special-form-row label,
    .special-form-label {
        width: 5.75vw;
        height: 2.25vw;
        flex-basis: 5.75vw;
        padding-right: .5vw;
        padding-left: .5vw;
        font-size: clamp(10px, .9375vw, 15px);
        line-height: 2.125vw;
    }

    .special-input,
    .special-form-row input[type="text"] {
        height: 2.25vw;
        padding: .375vw .625vw;
        font-size: clamp(10px, .9375vw, 15px);
        line-height: 1.375vw;
    }

    .special-region-selected {
        height: 2.25vw;
        padding-right: .5vw;
        padding-left: .5vw;
    }

    .special-region-selected img,
    .special-region-list img {
        width: 1.5vw;
        height: 1vw;
        margin-right: .375vw;
    }

    .special-region-list {
        top: 2.25vw;
    }

    .special-dial-code {
        height: 2.25vw;
        padding-right: .4375vw;
        padding-left: .4375vw;
        font-size: clamp(9px, .8125vw, 13px);
        line-height: 2.125vw;
    }

    .special-captcha-image {
        width: 7vw;
        height: 2.25vw;
        flex-basis: 7vw;
    }

    .special-otp-button {
        min-width: 8vw;
        height: 2.25vw;
        padding: .25vw .625vw;
        font-size: clamp(9px, .8125vw, 13px);
    }

    .special-form-note {
        width: calc(100% - 5.75vw);
        margin-top: .1875vw;
        margin-left: 5.75vw;
        font-size: clamp(8px, .6875vw, 11px);
    }

    .special-error {
        width: calc(100% - 5.75vw);
        margin-top: .125vw;
        margin-left: 5.75vw;
        font-size: clamp(8px, .6875vw, 11px);
    }

    .special-form-card > .special-error {
        width: 100%;
        margin-left: 0;
    }

    .special-submit {
        width: 8.25vw;
        height: 2.25vw;
        margin-top: .5625vw;
        font-size: clamp(10px, .9375vw, 15px);
    }
}

/* ---------- Tablet & mobile: registration box drops below the banner (mobile version) ---------- */

@media (max-width: 900px) {
    .special-hero-registration {
        display: block;
        min-height: 0;
        padding-top: 0;
    }

    .special-hero-registration .special-hero-inner {
        position: static;
        width: 100%;
        min-height: 0;
        padding: 0;
        display: block;
    }

    .special-form-card {
        width: 100%;
        padding: 18px 5% 22px;
        border-radius: 0;
        box-shadow: none;
        margin-right: 0;
        margin-bottom: 0;
    }

    .special-form-card.is-highlight {
        box-shadow: inset 0 0 0 4px #ff7a00;
    }

    .special-form-title {
        margin-bottom: 9px;
        font-size: 24px;
    }

    .special-form-row {
        margin-bottom: 6px;
    }

    .special-form-row label,
    .special-form-label {
        width: 84px;
        height: 36px;
        flex-basis: 84px;
        padding: 0 5px;
        font-size: 14px;
        line-height: 34px;
    }

    .special-input,
    .special-form-row input[type="text"] {
        height: 36px;
        padding: 6px 10px;
        font-size: 15px;
        line-height: 22px;
    }

    .special-region-selected {
        height: 36px;
        padding: 0 8px;
    }

    .special-region-selected img,
    .special-region-list img {
        width: 24px;
        height: 16px;
        margin-right: 6px;
    }

    .special-region-list {
        top: 36px;
    }

    .special-dial-code {
        height: 36px;
        padding: 0 7px;
        font-size: 13px;
        line-height: 34px;
    }

    .special-error,
    .special-form-note {
        width: calc(100% - 84px);
        margin-left: 84px;
        font-size: 11px;
    }

    .special-form-note {
        margin-top: 3px;
    }

    .special-error {
        margin-top: 2px;
    }

    .special-form-card > .special-error {
        width: 100%;
        margin-left: 0;
    }

    .special-otp-button {
        min-width: 112px;
        height: 36px;
        padding: 4px 6px;
        font-size: 12px;
    }

    .special-captcha-image {
        width: 100px;
        height: 36px;
        flex-basis: 100px;
    }

    .special-submit {
        width: 132px;
        height: 36px;
        margin-top: 9px;
        font-size: 15px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 580px) {
    .special-congrats-block {
        padding: 24px 0 28px;
    }

    .special-congrats-title {
        font-size: 22px;
    }

    .special-congrats-sub,
    .special-congrats-amount {
        font-size: 26px;
    }

    .special-congrats-amount strong {
        font-size: 48px;
    }

    .special-section {
        padding: 26px 0 30px;
    }


    .special-desktop-copy {
        display: none;
    }

    .special-mobile-copy {
        display: inline;
    }

    .special-reward {
        padding: 26px 0 32px;
    }

    .special-reward h2 {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .special-reward-step {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .special-reward-step-code {
        flex-wrap: wrap;
    }

    .special-step-number {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 16px;
        line-height: 28px;
    }

    .special-reward-copy {
        font-size: 16px;
    }

    .special-reward-image {
        width: 105px;
        margin: 0;
    }

    .special-qr-link {
        width: 105px;
        flex: 0 0 105px;
    }

    .special-guide-wrap {
        padding-left: 38px;
    }

    .special-guide-image {
        width: 240px;
        max-width: 85%;
        margin: 12px auto 0;
    }
}
