* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei", "å¾®è»Ÿæ­£é»‘é«”", Arial, sans-serif;
}
/* å…¨ç«™åœ–ç‰‡éŸ¿æ‡‰å¼è™•ç† */
img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

/* æ–‡ç« å…§å®¹å€åŸŸçš„åœ–ç‰‡ç‰¹åˆ¥è™•ç† */
.article-content img,
.list-content img,
.main-content img {
    display: block;
    margin: 15px auto;
    border-radius: 4px;
}

/* ç§»å‹•ç«¯ç‰¹åˆ¥è™•ç† */
@media (max-width: 768px) {
    img {
        width: auto;
        max-width: 100%;
        height: auto !important;
    }
    
    /* ç¢ºä¿å…§å®¹å€åŸŸçš„åœ–ç‰‡åœ¨ç§»å‹•ç«¯å®Œå…¨é©æ‡‰ */
    .article-content img,
    .list-content img,
    .main-content img {
        width: 100%;
    }
}
body {
    /* ä½¿ç”¨æ›´æ˜Žäº®çš„æ·±è“è‰²èƒŒæ™¯ï¼Œç»™äººæ¸…çˆ½æ„Ÿ */
    background-color: #f0f5fa;
    color: #333333;
    line-height: 1.6;
}

body.header-fixed {
    padding-top: 150px; /* å¢žåŠ å›ºå®šå¯¼èˆªæ—¶çš„å†…å®¹ä¸Šè¾¹è·ï¼Œé˜²æ­¢å†…å®¹è¢«è¦†ç›– */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* é ‚éƒ¨å°Žèˆªæ¬„ - åªæœ‰LOGOåŒºåŸŸä¿æŒç™½è‰² */
.header {
    background-color: #ffffff;
    padding: 15px 0 0 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* é ‚éƒ¨å€åŸŸ - LOGOå’Œç™»éŒ„è¨»å†ŠæŒ‰éˆ• */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.logo {
    max-width: 150px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    height: auto;
}

/* è¨»å†Šç™»éŒ„æŒ‰éˆ• - èª¿æ•´åˆ°å³ä¸Šè§’ */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.auth-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 0; /* ç§»é™¤é ‚éƒ¨é–“è· */
}

/* è¨»å†ŠæŒ‰éˆ•æ¨£å¼ */
.register-button {
    background-color: #16a085;
    color: #fff;
}

.register-button:hover {
    background-color: #138a72;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ç™»éŒ„æŒ‰éˆ•æ¨£å¼ */
.login-button {
    background-color: #ff9d2f;
    color: #ffffff;
}

.login-button:hover {
    background-color: #f08c1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* å°Žèˆªæ¬„ - æ·±è“è‰²æ¸å˜èƒŒæ™¯ */
.main-menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(to right, #1a4b8c, #2c6bc4); /* æ·±è“è‰²æ¸å˜ */
    border-radius: 0; /* ç§»é™¤åœ“è§’ */
    padding: 12px 0; /* å¢žåŠ å†…è¾¹è· */
    margin-top: 0; /* ä¸Žé¡¶éƒ¨æ— é—´è· */
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    color: #ffffff; /* ç™½è‰²æ–‡å­— */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.main-menu a:hover {
    color: #ff9d2f; /* æ‚¬åœæ—¶å˜ä¸ºæ©™è‰² */
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

/* æ¼¢å ¡èœå–®æŒ‰éˆ• */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333333;
    z-index: 101;
}

/* å·¦å´å°Žèˆªæ¨£å¼ - æ˜Žäº®çš„æ·±è“è‰² */
.side-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #1a4b8c;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.side-nav.active {
    left: 0;
}

.side-nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

.side-nav-logo {
    text-align: center;
    padding-top: 20px;
}

.side-nav-logo img {
    max-width: 150px;
}

.side-nav-menu {
    list-style: none;
    margin-bottom: 30px;
}

.side-nav-menu li {
    margin-bottom: 15px;
}

.side-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.side-nav-menu a:hover {
    color: #ff9d2f;
}

.side-nav-auth {
    margin-top: 30px;
}

.side-nav-auth .auth-buttons {
    flex-direction: column;
    gap: 10px;
}

.side-nav-auth .auth-button {
    width: 100%;
}

/* é®ç½©å±¤ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
}

/* é å°¾æ¨£å¼ - æ¸å˜è“è‰² */
footer {
    background: linear-gradient(to bottom, #2b4b6f, #1e3553);
    padding: 50px 0 20px;
    color: #ffffff;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff9d2f;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ç‰ˆæƒåŒºåŸŸ - æ·±è“è‰² */
.copyright {
    background-color: #152238;
    padding: 15px 0;
    text-align: center;
    color: #aaaaaa;
    font-size: 14px;
}

.sitemap {
    margin-top: 10px;
    text-align: center;
}

.sitemap a {
    color: #b0b0b0;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

/* æ–°çš„çŽ°ä»£åŒ–åº•éƒ¨æ ·å¼ */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #1a2a6c, #2C5364);
    color: #f0f0f0;
    padding: 0 0 0;
    margin-top: 40px;
    overflow: hidden;
}

/* æ³¢æµªè£…é¥° */
.footer-wave-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.footer-wave-decoration svg {
    width: 100%;
    height: 50px;
}

/* åº•éƒ¨å¡ç‰‡å®¹å™¨ */
.footer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 60px 0 30px;
}

/* åº•éƒ¨å¡ç‰‡æ ·å¼ */
.footer-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* å¡ç‰‡å¤´éƒ¨ */
.card-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.card-header:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.card-header.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.card-header i {
    font-size: 20px;
    margin-right: 12px;
    color: #ff9d2f;
}

.card-header h3 {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.toggle-icon {
    font-size: 16px !important;
    margin-right: 0 !important;
    transition: transform 0.3s ease;
    color: #ffffff !important;
}

.card-header.active .toggle-icon.fa-chevron-up {
    transform: rotate(180deg);
}

/* å¡ç‰‡å†…å®¹ */
.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

/* å¹³å°è”ç³»æ–¹å¼ç»Ÿä¸€æ ·å¼ */
.platform-hours,
.platform-contact,
.platform-fax,
.platform-email,
.platform-website,
.platform-main {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.platform-hours i,
.platform-contact i,
.platform-fax i,
.platform-email i,
.platform-website i,
.platform-main i {
    margin-right: 10px;
    color: #ff9d2f;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.platform-hours p,
.platform-contact p,
.platform-fax p,
.platform-email p,
.platform-website p,
.platform-main p {
    margin: 0;
    flex: 1;
}

.platform-website a, .platform-main a {
    color: #ff9d2f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.platform-website a:hover, .platform-main a:hover {
    color: #ffb861;
    text-decoration: underline;
}

/* ç”¨æˆ·æ”¯æŒå’Œå¹³å°æ”¿ç­–å®¹å™¨æ ·å¼ä¼˜åŒ– - ä¸ºå•è¡Œæ˜¾ç¤ºæ·»åŠ  */
@media (min-width: 768px) {
    .footer-card .card-content {
        padding: 15px;
    }
    
    /* æ”¹ä¸ºå•åˆ—æ˜¾ç¤º */
    .footer-card .support-links,
    .footer-card .policy-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .support-link .link-text,
    .policy-link .link-text {
        max-width: calc(100% - 35px); /* è€ƒè™‘å›¾æ ‡å®½åº¦å’Œå³ä¾§é—´è· */
    }
}

/* ç¡®ä¿é“¾æŽ¥å®Œæ•´æ˜¾ç¤ºåœ¨ç§»åŠ¨è®¾å¤‡ä¸Š */
@media (max-width: 767px) {
    .support-link .link-text,
    .policy-link .link-text {
        max-width: calc(100% - 30px); /* å‡åŽ»å›¾æ ‡å’Œå†…è¾¹è·çš„å®½åº¦ */
    }
}

/* æ”¯æŒé“¾æŽ¥æ ·å¼ - è°ƒæ•´ä¸ºå•åˆ—æ˜¾ç¤º */
.support-links, .policy-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
}

.support-links a, .policy-links a {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.support-links a:hover, .policy-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
}

.support-links a i, .policy-links a i {
    margin-right: 8px;
    color: #ff9d2f;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

/* ç”¨æˆ·æ”¯æŒé“¾æŽ¥å›¾æ ‡æ ·å¼ */
.support-link {
    position: relative;
    padding-left: 30px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.support-link .link-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px; /* é™åˆ¶æœ€å¤§å®½åº¦ */
}

.support-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    width: 24px;
    text-align: center;
    color: #ff9d2f; /* æ©™è‰²å›¾æ ‡ï¼Œä¸Žé¡¶éƒ¨å›¾æ ‡ä¸€è‡´ */
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* é˜²æ­¢å›¾æ ‡è¢«åŽ‹ç¼© */
}

.support-link:hover:before {
    color: #3a7bd5; /* æ‚¬åœæ—¶å˜ä¸ºè“è‰² */
    transform: translateX(3px);
}

/* ç‰¹å®šå›¾æ ‡æ ·å¼ - ä½¿ç”¨å›ºå®šé€‰æ‹©å™¨ç¡®ä¿ä¸€è‡´æ€§ */
.footer-card.user-support .support-links a:nth-child(1):before { content: '\f095'; } /* å®¢æœ/ç”µè¯ */
.footer-card.user-support .support-links a:nth-child(2):before { content: '\f3d1'; } /* ææ¬¾ */
.footer-card.user-support .support-links a:nth-child(3):before { content: '\f0d6'; } /* å­˜æ¬¾ */
.footer-card.user-support .support-links a:nth-child(4):before { content: '\f059'; } /* å¸¸è§é—®é¢˜ */
.footer-card.user-support .support-links a:nth-child(5):before { content: '\f3cd'; } /* APP/æ‰‹æœº */
.footer-card.user-support .support-links a:nth-child(6):before { content: '\f521'; } /* VIP/çš‡å†  */

/* é¢å¤–å›¾æ ‡æ ·å¼ */
.footer-card.user-support .support-links a.game-icon:before { content: '\f11b'; } /* æ¸¸æˆå›¾æ ‡ */
.footer-card.user-support .support-links a.location-icon:before { content: '\f3c5'; } /* ä½ç½®å›¾æ ‡ */
.footer-card.user-support .support-links a.system-icon:before { content: '\f085'; } /* ç³»ç»Ÿå›¾æ ‡ */
.footer-card.user-support .support-links a.default-icon:before { content: '\f05a'; } /* é»˜è®¤ä¿¡æ¯å›¾æ ‡ */

/* å¹³å°æ”¿ç­–é“¾æŽ¥å›¾æ ‡æ ·å¼ */
.policy-link {
    position: relative;
    padding-left: 30px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.policy-link .link-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px; /* é™åˆ¶æœ€å¤§å®½åº¦ */
}

.policy-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    width: 24px;
    text-align: center;
    color: #ff9d2f; /* æ©™è‰²å›¾æ ‡ï¼Œä¸Žé¡¶éƒ¨å›¾æ ‡ä¸€è‡´ */
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* é˜²æ­¢å›¾æ ‡è¢«åŽ‹ç¼© */
}

.policy-link:hover:before {
    color: #3a7bd5; /* æ‚¬åœæ—¶å˜ä¸ºè“è‰² */
    transform: translateX(3px);
}

/* ç‰¹å®šå›¾æ ‡æ ·å¼ - ä½¿ç”¨å›ºå®šé€‰æ‹©å™¨ç¡®ä¿ä¸€è‡´æ€§ */
.footer-card.platform-policies .policy-links a:nth-child(1):before { content: '\f023'; } /* éšç§å›¾æ ‡ */
.footer-card.platform-policies .policy-links a:nth-child(2):before { content: '\f2bd'; } /* å®¢æˆ·/ç”¨æˆ·å›¾æ ‡ */
.footer-card.platform-policies .policy-links a:nth-child(3):before { content: '\f4fe'; } /* è´£ä»»å›¾æ ‡ */
.footer-card.platform-policies .policy-links a:nth-child(4):before { content: '\f005'; } /* å“ç‰Œ/æ˜Ÿçº§å›¾æ ‡ */
.footer-card.platform-policies .policy-links a:nth-child(5):before { content: '\f521'; } /* å¨±ä¹/VIPå›¾æ ‡ */
.footer-card.platform-policies .policy-links a:nth-child(6):before { content: '\f095'; } /* è”ç³»å›¾æ ‡ */

/* é¢å¤–å›¾æ ‡æ ·å¼ */
.footer-card.platform-policies .policy-links a.privacy-icon:before { content: '\f023'; } /* éšç§å›¾æ ‡ */
.footer-card.platform-policies .policy-links a.customer-icon:before { content: '\f2bd'; } /* å®¢æˆ·å›¾æ ‡ */
.footer-card.platform-policies .policy-links a.responsibility-icon:before { content: '\f4fe'; } /* è´£ä»»å›¾æ ‡ */
.footer-card.platform-policies .policy-links a.brand-icon:before { content: '\f005'; } /* å“ç‰Œå›¾æ ‡ */
.footer-card.platform-policies .policy-links a.entertainment-icon:before { content: '\f521'; } /* å¨±ä¹å›¾æ ‡ */
.footer-card.platform-policies .policy-links a.contact-icon:before { content: '\f095'; } /* è”ç³»å›¾æ ‡ */
.footer-card.platform-policies .policy-links a.default-icon:before { content: '\f05a'; } /* é»˜è®¤ä¿¡æ¯å›¾æ ‡ */

/* ç§»å‹•ç«¯é©é… */
@media (max-width: 768px) {
    /* èª¿æ•´é ­éƒ¨ä½ˆå±€ - æ¼¢å ¡èœå–®æœ€å·¦å´ï¼ŒLOGOå±…ä¸­ */
    .header-top {
        position: relative;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo {
        margin: 0 auto;
    }
    
    /* åœ¨ç§»å‹•ç«¯éš±è—é ‚éƒ¨çš„è¨»å†Šç™»éŒ„æŒ‰éˆ• */
    .header-top .auth-buttons {
        display: none;
    }
    
    /* åœ¨ç§»å‹•ç«¯éš±è—ä¸»å°Žèˆªæ¬„ */
    .main-menu-container {
        display: none;
    }
    
    /* ç§»å‹•ç«¯ä¸‹æ–¹é¡¯ç¤ºè¨»å†Šç™»éŒ„æŒ‰éˆ• */
    .mobile-auth-buttons {
        display: flex;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* å¿«é€Ÿè”ç³»æ  */
.quick-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-option {
    flex: 0 0 auto;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.contact-button i {
    margin-right: 8px;
    font-size: 18px;
}

.contact-button.live-chat {
    background-color: #1e88e5;
    color: #ffffff;
}

.contact-button.live-chat:hover {
    background-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.contact-button.register {
    background-color: #ff9d2f;
    color: #ffffff;
}

.contact-button.register:hover {
    background-color: #f08c1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 157, 47, 0.3);
}

/* åº•éƒ¨ç‰ˆæƒåŒºåŸŸ */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.copyright-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-size: 14px;
    color: #b0b0b0;
}

.copyright-text i {
    margin-right: 5px;
}

.divider {
    margin: 0 8px;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 5px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* å“åº”å¼è°ƒæ•´ */
@media (max-width: 768px) {
    .footer-cards {
        grid-template-columns: 1fr;
    }
    
    .copyright-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .support-links, .policy-links {
        grid-template-columns: 1fr;
    }
}

/* é è…³ä¿¡æ¯åˆ—è¡¨æ¨£å¼ */
.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #04328a;
    padding: 30px 0;
    margin: 20px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-bottom: 3px solid #04328a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #04328a;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
        padding: 15px 0;
    }
}