* {
    box-sizing:border-box;
}

body {
    margin:0;
    background:radial-gradient(ellipse at top,#142b3b,#030507 65%);
    color:white;
    font-family:Arial,sans-serif;
}

main {
    max-width:760px;
    margin:auto;
    background:#080b10;
    box-shadow:0 0 65px #000;
}

img {
    display:block;
    width:100%;
    height:auto;
}

.notice {
    text-align:center;
    padding:8px;
    font-size:11px;
    letter-spacing:1.5px;
    color:#ffe4a1;
    background:#101010;
}

.records {
    padding:1% 2% 2%;
    background:linear-gradient(145deg,#071321,#010305 55%,#46300c);
}

.screens {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1.5%;
}

.screen {
    background:#fff;
    color:#20252c;
    border:2px solid #f6d77b;
    border-radius:12px;
    box-shadow:0 0 9px #e7a52d80;
    overflow:hidden;
    padding:5%;
    font-size:clamp(5px,1.15vw,9px);
    min-height:0;
    aspect-ratio:0.62;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.screen strong {
    font-size:1.1em;
}

.screen em {
    font-style:normal;
    color:#657181;
    font-size:.85em;
}

.trade {
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #e5e8eb;
    padding:3% 0;
}

.trade span:last-child {
    color:#2661a0;
}

.records p {
    text-align:center;
    font-size:clamp(7px,1.5vw,11px);
    color:#f6d77b;
    margin:9px 0 0;
    letter-spacing:.5px;
}

.clock,.contact {
    position:relative;
}

/* Countdown: aligned to the original 1280 x 290 artwork. */
.clock {
    container-type: inline-size;
}

.digits {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.digits span {
    position: absolute;
    top: 44%;
    width: 13.5%;
    height: 37%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0c0a08, #090806);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.3cqw;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.045em;
}

.digits span::before {
    content: attr(data-value);
    background: linear-gradient(180deg, #fff9e9 8%, #ffe8b9 42%, #e8b967 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 0 #a97836) drop-shadow(0 0 3px #d9a04b44);
}

.digits span {
    color: transparent;
    font-size: 10.3cqw;
}

.digits span::before {
    position: absolute;
}

#hours {
    left: 22.5%;
}

#minutes {
    left: 43.2%;
}

#seconds {
    left: 64.1%;
}

.contact button {
    position:absolute;
    left:38%;
    top:0;
    width:24%;
    height:96%;
    border:0;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
    transition:box-shadow .2s,transform .2s;
}

.contact button:hover,.contact button:focus-visible {
    box-shadow:0 0 30px #42ff57;
    outline:2px solid #baffb8;
}

.contact button:active {
    transform:scale(.94);
}

.bottom {
    text-align:center;
    padding:18px 8px 22px;
    background:linear-gradient(145deg,#191209,#060606);
    border:2px solid #b68a42;
    color:#ffe0a0;
    font-size:clamp(18px,4vw,30px);
    font-weight:bold;
    font-style:italic;
}

.bottom small {
    display:block;
    font-size:11px;
    font-style:normal;
    font-weight:normal;
    margin-top:8px;
    color:#ddd;
}



.countdown-demo-label {
    position: absolute;
    top: 3%;
    left: 2%;
    color: #ffe4a1;
    font-size: 1.6cqw;
    z-index: 1;
}


/* 底部金属渐变文字 */
.bottom span {
    display: inline-block;

    background: linear-gradient(
        180deg,
        #fff9e8,
        #ffe2a0,
        #d9a341
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    font-weight: 900;
    font-style: italic;
}

/* ==========================================
   底部黑金金属边框
   ========================================== */

.bottom {
    position: relative;
    isolation: isolate;

    width: 88%;
    margin: 15px auto 25px;
    padding: 22px 5%;

    text-align: center;

    background: linear-gradient(
        180deg,
        #fff1bb 0%,
        #b77a25 15%,
        #56330c 45%,
        #fff0b3 52%,
        #8b5215 85%,
        #ffdb85 100%
    );

    clip-path: polygon(
        6% 0,
        94% 0,
        100% 50%,
        94% 100%,
        6% 100%,
        0 50%
    );
}


/* 第一层：黑色金属背景 */

.bottom::before {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -2;

    background: linear-gradient(
        180deg,
        #30271b 0%,
        #100e0b 15%,
        #030303 50%,
        #080706 85%,
        #35210c 100%
    );

    clip-path: inherit;
}


/* 第二层：内部金色细边框 */

.bottom::after {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: -1;

    background: linear-gradient(
        180deg,
        #d6a34f,
        #15100a 5%,
        #030303 50%,
        #100b05 95%,
        #d6a34f
    );

    clip-path: inherit;
}


/* 主标题 */

.bottom span {
    display: block;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(16px, 4.3vw, 34px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;

    color: #fff9ed;

    text-shadow:
        0 2px 3px #000,
        0 0 8px #ffffff22;
}


/* WhatsApp 金属渐变文字 */

.bottom strong {
    font-weight: 900;

    background: linear-gradient(
        180deg,
        #fff5d7 0%,
        #ffdf9a 40%,
        #d7a34d 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
    text-shadow: none;
}


/* 第二行文字 */

.bottom-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 5px;

    color: #ffe8b7;

    font-size: clamp(14px, 3.5vw, 27px);
    font-weight: 500;
    font-style: italic;
}


/* 第二行左右两条金色装饰线 */

.bottom-subtitle::before,
.bottom-subtitle::after {
    content: "";

    width: 18%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffe6ad
    );
}

.bottom-subtitle::after {
    transform: rotate(180deg);
}


/* Demo 状态文字 */

.bottom small {
    display: block;
    margin-top: 8px;

    color: #bdb5a7;
    font-size: 10px;
    font-style: normal;
    font-weight: normal;
}


/* 手机版适配 */

@media (max-width: 600px) {

    .bottom {
        width: 94%;
        margin: 10px auto 18px;
        padding: 15px 6%;
    }

    .bottom::before {
        inset: 2px;
    }

    .bottom::after {
        inset: 5px;
    }

    .bottom-subtitle {
        gap: 10px;
    }

}

.click-hand {
    position: absolute;

    width: 58%;
    height: auto;

    right: -30%;
    bottom: -5%;

    z-index: 10;

    pointer-events: none;

    filter:
        drop-shadow(0 3px 2px rgba(0, 0, 0, 0.8))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.demo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    animation: demo-pulse 2s infinite;
}

.demo-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes demo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
    .demo-dot {
        animation: none;
    }
}