.bg-overlay,
.bg-poster,
.bg-video {
    position: fixed;
    inset: 0;
    pointer-events: none
}

.hero,
body {
    min-height: 100vh
}

.hero-slogan,
.intro-card h3,
.intro-section h2,
.navtab-section h2 {
    font-family: UnifrakturCook, 'Noto Serif TC', serif
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #0a0e1b;
    color: #ecd9c6;
    font-family: 'Noto Sans TC', UnifrakturCook, serif
}

html {
    scroll-behavior: smooth
}

.bg-poster,
.bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0
}

.bg-poster {
    display: none
}

.bg-overlay {
    z-index: 1;
    background: radial-gradient(circle at 60% 30%, rgba(255, 88, 20, .06) 0, rgba(0, 0, 0, .62) 70%, #02060f 100%)
}

.hero,
.main-btn {
    z-index: 2;
    position: relative
}

.hero,
.hero-scroll-down a,
.scroll-down {
    pointer-events: auto
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.hero-logo {
    width: 460px;
    max-width: 90vw;
    margin: 0 auto 18px;
    display: block;
    /* filter: drop-shadow(0 0 16px #26d2ffcc) drop-shadow(0 0 7px #2c8eff99) drop-shadow(0 0 3px #fff7); */
    border-radius: 0;
    background: 0 0;
    box-shadow: none;
    transition: filter .24s, transform .18s;
}

/* .hero-logo:hover{filter: drop-shadow(0 0 22px #25e3ffe0) drop-shadow(0 0 12px #2c8effbb) drop-shadow(0 0 5px #fff6); transform: scale(1.04) rotate(-1deg);} */
.dl-btn,
.main-btn {
    display: flex;
    text-decoration: none;
    transition: .18s;
    cursor: pointer
}

.hero-slogan {
    margin-top: 10px;
    margin-bottom: 28px;
    font-size: 1.38rem;
    color: #d3f3ff;
    /* 銀白藍光 */
    text-shadow: 0 2px 18px #225abfbb, 0 1px 22px #1e9edcff, 0 0 10px #fff9;
    font-weight: 700;
    user-select: none;
}

.main-btn {
    overflow: visible;
    min-width: 250px;
    font-size: 2.5rem
}

.main-btn::before,
.dl-btn::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
    filter: blur(8px) brightness(1.13);
    background: radial-gradient(circle, #21f2ff55 0%, #2699ff22 65%, transparent 100%);
    opacity: .48;
    animation: 2.2s cubic-bezier(.68, -.55, .27, 1.55) infinite alternate btnGlowBlue;
}

@keyframes btnGlowBlue {

    0%,
    100% {
        opacity: .28;
        filter: blur(11px) brightness(1);
    }

    60% {
        opacity: .92;
        filter: blur(18px) brightness(1.13);
    }
}

.dl-btn {
    min-width: 180px;
    margin: 0 8px 0 0
}

.dl-btn,
.main-btn {
    align-items: center;
    justify-content: center;
    padding: 17px 42px;
    border-radius: 12px;
    font-family: 'Noto Serif TC', 'Noto Sans TC', UnifrakturCook, serif;
    font-weight: 900;
    letter-spacing: 2.5px;
    background: linear-gradient(115deg, #0c1d37 28%, #0ab5ff30 82%, #60eaff20 100%);
    border: 2.3px solid #31b7ff;
    color: #eaf7ff;
    box-shadow: 0 0 8px #00e1ffd0, 0 0 18px #19366788 inset;
    margin: 0 8px 0 0;
    position: relative;
    transition: all 0.2s;
}

.dl-btn:hover,
.main-btn:hover {
    background: linear-gradient(118deg, #19d0ff 20%, #00aaff 94%, #fff 100%);
    color: #191c26;
    box-shadow: 0 0 28px #37e8ffcc, 0 0 38px #b7f7ff66;
    filter: brightness(1.15);
    transform: scale(1.045);
    border-color: #19d0ff;
}

.dl-wrap {
    margin: 28px 0 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 15
}

.dl-btn,
.intro-card .link-btn {
    align-items: center;
    overflow: hidden
}

.dl-btn {
    gap: 8px;
    padding: 11px 29px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-family: 'Noto Serif TC', serif;
    font-weight: 800;
    background: linear-gradient(115deg, #0c1d37 28%, #0ab5ff30 82%, #60eaff20 100%);
    border: 2.3px solid #31b7ff;
    color: #eaf7ff;
    box-shadow: 0 0 8px #00e1ffd0, 0 0 18px #19366788 inset;
    position: relative
}

.dl-btn__icon {
    font-size: 1.18em;
    filter: drop-shadow(0 2px 7px #3fdfffbb);
}

/* .dl-btn:hover{background: #ff3b00; color: #1b0f0b; box-shadow: 0 0 16px #ff8300cc; filter: brightness(1.11); transform: scale(1.045)} */
.scroll-down {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 30;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity .25s;
    cursor: pointer;
    display: block
}

.arrow-outer,
.footer-logo,
.intro-card,
.intro-section {
    position: relative
}

.scroll-down-arrow {
    color: #24e0ff;
    /* 亮藍色主色，可改成你喜歡的藍色 */
    font-size: 2.2rem;
    text-shadow: 0 2px 14px #0a0e1b, 0 2px 22px #13d4ff99, 0 1px 7px #fff;
}

#scrollDownBtn.hide,
.scroll-down.hide {
    opacity: 0;
    pointer-events: none
}

.intro-section {
    background: #131c28ee;
    padding: 74px 5vw 68px;
    margin-top: -10vh;
    min-height: 1vh;
    z-index: 5;
    box-shadow: 0 -12px 26px #000b;
    border-radius: 48px 48px 0 0/16px 16px 0 0
}

.intro-section h2 {
    text-align: center;
    font-size: 2.05rem;
    margin-bottom: 22px;
    letter-spacing: .1em;
    color: #85e7ff;
    /* 主色亮藍 */
    text-shadow: 0 2px 14px #193d5f,
        /* 深藍陰影 */
        0 2px 22px #31c9ff66,
        /* 冷藍柔光 */
        0 0 10px #fff9;
    /* 白色微光提亮 */
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 42px 38px;
    max-width: 1020px;
    margin: 0 auto
}

.intro-card {
    background: linear-gradient(114deg, #191d2a 70%, #201a18 100%);
    border-radius: 19px;
    box-shadow: 0 3px 24px #090d19b8, 0 0 1px #fff2 inset;
    padding: 34px 26px 24px;
    text-align: left;
    color: #ffe7cc;
    min-height: 170px;
    border: 1.5px solid #292f48
}

.intro-card .link-btn,
.link-btn-row {
    color: #ffe9b4;
    box-shadow: 0 2px 8px #0a183388;
    font-weight: 800;
    text-decoration: none
}

.intro-card h3 {
    font-size: 1.23rem;
    margin-top: 0;
    color: #ffb347;
    margin-bottom: 10px;
    letter-spacing: .07em
}

.intro-card ul {
    margin: 0 0 0 18px;
    padding: 0;
    font-size: 1rem;
    line-height: 1.7
}

.intro-card img {
    width: 100%;
    max-width: 288px;
    border-radius: 14px;
    margin-top: 18px;
    box-shadow: 0 2px 12px #222b
}

.footer-logo {
    width: 100%;
    display: flex;
    /* 這一行最重要！ */
    flex-direction: column;
    /* 垂直排列 */
    align-items: center;
    /* 水平置中 */
    text-align: center;
    background: #131c28ee;
    padding: 36px 0 42px;
    z-index: 7;
    border-top: 2.5px solid #312717;
}

.hero-scroll-down {
    margin-top: 50px;
    text-align: center;
    width: 100%;
    pointer-events: none
}

.hero-scroll-down a {
    display: inline-block;
    text-decoration: none
}

.arrow-outer {
    display: inline-block;
    filter: drop-shadow(0 0 20px #21e4ff77);
    /* 淡藍外暈 */
   /* animation: 2.2s ease-in-out infinite glowBlue;*/
}

@keyframes glowBlue {

    0%,
    100% {
        filter: drop-shadow(0 0 16px #21e4ff77);
    }

    60% {
        filter: drop-shadow(0 0 34px #23a3ffcc);
    }
}

.scroll-down-arrow {
    display: block;
    margin: 0 auto;
    animation: 1.6s infinite bounce;
    filter: drop-shadow(0 0 14px #29d3ffbb);
    color: #38d6ff;
    /* 箭頭主體顏色亮藍 */
    font-size: 2.2rem;
    /* 如有需要可調整 */
    transition: filter .22s;
}

.arrow-outer:hover .scroll-down-arrow {
    filter: brightness(1.7) drop-shadow(0 0 32px #aef7ffff);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-18px)
    }
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px #ff7b0030)
    }

    50% {
        filter: drop-shadow(0 0 36px #ffd48888)
    }
}

.arrow-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #aaffff 0%, #23d7ff 55%, transparent 100%);
    opacity: .82;
    pointer-events: none;
    animation: 2s infinite sparkMove;
    box-shadow: 0 0 14px 5px #32cfff66, 0 0 6px 2px #fff7;
}

.arrow-spark.s1 {
    left: 3px;
    top: 19px;
    animation-delay: .2s
}

.arrow-spark.s2 {
    right: 5px;
    top: 14px;
    animation-delay: .9s
}

.arrow-spark.s3 {
    left: 21px;
    top: 2px;
    animation-delay: 1.3s
}

.arrow-spark.s4 {
    right: 20px;
    top: 34px;
    animation-delay: .6s
}

@keyframes sparkMove {

    0%,
    100% {
        opacity: .7;
        transform: scale(1)
    }

    60% {
        opacity: .3;
        transform: scale(.75)
    }
}

.intro-card .links-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none
}

.intro-card .link-btn {
    display: flex;
    font-size: 1.17rem;
    background: linear-gradient(90deg, #19222e 60%, #1e374d 100%);
    border: 2px solid #ffd07b55;
    border-radius: 12px;
    padding: 16px 32px 16px 18px;
    transition: background .18s, color .15s, box-shadow .17s;
    position: relative;
    letter-spacing: 1.5px
}

.intro-card .link-btn:hover {
    background: linear-gradient(90deg, #38280e 20%, #ffae1b 100%);
    color: #1c1507;
    border-color: #ffd682;
    box-shadow: 0 0 20px #ffc77499
}

.intro-card .link-btn .link-icon {
    font-size: 1.35em;
    margin-right: 18px;
    color: #ffd269;
    filter: drop-shadow(0 1px 8px #ffcc0060)
}

.intro-card .link-desc {
    display: block;
    color: #fffae0bb;
    font-size: .97em;
    margin-top: 5px;
    margin-left: 38px;
    letter-spacing: 0
}

.link-btn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #182230 65%, #223141 100%);
    border: 2px solid #ffd07b33;
    border-radius: 14px;
    padding: 16px 30px;
    margin-bottom: 2px;
    font-size: 1.23rem;
    transition: background .15s, color .15s, box-shadow .17s;
    position: relative
}

.link-btn-row:hover {
    background: linear-gradient(90deg, #39280e 18%, #ffb927 100%);
    color: #1c1507;
    border-color: #ffd682;
    box-shadow: 0 0 20px #ffc77488
}

.link-btn-row .link-icon {
    font-size: 1.23em;
    margin-right: 18px;
    color: #ffe197;
    filter: drop-shadow(0 1px 8px #ffe19744)
}

.link-btn-row .link-title {
    flex: 0 1 auto;
    font-size: 1.13em;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-right: 18px;
    white-space: nowrap
}

.link-btn-row .link-desc-side {
    flex: 1 1 auto;
    text-align: right;
    font-size: .98em;
    color: #fff1caa0;
    opacity: .89;
    font-weight: 500;
    letter-spacing: .3px;
    margin-left: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.navtab-section {
    padding: 48px 6vw 46px;
    background: linear-gradient(145deg, #121826e0 0, #1c2330e8 80%, #30270e35 100%);
    box-shadow: 0 8px 46px #000b, 0 2px 22px #23221a33;
    border: 1.5px solid #ffe6a028;
    position: relative;
    z-index: 10
}

.navtab-section h2 {
    color: #88d6ff;
    /* 藍色主色，清爽明亮 */
    font-size: 1.45rem;
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: .06em;
    text-shadow: 0 2px 16px #114a6a80,
        /* 深藍柔光陰影 */
        0 0 10px #42e6ff55,
        /* 藍光擴散柔光 */
        0 0 5px #fff6;
    /* 白色提亮，增加能量感 */
}

.navtab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1800px;
    margin: 0 auto
}

.navtab-card {
    background: linear-gradient(108deg, #1e2838 70%, #262e39 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px #19253325;
    border: 1.5px solid #ffe6a022;
    transition: box-shadow .16s, border-color .18s
}

.navtab-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 16px 20px;
    text-decoration: none;
    color: #ffecbf;
    font-weight: 700;
    font-size: 1.13rem;
    border-radius: 12px;
    transition: background .19s, color .15s, box-shadow .18s
}

.navtab-label {
    font-size: 1.14em;
    margin-bottom: 5px;
    color: #fff5cf
}

.navtab-desc {
    font-size: .96em;
    color: #ffe7baaf;
    opacity: .82;
    margin-top: 2px
}

.navtab-link:hover {
    background: linear-gradient(90deg, #ffd481 0, #ffb927 100%);
    color: #2a1400 !important
}

.navtab-link:hover .navtab-label {
    color: #2a1400 !important;
    font-weight: 900;
    text-shadow: 0 2px 12px #fffbe911
}

.navtab-link:hover .navtab-desc {
    color: #6e4300 !important;
    opacity: .82
}

@media (max-width:700px) {

    .bg-video,
    .dl-wrap {
        display: none !important
    }

    .bg-poster {
        display: block !important;
        filter: brightness(.5) grayscale(.1) blur(.4px)
    }

    .intro-section {
        padding: 52px 5vw 48px
    }

    .intro-grid {
        gap: 23px 12px
    }

    .intro-card {
        padding: 18px 10px 16px;
        min-height: 120px
    }

    .footer-logo img {
        max-width: 320px
    }

    .hero-scroll-down {
        margin-top: 32px
    }

    .link-btn-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 16px;
        font-size: 1.03rem
    }

    .link-btn-row .link-desc-side {
        margin: 3px 0 0;
        text-align: left;
        width: 100%;
        white-space: normal
    }

    .navtab-section {
        padding: 16px 0;
        border-radius: 10px;
        max-width: 100vw
    }

    .navtab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 2vw;
        max-width: 100vw
    }

    .navtab-card,
    .navtab-link {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box
    }
}

.footer-logo h1 {
    display: inline-block;
    font-size: 2.35em;
    font-family: 'Noto Sans TC', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 auto 14px auto;
    padding: 0.11em 0.48em;
    /* 魔法藍光漸層字 */
    background: linear-gradient(93deg, #d0f6ff 8%, #7de1ff 45%, #31b7ff 70%, #226b8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 柔和藍光暈與深藍描邊 */
    text-shadow: 0 2px 8px #194a68aa,
        /* 深藍柔描邊 */
        0 0 14px #42e6ff77,
        /* 藍色柔光暈 */
        0 0 2.5px #f8fdffff;
    /* 白藍細亮邊 */
    filter: brightness(1.13);
    transition: color 0.16s, text-shadow 0.19s;
}

.dark-badge {
    display: inline-block;
    font-weight: 900;
    padding: 9px 24px;
    border-radius: 18px;
    font-size: 1.65em;
    letter-spacing: 2px;
    color: #c9f4ff;
    background: linear-gradient(90deg, #184968 30%, #212a3b 100%);
    border: 2px solid #3ad6ff;
    box-shadow: 0 0 10px 2px #45e5ff80, 0 0 40px 8px #72e7f980, 0 1.5px 8px #0a2d38;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dark-badge.badge-online {
    background: linear-gradient(90deg, #1ba8c9 10%, #23505f 100%);
    border-color: #51eaff;
    box-shadow: 0 0 20px 4px #43fff977, 0 2px 8px #00e4ff70;
    color: #f4feff;
}

.dark-badge.badge-upcoming {
    background: linear-gradient(90deg, #47d8ff 0%, #184968 100%);
    border-color: #fffcd2;
    box-shadow: 0 0 22px 5px #fffbe677, 0 2px 12px #35d8ff85;
    color: #fffbe4;
}

/* 手機字體縮小 */
@media (max-width:600px) {
    .dark-badge {
        font-size: 0.98em;
        padding-left: 8vw;
        padding-right: 8vw;
    }
}

.dark-badge-area {
    margin: 18px 0 8px 0;
    text-align: center;
}