﻿/* ===== 頁尾工具列 ===== */
.botry-v2-footer-toolbar {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
    padding: 6px 0;
    border-top: 2px solid rgba(231, 76, 60, 0.3);
    width: 100%;
}

.botry-v2-footer-toolbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.botry-v2-footer-toolbar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 30px;
}

.botry-v2-footer-info-left,
.botry-v2-footer-info-right {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.botry-v2-footer-info-left { justify-content: flex-start; }
.botry-v2-footer-info-right { justify-content: flex-end; }

.botry-v2-footer-info-left a,
.botry-v2-footer-info-right a {
    color: #bdc3c7;
    text-decoration: none;
    white-space: nowrap;
}

.botry-v2-footer-info-left a:hover,
.botry-v2-footer-info-right a:hover { color: #e74c3c; }

.botry-v2-footer-separator {
    color: #7f8c8d;
    margin: 0 5px;
    font-size: 0.8rem;
}

/* ===== 行動版固定工具列 ===== */
.botry-v2-mobile-toolbar {
    display: none;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 6px 0;
    /* 上方立體框線效果 */

    /* border-top: 3px solid rgba(231, 76, 60, 0.4);  主色調邊框 */

    border-top: 2px solid rgba(238, 238, 238, 0.4); /* 主色調邊框 */



    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),  /* 內部上方高光 */
        inset 0 1px 1px rgba(255, 255, 255, 0.2),  /* 內部邊緣亮線 */
        0 -2px 6px rgba(0, 0, 0, 0.15);            /* 外部上方陰影 */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
    text-align: center;
    height: 60px;
}

.botry-v2-mobile-toolbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    height: 100%;
}

.botry-v2-mobile-toolbar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
    height: 100%;
    align-items: center;
}

.botry-v2-mobile-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 4px 2px;
}

.botry-v2-mobile-tool-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
}

.botry-v2-mobile-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.botry-v2-mobile-tool-label {
    font-size: 0.6rem;
    text-align: center;
}

/* ===== 內容區域 ===== */
.botry-v2-content-text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 25px;
    background-color: #fff;
}

.botry-v2-content-title {
    color: #800080;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    margin: 30px 0 20px;
}

.botry-v2-content-body {
    font-size: 1rem;
    color: #555;
}

/* ===== 行動版響應式 ===== */
@media (max-width: 992px) {
    .botry-v2-nav-menu { display: none !important; }
    .botry-v2-mobile-toggle { display: block !important; }
    .botry-v2-mobile-toolbar { display: block !important; }
    .botry-v2-footer-toolbar { display: none !important; }
    
    .botry-v2-logo {
        font-size: 18px;
        max-width: calc(100% - 60px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .botry-v2-logo-text-light { font-size: 18px; }
    .botry-v2-content-text { padding: 30px 20px; }
    
    /* 行動版選單完全透明 */
    .botry-v2-mobile-menu-container {
        position: fixed !important;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px - 60px) !important;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: transparent !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .botry-v2-mobile-menu {
        min-height: auto !important;
        height: auto !important;
        background-color: transparent !important;
    }
    
    /* 選單開啟時不鎖定背景 - 讓背景內容可見 */
    body.botry-v2-menu-open {
        /* 移除 overflow: hidden，讓背景可見 */
    }
}

@media (max-width: 576px) {
    .botry-v2-logo { font-size: 16px; }
    .botry-v2-logo-icon { font-size: 18px; }
    .botry-v2-logo-text-light { font-size: 16px; }
    .botry-v2-content-text { padding: 20px 15px; }
}

/* ===== 列印樣式 ===== */
@media print {
    .botry-v2-header,
    .botry-v2-mobile-toolbar,
    .botry-v2-footer-toolbar {
        display: none !important;
    }
}




/* ===== Top 樣式 ===== */

.back-to-top {
    position: fixed;
    bottom: 120px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    
    /* 當前使用的顏色 - 橙色 */
    background: linear-gradient(145deg, rgba(245, 124, 0, 0.85), rgba(230, 81, 0, 0.95));
}

.back-to-top.show { 
    opacity: 1; 
    visibility: visible; 
}

.back-to-top:hover { 
    transform: scale(1.05);
    /* 當前使用的 hover 顏色 - 橙色 */
    background: linear-gradient(145deg, rgba(245, 124, 0, 0.95), rgba(200, 70, 0, 1));
}



    /* 箭頭 (可調整大小) */
    .twitter-arrow {
        --arrow-size: 40px;  /* ← 以後只改這裡 */
    width: var(--arrow-size);
    height: var(--arrow-size);
    position: relative;
    font-size: var(--arrow-size);
}

.twitter-arrow::before {
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 0;
    top: 0.1em; 
    left: 50%; 
    transform: translateX(-50%);
    border-left: 0.4em solid transparent;
    border-right: 0.4em solid transparent;
    border-bottom: 0.5em solid white;
}

.twitter-arrow::after {
    content: ''; 
    position: absolute;
    width: 0.25em; 
    height: 0.6em;
    background: white; 
    bottom: 0.1em; 
    left: 50%;
    transform: translateX(-50%); 
    border-radius: 0.05em;
}

@media (max-width:600px) {
    .back-to-top { 
        width: 42px; 
        height: 42px; 
    }
    .twitter-arrow { 
        --arrow-size: 30px; 
    }
}

/* 
============================================================
顏色參考（保留供日後使用）
============================================================

藍色：
background: linear-gradient(145deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.95));
hover: background: linear-gradient(145deg, rgba(33, 150, 243, 0.95), rgba(21, 101, 192, 1));

紫色：
background: linear-gradient(145deg, rgba(156, 39, 176, 0.85), rgba(123, 31, 162, 0.95));
hover: background: linear-gradient(145deg, rgba(156, 39, 176, 0.95), rgba(106, 27, 154, 1));

森林綠：
background: linear-gradient(145deg, rgba(46, 125, 50, 0.85), rgba(27, 94, 32, 0.95));
hover: background: linear-gradient(145deg, rgba(46, 125, 50, 0.95), rgba(21, 72, 25, 1));

紅色：
background: linear-gradient(145deg, rgba(211, 47, 47, 0.85), rgba(183, 28, 28, 0.95));
hover: background: linear-gradient(145deg, rgba(211, 47, 47, 0.95), rgba(150, 20, 20, 1));

橙色（目前使用）：
background: linear-gradient(145deg, rgba(245, 124, 0, 0.85), rgba(230, 81, 0, 0.95));
hover: background: linear-gradient(145deg, rgba(245, 124, 0, 0.95), rgba(200, 70, 0, 1));

============================================================
*/