/* 標題樣式 */
.page-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-align: left;
}

@media (min-width: 768px) {
    .page-heading {
        font-size: 2.25rem;
    }
}

/* 副標題樣式 */
.page-subheading {
    display: none;
}

/* 伺服器資訊卡片 */
.server-info-card {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.server-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.3), transparent);
    border-radius: 2px;
}

.server-info-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(74, 222, 128, 0.2);
}

/* 伺服器資訊Flex */
.server-info-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .server-info-flex {
        gap: 1.5rem;
    }
}

/* 伺服器資訊項目 */
.server-info-item {
    text-align: left;
    padding: 0.5rem 0;
    flex: 1;
    min-width: 120px;
}

/* 伺服器資訊標題 */
.server-info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (min-width: 768px) {
    .server-info-label {
        font-size: 0.75rem;
    }
}

/* 伺服器資訊內容 */
.server-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .server-info-value {
        font-size: 1.25rem;
    }
}

/* 伺服器分隔線 */
.server-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    display: none;
}

@media (min-width: 480px) {
    .server-divider {
        display: block;
    }
}

/* 伺服器 IP 字體 */
.server-ip {
    font-family: 'Segoe UI', 'Consolas', monospace;
    letter-spacing: 0.02em;
    color: #4ade80 !important;
}

/* 分隔線 */
.vertical-divider {
    display: none;
}

@media (min-width: 768px) {
    .vertical-divider {
        display: block;
    }
}

/* 按鈕樣式 */
.primary-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 4px 15px rgba(74, 222, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 25px rgba(74, 222, 128, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.3)); }
    50% { filter: drop-shadow(0 0 35px rgba(74, 222, 128, 0.5)); }
}

@media (min-width: 768px) {
    .page-heading {
        font-size: 3.25rem;
    }
}

/* 副標題樣式 */
.page-subheading {
    display: none;
}

/* 伺服器資訊卡片 */
.server-info-card {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 0 40px rgba(74, 222, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(74, 222, 128, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.server-info-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4ade80, transparent);
    border-radius: 2px;
}

.server-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 50px rgba(74, 222, 128, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
}

/* 伺服器資訊Flex */
.server-info-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .server-info-flex {
        gap: 3rem;
    }
}

/* 伺服器資訊項目 */
.server-info-item {
    text-align: center;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.server-info-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(74, 222, 128, 0.2);
}

/* 伺服器資訊標題 */
.server-info-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .server-info-title {
        font-size: 0.8rem;
    }
}

/* 伺服器資訊內容 */
.server-info-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .server-info-value {
        font-size: 1.625rem;
    }
}

/* 伺服器 IP 字體 */
.server-ip {
    font-family: 'Fira Code', 'Consolas', monospace;
    letter-spacing: 0.05em;
}

/* 分隔線 */
.vertical-divider {
    display: none;
}

@media (min-width: 768px) {
    .vertical-divider {
        display: block;
    }
}

/* 按鈕樣式 */
.primary-btn {
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 4px 15px rgba(74, 222, 128, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(74, 222, 128, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-btn:active {
    transform: translateY(-1px) scale(0.98);
}

@media (min-width: 768px) {
    .page-heading {
        font-size: 3rem;
    }
}

/* 副標題樣式 */
.page-subheading {
    display: none;
}

/* 伺服器資訊樣式 */
.server-info-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .server-info-flex {
        flex-direction: row;
        gap: 2.5rem;
    }
}

/* 關於文字樣式 */
.about-text {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    white-space: pre-line;
    letter-spacing: 0.02em;
}

/* 注意事項卡片 */
.notice-card {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.6) 0%, rgba(31, 41, 55, 0.4) 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.15);
    backdrop-filter: blur(10px);
}

/* 注意事項列表 */
.notice-list {
    list-style-type: decimal;
    list-style-position: inside;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
    text-align: left;
}

.notice-list li {
    padding: 0.75rem 1rem;
    padding-left: 0.5rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid #4ade80;
    transition: all 0.3s ease;
}

.notice-list li:hover {
    background: rgba(0, 0, 0, 0.3);
    padding-left: 1.25rem;
}

.notice-list li::marker {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1em;
}

/* 完成提示 */
.success-message {
    margin-top: 2rem;
    text-align: center;
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

/* 社群連結 */
.social-link,
a.social-link {
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(74, 222, 128, 0.2);
    text-decoration: none;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.social-link svg,
a.social-link svg,
.social-link svg *,
a.social-link svg * {
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important;
    display: block !important;
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.social-link:hover,
a.social-link:hover {
    color: #4ade80 !important;
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 12px 30px rgba(74, 222, 128, 0.4);
}

.social-link:hover svg,
a.social-link:hover svg {
    color: #0f172a !important;
    fill: #0f172a !important;
    transform: scale(1.1);
}

/* 確保淺色主題也能顯示 */
[data-theme="light"] .social-link {
    background: linear-gradient(135deg, rgba(203, 213, 225, 0.9) 0%, rgba(148, 163, 184, 0.9) 100%);
    color: #475569;
}

[data-theme="light"] .social-link:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    color: #0f172a;
}

@media (max-width: 480px) {
    .social-link {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* 伺服器狀態區塊 */
.server-status-section {
    margin-top: 2.5rem;
    text-align: center;
}

.server-status-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.server-status-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 550px;
    margin: 0 auto;
}

.server-status-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 150px;
    flex: 1;
    max-width: 190px;
    position: relative;
    overflow: hidden;
}

.server-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-status-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(74, 222, 128, 0.35);
}

.server-status-card:hover::before {
    opacity: 1;
}

.server-status-card.online {
    border-color: rgba(74, 222, 128, 0.3);
}

.server-status-card.offline {
    border-color: rgba(239, 68, 68, 0.3);
}

.server-status-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-status-icon svg {
    width: 100%;
    height: 100%;
}

.server-status-card.online .server-status-icon svg {
    fill: #4ade80;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.6));
}

.server-status-card.offline .server-status-icon svg {
    fill: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

.server-status-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.server-status-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.server-status-card.online .server-status-value {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.server-status-card.offline .server-status-value {
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.server-status-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2rem;
}

/* 舊的狀態圖樣式 - 保留相容性 */
.server-status-banner {
    margin-top: 2.5rem;
    text-align: center;
}

.status-banner-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.status-banner-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-banner-container:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.status-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    display: block;
    margin: 0 auto;
}

.status-banner-image:hover {
    transform: scale(1.03);
}

.status-banner-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* 外部顯示的加入 Discord 連結 */
.status-banner-join-outside {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.status-banner-join-outside .discord-join-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25) 0%, rgba(34, 211, 238, 0.15) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-weight: 600;
}

.status-banner-join-outside .discord-join-link:hover {
    color: #0f172a;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.5);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .server-status-banner {
        margin-top: 2rem;
    }
    
    .status-banner-container {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }
    
    .status-banner-title {
        font-size: 1rem;
    }

    .server-status-card {
        min-width: 130px;
        padding: 1.25rem;
    }

    .server-status-value {
        font-size: 1.5rem;
    }

    .server-info-card {
        padding: 1.5rem 1.25rem;
        margin: 0 0.75rem;
    }

    .primary-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.75;
        text-align: center;
    }

    .notice-card {
        padding: 1.5rem 1.25rem;
    }

    .notice-list {
        gap: 0.75rem;
    }

    .notice-list li {
        font-size: 0.95rem;
    }

    .success-message {
        font-size: 1rem;
    }
}

/* 側邊欄與漢堡按鈕樣式 - 行動版優化 */
.sidebar-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.9));
    border-radius: 14px;
    border: 1px solid rgba(74, 222, 128, 0.35);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-toggle:hover {
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 0 35px rgba(74, 222, 128, 0.35);
}

.sidebar-toggle .hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.sidebar-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sidebar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -85%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
    color: #e5e7eb;
    z-index: 9990;
    padding: 1.5rem;
    box-shadow: 15px 0 50px rgba(2, 6, 23, 0.7);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-right: 1px solid rgba(74, 222, 128, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(74, 222, 128, 0.15);
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #cbd5e1;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.sidebar-close:hover {
    background: rgba(74, 222, 128, 0.25);
    color: #4ade80;
    transform: rotate(90deg);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-link {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.2), transparent);
    color: #ffffff;
    padding-left: 1.25rem;
    letter-spacing: 0.3px;
}

.sidebar-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(74, 222, 128, 0.15);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(6px);
    z-index: 9980;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 照片區樣式微調 */
.photo-section-heading {
    font-size: 1.35rem;
    color: #e5e7eb;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(74, 222, 128, 0.3);
}

.photo-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-item:hover .photo-image {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}

.photo-caption {
    color: #d1d5db;
    font-size: 0.9rem;
}