html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    font-family: 'Noto Sans TC', Arial, sans-serif;
    background: #101626;
    overflow-x: hidden;
    color: #f4f8ff;
}

.bg-video {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.62) grayscale(0.06) blur(0.5px);
    background: #13203a;
    background-size: cover;
    transition: opacity 0.3s;
}

.video-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0, rgba(0, 0, 0, 0.70) 95%);
    pointer-events: none;
}

.hero-section {
    position: relative;
    z-index: 3;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-mt {
    width: 450px;
    max-width: 80vw;
    margin-bottom: 36px;
    filter: drop-shadow(0 0 8px #ffe08255) drop-shadow(0 0 24px #fffbe850) drop-shadow(0 2px 12px #222a4b44);
    background-color: transparent;
}

.center-btn-group {
    margin-bottom: 38px;
}

.main-btn-svg {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: filter 0.18s;
}

.main-btn-svg svg {
    width: 540px;
    max-width: 95vw;
    display: block;
}

.main-btn-svg .svg-btn-text {
    pointer-events: none;
    transition: filter 0.2s;
}

.main-btn-svg:hover .svg-btn-text {
    filter: url(#glow-hover);
}

.scroll-down {
    margin-top: 12px;
    cursor: pointer;
    animation: arrow-down-float 2s infinite;
    transition: opacity 0.22s;
    opacity: 0.86;
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes arrow-down-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(16px);
    }
}

.download-group {
    position: absolute;
    top: 36px;
    right: 36px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-end;
    pointer-events: auto;
}

.dl-btn,
.dl-btn:hover,
.dl-btn:focus {
    text-decoration: none !important;
}

.dl-btn {
    background: linear-gradient(180deg, #36220b 50%, #db9506 100%);
    border: 3.5px solid #ffd46b;
    color: #fffbe6;
    border-radius: 18px;
    font-weight: bold;
    font-size: 1.32em;
    padding: 20px 36px;
    min-width: 168px;
    box-shadow: 0 4px 18px #de7e0e66, 0 0 18px #ffe08244 inset;
    margin: 0;
    text-align: center;
    text-shadow: 0 3px 8px #865f2cbb, 0 0 8px #fff7c2bb;
    transition: background 0.17s, box-shadow 0.19s, color 0.15s, border 0.18s;
    cursor: pointer;
    outline: none;
    display: inline-block;
    letter-spacing: 2.2px;
    position: relative;
    overflow: hidden;
}

.dl-btn:hover {
    background: linear-gradient(180deg, #ffb217 10%, #ffed8a 100%);
    color: #432c01;
    border-color: #fffbe6;
    box-shadow: 0 12px 32px #ffd46baa, 0 0 24px #f9e47e88 inset;
    text-shadow: 0 2px 10px #fffbe699, 0 0 16px #ffd46b;
}

@media (max-width: 700px) {
    .download-group {
        display: none !important;
    }
}

.intro-section {
    z-index: 999;
    position: relative;
    width: 100vw;
    padding: 78px 0 56px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px;
    justify-items: center;
    box-sizing: border-box;
}

.intro-card {
    background: #232947;
    border-radius: 22px;
    padding: 46px 22px 38px 22px;
    min-width: 350px;
    max-width: 450px;
    box-shadow: 0 2px 18px #19203588;
    border: 3px solid #ffd046cc;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.21s, transform 0.16s;
    cursor: pointer;
    position: relative;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    word-break: break-all;
}

.intro-card-title {
    color: #ffd046;
    font-size: 2.1em;
    font-weight: 900;
    opacity: 1;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px #ffe082bb, 0 0 6px #fff7c266;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.intro-card-title svg {
    margin-right: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px #ffd04655);
}

.intro-card-desc {
    font-size: 1.14em;
    color: #f8fafd;
    opacity: 0.98;
    line-height: 1.6;
    letter-spacing: 1.2px;
    margin-top: 3px;
    font-weight: 500;
}

.intro-card:hover {
    border-color: #ffe082;
    box-shadow: 0 8px 36px #ffd04660, 0 0 30px #ffe08233 inset;
    transform: translateY(-6px) scale(1.038);
    background: rgba(45, 55, 80, 1);
}

@media (max-width: 1100px) {
    .intro-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .intro-section {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 36px 0 18px 0;
        width: 100vw;
        box-sizing: border-box;
    }

    .intro-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 20px 8px;
        margin: 0 auto 16px auto;
        border-radius: 18px;
    }

    .intro-card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 900px) {
    .download-group {
        top: 18px;
        right: 2vw;
        gap: 10px;
    }

    .logo-mt {
        width: 140px;
    }

    .main-btn {
        font-size: 1.15em;
        padding: 12px 24px;
    }
}

@media (max-width: 700px) {
    .logo-mt {
        width: 88vw;
    }

    .hero-section {
        min-height: 420px;
    }

    .center-btn-group {
        top: 38vh;
    }
}

.center-btn-group a {
    opacity: 0.85;
    transform: scale(1);
    transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1), transform 0.34s cubic-bezier(.4, 0, .2, 1), filter 0.4s;
}

.center-btn-group a:hover {
    opacity: 1;
    transform: scale(1.13);
    filter: brightness(1.34) drop-shadow(0 0 36px #ffd04688);
}

.nav-tab-section {
    position: relative;
    padding: clamp(40px, 8vw, 100px) 5vw;
    z-index: 5;
}

.nav-tab-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 12, 20, .88) 0%, rgba(10, 12, 20, .68) 100%);
    pointer-events: none;
    z-index: 0;
}

.nav-tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.nav-tab-card {
    position: relative;
    width: 240px;
    text-decoration: none;
    color: #ffffff;
    isolation: isolate;
    opacity: 0;
    transform: translateY(30px);
    animation: tabIn .6s cubic-bezier(.25, .9, .35, 1.15) forwards;
    animation-delay: var(--delay);
    z-index: 7;
}

@keyframes tabIn {
    to {
        opacity: 1;
        transform: none;
    }
}

.nav-tab-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 12px;
    background: linear-gradient(130deg, #fffbe6 0%, #ffd046 40%, #bb9420 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: filter .4s;
}

.nav-tab-inner {
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    padding: 32px 24px 28px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform .4s;
}

.nav-tab-label {
    font-family: 'ZaoZiGongFangLiHeiTi', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.nav-tab-desc {
    font-size: .92rem;
    line-height: 1.5;
    color: #ffd046;
    white-space: pre-line;
}

.nav-tab-card:hover .nav-tab-inner {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(255, 208, 70, .35);
}

.nav-tab-card:hover::before {
    filter: blur(4px);
}

@media (max-width: 700px) {
    .nav-tab-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        padding-inline: 0;
    }

    .nav-tab-card {
        width: 100%;
    }
}

.hero__bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.hero__bg--mobile {
    display: none;
}

@media (max-width:700px) {
    .hero__bg--desktop {
        display: none !important;
    }

    .hero__bg--mobile {
        display: block !important;
    }
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 6;
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: clamp(20px, 5vw, 40px);
    font-size: clamp(1.25rem, 4vw, 2em);
    box-sizing: border-box;
}

.footer img {
    width: clamp(350px, 30vw, 450px);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px #1116;
}

@media (max-width: 700px) {
    .footer img {
        width: 100%;
        max-width: 95%;
        height: auto;
    }
}

.footer h1 {
    display: inline-block;
    font-size: 2.0em;
    font-family: 'Noto Sans TC', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.13em;
    margin: 0 auto 18px auto;
    padding: 0.08em 0.55em;
    background: linear-gradient(92deg, #fffbe1 0%, #ffe2a0 40%, #ffd047 70%, #ecb12c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 金色光暈＋黑色描邊 */
    text-shadow: 0 2px 4px #26201277,
        /* 微黑邊 */
        0 0 10px #ffd04799, 0 0 22px #ffb30055, 0 0 1px #fff3b5;
    filter: brightness(1.12);
    transition: color 0.14s, text-shadow 0.17s;
}

@keyframes motower-glow {
    0% {
        filter: brightness(1.05) drop-shadow(0 0 4px #ffde7b99);
    }

    55% {
        filter: brightness(1.14) drop-shadow(0 0 13px #ffe6a0cc);
    }

    100% {
        filter: brightness(1.05) drop-shadow(0 0 4px #ffde7b99);
    }
}

.dt-badge {
    display: inline-block;
    font-weight: 900;
    font-size: 1.55em;
    letter-spacing: 2px;
    padding: 10px 26px;
    border-radius: 18px;
    color: #fff5d6;
    background: linear-gradient(90deg, #622e04 0%, #ae6600 60%, #f8b122 100%);
    border: 2px solid #ffb82e;
    box-shadow: 0 0 12px 2px #ffb52e77, 0 0 38px 10px #ff7e1540, 0 2px 8px #da5c0f88;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.dt-badge.badge-online {
    /* 開機狀態：亮烈焰黃橘 */
    background: linear-gradient(90deg, #c97c14 0%, #ffdf68 100%);
    border-color: #ffe7a0;
    color: #402d11;
    box-shadow: 0 0 18px 4px #ffd27080, 0 2px 12px #ffb65755;
}

.dt-badge.badge-upcoming {
    /* 即將開機/今晚開機：閃爍橘+火光 */
    background: linear-gradient(90deg, #ffcc52 0%, #ff8d24 100%);
    border-color: #ffe891;
    color: #402d11;
    box-shadow: 0 0 22px 7px #fffbca88, 0 2px 12px #ff964355;
}

/* 響應式：手機字體更小 */
@media (max-width:600px) {
    .dt-badge {
        font-size: 0.98em;
        padding-left: 7vw;
        padding-right: 7vw;
    }
}
