@supports not (backdrop-filter: blur(12px)) {
    .content {
        background: rgba(0, 0, 0, 0.7); /* 备用深色背景 */
    }
}

/* ===== 基礎變數 ===== */
:root {
    --primary: #00f3ff;
    --bg-dark: #0a0e17;
    --bg-light: rgba(255,255,255,0.05);
    --text-primary: rgba(255,255,255,0.9);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== 動畫關鍵幀定義 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes gentleGlow {
    0%, 100% {
        background: rgba(0, 243, 255, 0.03);
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    }
    50% {
        background: rgba(0, 243, 255, 0.05);
        box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    }
}

@keyframes timelineFlow {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* ===== 故事區塊樣式 ===== */
.our-story {
    position: relative;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;  /* 改為單列布局 */
    gap: 2rem;
    margin-top: 2rem;
}

.story-intro {
    position: relative;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.story-intro h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    text-align: left;  /* 確保文字左對齊 */
}

.story-intro p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 數據統計樣式 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 時間軸容器樣式 */
.timeline-container {
    position: relative;
    margin-top: 3rem;
    padding-left: 2rem;
}

/* 時間軸樣式優化 */
.timeline {
    position: relative;
    padding-left: 3rem;  /* 增加左側間距 */
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 243, 255, 0.1),
        rgba(0, 243, 255, 0.5),
        rgba(0, 243, 255, 0.1)
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.timeline-content {
    background: rgba(0, 243, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-left: 1rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .our-story {
        padding: 1.5rem;
    }

    .story-intro h3 {
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-content {
        margin-left: 0.5rem;
    }
}

/* ===== 特別感謝區塊 ===== */
.special-thanks {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 15px;
    animation: fadeInUp 0.8s ease-out forwards, gentleGlow 4s ease-in-out infinite;
}

.thanks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ===== 文字樣式 ===== */
h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.story-intro p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== 響應式調整 ===== */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        margin-top: 2rem;
    }
    
    .thanks-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 效能優化 ===== */
.special-thanks,
.thanks-group,
.thanks-list li {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* ===== 基礎重置和滾動修復 ===== */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui;
    overflow-y: auto;
    position: relative;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* ===== 動態背景層 ===== */
.bg-particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="0.5" fill="%2300f3ff33"/></svg>');
    animation: particleFlow 120s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0,243,255,0.15) 0%, 
        rgba(10,14,23,0.9) 60%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 1;
}

/* ===== 毛玻璃卡片系統 ===== */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 懸浮效果 ===== */
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.5),
        0 0 30px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.3);
}

/* ===== 發光邊框效果 ===== */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover::before {
    opacity: 1;
    animation: borderGlow 3s linear infinite;
}

/* ===== 掃描線效果 ===== */
.glass-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 243, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.glass-card:hover::after {
    opacity: 1;
    animation: scanEffect 2s ease-out infinite;
}

/* ===== 內容縮放效果 ===== */
.glass-card > * {
    transition: transform 0.3s ease;
}

.glass-card:hover > * {
    transform: scale(1.01);
}

/* ===== 動畫關鍵幀 ===== */
@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes scanEffect {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

/* ===== 懸浮時的背景模糊增強 ===== */
.glass-card:hover {
    backdrop-filter: blur(16px) saturate(200%);
    background: rgba(255,255,255,0.08);
}

/* ===== 卡片內容進入動畫 ===== */
.glass-card {
    animation: cardEnter 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 響應式斷點 ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .notification-panel {
        width: calc(100% - 40px);
        right: 20px;
    }
}

@keyframes particleFlow {
    from { transform: translate(0,0); }
    to { transform: translate(-50%,-50%); }
}

/* ===== 渐层背景核心代码 ===== */
body {
    --gradient-color-1: #0a0e17;  /* 深空黑 */
    --gradient-color-2: #1a2340;  /* 宇宙蓝 */
    --gradient-color-3: #13182d;  /* 星云紫 */
    --gradient-speed: 30s;        /* 动画速度 */

    margin: 0;
    min-height: 100vh;
    background: linear-gradient(
        45deg,
        var(--gradient-color-1),
        var(--gradient-color-2),
        var(--gradient-color-3)
    );
    background-size: 400% 400%;
    animation: gradientFlow var(--gradient-speed) infinite;
    position: relative;
    overflow: hidden;
}

/* ===== 动态流动动画 ===== */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== 增強背景效果 ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.3)),
        url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(0,243,255,0.03)"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(0,243,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: cover, 50px 50px;
    z-index: -2;
    animation: gridMove 30s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0,243,255,0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(0,243,255,0.1) 0%, transparent 60%);
    z-index: -1;
    animation: glowPulse 8s ease-in-out infinite;
}

/* 動態網格動畫 */
@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, -50px -50px;
    }
}

/* 光暈脈衝動畫 */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 增加浮動粒子效果 */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    transform: translate3d(0,0,0) !important;
    will-change: transform, opacity !important;
    contain: layout style paint !important;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(10px);
        opacity: 0;
    }
}

/* 修改現有的背景層 */
.bg-gradient {
    background: radial-gradient(circle at 50% 50%, 
        rgba(0,243,255,0.15) 0%, 
        rgba(10,14,23,0.9) 60%);
    animation: gradientShift 15s ease-in-out infinite;
}

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

/* 内容区域适配 */
.content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem;
    padding: 2rem;
    border-radius: 1rem;
}

.particles {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 50%, 
            rgba(0, 243, 255, 0.2) 1px, 
            transparent 1px);
    background-size: 30px 30px;
    animation: particleMove 100s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-100%, -100%); }
}

body::after {
    content: '';
    position: fixed;
    bottom: -30vh;
    left: -10%;
    width: 120%;
    height: 60vh;
    background: linear-gradient(
        90deg,
        rgba(0, 243, 255, 0.05) 0%,
        transparent 50%,
        rgba(0, 243, 255, 0.05) 100%
    );
    transform: rotate(-2deg);
    animation: energyPulse 8s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% { opacity: 0.3; transform: rotate(-2deg); }
    50% { opacity: 0.8; transform: rotate(2deg) scaleY(1.2); }
}

/* 全息头像容器 */
.avatar-holo-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.holo-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 243, 255, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 243, 255, 0.1) 100%);
    background-size: 10px 10px;
    animation: gridRotate 15s linear infinite;
    opacity: 0.5;
}

@keyframes gridRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 3D悬浮头像 */
.holographic-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #00f3ff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* 在线状态脉冲特效 */
.pulse-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
}

.online-ring {
    width: 100%;
    height: 100%;
    border: 2px solid #3ba55c;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59,165,92,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(59,165,92,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,165,92,0); }
}

/* 故障文字标题 */
.glitch-text {
    position: relative;
    font-size: 3rem;
    text-shadow: 0.05em 0 0 rgba(255,0,0,.75),
                -0.025em -0.05em 0 rgba(0,255,0,.75),
                0.025em 0.05em 0 rgba(0,0,255,.75);
    animation: glitch 500ms infinite;
}

.glitch-text .char {
    display: inline-block;
    animation: charSlide 0.6s cubic-bezier(0.5, 0, 0.75, 0) both;
    animation-delay: calc(0.1s * var(--index));
}

@keyframes charSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* 社交矩阵按钮 */
.social-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 2rem auto;
}

.social-node {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-node i {
    font-size: 1.8rem;
    transition: 0.3s;
}

.social-node:hover {
    transform: translateY(-5px);
}

.social-node:hover .hover-beam {
    animation: beam 0.6s ease-out;
}

@keyframes beam {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(20px); }
}

/* 伺服器容器 */
.server-container {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 40px auto;
    padding: 25px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00f3ff;
}

/* 文字信息区块 */
.server-info {
    flex: 1;
    text-align: left;
}

.server-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00f3ff;
}

/* 修改伺服器按鈕樣式 */
.server-link-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.server-link-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary);
}

.server-link-btn i {
    font-size: 0.9em;
}

/* 图片特效区块 */
.server-image {
    flex: 0 0 400px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.server-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #00f3ff;
    border-radius: 8px;
    transition: transform 0.3s;
}

.image-glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transition: 0.8s;
}

.server-image:hover .image-glare {
    left: 200%;
}

/* 手机适配 */
@media (max-width: 768px) {
    .server-container {
        flex-direction: column;
    }
    
    .server-image {
        flex-basis: auto;
        width: 100%;
    }
}

/* Minecraft 伺服器卡片樣式 */
.server-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 0.5rem;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

.server-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.3);
}

.server-image {
    position: relative;
    width: 200px;
    height: 120px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.server-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-card:hover .server-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.server-info {
    flex: 1;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.server-address {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copy-address {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-address:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary);
}

/* 調整主容器樣式 */
.container {
    position: relative;
    z-index: 2;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

/* 調整通知面板樣式 */
.notification-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    animation: notificationEnter 0.5s ease-out;
    pointer-events: auto;
}

/* 通知面板動畫 */
@keyframes notificationEnter {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 社群連結區塊樣式 */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.social-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-icon {
    flex-shrink: 0;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-info {
    flex: 1;
}

.platform-info h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.platform-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* 平台特定顏色 */
.social-card.youtube .platform-icon {
    color: #ff0000;
}

.social-card.roblox .platform-icon {
    color: #00A2FF;
}

.social-card.discord .platform-icon {
    color: #7289da;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-card {
        padding: 1rem;
    }
}

/* 增強按鈕動畫效果 */
.social-card, .server-link-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 發光邊框效果 */
.social-card::before, .server-link-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, 
        var(--primary), 
        transparent 30%,
        transparent 70%,
        var(--primary)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 懸浮時的發光效果 */
.social-card:hover::before, .server-link-btn:hover::before {
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

/* 點擊效果 */
.social-card:active, .server-link-btn:active {
    transform: scale(0.95);
}

/* 閃光效果 */
.social-card::after, .server-link-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(0, 243, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.social-card:hover::after, .server-link-btn:hover::after {
    opacity: 1;
    animation: rippleEffect 1s cubic-bezier(0, 0, 0.2, 1);
}

/* 文字閃爍效果 */
.social-card:hover .platform-info h3,
.server-link-btn:hover i {
    animation: textGlow 1.5s ease-in-out infinite alternate;
}

/* 圖標旋轉效果 */
.server-link-btn:hover i {
    animation: iconSpin 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 懸浮時的整體效果 */
.social-card:hover, .server-link-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 5px 15px rgba(0, 243, 255, 0.2),
        0 10px 30px rgba(0, 243, 255, 0.1);
}

/* 動畫關鍵幀 */
@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0.3);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px var(--primary),
                     0 0 10px var(--primary),
                     0 0 15px var(--primary);
    }
    to {
        text-shadow: 0 0 10px var(--primary),
                     0 0 20px var(--primary),
                     0 0 30px var(--primary);
    }
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 修正首頁布局 */
.cyber-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* 內容容器調整 */
.hero-content {
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
}

/* 頭像容器優化 */
.avatar-holo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holographic-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* 標題樣式優化 */
.cyber-title-wrapper {
    margin: 0;
    width: 100%;
}

.glitch-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin: 0 auto;
    color: var(--primary);
    text-shadow: 
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 30px var(--primary);
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* 社交媒體按鈕美化 */
.hero-social-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-social-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* 懸浮效果 */
.hero-social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary);
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.3),
        0 0 40px rgba(0, 243, 255, 0.2);
}

/* 點擊效果 */
.hero-social-btn:active {
    transform: scale(0.95);
}

/* 發光邊框效果 */
.hero-social-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(0, 243, 255, 0.3), 
        transparent, 
        rgba(0, 243, 255, 0.3), 
        transparent
    );
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-social-btn:hover::before {
    opacity: 1;
}

/* 掃描線效果 */
.hero-social-btn::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translate(-100%, -100%) rotate(45deg);
    animation: scanEffect 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    opacity: 0;
}

.hero-social-btn:hover::after {
    opacity: 1;
}

/* 圖標懸浮效果 */
.hero-social-btn i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-social-btn:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--primary);
}

/* 平台特定顏色 */
.hero-social-btn.youtube:hover {
    --primary: #ff0000;
    border-color: #ff0000;
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.3),
        0 0 40px rgba(255, 0, 0, 0.2);
}

.hero-social-btn.roblox:hover {
    --primary: #00A2FF;
    border-color: #00A2FF;
    box-shadow: 
        0 0 20px rgba(0, 162, 255, 0.3),
        0 0 40px rgba(0, 162, 255, 0.2);
}

.hero-social-btn.discord:hover {
    --primary: #5865f2;
    border-color: #5865f2;
    box-shadow: 
        0 0 20px rgba(88, 101, 242, 0.3),
        0 0 40px rgba(88, 101, 242, 0.2);
}

/* 邊框旋轉動畫 */
@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 掃描線動畫 */
@keyframes scanEffect {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-social-links {
        gap: 1.5rem;
    }
    
    .hero-social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* 向下滾動提示美化 */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-hint span {
    font-size: 0.9rem;
    text-shadow: 0 0 10px var(--primary);
}

.scroll-hint i {
    font-size: 1.5rem;
    animation: arrowBounce 2s infinite;
}

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

/* 響應式優化 */
@media (max-width: 768px) {
    .cyber-hero {
        padding: 0;
    }

    .hero-content {
        gap: 2rem;
        padding: 1rem;
    }

    .avatar-holo-container {
        width: 160px;
        height: 160px;
    }

    .holographic-avatar {
        width: 140px;
        height: 140px;
    }

    .glitch-text {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-social-links {
        gap: 1.5rem;
    }

    .hero-social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .scroll-hint {
        bottom: 1rem;
    }
}

/* 通知面板關閉按鈕樣式 */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-notification {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10000;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.close-notification:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: scale(1.1);
}

.close-notification:active {
    transform: scale(0.9);
}

/* 通知面板關閉按鈕點擊效果 */
.close-notification.clicked {
    transform: scale(0.8);
}

/* 增強關閉動畫效果 */
.notification-panel.closing {
    animation: notificationExit 0.5s ease-in forwards;
    pointer-events: none;
}

@keyframes notificationExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 確保按鈕內的圖標可以正確顯示和點擊 */
.close-notification i {
    pointer-events: none;
}

/* 其他區塊調整 */
.latest-videos,
.social-links,
.minecraft-server {
    margin-top: 2rem;
    padding: 2rem;
}

/* 響應式優化 */
@media (max-width: 768px) {
    .cyber-hero {
        padding: 0;
    }

    .hero-content {
        gap: 2rem;
        padding: 1rem;
    }

    .latest-videos,
    .social-links,
    .minecraft-server {
        margin-top: 1rem;
        padding: 1.5rem;
    }
}

/* 滾動動畫效果 */
.glass-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 初始狀態 - 準備動畫 */
.glass-card.prepare-animation {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    pointer-events: none;
}

/* 進入視圖時的狀態 */
.glass-card.prepare-animation.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* 為不同區塊設置不同的動畫效果 */
#latest-videos.prepare-animation {
    transform: translateY(60px) scale(0.96);
}

#latest-videos.prepare-animation.show {
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
}

#social.prepare-animation {
    transform: translateY(60px) scale(0.96);
}

#social.prepare-animation.show {
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
}

#minecraft.prepare-animation {
    transform: translateY(60px) scale(0.96);
}

#minecraft.prepare-animation.show {
    transform: translateY(0) scale(1);
    transition-delay: 0.3s;
}

/* 添加滾動時的漸變效果 */
.glass-card.prepare-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 243, 255, 0.1) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.glass-card.prepare-animation.show::before {
    opacity: 1;
}

/* 社群連結卡片的懸浮效果增強 */
.social-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* YouTube 卡片特效 */
.social-card.youtube:hover {
    --primary: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.2),
        0 0 40px rgba(255, 0, 0, 0.1);
}

.social-card.youtube:hover .platform-icon {
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Roblox 卡片特效 */
.social-card.roblox:hover {
    --primary: #00A2FF;
    border-color: #00A2FF;
    background: rgba(0, 162, 255, 0.1);
    box-shadow: 
        0 0 20px rgba(0, 162, 255, 0.2),
        0 0 40px rgba(0, 162, 255, 0.1);
}

.social-card.roblox:hover .platform-icon {
    color: #00A2FF;
    text-shadow: 0 0 15px rgba(0, 162, 255, 0.8);
    transform: scale(1.1);
}

/* Discord 卡片特效 */
.social-card.discord:hover {
    --primary: #5865f2;
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 
        0 0 20px rgba(88, 101, 242, 0.2),
        0 0 40px rgba(88, 101, 242, 0.1);
}

.social-card.discord:hover .platform-icon {
    color: #5865f2;
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.8);
    transform: scale(1.1);
}

/* 文字發光效果 */
.social-card:hover .platform-info h3 {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* 圖標轉場效果 */
.platform-icon {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 掃描線效果 */
.social-card::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translate(-100%, -100%) rotate(45deg);
    transition: 0.6s;
}

.social-card:hover::after {
    transform: translate(100%, 100%) rotate(45deg);
}

/* Roblox 圖標樣式 */
.roblox-icon {
    width: 24px;
    height: 24px;
    color: #00A2FF;
}

/* 社交按鈕中的 Roblox 圖標 */
.hero-social-btn .roblox-icon {
    width: 20px;
    height: 20px;
}

/* 社交卡片中的 Roblox 圖標 */
.social-card .platform-icon .roblox-icon {
    width: 32px;
    height: 32px;
}

/* Roblox 圖標懸浮效果 */
.hero-social-btn:hover .roblox-icon,
.social-card:hover .roblox-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px currentColor);
}

/* 關於頁面樣式 */
.about-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

/* 團隊介紹樣式 */
.team-intro {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}

.team-avatar {
    flex: 0 0 300px;
    position: relative;
}

.team-avatar img {
    width: 100%;
    border-radius: 1rem;
    border: 2px solid var(--primary);
}

.avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    box-shadow: 0 0 30px var(--primary);
    opacity: 0.5;
    animation: glowPulse 2s ease-in-out infinite;
}

.team-description {
    flex: 1;
}

/* 統計數字區塊樣式 */
.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat-label {
    color: #00ffff;
    font-size: 1rem;
    opacity: 0.8;
}

/* 懸浮效果 */
.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        0 5px 15px rgba(0, 255, 255, 0.2),
        0 0 30px rgba(0, 255, 255, 0.1);
}

/* 圖標樣式 */
.stat-icon {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 1rem;
}

/* 時間軸樣式 */
.timeline {
    margin: 2rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item .date {
    flex: 0 0 100px;
    text-align: center;
    padding: 0.5rem;
    background: var(--primary);
    border-radius: 0.5rem;
    color: var(--bg-dark);
    font-weight: bold;
}

.timeline-item .content {
    flex: 0 0 45%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    position: relative;
}

/* 聯絡方式樣式 */
.contact-methods {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-method.email:hover {
    color: #ea4335;
}

.contact-method.discord:hover {
    color: #5865f2;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .team-intro {
        flex-direction: column;
        gap: 2rem;
    }

    .team-avatar {
        flex: 0 0 200px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        margin-left: 20px;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-item .content {
        flex: 0 0 auto;
        width: calc(100% - 40px);
    }

    .contact-methods {
        flex-direction: column;
    }
}

/* 團隊成員樣式 */
.team-members {
    margin-top: 3rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.member-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    transition: all 0.3s ease;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.member-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-glow {
    opacity: 0.5;
}

.member-info h3 {
    color: var(--primary);
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.member-role {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-card {
        padding: 1rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

/* 最新影片卡片樣式 */
.latest-video-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 800px;
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 寬高比 */
    overflow: hidden;
    transform: translateZ(20px);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(0, 243, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.latest-video-card:hover .video-overlay {
    opacity: 1;
}

.latest-video-card:hover .play-button {
    transform: scale(1);
    background: rgba(0, 243, 255, 0.3);
}

.latest-video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-details {
    padding: 1.5rem;
    transform: translateZ(30px);
    position: relative;
}

.video-title {
    font-size: 1.3rem;
    margin: 0 0 1rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.watch-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.watch-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .video-details {
        padding: 1rem;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }
}

/* 優化懸浮效果 */
.latest-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 243, 255, 0.2);
}

/* 優化光暈效果 */
.js-tilt-glare {
    border-radius: 1rem;
}

/* YouTube 影片容器樣式 */
.youtube-container {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 1rem;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 16/9;  /* 使用寬高比來控制容器大小 */
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 關於我們按鈕樣式 */
.about-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.about-btn:hover {
    transform: translateY(-3px);
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.about-btn i {
    font-size: 1.2rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .youtube-container {
        width: 100%;
        margin: 1rem 0;
    }
}

/* 主導航欄容器樣式 */
.main-nav {
    margin: 1rem auto !important;
    padding: 0.5rem !important;
    max-width: 500px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 12px !important;
}

/* 導航按鈕容器樣式 */
.nav-container {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 1rem !important;
}

/* 導航按鈕樣式 */
.nav-container .nav-button {
    position: relative !important;
    text-decoration: none !important;
    padding: 10px !important;
    width: 65px !important;
    height: 65px !important;
    background: rgba(0, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* 按鈕內容樣式 */
.nav-container .button-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    z-index: 1;
}

/* 按鈕圖標樣式 */
.nav-container .button-icon {
    font-size: 20px !important;
    color: #00ffff !important;
    transition: all 0.4s ease !important;
    text-align: center !important;
}

/* 按鈕文字樣式 */
.nav-container .button-text {
    color: #00ffff !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    transition: all 0.4s ease !important;
}

/* 懸浮效果 */
.nav-container .nav-button:hover {
    background: rgba(157, 0, 255, 0.1) !important;
    border-color: rgba(157, 0, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 3px 8px rgba(157, 0, 255, 0.3),
        0 0 12px rgba(157, 0, 255, 0.2),
        inset 0 0 6px rgba(157, 0, 255, 0.1) !important;
}

/* 漸變邊框效果 */
.nav-container .nav-button::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        #00ffff,
        #9d00ff,
        #ff00ff,
        #00ffff
    );
    background-size: 300% 300% !important;
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease !important;
    animation: gradientMove 3s ease infinite;
}

.nav-container .nav-button:hover::before {
    opacity: 1;
}

.nav-container .nav-button:hover .button-icon,
.nav-container .nav-button:hover .button-text {
    animation: colorChange 3s ease infinite;
}

/* 動畫關鍵幀 */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
        50% {
        background-position: 100% 50%;
    }
        100% {
        background-position: 0% 50%;
    }
}

@keyframes colorChange {
    0% {
        color: #00ffff !important;
    }
    33% {
        color: #9d00ff !important;
    }
    66% {
        color: #ff00ff !important;
    }
    100% {
        color: #00ffff !important;
    }
}

/* 返回導航欄樣式 */
.back-nav {
    position: fixed !important;         /* 固定位置 */
    top: 20px !important;              /* 距離頂部 */
    left: 20px !important;             /* 距離左側 */
    margin: 0 !important;              /* 移除原有的 margin */
    padding: 0.5rem !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 12px !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 1000 !important;          /* 確保按鈕在最上層 */
}

/* 返回按鈕樣式微調 */
.back-nav .nav-button {
    position: relative !important;
    text-decoration: none !important;
    padding: 8px !important;
    width: 50px !important;            /* 稍微縮小按鈕 */
    height: 50px !important;
    background: rgba(0, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.back-nav .button-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    z-index: 1;
}

.back-nav .button-icon {
    font-size: 18px !important;        /* 稍微縮小圖標 */
    color: #00ffff !important;
    transition: all 0.4s ease !important;
    text-align: center !important;
}

.back-nav .button-text {
    font-size: 9px !important;         /* 稍微縮小文字 */
    color: #00ffff !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    transition: all 0.4s ease !important;
}

/* 動畫關鍵幀 */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes colorChange {
    0% {
        color: #00ffff !important;
    }
    33% {
        color: #9d00ff !important;
    }
    66% {
        color: #ff00ff !important;
    }
    100% {
        color: #00ffff !important;
    }
}

/* 懸浮效果 */
.back-nav .nav-button:hover {
    background: rgba(157, 0, 255, 0.1) !important;
    border-color: rgba(157, 0, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 3px 8px rgba(157, 0, 255, 0.3),
        0 0 12px rgba(157, 0, 255, 0.2),
        inset 0 0 6px rgba(157, 0, 255, 0.1) !important;
}

/* 漸變邊框效果 */
.back-nav .nav-button::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        #00ffff,
        #9d00ff,
        #ff00ff,
        #00ffff
    );
    background-size: 300% 300% !important;
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease !important;
    animation: gradientMove 3s ease infinite;
}

.back-nav .nav-button:hover::before {
    opacity: 1;
}

.back-nav .nav-button:hover .button-icon,
.back-nav .nav-button:hover .button-text {
    animation: colorChange 3s ease infinite;
}

/* 輪播圖片區塊樣式 */
.news-slider {
    position: relative !important;
    margin: 2rem auto !important;
}

.slider-container {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.slider-wrapper {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.5s ease-in-out !important;
}

.slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.slide-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    color: #fff !important;
}

/* 輪播按鈕樣式 */
.slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    user-select: none !important;
}

/* 左右按鈕位置 */
.slider-btn.prev {
    left: 20px !important;
}

.slider-btn.next {
    right: 20px !important;
}

/* 按鈕圖標樣式 */
.slider-btn i {
    font-size: 24px !important;
    color: var(--primary) !important;
}

/* 按鈕懸停效果 */
.slider-btn:hover {
    background: rgba(0, 243, 255, 0.2) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* 按鈕點擊效果 */
.slider-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* 最新影片區塊樣式 */
.latest-videos {
    margin: 2rem auto !important;
    max-width: 800px !important;
    padding: 2rem !important;
    background: rgba(0, 0, 0, 0.5) !important;  /* 純深色背景 */
    border-radius: 12px !important;
}

/* 影片容器 */
.video-container {
    width: 100% !important;
    margin-top: 1rem !important;
}

.video-container iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
}

/* 標題樣式 */
.latest-videos .section-title {
    color: #00ffff !important;
    text-align: center !important;
}

/* 錯誤訊息樣式 */
.error-message {
    text-align: center !important;
    padding: 2rem !important;
    color: #ff0066 !important;
}

.error-message i {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
}

/* 整體容器效果增強 */
.container {
    position: relative !important;
    z-index: 1 !important;
}

/* 玻璃卡片效果增強 */
.glass-card {
    background: rgba(13, 20, 35, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 255, 255, 0.1) !important;
    box-shadow: 
        0 8px 32px rgba(0, 255, 255, 0.1),
        inset 0 0 32px rgba(0, 255, 255, 0.05) !important;
    transition: all 0.4s ease-out !important;
}

.glass-card:hover {
    border-color: rgba(0, 255, 255, 0.3) !important;
    box-shadow: 
        0 8px 32px rgba(0, 255, 255, 0.2),
        inset 0 0 32px rgba(0, 255, 255, 0.1) !important;
    transform: translateY(-5px) !important;
}

/* 背景動畫增強 */
.bg-particle {
    opacity: 0.8 !important;
    animation: particleFlow 60s linear infinite !important;
}

.bg-gradient {
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 243, 255, 0.15) 0%, 
        rgba(157, 0, 255, 0.15) 25%,
        rgba(10, 14, 23, 0.9) 100%) !important;
    animation: gradientShift 15s ease-in-out infinite !important;
}

/* 標題效果增強 */
.section-title {
    position: relative !important;
    display: inline-block !important;
    padding: 0.5em 1em !important;
    margin-bottom: 2rem !important;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1),
        rgba(157, 0, 255, 0.1)) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
}

.section-title::before {
    content: '' !important;
    position: absolute !important;
    inset: -2px !important;
    background: linear-gradient(45deg, 
        #00ffff,
        #9d00ff,
        #ff00ff,
        #00ffff) !important;
    background-size: 400% 400% !important;
    z-index: -1 !important;
    border-radius: 10px !important;
    filter: blur(4px) !important;
    animation: borderGlow 3s ease-in-out infinite !important;
    opacity: 0.5 !important;
}

/* 新增動畫效果 */
@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50% !important;
        opacity: 0.5 !important;
    }
    50% {
        background-position: 100% 50% !important;
        opacity: 0.8 !important;
    }
}

/* 滾動提示效果增強 */
.scroll-hint {
    animation: floatUpDown 2s ease-in-out infinite !important;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0) !important;
    }
    50% {
        transform: translateY(-10px) !important;
    }
}

/* 頭像光暈效果增強 */
.avatar-wrapper::after {
    content: '' !important;
    position: absolute !important;
    inset: -10px !important;
    background: radial-gradient(circle at center,
        rgba(0, 255, 255, 0.3),
        transparent 70%) !important;
    animation: pulseGlow 2s ease-in-out infinite !important;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3 !important;
        transform: scale(1) !important;
    }
    50% {
        opacity: 0.6 !important;
        transform: scale(1.1) !important;
    }
}

/* 移除原有的背景效果 */
.bg-particle, .bg-gradient {
    display: none !important;
}

/* 賽博朋克雨滴效果 */
.cyber-rain-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    background: linear-gradient(to bottom,
        rgba(13, 20, 35, 0.8),
        rgba(13, 20, 35, 0.95)) !important;
    overflow: hidden !important;
}

.rain-drop {
    position: absolute !important;
    pointer-events: none !important;
    background: linear-gradient(180deg,
        rgba(0, 255, 255, 0.8),
        rgba(157, 0, 255, 0.4)) !important;
    width: 2px !important;
    height: 100px !important;
    opacity: 0 !important;
    animation: rain linear infinite !important;
}

.bg-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(0, 255, 255, 0.1),
            transparent 60%),
        radial-gradient(circle at 70% 70%, 
            rgba(157, 0, 255, 0.1),
            transparent 60%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

@keyframes rain {
    0% {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
    }
    10% {
        opacity: 0.8 !important;
    }
    90% {
        opacity: 0.8 !important;
    }
    100% {
        transform: translateY(100vh) !important;
        opacity: 0 !important;
    }
}

/* 粒子容器 - 合併重複的定義 */
.particles-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* 新的粒子樣式 */
.particles-container .particle {
    position: absolute !important;
    display: block !important;  /* 覆蓋上面的 display: none */
    width: 2px !important;
    height: 2px !important;
    background: rgba(0, 243, 255, 0.5) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    transform: translate3d(0,0,0) !important;
    will-change: transform !important;
    box-shadow: 0 0 3px rgba(0, 243, 255, 0.3) !important;
}

/* 移除所有舊的粒子相關樣式 */
.floating-particles,
.particles,
.bg-particle,
.particle {
    display: none;
}

/* 基礎粒子樣式 */
.particles-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.particles-container .particle {
    position: absolute !important;
    display: block !important;
    width: 3px !important;
    height: 3px !important;
    background: var(--primary) !important;  /* 使用主題顏色 */
    border-radius: 50% !important;
    pointer-events: none !important;
    box-shadow: 0 0 6px var(--primary) !important;
}

/* 移除所有舊的粒子樣式 */
.floating-particles,
.particles,
.bg-particle,
.particle {
    display: none;
}

/* 基礎粒子容器 */
.particles-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* 新的粒子樣式 */
.particles-container .particle {
    position: fixed !important;
    display: block !important;
    width: 3px !important;
    height: 3px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    box-shadow: 0 0 6px var(--primary) !important;
    transform-origin: center center !important;
    will-change: transform !important;
}

/* 基礎粒子樣式 */
.particles-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.particle {
    position: absolute !important;
    width: 2px !important;
    height: 2px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    box-shadow: 0 0 6px var(--primary) !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease !important;
}

/* 粒子連線效果 */
.particle::after {
    content: '' !important;
    position: absolute !important;
    width: 100px !important;
    height: 1px !important;
    background: linear-gradient(90deg, var(--primary), transparent) !important;
    transform-origin: left center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

/* 星星粒子效果 */
.star-particle {
    position: absolute !important;
    width: 2px !important;
    height: 2px !important;
    background: transparent !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    box-shadow: 
        0 0 6px var(--primary),
        0 0 12px var(--primary) !important;
    animation: starTwinkle 3s infinite !important;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 賽博朋克相框效果 */
.cyber-frame {
    position: relative !important;
    padding: 20px !important;
    background: rgba(0, 243, 255, 0.1) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3) !important;
    overflow: hidden !important;
}

.frame-corner {
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid var(--primary) !important;
}

.frame-corner.top-left {
    top: 0 !important;
    left: 0 !important;
    border-right: none !important;
    border-bottom: none !important;
}

.frame-corner.top-right {
    top: 0 !important;
    right: 0 !important;
    border-left: none !important;
    border-bottom: none !important;
}

.frame-corner.bottom-left {
    bottom: 0 !important;
    left: 0 !important;
    border-right: none !important;
    border-top: none !important;
}

.frame-corner.bottom-right {
    bottom: 0 !important;
    right: 0 !important;
    border-left: none !important;
    border-top: none !important;
}

/* 掃描線效果 */
.scan-line {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 243, 255, 0.2) 50%,
        transparent 100%
    ) !important;
    animation: scanAnimation 3s ease-in-out infinite !important;
}

@keyframes scanAnimation {
    0% {
        transform: translateY(-100%) !important;
    }
    100% {
        transform: translateY(100%) !important;
    }
}

/* 打字機效果 */
.typing-text {
    overflow: hidden !important;
    border-right: 2px solid var(--primary) !important;
    white-space: nowrap !important;
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite !important;
}

@keyframes typing {
    from { width: 0 !important; }
    to { width: 100% !important; }
}

@keyframes blink-caret {
    from, to { border-color: transparent !important; }
    50% { border-color: var(--primary) !important; }
}

/* 數據卡片特效 */
.stat-card {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
}

.stat-card:hover {
    transform: translateY(-5px) !important;
}

.stat-glow {
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    ) !important;
    animation: glowSwipe 2s infinite !important;
}

@keyframes glowSwipe {
    100% {
        left: 100% !important;
    }
}

/* 數字計數動畫 */
.counter {
    display: inline-block !important;
    animation: countUp 2s ease-out forwards !important;
}

/* 故障文字效果 */
.cyber-glitch {
    position: relative !important;
    animation: glitchText 3s infinite !important;
}

@keyframes glitchText {
    0% {
        text-shadow: none !important;
    }
    20% {
        text-shadow: 
            0 0 10px var(--primary),
            2px 2px 10px rgba(0, 243, 255, 0.5) !important;
    }
    21% {
        text-shadow: none !important;
    }
    25% {
        text-shadow: 
            -2px -2px 10px rgba(157, 0, 255, 0.5),
            2px 2px 10px rgba(0, 243, 255, 0.5) !important;
    }
    27% {
        text-shadow: none !important;
    }
    100% {
        text-shadow: none !important;
    }
}

/* 霓虹燈光效果 */
.neon-glow {
    animation: neonPulse 2s infinite !important;
    text-shadow: 
        0 0 7px var(--primary),
        0 0 10px var(--primary),
        0 0 21px var(--primary),
        0 0 42px var(--primary) !important;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 懸浮卡片效果增強 */
.glass-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.5),
        0 0 30px rgba(0, 243, 255, 0.2),
        0 0 50px rgba(0, 243, 255, 0.1) !important;
}

/* 動態邊框效果 */
.cyber-border {
    position: relative !important;
    border: 2px solid transparent !important;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(90deg, var(--primary), transparent) border-box !important;
    animation: borderRotate 4s linear infinite !important;
}

@keyframes borderRotate {
    from {
        background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                    linear-gradient(0deg, var(--primary), transparent) border-box !important;
    }
    to {
        background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                    linear-gradient(360deg, var(--primary), transparent) border-box !important;
    }
}

/* 閃電效果 */
.lightning {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 0 !important;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0,243,255,0.2) 0%, 
        transparent 70%) !important;
    animation: lightning 7s infinite !important;
}

@keyframes lightning {
    0%, 100% {
        opacity: 0;
    }
    97% {
        opacity: 0;
    }
    98% {
        opacity: 0.5;
    }
    99% {
        opacity: 0.8;
    }
}

/* 3D 翻轉效果 */
.flip-card {
    perspective: 1000px !important;
    transform-style: preserve-3d !important;
    transition: transform 0.6s !important;
}

.flip-card:hover {
    transform: rotateY(180deg) !important;
}

/* 波紋點擊效果 */
.ripple {
    position: relative !important;
    overflow: hidden !important;
}

.ripple::after {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%) !important;
    transform: scale(0) !important;
    animation: rippleEffect 0.6s ease-out !important;
}

@keyframes rippleEffect {
    to {
        transform: scale(2) !important;
        opacity: 0 !important;
    }
}

/* 浮動動畫 */
.floating {
    animation: floating 3s ease-in-out infinite !important;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0) !important;
    }
    50% {
        transform: translateY(-10px) !important;
    }
}

/* 團隊成員卡片新效果 */
.member-card {
    position: relative !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    background: rgba(0, 243, 255, 0.05) !important;
    border: 1px solid rgba(0, 243, 255, 0.1) !important;
}

.hover-glow {
    position: relative !important;
    cursor: pointer !important;
}

.hover-glow::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(0, 243, 255, 0.2) 0%,
        transparent 50%
    ) !important;
    opacity: 0 !important;
    transition: opacity 0.3s !important;
    z-index: 1 !important;
}

.hover-glow:hover::before {
    opacity: 1 !important;
}

.hover-glow:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 243, 255, 0.3) !important;
}

.member-card:hover .member-avatar img {
    transform: scale(1.1) !important;
}

.member-card:hover .member-info {
    transform: translateY(-5px) !important;
}

.member-avatar {
    position: relative !important;
    overflow: hidden !important;
}

.member-avatar img {
    transition: transform 0.5s ease !important;
}

.member-info {
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.3s ease !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 1rem !important;
}

/* 添加鼠標跟隨發光效果 */
.member-card:hover {
    --x: 50% !important;
    --y: 50% !important;
}

.member-card:hover .member-glow {
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

/* 社交媒體圖標動畫 */
.member-social a {
    position: relative !important;
    transition: transform 0.3s ease !important;
}

.member-social a:hover {
    transform: translateY(-3px) scale(1.2) !important;
    color: var(--primary) !important;
}

/* 角色名稱動畫 */
.member-card:hover h3 {
    text-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary) !important;
}

/* 故事區塊樣式 */
.story-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
}

.story-intro {
    padding: 2rem !important;
}

.story-stats {
    display: flex !important;
    justify-content: space-around !important;
    margin-top: 2rem !important;
}

.stat-item {
    text-align: center !important;
    padding: 1rem !important;
}

.stat-value {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: var(--primary) !important;
    text-shadow: 0 0 10px var(--primary) !important;
}

/* 時間軸新樣式 */
.timeline-container {
    position: relative !important;
    padding: 2rem !important;
}

.timeline-line {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: var(--primary) !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 0 10px var(--primary) !important;
}

.timeline-items {
    position: relative !important;
}

.timeline-item {
    position: relative !important;
    margin: 2rem 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.timeline-dot {
    width: 20px !important;
    height: 20px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 0 15px var(--primary) !important;
    z-index: 2 !important;
}

.timeline-content {
    width: calc(50% - 50px) !important;
    padding: 1rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto !important;
}

.timeline-item[data-year]::before {
    content: attr(data-year) !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.9rem !important;
    color: var(--primary) !important;
    text-shadow: 0 0 5px var(--primary) !important;
}

.milestone-icon {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--bg-dark) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary) !important;
    box-shadow: 0 0 15px var(--primary) !important;
}

/* 時間軸動畫效果 */
.timeline-content {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.5s ease !important;
}

.timeline-content.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.05) !important;
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.2),
        0 0 40px rgba(0, 243, 255, 0.1) !important;
}

.timeline-dot::before {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    opacity: 0.5 !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% {
        transform: scale(1) !important;
        opacity: 0.5 !important;
    }
    70% {
        transform: scale(2) !important;
        opacity: 0 !important;
    }
    100% {
        transform: scale(1) !important;
        opacity: 0 !important;
    }
}

/* 最新訊息網格樣式 */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    padding: 0 20px !important;  /* 修改為 20px 的左右內邊距 */
}

.news-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    height: 180px !important;  /* 稍微調整卡片高度 */
}

.news-card img {
    width: 100% !important;
    height: 180px !important;  /* 配合卡片高度調整 */
    object-fit: cover !important;
}

.news-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1.5rem !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    color: #fff !important;
}

.news-content h3 {
    color: var(--primary) !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.2rem !important;
    text-shadow: 0 0 10px var(--primary) !important;
}

.news-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 243, 255, 0.3) !important;
}

/* 調整最新訊息區塊的整體內邊距 */
.news-slider {
    padding: 20px !important;  /* 修改為 20px 的整體內邊距 */
}

.team-section {
    padding: 2rem;
    margin: 2rem 0;
}

.team-member {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.team-member h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #666;
    font-style: italic;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #0066cc;
    text-decoration: none;
    margin-right: 1rem;
}

.social-links a:hover {
    text-decoration: underline;
}

/* 清理舊的動畫定義，使用新的優化版本 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes gentleGlow {
    0%, 100% {
        background: rgba(0, 243, 255, 0.03);
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    }
    50% {
        background: rgba(0, 243, 255, 0.05);
        box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    }
}

/* 特別感謝區塊樣式 */
.special-thanks {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 15px;
    animation: fadeInUp 0.8s ease-out forwards, gentleGlow 4s ease-in-out infinite;
}

.thanks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.thanks-group {
    padding: 1.5rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.05);
    animation: fadeInUp 0.6s ease-out forwards, softFloat 4s ease-in-out infinite;
    animation-delay: 0.3s;
}

.thanks-group h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.thanks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.thanks-list li {
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: calc(var(--i) * 0.1s);
    transition: all 0.3s ease;
}

.thanks-list li:hover {
    background: rgba(0, 243, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1);
}

/* 硬件加速優化 */
.special-thanks,
.thanks-group,
.thanks-list li {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .thanks-grid {
        grid-template-columns: 1fr;
    }
    .thanks-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/* 故事區塊動畫優化 */
@keyframes storyFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timelineFlow {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}

@keyframes milestoneAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateX(-20px);
    }
    60% {
        transform: scale(1.05) translateX(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

/* 故事區塊樣式優化 */
.our-story {
    position: relative;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;  /* 改為單列布局 */
    gap: 2rem;
    margin-top: 2rem;
}

.story-intro {
    position: relative;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.story-intro h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    text-align: left;  /* 確保文字左對齊 */
}

.story-intro p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 數據統計樣式 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 時間軸容器樣式 */
.timeline-container {
    position: relative;
    margin-top: 3rem;
    padding-left: 2rem;
}

/* 時間軸樣式優化 */
.timeline {
    position: relative;
    padding-left: 3rem;  /* 增加左側間距 */
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 243, 255, 0.1),
        rgba(0, 243, 255, 0.5),
        rgba(0, 243, 255, 0.1)
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.timeline-content {
    background: rgba(0, 243, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-left: 1rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .our-story {
        padding: 1.5rem;
    }

    .story-intro h3 {
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-content {
        margin-left: 0.5rem;
    }
}

/* ===== 團隊成員頭像樣式 ===== */
.member-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    transition: all 0.3s ease;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* 頭像發光效果 */
.member-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        rgba(0, 243, 255, 0.1),
        rgba(0, 243, 255, 0.3),
        rgba(0, 243, 255, 0.1)
    );
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 團隊成員卡片樣式 */
.member-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.25);
}

.member-card:hover .member-avatar img {
    transform: scale(1.1);
}

.member-name {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.member-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 團隊成員網格布局 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

/* ===== 團隊成員樣式優化 ===== */
.team-members {
    margin: 3rem 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.member-card {
    position: relative;
    text-align: center;
    padding: 2.5rem;
    background: rgba(0, 243, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.member-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 243, 255, 0.03);
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 243, 255, 0.2);
}

.member-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
}

.member-avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 243, 255, 0.2);
    transition: all 0.4s ease;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

/* 頭像光暈效果 */
.member-avatar::before,
.member-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    z-index: -1;
}

.member-avatar::before {
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent 60%
    );
    animation: rotateBorder 4s linear infinite;
}

.member-avatar::after {
    background: radial-gradient(
        circle at center,
        rgba(0, 243, 255, 0.2) 0%,
        transparent 70%
    );
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* 懸浮效果增強 */
.member-card:hover .member-avatar-inner {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.3),
        0 0 40px rgba(0, 243, 255, 0.1);
}

.member-card:hover .member-avatar img {
    transform: scale(1.1);
}

/* 成員信息樣式 */
.member-name {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.member-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.member-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* 響應式優化 */
@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .member-avatar {
        width: 140px;
        height: 140px;
    }
    
    .member-card {
        padding: 2rem;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
}