/* ===== styles.css 文件結構說明 ===== */
/*
本文件包含華地產鑽石分會網站的所有樣式定義

📋 文件結構：
1. 響應式斷點說明
2. 重置和基本樣式
3. CSS變數定義
4. 基礎樣式設定
5. 固定元素樣式 (返回頂部、聯絡按鈕、切換按鈕)
6. 導航欄樣式
7. 會議室相關樣式 (包含ZOOM_HUA_PRIORITY)
8. 榮譽榜樣式
9. 會議資訊樣式
10. 資源連結樣式
11. 邀請來賓樣式
12. 常見問題樣式
13. 頁尾樣式
14. 響應式設計 (平板版、手機版、超小螢幕版)

🔍 響應式斷點：
桌面版: >1024px (預設樣式)
平板版: ≤1024px
手機版: ≤768px  
超小螢幕: ≤480px

🎯 元件代號標記：
- NAVBAR: 導航欄相關
- ZOOM_HUA: 華地產Zoom會議室相關
- HONOR_BOARD: 榮譽榜相關
- MEETING_CHECKIN: 會議簽到相關
- RESOURCES: 資源連結相關
- CONTACT_BUTTON: 聯絡按鈕相關
- BACK_TO_TOP: 返回頂部相關

📝 維護指南：
- 使用元件代號快速定位樣式
- 響應式樣式按斷點分類
- 所有動畫和特效都有註釋說明
*/

/* ===== 重置和基本樣式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --gold-color: #d4af37;
    --diamond-color: #b9f2ff;
    --text-color: #2c3e50;
    --bg-color: #fff;
    --card-bg: #fff;
    --shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
    --gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --diamond-gradient: linear-gradient(135deg, #b9f2ff 0%, #87ceeb 100%);
}

[data-theme="dark"] {
    --text-color: #e8f4f8;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #1a1a1a 100%);
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient);
    min-height: 100vh;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* 隱藏可能的網址顯示 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    z-index: 10001;
}


/* ===== BACK_TO_TOP 返回頂部按鈕相關樣式 ===== */
/* BACK_TO_TOP: 返回頂部按鈕 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}


/* ===== CONTACT_BUTTON 聯絡按鈕相關樣式 ===== */
/* CONTACT_BUTTON: 聯絡資訊長懸浮按鈕 */
.contact-float-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #00c300 0%, #00a000 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    min-width: 50px;
    max-width: 60px;
}

.contact-float-btn:hover {
    transform: translateY(calc(-50% - 3px));
    box-shadow: 0 12px 35px rgba(0, 195, 0, 0.5);
    background: linear-gradient(135deg, #00a000 0%, #008000 100%);
    color: white;
    text-decoration: none;
}

.contact-float-btn i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

.contact-float-btn .btn-text {
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-align: center;
    font-size: 0.7rem;
    display: block;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* TOGGLE_BUTTON: 隱藏/顯示切換按鈕 */
.toggle-contact-btn {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 1002;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.toggle-contact-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 聯絡按鈕隱藏狀態 */
.contact-float-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(100px);
    pointer-events: none;
}

/* CONTACT_BUTTON: 獨立的手機版聯絡按鈕文字顯示規則 - 最高優先級 */
@media screen and (max-width: 768px) {
    body .contact-float-btn .btn-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }
}

/* CONTACT_BUTTON: 獨立的超小螢幕聯絡按鈕文字顯示規則 - 最高優先級 */
@media screen and (max-width: 480px) {
    body .contact-float-btn .btn-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.55rem !important;
        line-height: 1.1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }
}

/* CONTACT_BUTTON: 手機版隱藏狀態特殊處理 */
@media screen and (max-width: 768px) {
    .contact-float-btn.hidden {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-50%) translateX(100px);
        pointer-events: none;
        right: 50px; /* 保持原本位置 */
    }
}

/* CONTACT_BUTTON: 超小螢幕隱藏狀態特殊處理 */
@media screen and (max-width: 480px) {
    .contact-float-btn.hidden {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-50%) translateX(100px);
        pointer-events: none;
        right: 45px; /* 保持原本位置 */
    }
}

/* 切換按鈕在聯絡按鈕隱藏時的樣式 */
.toggle-contact-btn.hidden-state {
    background: rgba(0, 195, 0, 0.8);
}

.toggle-contact-btn.hidden-state:hover {
    background: rgba(0, 195, 0, 1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR 導航欄相關樣式 ===== */
/* NAVBAR: 導航欄 */
.navbar {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(44, 62, 80, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold-color);
}

/* NAVBAR_CONTAINER: 導航欄容器 */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* ===== ZOOM_HUA 華地產Zoom會議室相關樣式 ===== */
/* ZOOM_HUA: 華地產Zoom會議室容器 */
.zoom-hua-container {
    position: relative;
}

/* ZOOM_HUA_PRIORITY: 華地產Zoom會議室優先提示 */
.priority-notice {
    position: absolute;
    top: -35px;
    left: 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 1001;
    animation: priorityPulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.notice-icon {
    animation: starTwinkle 1.5s infinite;
}

.notice-icon i {
    font-size: 0.8rem;
}

.notice-text {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 優先提示動畫 */
@keyframes priorityPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.2) rotate(270deg);
        opacity: 0.8;
    }
}

/* NAVBAR_LOGO: 導航欄Logo */
.nav-logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-logo p {
    color: var(--gold-color);
    font-size: 0.9rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* NAVBAR_MENU: 導航欄選單 */
.nav-menu {
    display: flex;
    gap: 30px;
}

/* NAVBAR_LINK: 導航欄連結 */
.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover {
    color: var(--gold-color);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* 主要內容 */
.main-content {
    margin-top: 70px;
}


/* ===== 桌面版樣式 (>1024px) ===== */

/* 會議資訊區塊 */
.meeting-section {
    background: white;
    padding: 100px 0 80px 0;
}

/* LINE瀏覽器相容性優化 */
.honor-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 4px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

/* ===== HONOR_BOARD 金質獎榮譽榜相關樣式 ===== */
/* HONOR_BOARD: 榮譽榜容器 */
.honor-board {
    margin-top: -20px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff8dc 0%, #f0e68c 50%, #daa520 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
    border: 3px solid var(--gold-color);
    position: relative;
    overflow: hidden;
}

.honor-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

/* HONOR_BOARD_TITLE: 榮譽榜標題 */
.honor-title {
    text-align: center;
    font-size: 2.2rem;
    color: #8b4513;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.honor-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* HONOR_BOARD_ITEM: 榮譽榜項目 */
.honor-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.honor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    transition: left 0.6s ease;
}

.honor-item:hover::before {
    left: 100%;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    border-color: var(--gold-color);
}

/* HONOR_BOARD_IMAGE: 榮譽榜圖片 */
.honor-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 4px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    animation: bounce 2s infinite;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.honor-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.6);
    border-color: #f4d03f;
}

/* HONOR_BOARD_TEXT: 榮譽榜文字 */
.honor-text {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 69, 19, 0.95);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold-color);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
}

.honor-item:hover .honor-text {
    opacity: 1;
    top: -60px;
    transform: translateX(-50%) translateY(-5px);
}

.honor-text h3 {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.honor-text p {
    color: #f0e68c;
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

.honor-item:hover .honor-text {
    opacity: 1;
    top: -60px;
    transform: translateX(-50%) translateY(-5px);
    animation: float 2s ease-in-out infinite;
}


/* 圖片放大模態框樣式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-title {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.5);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

.meeting-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 50%, var(--primary-color) 100%);
    color: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.25);
    gap: 25px;
    border: 2px solid var(--gold-color);
    position: relative;
    overflow: hidden;
}

.meeting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.meeting-info {
    position: relative;
    z-index: 2;
}

.meeting-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.meeting-date {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 桌面版會議時間容器 */
.meeting-time-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    justify-content: center;
}

.meeting-time {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 桌面版提醒按鈕 */
.reminder-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reminder-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.reminder-btn:active {
    transform: scale(0.95);
}

.meeting-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.meeting-rooms-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.meeting-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 350px;
    min-width: 280px;
}

.meeting-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.meeting-id-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 0;
}

.meeting-id {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    white-space: nowrap;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 倒數計時器 */
.countdown-timer {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 8px;
    border-radius: 8px;
    min-width: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 4px;
    font-weight: 500;
}


/* 按鈕樣式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    font-weight: 600;
    border: 2px solid var(--gold-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    font-weight: 600;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.5);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* ===== RESOURCES 資源連結區塊相關樣式 ===== */
/* RESOURCES_SECTION: 資源連結區塊 */
.resources-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(231, 76, 60, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.resources-section .container {
    position: relative;
    z-index: 2;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* RESOURCE_CARD: 資源卡片 */
.resource-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(44, 62, 80, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* 為不同的資源卡片添加不同的色彩主題 */
.resource-card:nth-child(1)::before {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

.resource-card:nth-child(2)::before {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

.resource-card:nth-child(3)::before {
    background: linear-gradient(135deg, #e74c3c 0%, #ec7063 100%);
}

.resource-card:nth-child(4)::before {
    background: linear-gradient(135deg, #9b59b6 0%, #bb8fce 100%);
}

.resource-card:nth-child(5)::before {
    background: linear-gradient(135deg, #1abc9c 0%, #48c9b0 100%);
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-color);
    box-shadow: 
        0 20px 40px rgba(44, 62, 80, 0.25),
        0 8px 25px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
}

.resource-card:hover::before {
    opacity: 0.08;
}

.resource-card > * {
    position: relative;
    z-index: 2;
}

.resource-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.resource-card p {
    color: #5a6c7d;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* 邀請來賓區塊 */
.invite-section {
    background: white;
    padding: 80px 0;
}

.invite-card {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
}

.invite-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.invite-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.invite-note {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.invite-actions {
    display: flex;
    justify-content: center;
}

/* 常見問題區塊 */
.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.faq-content h4 {
    color: #e74c3c;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.faq-content ul {
    list-style: none;
    padding-left: 0;
}

.faq-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.faq-content li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 頁尾 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== 響應式設計 ===== */

/* ===== 平板版 (≤1024px) ===== */
@media (max-width: 1024px) {
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* ===== 手機版 (≤768px) ===== */
@media screen and (max-width: 768px) {
    /* NAVBAR_CONTAINER: 手機版導航欄容器 */
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }
    
    /* ZOOM_HUA_PRIORITY: 手機版優先提示調整 */
    .priority-notice {
        top: -30px;
        left: 20px;
        font-size: 0.7rem;
        padding: 3px 10px;
        gap: 4px;
    }
    
    .notice-icon i {
        font-size: 0.7rem;
    }
    
    /* NAVBAR_LOGO: 手機版導航欄Logo */
    .nav-logo {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .nav-logo h1 {
        font-size: 1.4rem;
    }
    
    /* NAVBAR_MENU: 手機版導航欄選單 */
    .nav-menu {
        margin-top: 0;
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: center;
        display: flex;
        width: 100%;
    }
    
    /* NAVBAR_LINK: 手機版導航欄連結 */
    .nav-link {
        padding: 6px 2px;
        font-size: 0.7rem;
        text-align: center;
        border-radius: 12px;
        flex: 1;
        min-width: 0;
    }
    
    .main-content {
        margin-top: 100px;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    .meeting-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .meeting-info h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .meeting-date {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    /* 手機版會議時間容器 - 完全獨立樣式 */
    .meeting-time-container {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .meeting-time {
        font-size: 1.1rem;
        opacity: 0.95;
        margin: 0;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .reminder-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .reminder-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    
    .reminder-btn:active {
        transform: scale(0.95);
    }
    
    .countdown-timer {
        gap: 8px;
        margin-top: 15px;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .meeting-links {
        gap: 15px;
    }
    
    .meeting-rooms-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .meeting-room {
        max-width: 100%;
        min-width: 250px;
    }
    
    .meeting-id {
        font-size: 0.8rem;
    }
    
    /* HONOR_BOARD: 手機版榮譽榜樣式 */
    .honor-board {
        margin-top: -20px;
        margin-bottom: 30px;
        padding: 20px 15px;
    }
    
    /* HONOR_BOARD_TITLE: 手機版榮譽榜標題 */
    .honor-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    /* HONOR_BOARD_CONTENT: 手機版榮譽榜內容 */
    .honor-content {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    /* HONOR_BOARD_ITEM: 手機版榮譽榜項目 */
    .honor-item {
        flex-direction: column;
        align-items: center;
    }
    
    /* HONOR_BOARD_IMAGE: 手機版榮譽榜圖片 */
    .honor-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        transition: transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .honor-image:active {
        transform: scale(0.95);
    }
    
    .honor-text {
        top: -45px;
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 100px;
    }
    
    .honor-item:hover .honor-text {
        top: -55px;
    }
    
    .honor-text h3 {
        font-size: 0.8rem;
        margin: 0;
    }
    
    .honor-text p {
        font-size: 0.7rem;
    }
    
    
    .meeting-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .invite-card {
        padding: 25px 20px;
    }
    
    .invite-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .invite-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .invite-note {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
    
    .invite-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .resource-card {
        padding: 20px 15px;
    }
    
    .resource-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .resource-card p {
        font-size: 0.8rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    /* 手機版聯絡按鈕調整 */
    .contact-float-btn {
        top: 50%;
        right: 50px; /* 向右移動，避免與切換按鈕重疊 */
        transform: translateY(-50%);
        padding: 12px 15px;
        font-size: 0.65rem;
        min-width: 80px;
        max-width: 90px;
        z-index: 1001 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column;
        gap: 4px;
    }
    
    /* 手機版文字樣式已移至獨立規則 */
    
    .contact-float-btn i {
        font-size: 1.2rem;
    }
    
    /* 手機版切換按鈕調整 */
    .toggle-contact-btn {
        right: 5px; /* 調整位置避免與聯絡按鈕重疊 */
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* ===== 超小螢幕版 (≤480px) ===== */
@media screen and (max-width: 480px) {
    
    /* ZOOM_HUA_PRIORITY: 超小螢幕優先提示調整 */
    .priority-notice {
        top: -25px;
        left: 15px;
        font-size: 0.65rem;
        padding: 2px 8px;
        gap: 3px;
    }
    
    .notice-icon i {
        font-size: 0.65rem;
    }
    
    /* 超小螢幕聯絡按鈕調整 */
    .contact-float-btn {
        top: 50%;
        right: 45px; /* 向右移動，避免與切換按鈕重疊 */
        transform: translateY(-50%);
        padding: 10px 12px;
        font-size: 0.6rem;
        min-width: 70px;
        max-width: 80px;
        z-index: 1001 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column;
        gap: 3px;
    }
    
    /* 手機版文字樣式已移至獨立規則 */
    
    .contact-float-btn i {
        font-size: 1.1rem;
    }
    
    /* 超小螢幕切換按鈕調整 */
    .toggle-contact-btn {
        right: 3px; /* 調整位置避免與聯絡按鈕重疊 */
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .invite-card {
        padding: 20px 15px;
    }
    
    .invite-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .invite-card p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .invite-note {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .meeting-card {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .meeting-info h3 {
        font-size: 1.3rem;
    }
    
    .meeting-date {
        font-size: 1.4rem;
    }
    
    /* 超小螢幕會議時間容器 - 完全獨立樣式 */
    .meeting-time-container {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .meeting-time {
        font-size: 1rem;
        opacity: 0.95;
        margin: 0;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .reminder-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .reminder-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    
    .reminder-btn:active {
        transform: scale(0.95);
    }
    
    .countdown-timer {
        gap: 6px;
        margin-top: 12px;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 8px 4px;
    }
    
    .countdown-number {
        font-size: 1.1rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .meeting-links {
        gap: 12px;
    }
    
    .meeting-rooms-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .meeting-room {
        max-width: 100%;
        min-width: 200px;
    }
    
    .meeting-id {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .resource-card {
        padding: 20px 15px;
    }
    
    .resource-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .resource-card p {
        font-size: 0.8rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    /* 超小螢幕榮譽榜樣式 */
    .honor-board {
        margin-top: -20px;
        margin-bottom: 25px;
        padding: 15px 10px;
    }
    
    .honor-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .honor-content {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .honor-item {
        flex-direction: column;
        align-items: center;
    }
    
    .honor-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        transition: transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .honor-image:active {
        transform: scale(0.95);
    }
    
    .honor-text {
        top: -40px;
        font-size: 0.75rem;
        padding: 5px 10px;
        min-width: 90px;
    }
    
    .honor-item:hover .honor-text {
        top: -50px;
    }
    
    .honor-text h3 {
        font-size: 0.75rem;
        margin: 0;
        line-height: 1.1;
    }
    
    .honor-text p {
        font-size: 0.65rem;
    }
    
}

/* HONOR_BOARD_IMAGE: LINE瀏覽器專用優化 - 強制覆蓋 */
@media screen and (max-width: 768px) {
    .honor-image {
        width: 80px !important;
        height: 80px !important;
    }
}

/* HONOR_BOARD_IMAGE: LINE瀏覽器超小螢幕專用優化 - 強制覆蓋 */
@media screen and (max-width: 480px) {
    .honor-image {
        width: 70px !important;
        height: 70px !important;
    }
}

/* ===== MEETING_CHECKIN 會議簽到按鈕相關樣式 ===== */
/* MEETING_CHECKIN: 會議簽到按鈕 */
.checkin-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #27ae60, #2ecc71, #27ae60);
    background-size: 200% 200%;
    animation: checkinGradient 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
}

.checkin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.5);
    animation-play-state: paused;
}

.checkin-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* MEETING_CHECKIN_ICON: 會議簽到按鈕圖示 */
.checkin-icon {
    animation: checkinBounce 2s ease-in-out infinite;
    margin-right: 8px;
}

.checkin-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checkin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: checkinPulse 2s ease-out infinite;
}

/* 漸變背景動畫 */
@keyframes checkinGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 圖標彈跳動畫 */
@keyframes checkinBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    10% {
        transform: translateY(-3px) scale(1.1);
    }
    30% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* 脈衝效果動畫 */
@keyframes checkinPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 120px;
        height: 120px;
        opacity: 0.7;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* MEETING_CHECKIN: 手機版優化 */
@media screen and (max-width: 768px) {
    .checkin-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .checkin-icon {
        font-size: 1.1rem;
    }
    
    .checkin-pulse {
        animation-duration: 1.5s;
    }
}

/* MEETING_CHECKIN: 超小螢幕版優化 */
@media screen and (max-width: 480px) {
    .checkin-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .checkin-icon {
        font-size: 1rem;
    }
}

/* ===== 資源標題簡潔設計 ===== */
#RESOURCES_TITLE {
    text-align: center;
    margin: 40px 0 50px 0;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* RESOURCES_TITLE: 手機版優化 */
@media screen and (max-width: 768px) {
    #RESOURCES_TITLE {
        font-size: 2rem;
        margin: 30px 0 40px 0;
    }
}

/* RESOURCES_TITLE: 超小螢幕版優化 */
@media screen and (max-width: 480px) {
    #RESOURCES_TITLE {
        font-size: 1.6rem;
        margin: 25px 0 35px 0;
    }
}

/* ===== 文件結束標記 ===== */
/*
📄 styles.css 文件結束
版本: v3.1
最後更新: 2025年1月
包含: 華地產鑽石分會網站完整樣式定義
維護者: 資訊長 蔡濬瑒
*/
