@charset "utf-8";
/* CSS Document */

/* ==========================================================================
    1. Root Variables & Base Styles
    ========================================================================== */

:root {
    --bg-dark: #08080A;
    --color-gold: #D4AF37;
    --color-text: #C0C4CC;
    --neon-blue: #F9CC2F;
    --neon-green: #FBE200;
    
    --led-on-glow: 
        0 0 25px rgba(255,190,0,0.40),
        0 0 50px rgba(255,207,5,0.20),
        inset 0 0 20px rgba(252,251,5,0.15);
    
    /* 建议补充的光效变量 */
    --led-pop-glow: 0 15px 35px rgba(248, 209, 43, 0.4);
}

/* Universal Reset - 已修正 '-' 为 '*' */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    background-color: var(--bg-dark);
    color: var(--color-text);
    padding: 6rem 0 4rem 0; /* 防止与固定底部栏重叠的间距 */
    min-height: 100vh;
    overflow-x: hidden;

    /* 微网格背景纹理 */
    background-image: linear-gradient(135deg, 
        #090A0E 25%, #10121A 25%, 
        #10121A 50%, #090A0E 50%, 
        #090A0E 75%, #10121A 75%, #10121A 100%);
    background-size: 6px 6px;
    transition: filter 0.4s ease;
}

/* 自定义字体声明 */
@font-face {
    font-family: 'CompanyTitle'; 
    src: url('fonts/DML.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'SubHeadingFont'; 
    src: url('fonts/DMM.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

html {
    overflow-y: scroll; /* 强制显示垂直滚动条，防止布局抖动 */
}

.stage {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 2rem;
}

/* ==========================================================================
    2. Top Navigation Bar (Fixed Layout)
    ========================================================================== */

/* 隐藏旧版悬停触发器 */
.topbar-hover-zone,
.topbar-pull-tab {
    display: none !important;
}

/* 固定顶部栏容器 */
.topbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0) !important; 
    
    width: 90%;
    max-width: 1500px;
    background: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(12px);
    
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: none;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    gap: 20px;
}

/* 品牌 Logo */
.topbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    font-family: 'CompanyTitle', serif;
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.topbar-logo a {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-gold);
    white-space: nowrap;
    line-height: 1;
}

/* 导航链接 */
.topbar-nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
    color: #F7F5F5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav ul li a i {
    color: #F7F5F5;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.topbar-nav ul li a:hover {
    color: #FFD600;
    border-color: #F8D12B;
    background-color: rgba(255,214,0,0.12);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

.topbar-nav ul li a:hover i {
    color: #F8D12B;
    filter: drop-shadow(0 0 6px rgba(255,221,0,0.80));
}

.topbar-nav ul li a.active {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255,214,0,0.12);
    box-shadow: 0 0 15px rgba(255,245,0,0.50);
    font-weight: 600;
}

.topbar-nav ul li a.active i {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255,221,0,0.80));
}

.topbar-nav ul li a.active:hover {
    color: #F8D12B;
    border-color: #F8D12B;
    background-color: rgba(255,214,0,0.12);
    box-shadow: 0 0 15px rgba(224,255,0,0.50);
    transform: translateY(-2px);
}

.topbar-nav ul li a.active:hover i {
    color: #F8D12B;
    filter: drop-shadow(0 0 6px rgba(255,221,0,0.80));
}

/* 右侧表头 / 社交联系方式盒子 */
.topbar-right {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 100px;
}

.topbar-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    color: #8a8f9d;
}

.topbar-contact span i {
    color: var(--color-gold);
    margin-right: 5px;
}

#js-social-box, 
.topbar-right .social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

#js-social-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

#js-social-box a svg {
    width: 18px;
    height: 18px;
    fill: #a0a5b5;
    transition: fill 0.3s ease, transform 0.3s ease;
}

#js-social-box a:hover {
    background: rgba(255,214,0,0.12);
    border-color: rgba(255,229,0,0.40);
    box-shadow: 0 0 12px rgba(248,255,0,0.30);
    transform: translateY(-2px);
}

#js-social-box a:hover svg {
    fill: var(--color-gold);
}

/* ==========================================================================
    3. Footer & Modal Component
    ========================================================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1500px;
    height: 40px;
    background: rgba(15, 17, 21, 0.92); 
    backdrop-filter: blur(12px);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    z-index: 900;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-left a {
    color: #a0a5b5;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-left a:hover {
    color: var(--neon-blue);
}

.footer-center {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #F2F0E8;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: center;
}

.footer-right span {
    font-size: 0.8rem;
    color: #8a8f9d;
    letter-spacing: 0.5px;
}

/* 模态框遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.modal-close-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-box {
    background: #12151e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-overlay:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    color: #a0a5b5;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--neon-blue);
}

/* ==========================================================================
    4. Modal & Video Popup
    ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 19, 21, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: #1a1c1e;
    border: 1px solid rgba(230, 202, 157, 0.3);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    box-sizing: border-box;
    margin: auto;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #e6ca9d;
}

.popup-video-wrapper,
.popup-media {
    width: 100%;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.popup-video-wrapper video,
.popup-media video {
    width: 100%;
    max-height: 60vh;
    display: block;
    outline: none;
}

.popup-tag {
    color: #e6ca9d;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.popup-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.popup-detail {
    color: #b3b3b3;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
    5. Custom Textures
    ========================================================================== */
.t-carbon {
    background: 
        linear-gradient(45deg, #0D0E12 25%, transparent 25%) -3px 0,
        linear-gradient(-45deg, #0D0E12 25%, transparent 25%) -3px 0,
        linear-gradient(45deg, transparent 75%, #191B24 75%),
        linear-gradient(-45deg, transparent 75%, #191B24 75%);
    background-size: 6px 6px;
    background-color: #111218;
}

.card:hover .t-carbon {
    background-color: #151722;
}

/* ==========================================================================
    6. Carousel & LED Card Module Interactive System
    ========================================================================== */

.carousel-container {
    display: flex;
    gap: 35px; 
    width: 100%;
    align-items: center; 
    padding: 6rem 0; 
    perspective: 1000px;
    transform-style: preserve-3d;
    justify-content: center;
    position: relative;
}

.led-module-card {
    background: linear-gradient(145deg, #141418 0%, #0E0E12 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; 
    padding: 2.5rem 2rem;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    height: 360px; 
    width: 330px;
    flex: none; 

    /* 平滑的弹出过渡动画 */
    transition: 
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s ease, 
        border-color 0.4s ease,
        opacity 0.4s ease,
        background-image 0.4s ease,
        z-index 0.5s step-start;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0.85;
    overflow: hidden;
    user-select: none;
    z-index: 1; 
}

.led-module-card h2 { 
    color: var(--color-gold) !important; 
    transition: color 0.4s ease, text-shadow 0.4s ease; 
    margin-top: 30px; 
    font-size: 28px;
}

.led-module-card p {
    font-size: 18px;            
    line-height: 1.6;           
    color: rgba(255, 255, 255, 0.8); 
    margin-top: 12px;           
    margin-bottom: 0;           
}

.serial-tag {
    font-size: 14px; 
    color: rgba(255, 255, 255, 0.4); 
}

.power-indicator {
    width: 88%;
    height: 3px;
    border-radius: 2px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08); 
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* 悬停交互：激活卡片 */
.led-module-card:hover {
    z-index: 5;
    opacity: 1;
    border-color: rgba(201, 164, 92, 0.9);
    
    transform: translateY(-20px) scale(1.15); 
    box-shadow: var(--led-pop-glow);
    
    /* 高密度点阵背景效果 */
    background-image: 
        radial-gradient(rgba(201, 164, 92, 0.38) 0.8px, transparent 0.8px), 
        linear-gradient(145deg, #10121A 0%, #08080C 100%);
    background-size: 7px 7px, 100% 100%;
    animation: microGridFlow 25s linear infinite;
}

.led-module-card:hover h2 {
    color: #FFFFFF !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.led-module-card:hover .power-indicator {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    box-shadow: 0 0 12px var(--neon-blue);
}

/* 轮播容器内非悬停卡片变暗 */
.carousel-container:hover .led-module-card:not(:hover) {
    opacity: 0.45;
    transform: scale(0.96);
}

.carousel-container .led-module-card {
    opacity: 0.6;
    transform: scale(0.95);
}

.state-led #card-led,
.state-signage #card-signage,
.state-event #card-event,
.state-ar #card-ar {
    transform: scale(1.1) translateZ(30px); 
    opacity: 1 !important;
    border-color: rgba(248, 209, 43, 0.8) !important;
    box-shadow: 0 10px 30px rgba(248, 209, 43, 0.3);
    z-index: 10;
}

.state-led #card-led:hover .power-indicator,
.state-signage #card-signage:hover .power-indicator,
.state-event #card-event:hover .power-indicator,
.state-ar #card-ar:hover .power-indicator {
    background: linear-gradient(90deg, #FFD700, #FFA500) !important; 
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8) !important; 
}

/* 微网格流动动画 */
@keyframes microGridFlow {
    from { background-position: 0 0, 0 0; }
    to { background-position: 21px 21px, 0 0; }
}

/* ==========================================================================
    7. Hero Caption Box
    ========================================================================== */

.hero-caption-box {
    text-align: center;
    margin-top: 68px;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.hero-main-title {
    font-size: 1.3rem;
    font-weight: 200;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #F8D12B;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-subtext {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}




/* ==========================================================================
    8. Media Queries (Consolidated Responsive Rules)
    ========================================================================== */

@media (max-width: 768px) {
    body { 
        padding: 2rem 0 4rem 0; 
        background-size: 4px 4px;
    }
    
    .stage { 
        padding: 1rem; 
        display: flex;
        flex-direction: column;
    }

    .carousel-container { 
        flex-direction: column; 
        gap: 18px; 
        padding: 1rem 0;
        perspective: none;
    }
    
    .led-module-card { 
        width: 100%; 
        max-width: 400px; 
        height: auto; 
        opacity: 0.6; 
        background: linear-gradient(145deg, #141418 0%, #0E0E12 100%) !important;
    }
    
    .led-module-card h2 {
        white-space: normal !important;
        color: var(--color-gold, #F8D12B) !important;
        text-shadow: none !important;
        margin-top: 10px; 
    }
    
    .led-module-card:hover {
        transform: translateY(-8px) !important;
    }

    .led-module-card .serial-tag {
        display: none !important;
    }

    .power-indicator {
        width: 88%;
        height: 3px;
        border-radius: 2px;
        margin: 24px auto 8px;
        background: rgba(255, 255, 255, 0.08); 
        transition: background 0.4s ease, box-shadow 0.4s ease;
    }
    
    .state-led #card-led, .state-led #card-signage, .state-led #card-event, .state-led #card-ar,
    .state-signage #card-signage, .state-signage #card-event, .state-signage #card-led, .state-signage #card-ar,
    .state-event #card-event, .state-event #card-led, .state-event #card-signage, .state-event #card-ar,
    .state-ar #card-ar, .state-ar #card-led, .state-ar #card-signage, .state-ar #card-event {
        transform: none !important;
        order: unset !important;
    }

    .state-led #card-led,
    .state-signage #card-signage,
    .state-event #card-event,
    .state-ar #card-ar {
        opacity: 1 !important;
        border-color: rgba(248, 209, 43, 0.8) !important;
        box-shadow: 0 10px 30px rgba(248, 209, 43, 0.3);
    }

    .state-led #card-led h2,
    .state-signage #card-signage h2,
    .state-event #card-event h2,
    .state-ar #card-ar h2 {
        color: #FFFFFF !important;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.6) !important;
    }

    .state-led #card-led .power-indicator,
    .state-signage #card-signage .power-indicator,
    .state-event #card-event .power-indicator,
    .state-ar #card-ar .power-indicator {
        background: linear-gradient(90deg, var(--neon-green, #00ff9d), var(--neon-blue, #00f0ff)) !important;
        box-shadow: 0 0 12px var(--neon-blue, #00f0ff) !important;
    }

    .masonry-grid {
        display: flex;
        flex-direction: column;
    }

    .card-item {
        height: 180px !important;
    }

    .popup-content {
        padding: 24px 20px;
    }

    .popup-title {
        font-size: 1.35rem;
    }

    .topbar {
        width: 96%;
    }
    
    .topbar-inner {
        padding: 10px 15px;
    }

    .topbar-logo .logo-text,
    #js-social-box,
    .topbar-right .social-icons {
        display: none !important;
    }

    .topbar-nav ul {
        justify-content: center;
        gap: 6px;
        flex-wrap: nowrap; 
    }

    .topbar-nav ul li a {
        min-width: auto;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex; 
        align-items: center;
        justify-content: center;
        flex-shrink: 0; 
    }

    .topbar-nav ul li a span {
        display: none;
    }

    .topbar-nav ul li a i {
        font-size: 14px;
    }

    .footer {
        width: 95%;
        height: 45px;
        padding: 0 15px;
    }

    .footer-left { gap: 12px; }
    .footer-left a, .footer-right span { font-size: 0.75rem; }

	 .footer-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .footer-left a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        color: #c8a96b;
        text-decoration: none;
    }

    .footer-left a svg {
        display: block;
        width: 22px;
        height: 22px;
        fill: currentColor;
    }
	
	.footer-right span {
    font-size: 0;
}

.footer-right span::before {
    content: "© 2026 Dazzle Media.";
    font-size: 0.75rem;
}
	
	
	
	
    .hero-caption-box {
        order: -1;
        margin-top: 70px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .hero-main-title { font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 4px; }
    .hero-tagline { font-size: 0.9rem; margin-bottom: 4px; }
    .hero-subtext { font-size: 0.8rem; }

}
 /* Hide centre text in footer on mobile */
    .footer-center {
        display: none !important;
    }
	
	