/* 全站基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #101722;
    color: #ffffff;
    font-family:
        "Microsoft JhengHei",
        "Noto Sans TC",
        Arial,
        sans-serif;
    line-height: 1.7;
}

/* 首頁目前的測試內容 */
body > h1,
body > p {
    width: min(1120px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

body > h1 {
    margin-top: 100px;
    color: #f5c451;
    font-size: 48px;
    line-height: 1.3;
}

body > p {
    margin-top: 20px;
    color: #e5e7eb;
    font-size: 18px;
}

/* 手機版 */
@media (max-width: 768px) {
    body > h1 {
        margin-top: 60px;
        font-size: 32px;
    }

    body > p {
        font-size: 16px;
    }
}

/* 網站頂部導覽列 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 16, 25, 0.96);
    border-bottom: 1px solid #d9a441;
}

.nav-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: 210px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.desktop-nav a {
    position: relative;
    padding: 30px 0;
    color: #f9fafb;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #f5c451;
}

.desktop-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
    background: #f59e0b;
    content: "";
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #f5c451;
    font-size: 32px;
    cursor: pointer;
}

/* 首頁測試內容 */
.intro-preview {
    width: min(1120px, calc(100% - 40px));
    margin: 100px auto;
}

.intro-preview h1 {
    color: #f5c451;
    font-size: 48px;
    line-height: 1.3;
}

.intro-preview p {
    margin-top: 20px;
    color: #e5e7eb;
    font-size: 18px;
}

/* 導覽列手機版 */
@media (max-width: 768px) {
    .nav-container {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .site-logo img {
        width: 150px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .intro-preview {
        margin: 60px auto;
    }

    .intro-preview h1 {
        font-size: 32px;
    }

    .intro-preview p {
        font-size: 16px;
    }
}

/* 最新中獎動態 */
.winner-ticker {
    background:
        linear-gradient(
            90deg,
            rgba(67, 38, 5, 0.96),
            rgba(25, 20, 12, 0.98)
        );
    border-bottom: 1px solid #d9a441;
}

.ticker-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.ticker-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #f5c451;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.ticker-demo {
    color: #d1d5db;
    font-size: 12px;
    font-weight: 400;
}

/* 中獎訊息水平跑馬燈 */
.ticker-message-wrap {
    position: relative;
    min-width: 0;
    flex: 1;
    height: 26px;
    overflow: hidden;
}

#winner-message {
    position: absolute;
    top: 0;
    left: 100%;
    width: max-content;
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 26px;
    white-space: nowrap;
    animation: winner-scroll 9s linear infinite;
}

.winner-ticker:hover #winner-message {
    animation-play-state: paused;
}

@keyframes winner-scroll {
    from {
        left: 100%;
        transform: translateX(0);
    }

    to {
        left: 0;
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .ticker-container {
        width: calc(100% - 24px);
        min-height: 46px;
        gap: 12px;
    }

    .ticker-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    .ticker-demo {
        padding-left: 20px;
        font-size: 11px;
    }

    #winner-message {
        font-size: 13px;
        animation-duration: 7s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-container {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ticker-message-wrap {
        height: auto;
    }

    #winner-message {
        position: static;
        width: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        animation: none;
        transform: none;
    }
}

/* 首頁主視覺Banner */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 13, 22, 0.98) 0%,
            rgba(7, 13, 22, 0.88) 34%,
            rgba(7, 13, 22, 0.25) 65%,
            rgba(7, 13, 22, 0.08) 100%
        ),
        url("images/hero-slot.png");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid rgba(217, 164, 65, 0.5);
}

.hero-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.hero-content {
    width: min(570px, 100%);
}

.hero-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #f5c451;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 1px;
}

.hero h1 {
    color: #fff4d1;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.22;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.hero p {
    max-width: 540px;
    margin-top: 22px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.9;
}

.hero-button {
    display: inline-flex;
    min-height: 52px;
    margin-top: 30px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f6b51b, #f07800);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(240, 120, 0, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(240, 120, 0, 0.35);
}

/* Banner手機版 */
@media (max-width: 768px) {
    .hero {
        min-height: 520px;
        align-items: flex-end;
        padding: 70px 0 48px;
        background-image:
            linear-gradient(
                180deg,
                rgba(7, 13, 22, 0.18) 0%,
                rgba(7, 13, 22, 0.78) 47%,
                rgba(7, 13, 22, 0.98) 76%
            ),
            url("images/hero-slot.png");
        background-position: 68% center;
    }

    .hero-container {
        width: calc(100% - 32px);
    }

    .hero-content {
        width: 100%;
    }

    .hero-label {
    margin-bottom: 14px;
    font-size: 16px;

}
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.75;
    }

    .hero-button {
        width: 100%;
        margin-top: 24px;
    }
/* 修正電腦版Banner文字與按鈕 */
.hero h1 {
    font-size: clamp(48px, 4vw, 62px);
}

.hero-button {
    width: auto;
}

/* 手機版維持原本設定 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-button {
        width: 100%;
    }
}

/* 放大Banner介紹文字 */
.hero p {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.9;
}

/* 放大Banner按鈕 */
.hero-button {
    min-height: 58px;
    padding: 0 34px;
    font-size: 30px;
}

/* 電子老虎機遊戲怎麼選 */
.game-choice {
    padding: 58px 0 48px;
    background: #ffffff;
    color: #111827;
}

.choice-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.choice-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.choice-heading h2 {
    position: relative;
    padding-bottom: 14px;
    font-size: 32px;
    line-height: 1.35;
}

.choice-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: #f59e0b;
    content: "";
    transform: translateX(-50%);
}

.choice-heading p {
    margin-top: 22px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
}

.choice-links {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.choice-item {
    min-height: 82px;
    padding: 12px 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 1px solid #d1d5db;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.choice-item:last-child {
    border-right: 0;
}

.choice-item:hover {
    color: #e97900;
    transform: translateY(-2px);
}

.choice-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    font-size: 27px;
}

.choice-icon-text {
    font-size: 14px;
    font-weight: 900;
}

.choice-arrow {
    margin-left: auto;
    font-size: 28px;
    font-weight: 400;
}

/* 遊戲選擇區手機版 */
@media (max-width: 768px) {
    .game-choice {
        padding: 42px 0 32px;
    }

    .choice-container {
        width: calc(100% - 28px);
    }

    .choice-heading h2 {
        font-size: 27px;
    }

    .choice-heading p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.8;
    }

    .choice-links {
        margin-top: 28px;
        grid-template-columns: repeat(3, 1fr);
    }

    .choice-item {
        min-width: 0;
        min-height: 110px;
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        font-size: 14px;
        text-align: center;
    }

    .choice-icon {
        width: 46px;
        height: 46px;
        font-size: 23px;
    }

    .choice-icon-text {
        font-size: 12px;
    }

    .choice-arrow {
        display: none;
    }
}

/* 熱門遊戲推薦 */
.hot-games {
    padding: 72px 0 78px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(40, 57, 77, 0.55),
            transparent 45%
        ),
        #101722;
}

.hot-games-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading > span {
    color: #f5c451;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-heading h2 {
    position: relative;
    margin-top: 8px;
    padding-bottom: 14px;
    font-size: 34px;
    line-height: 1.35;
}

.section-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: #f59e0b;
    content: "";
}

.section-heading p {
    margin-top: 18px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.section-heading-light h2 {
    color: #ffffff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.72);
    border-radius: 16px;
    background: #17212e;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.game-card:hover {
    border-color: #f5c451;
    transform: translateY(-5px);
}

.game-card-image {
    aspect-ratio: 1 / 1;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle,
            rgba(245, 158, 11, 0.15),
            rgba(8, 14, 23, 0.95) 70%
        );
}

.game-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.04);
}

.game-card-content {
    padding: 22px;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
}

.game-platform {
    color: #f5c451;
    font-size: 14px;
    font-weight: 700;
}

.game-card h3 {
    margin-top: 7px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.45;
}

.game-card p {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
}

.game-card-link {
    display: inline-flex;
    margin-top: 17px;
    color: #ffb52e;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

/* 熱門遊戲手機版 */
@media (max-width: 768px) {
    .hot-games {
        padding: 52px 0 58px;
    }

    .hot-games-container {
        width: calc(100% - 28px);
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .game-card {
        border-radius: 12px;
    }

    .game-card-image {
        padding: 10px;
    }

    .game-card-content {
        padding: 14px;
    }

    .game-platform {
        font-size: 12px;
    }

    .game-card h3 {
        font-size: 17px;
    }

    .game-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .game-card-link {
        margin-top: 12px;
        font-size: 13px;
    }
}

/* 熱門電子平台 */
.platforms-section {
    padding: 68px 0 72px;
    background: #ffffff;
    color: #111827;
}

.platforms-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}

.platform-heading {
    max-width: 900px;
    margin: 0 auto 36px;
}

.platform-heading > span {
    color: #d97706;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.platform-heading h2 {
    position: relative;
    margin-top: 8px;
    padding-bottom: 14px;
    font-size: 34px;
    line-height: 1.35;
}

.platform-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: #f59e0b;
    content: "";
    transform: translateX(-50%);
}

.platform-heading p {
    margin-top: 20px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
}

.platform-strip {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    scrollbar-color: #f59e0b #f3f4f6;
    scrollbar-width: thin;
}

.platform-strip img {
    width: 100%;
    min-width: 1100px;
    height: auto;
    display: block;
}

.platform-scroll-hint {
    display: none;
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}

.platform-button {
    display: inline-flex;
    min-height: 52px;
    margin-top: 32px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #e78a00;
    border-radius: 999px;
    color: #d97706;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.platform-button:hover {
    background: #e78a00;
    color: #ffffff;
}

/* 電子平台手機版 */
@media (max-width: 768px) {
    .platforms-section {
        padding: 50px 0 56px;
    }

    .platforms-container {
        width: calc(100% - 28px);
    }

    .platform-heading {
        margin-bottom: 28px;
    }

    .platform-heading h2 {
        font-size: 28px;
    }

    .platform-heading p {
        font-size: 16px;
        line-height: 1.8;
    }

    .platform-strip {
        border-radius: 10px;
    }

    .platform-strip img {
        width: 1150px;
        min-width: 1150px;
    }

    .platform-scroll-hint {
        display: block;
    }

    .platform-button {
        width: 100%;
        margin-top: 24px;
    }
}

/* 電子平台 LOGO 網格 */
.platform-logo-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

/* 單一平台卡片 */
.platform-card {
    min-height: 150px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

/* 限制 LOGO 大小 */
.platform-card img {
    display: block;
    width: auto;
    max-width: 130px;
    height: 70px;
    object-fit: contain;
}

/* 平台名稱 */
.platform-card span {
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* 平板 */
@media (max-width: 900px) {
    .platform-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手機 */
@media (max-width: 600px) {
    .platform-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .platform-card {
        min-height: 125px;
        padding: 16px 8px;
    }

    .platform-card img {
        max-width: 105px;
        height: 55px;
    }

    .platform-card span {
        font-size: 14px;
    }
}

/* 關閉舊版平台橫向滾動 */
.platform-strip {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    border: 0;
}

/* 平台 4 × 4 排列 */
.platform-logo-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

/* 縮小卡片空白 */
.platform-card {
    width: auto;
    min-width: 0;
    min-height: 125px;
    padding: 14px 10px;
    box-sizing: border-box;
}

/* 統一 LOGO 尺寸 */
.platform-card img {
    width: 100%;
    max-width: 105px;
    height: 58px;
    object-fit: contain;
}

/* 平台名稱 */
.platform-card span {
    font-size: 15px;
}

/* 不再顯示滑動提示 */
.platform-scroll-hint {
    display: none;
}

/* 手機版維持一排兩個 */
@media (max-width: 600px) {
    .platform-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .platform-card {
        min-height: 110px;
        padding: 12px 8px;
    }

    .platform-card img {
        max-width: 90px;
        height: 50px;
    }
}

/* 平台區塊上方小標題 */
.platform-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #f28c00;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 2px;
}

/* 熱門老虎機攻略 */
.slot-tips-section {
    padding: 70px 0 76px;
    background: #f8fafc;
    color: #172033;
}

.slot-tips-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.slot-tips-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.slot-tips-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    color: #172033;
    font-size: 34px;
    line-height: 1.35;
}

.slot-tips-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: #f59e0b;
    content: "";
}

.slot-tips-heading p {
    margin: 18px 0 0;
    color: #5f6878;
    font-size: 17px;
    line-height: 1.8;
}

.slot-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.slot-tip-card {
    min-width: 0;
    min-height: 260px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e1e6ed;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 9px 25px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.slot-tip-card:hover {
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.11);
    transform: translateY(-4px);
}

.slot-tip-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 29px;
    font-weight: 900;
}

.slot-tip-icon-blue {
    background: #e8f2ff;
    color: #2563eb;
}

.slot-tip-icon-gold {
    background: #fff3d4;
    color: #c87800;
}

.slot-tip-icon-orange {
    background: #fff0df;
    color: #e8790a;
}

.slot-tip-icon-green {
    background: #e9f8ed;
    color: #16864b;
}

.slot-tip-content h3 {
    margin: 20px 0 0;
    color: #172033;
    font-size: 20px;
    line-height: 1.45;
}

.slot-tip-content p {
    margin: 11px 0 0;
    color: #606b7c;
    font-size: 15px;
    line-height: 1.75;
}

.slot-tips-reminder {
    margin-top: 22px;
    padding: 16px 19px;
    border-left: 4px solid #f59e0b;
    border-radius: 0 9px 9px 0;
    background: #fff8e8;
    color: #596273;
    font-size: 15px;
    line-height: 1.75;
}

.slot-tips-reminder strong {
    color: #bc6900;
}

/* 攻略區平板版 */
@media (max-width: 950px) {
    .slot-tips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slot-tip-card {
        min-height: 230px;
    }
}

/* 攻略區手機版 */
@media (max-width: 600px) {
    .slot-tips-section {
        padding: 52px 0 58px;
    }

    .slot-tips-container {
        width: calc(100% - 28px);
    }

    .slot-tips-heading {
        margin-bottom: 27px;
    }

    .slot-tips-heading h2 {
        font-size: 28px;
    }

    .slot-tips-heading p {
        font-size: 16px;
    }

    .slot-tips-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .slot-tip-card {
        min-height: 0;
        padding: 20px 18px;
    }

    .slot-tip-icon {
        width: 52px;
        height: 52px;
        font-size: 25px;
    }

    .slot-tip-content h3 {
        margin-top: 16px;
        font-size: 19px;
    }

    .slot-tip-content p {
        font-size: 14px;
    }

    .slot-tips-reminder {
        font-size: 14px;
    }
}

/* 電子老虎機 FAQ */
.slot-faq-section {
    width: 100%;
    padding: 68px 0 74px;
    box-sizing: border-box;
    background: #ffffff;
    color: #172033;
}

.slot-faq-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.slot-faq-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.slot-faq-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 15px;
    color: #172033;
    font-size: 34px;
    line-height: 1.35;
}

.slot-faq-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: #f59e0b;
    content: "";
    transform: translateX(-50%);
}

.slot-faq-heading p {
    margin: 18px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.8;
}

.slot-faq-list {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 12px;
}

.slot-faq-item {
    overflow: hidden;
    border: 1px solid #e2e7ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.slot-faq-item summary {
    min-height: 62px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.slot-faq-item summary::-webkit-details-marker {
    display: none;
}

.slot-faq-item summary::marker {
    display: none;
    content: "";
}

.slot-faq-item:hover {
    border-color: #f3b24c;
}

.slot-faq-item[open] {
    border-color: #f3b24c;
    box-shadow: 0 9px 24px rgba(245, 158, 11, 0.1);
}

.slot-faq-item[open] summary {
    color: #c66b00;
    background: #fffaf1;
}

.slot-faq-arrow {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3d9;
    color: #d97706;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.slot-faq-item[open] .slot-faq-arrow {
    transform: rotate(45deg);
}

.slot-faq-answer {
    padding: 0 20px 19px;
    border-top: 1px solid #f0f2f5;
    background: #ffffff;
}

.slot-faq-answer p {
    margin: 17px 0 0;
    color: #5f6979;
    font-size: 15px;
    line-height: 1.8;
}

/* FAQ 手機版 */
@media (max-width: 600px) {
    .slot-faq-section {
        padding: 50px 0 56px;
    }

    .slot-faq-container {
        width: calc(100% - 28px);
    }

    .slot-faq-heading {
        margin-bottom: 26px;
    }

    .slot-faq-heading h2 {
        font-size: 28px;
    }

    .slot-faq-heading p {
        font-size: 15px;
    }

    .slot-faq-item summary {
        min-height: 58px;
        padding: 14px 15px;
        gap: 12px;
        font-size: 15px;
    }

    .slot-faq-arrow {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 18px;
    }

    .slot-faq-answer {
        padding: 0 15px 16px;
    }

    .slot-faq-answer p {
        font-size: 14px;
    }
}

/* 網站頁尾 Footer */
.site-footer {
    width: 100%;
    padding: 55px 0 0;
    box-sizing: border-box;
    border-top: 1px solid rgba(245, 158, 11, 0.55);
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(245, 158, 11, 0.08),
            transparent 30%
        ),
        #101824;
    color: #cbd5e1;
}

.site-footer-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.35fr;
    gap: 34px;
    padding-bottom: 42px;
}

.footer-brand {
    padding-right: 24px;
}

.footer-logo {
    width: auto;
    max-width: 170px;
    height: 70px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p,
.footer-notice p {
    margin: 17px 0 0;
    color: #aeb8c7;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h3 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 11px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
}

.footer-column h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: #f59e0b;
    content: "";
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column a {
    color: #aeb8c7;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column a:hover {
    color: #fbbf24;
    transform: translateX(3px);
}

.footer-age {
    display: inline-flex;
    margin-top: 18px !important;
    padding: 7px 12px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 999px;
    color: #f7c45d !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.footer-bottom {
    min-height: 68px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-sizing: border-box;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-bottom p {
    margin: 0;
    color: #8995a7;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-bottom-links a {
    color: #8995a7;
    font-size: 13px;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #fbbf24;
}

/* 頁尾平板版 */
@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer-brand p {
        max-width: 600px;
    }
}

/* 頁尾手機版 */
@media (max-width: 600px) {
    .site-footer {
        padding-top: 42px;
    }

    .site-footer-container {
        width: calc(100% - 28px);
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 20px;
        padding-bottom: 34px;
    }

    .footer-brand,
    .footer-notice {
        grid-column: 1 / -1;
    }

    .footer-logo {
        max-width: 145px;
        height: 60px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-bottom {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* 放大頁尾 Logo */
.footer-logo {
    width: auto;
    height: 100px;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-logo {
        height: 80px;
    }
}

/* 手機版避免過大 */
@media (max-width: 600px) {
    .footer-logo {
        width: 220px;
        max-width: 100%;
    }

    .footer-brand {
        min-width: 0;
    }
}

/* 2026-09 分類與文章版型：單一內容寬度、3:1 分類橫幅 */
:root{--page-width:1200px;--page-gutter:24px;--ink:#14283c;--muted:#526477;--gold:#f7b72c;--line:#dbe3ec;--surface:#fff;--accent-ink:#945b0d;--accent-hover:#9d600e;--subtle-text:#627387;--count-bg:#fff3d9;--count-ink:#986007;--empty-bg:rgba(255,255,255,.86);--empty-line:#ccd6e1}
html{font-size:16px;scroll-padding-top:106px}
body{font-family:"Microsoft JhengHei","Noto Sans TC",Arial,sans-serif}
img{max-width:100%}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d5830b;outline-offset:4px}
.nav-container{width:min(var(--page-width),calc(100% - 48px));min-height:90px;gap:28px}
.site-logo{position:static;display:flex;align-items:center;flex:0 0 190px;width:190px;height:auto;min-width:0;padding:0;overflow:visible}
.site-logo img{position:static;display:block;width:190px;max-width:100%;height:auto;transform:none;object-fit:contain}
.desktop-nav{gap:30px}.desktop-nav a{font-size:18px;line-height:1.5;white-space:nowrap;padding:28px 0}
.menu-button{min-width:46px;min-height:46px}.site-header{position:sticky}
.content-shell{width:min(var(--page-width),calc(100% - 48px));margin-inline:auto}
.article-shell{width:min(860px,calc(100% - 48px));margin-inline:auto}
.latest-articles{padding:64px 0 72px;background:#f6f8fc;color:var(--ink)}
/* 內頁深色主題；首頁繼續使用根層淺色變數。 */
.listing-page,.article-page{--ink:#F5F1E8;--muted:#BCC7D6;--gold:#E9B949;--line:#334255;--surface:#172437;--accent-ink:#E9B949;--accent-hover:#F6D88B;--subtle-text:#BCC7D6;--count-bg:#293044;--count-ink:#E9B949;--empty-bg:#172437;--empty-line:#43516A;padding:24px 0 72px;color:var(--ink);background-color:#0B1422;background-image:radial-gradient(ellipse 860px 400px at 50% 120px,rgba(233,185,73,.085),transparent 78%);min-height:60vh}
/* 正文與說明頁使用暖白閱讀區，重設深色主題的文字變數。 */
.article-page>.article-shell,.listing-page>.article-shell{--ink:#14283c;--muted:#526477;--line:#dedbd3;--surface:#FAF8F3;--accent-ink:#8B5707;--accent-hover:#694005;--subtle-text:#627387;color:var(--ink)}
.listing-page :is(a,button,summary):focus-visible,.article-page :is(a,button,summary):focus-visible{outline-color:var(--accent-ink)}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px;font-size:18px;font-weight:600;line-height:1.65;color:var(--muted)}
.breadcrumbs a{color:var(--accent-ink);text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs [aria-current]{color:var(--ink)}
.category-header{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(22,42,63,.055)}
.category-banner{position:relative;isolation:isolate;aspect-ratio:3/1;min-height:0;display:flex;align-items:center;overflow:hidden;background:#081625;color:#F5F1E8}
.category-banner>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;z-index:-2}
.category-banner:after{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,11,19,.28),transparent 64%);content:"";z-index:-1}
.category-banner-copy{width:64%;padding:36px 48px;text-shadow:0 3px 18px rgba(0,0,0,.5)}
.category-banner-copy>span{display:block;color:#ffce79;font-size:17px;letter-spacing:.12em;font-weight:800;margin-bottom:14px}
.category-banner h1{font-size:clamp(46px,5.4vw,76px);font-weight:900;letter-spacing:.025em;line-height:1.2;margin:0 0 20px;white-space:nowrap}
.category-banner p{font-size:clamp(18px,1.6vw,22px);line-height:1.6;font-weight:700;color:#ffe0a0;max-width:540px}
.category-banner-caption{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:116px;padding:22px 26px;background:var(--surface)}
.category-banner-caption strong{font-size:27px;line-height:1.4}.category-banner-caption p{font-size:17px;line-height:1.7;margin-top:5px;color:var(--muted)}
.article-count{flex:none;border-radius:999px;padding:10px 17px;background:var(--count-bg);font-size:16px;color:var(--count-ink);font-weight:700;white-space:nowrap}
.category-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 34px}
.category-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:9px 20px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);text-decoration:none;font-size:17px;font-weight:700;box-shadow:0 4px 12px rgba(24,40,61,.035)}
.category-tabs a[aria-current],.category-tabs a:hover{background:var(--gold);border-color:var(--gold);color:#0f263d}
.content-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:14px;margin:0 0 22px}
.content-section-title h2{font-size:30px;line-height:1.4;margin:0;color:var(--ink)}.content-section-title p{font-size:16px;line-height:1.7;color:var(--subtle-text)}
.latest-articles .content-section-title{display:block}.latest-articles .content-section-title>span{color:#a36508;font-size:16px;font-weight:700}.latest-articles .content-section-title h2{margin:5px 0 8px}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.article-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 24px rgba(21,40,63,.04)}
.article-card-cover{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;background:#142536;color:#f9d38a;text-decoration:none;font-size:24px;font-weight:800}
.article-card-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.article-card-cover:hover img{transform:scale(1.025)}
.article-card-body{display:flex;flex:1;flex-direction:column;padding:22px}.article-meta{font-size:15px;font-weight:600;line-height:1.65;color:var(--accent-ink)}.article-card h3{font-size:23px;line-height:1.45;margin:10px 0 12px}.article-card h3 a{color:var(--ink);text-decoration:none}.article-card h3 a:hover{color:var(--accent-hover)}
.article-card p{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 18px}.article-more{margin-top:auto;font-size:17px;font-weight:700;color:var(--accent-ink);text-decoration:none}.all-articles,.article-back{display:inline-flex;margin-top:26px;color:var(--accent-ink);text-decoration:none;font-size:18px;font-weight:700}
.empty-state{margin:0;padding:30px;border:1px dashed var(--empty-line);border-radius:12px;background:var(--empty-bg);font-size:18px;line-height:1.8;color:var(--muted)}
.supporting-content{margin-top:42px}.supporting-content>h2{font-size:28px;color:var(--ink);margin:0 0 8px}.supporting-content>p{font-size:17px;color:var(--muted)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}.catalog-card{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);scroll-margin-top:106px}.catalog-card img{display:block;width:100%;height:200px;padding:18px;object-fit:contain;background:#172433}.catalog-card>div{padding:20px}.catalog-card span{font-size:15px;font-weight:700;color:var(--accent-ink)}.catalog-card h2{font-size:23px;line-height:1.5;color:var(--ink);margin:3px 0 8px}.catalog-card p{font-size:17px;line-height:1.8;color:var(--muted)}
.platform-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}.platform-catalog img{height:116px;background:white;padding:20px 25px}.platform-catalog h2{font-size:21px}.platform-catalog p{font-size:16px}
.article-top-banner{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:14px;aspect-ratio:3/1;background:#0b1826;margin:0 0 28px}
.article-top-banner>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.article-top-banner:after{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,12,23,.85),rgba(3,12,23,.48) 50%,transparent);content:""}
.article-banner-text{position:absolute;left:42px;right:42px;top:50%;transform:translateY(-50%);max-width:70%;z-index:1;color:#F5F1E8}.article-banner-text>span{font-size:18px;color:#ffd080;font-weight:700}.article-banner-text h1{font-size:clamp(32px,3.1vw,48px);line-height:1.35;margin-top:12px}
.article-page>.article-shell,.listing-page>.article-shell{padding:32px 40px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(22,42,63,.045)}
.article-heading{border-bottom:1px solid var(--line);padding-bottom:24px}.article-heading p{font-size:20px;line-height:1.85;color:var(--muted);margin-bottom:14px}.article-heading time{font-size:16px;color:#627387}
.article-content{padding:8px 0 26px;font-size:19px;line-height:1.95;color:#25384b;overflow-wrap:anywhere}.article-content h2{font-size:30px;line-height:1.45;margin:30px 0 14px}.article-content h3{font-size:24px;line-height:1.5;margin:25px 0 12px}.article-content p{margin-bottom:22px}.article-content ul,.article-content ol{padding-left:1.5em;margin:16px 0}.article-content a{color:#98600c}.article-content img{max-width:100%;height:auto}.article-content table{width:100%;border-collapse:collapse}.article-content th,.article-content td{padding:10px;border:1px solid var(--line)}
.article-end{padding:20px;border-left:3px solid #ec9a22;background:#fff8ea;color:#536279;font-size:17px;line-height:1.8}
/* 首頁遊戲圖片與介紹保持上下排列 */
.games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card{display:flex;flex-direction:column;min-width:0}.game-card-image{width:100%;flex:none;aspect-ratio:1/1}.game-card-content{width:100%;min-width:0;flex:1}.game-card-content h3,.game-card-content p{overflow-wrap:anywhere;writing-mode:horizontal-tb}
@media(max-width:1000px){.nav-container{gap:16px}.desktop-nav{gap:20px}.desktop-nav a{font-size:17px}.site-logo{flex-basis:166px;width:166px}.site-logo img{width:166px}.category-banner-copy{padding:28px}.category-banner h1{font-size:clamp(38px,5.6vw,62px)}.platform-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.article-banner-text{left:30px;right:30px}}
@media(max-width:800px){.desktop-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#111e2c;padding:10px 24px;flex-direction:column;align-items:stretch;gap:0;z-index:1000;border-bottom:1px solid #80602d}.desktop-nav.is-open{display:flex}.desktop-nav a{padding:14px 0;font-size:18px}.desktop-nav a.active:after{bottom:7px;width:40px;right:auto}.menu-button{display:block}.nav-container{min-height:78px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-banner{aspect-ratio:2.5/1}.category-banner-copy>span{font-size:15px;margin-bottom:10px}.category-banner p{font-size:17px}.category-banner-caption{padding:20px;min-height:100px}.category-banner-caption strong{font-size:24px}.category-banner-caption p{font-size:16px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-top-banner{aspect-ratio:2.4/1}.article-banner-text{max-width:78%}.article-banner-text h1{font-size:32px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html{scroll-padding-top:88px}.content-shell,.article-shell{width:calc(100% - 32px)}.nav-container{width:calc(100% - 32px);min-height:76px}.site-logo{width:156px;flex-basis:156px}.site-logo img{width:156px}.listing-page,.article-page{padding:18px 0 48px}.breadcrumbs{font-size:16px;gap:8px;line-height:1.7;margin-bottom:16px}.category-header{border-radius:12px}.category-banner{aspect-ratio:auto;min-height:0;flex-direction:column;align-items:stretch}.category-banner>img{position:relative;inset:auto;order:0;aspect-ratio:3/1;height:auto;object-fit:contain;object-position:center;z-index:0}.category-banner:after{display:none}.category-banner-copy{order:1;width:100%;padding:24px 22px;background:linear-gradient(115deg,#0a1827,#162b3c)}.category-banner h1{font-size:clamp(34px,8.6vw,48px);margin-bottom:14px;letter-spacing:0}.category-banner p{font-size:18px;max-width:94%;font-weight:600}.category-banner-copy>span{font-size:15px;letter-spacing:.04em}.category-banner-caption{flex-wrap:wrap;gap:14px;padding:20px}.category-banner-caption>div{flex:1 1 200px}.category-banner-caption strong{font-size:24px}.article-count{font-size:15px;padding:8px 14px}.category-tabs{gap:10px;margin:20px 0 28px}.category-tabs a{font-size:16px;padding:9px 16px;min-height:44px}.content-section-title{align-items:flex-start;gap:12px;margin-bottom:18px}.content-section-title h2{font-size:26px}.content-section-title p{font-size:15px;padding-top:6px}.article-grid{grid-template-columns:1fr;gap:20px}.article-card h3{font-size:22px}.article-card-body{padding:20px}.empty-state{padding:22px;font-size:17px}.supporting-content{margin-top:32px}.platform-catalog .catalog-card>div{padding:14px}.platform-catalog .catalog-card h2{font-size:20px}.platform-catalog .catalog-card p{font-size:16px}.platform-catalog img{height:98px;padding:15px}.catalog-card h2{font-size:21px}.catalog-card p{font-size:16px}.catalog-card>div{padding:16px}.article-top-banner{aspect-ratio:auto;min-height:0;margin-bottom:20px}.article-top-banner>img{aspect-ratio:3/1;height:auto;object-fit:contain;object-position:center}.article-top-banner:after{display:none}.article-banner-text{position:relative;max-width:none;left:auto;right:auto;top:auto;transform:none;padding:24px 22px;background:linear-gradient(115deg,#0a1827,#162b3c)}.article-banner-text h1{font-size:30px}.article-banner-text>span{font-size:17px}.article-page>.article-shell,.listing-page>.article-shell{padding:24px 22px}.article-heading p{font-size:19px}.article-content{font-size:18px}.article-content h2{font-size:27px}.article-content h3{font-size:23px}.article-end{font-size:16px}.all-articles,.article-back{font-size:17px}.latest-articles{padding:48px 0}.games-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.article-card-cover img,.game-card,.game-card-image img{transition:none}}
