@font-face {
            font-family: 'ComicSansCustom';
            src: url('../fonts/Comic-Sans-MS-Regular-2.ttf') format('truetype');
            font-weight: 900;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            width: 100%;
            min-height: 100%;
            background: #000;
            overflow-x: hidden;
            overflow-y: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        html::-webkit-scrollbar {
            display: none;
        }

        body {
            width: 100%;
            min-height: 100%;
            background: #000;
            overflow-x: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
        }

        .scrollbar-track {
            position: fixed;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: rgba(255, 255, 255, 0.06);
            z-index: 9998;
        }

        .scrollbar-thumb {
            width: 100%;
            background: rgba(255, 255, 255, 0.35);
            border-radius: 2px;
            transition: height 0.1s, background 0.2s;
        }

        .scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.55);
        }

        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease-in-out;
        }

        .loader-container.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader-logo-wrapper {
            position: relative;
            display: inline-block;
        }

        .loader-logo {
            max-width: 300px;
            max-height: 300px;
            display: block;
            filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff);
        }

        .scan-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            -webkit-mask-image: url('../images/logo.png');
            mask-image: url('../images/logo.png');
            -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            overflow: hidden;
        }

        .scan-line::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                135deg,
                transparent 0%,
                transparent 40%,
                rgba(255, 255, 255, 0.8) 45%,
                rgba(255, 255, 255, 0.8) 55%,
                transparent 60%,
                transparent 100%
            );
            animation: scan 2s linear infinite;
        }

        @keyframes scan {
            0% { transform: translate(-50%, -50%); }
            100% { transform: translate(50%, 50%); }
        }

        .loader-canvas {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .main-content {
            width: 100%;
            min-height: 100%;
            background: #0a0a0f;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .main-content.visible {
            opacity: 1;
        }

        .header-logo {
            position: fixed;
            top: 50px;
            left: 50px;
            max-width: 80px;
            height: auto;
            z-index: 100;
        }

        .menu-btn {
            position: fixed;
            top: 70px;
            right: 80px;
            width: 30px;
            height: 18px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            z-index: 1002;
        }

        .menu-btn span {
            display: block;
            width: 100%;
            height: 6px;
            background: #fff;
            mix-blend-mode: difference;
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        opacity 0.3s;
        }

        .menu-btn.active span {
            mix-blend-mode: normal;
        }

        .menu-btn.active span:first-child {
            transform: translateY(6px) rotate(45deg);
        }

        .menu-btn.active span:last-child {
            transform: translateY(-6px) rotate(-45deg);
        }

        .sidebar-right {
            position: fixed;
            top: 0;
            right: 0;
            width: 60%;
            height: 100%;
            background: #000;
            display: flex;
            flex-direction: column;
            padding: 70px 80px;
            transform: translateX(100%);
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1001;
            clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
        }

        .sidebar-nav {
            display: flex;
            flex-direction: row;
            gap: 36px;
            align-items: center;
            justify-content: center;
        }

        .sidebar-right.active {
            transform: translateX(0);
        }

        .sidebar a {
            display: inline-block;
            padding: 12px 32px;
            color: rgba(255, 255, 255, 0.55);
            text-decoration: none;
            font-size: 24px;
            font-weight: 400;
            border-radius: 999px;
            transition: color 0.3s, background 0.3s;
        }

        .sidebar a:hover {
            color: #fff;
        }

        .sidebar a.active {
            color: #000;
            background: #fff;
        }

        .sidebar-subnav {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 140px;
        }

        .sidebar-subnav a {
            font-size: 40px;
            font-weight: 700;
            padding: 6px 24px;
            color: rgba(255, 255, 255, 0.4);
            transition: color 0.3s, opacity 0.25s ease;
        }

        .sidebar-subnav a:hover {
            color: rgba(255, 255, 255, 0.7);
        }

        .sidebar-subnav a.active {
            color: #fff;
            background: none;
        }

        .lang-selector {
            position: absolute;
            bottom: 40px;
            right: 80px;
            z-index: 10;
            user-select: none;
        }

        .lang-current {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .lang-current .globe-icon {
            width: 16px;
            height: 16px;
            stroke: #fff;
        }

        .lang-current .lang-text {
            color: #fff;
            font-size: 14px;
            font-weight: 400;
            white-space: nowrap;
        }

        .lang-current .arrow-icon {
            width: 10px;
            height: 10px;
            stroke: #fff;
            transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .lang-selector.open .lang-current .arrow-icon {
            transform: rotate(180deg);
        }

        .lang-dropdown {
            position: absolute;
            bottom: calc(100% + 10px);
            right: 0;
            min-width: 160px;
            background: rgba(0, 0, 0, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 4px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(6px);
            transition: opacity 0.25s, visibility 0.25s, transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .lang-selector.open .lang-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .lang-dropdown a {
            display: block;
            padding: 9px 16px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            font-weight: 400;
            text-decoration: none;
            transition: color 0.2s;
        }

        .lang-dropdown a:hover {
            color: #fff;
        }

        .sidebar-image {
            position: fixed;
            top: 0;
            left: 0;
            width: calc(40% + 80px);
            height: 100%;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease-in-out 0.15s, visibility 0.4s ease-in-out 0.15s;
            background-size: auto 100%;
            background-repeat: no-repeat;
            background-position-x: 0%;
            background-position-y: center;
            filter: blur(3px) brightness(0.55);
            overflow: hidden;
        }

        .sidebar-image.visible {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-image.animating {
            animation: panImage 20s ease-in-out infinite alternate;
        }

        @keyframes panImage {
            0%   { background-position-x: 0%; }
            100% { background-position-x: 100%; }
        }

        .sidebar-content {
            position: fixed;
            top: 0;
            left: 0;
            width: calc(40% + 80px);
            height: 100%;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 60px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease-in-out 0.15s, visibility 0.4s ease-in-out 0.15s;
        }

        .sidebar-content.visible {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-content .sidebar-logo {
            max-width: 160px;
            max-height: 160px;
            filter: drop-shadow(0 0 4px rgba(255,255,255,0.5)) drop-shadow(0 0 4px rgba(255,255,255,0.5));
            transition: opacity 0.35s ease;
        }

        .sidebar-content .content-title,
        .sidebar-content .content-desc {
            transition: opacity 0.35s ease;
        }

        .sidebar-content .content-title {
            font-size: 48px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.5);
        }

        .sidebar-content .content-desc {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.8;
            text-align: center;
            max-width: 400px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
            transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .hero {
            position: relative;
            min-height: 420vh;
            color: #fff;
            background: #0a0a0f;
            overflow: hidden;
        }

        .hero-bg-viewport {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            z-index: 0;
        }

        .hero .parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            will-change: transform;
            transform-origin: center center;
            transform: scale(1.3);
        }

        .hero .p-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(
                to top,
                rgba(10,10,15,0.95) 0%,
                rgba(10,10,15,0.4) 40%,
                rgba(10,10,15,0.15) 70%,
                rgba(10,10,15,0.3) 100%
            );
            z-index: 1;
            pointer-events: none;
        }

        .hero-bg3 {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-image: url('../images/bg3.png');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            z-index: 2;
            pointer-events: none;
            opacity: 0;
        }

        .hero-mask-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 1;
            pointer-events: none;
        }

        .play-btn {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 96px;
            height: 72px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s, transform 0.3s;
        }

        .play-btn:hover {
            transform: translate(-50%, -50%) scale(1.08);
        }

        .play-btn svg {
            width: 96px;
            height: 96px;
        }

        .play-btn.hidden {
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -50%) scale(0.8);
        }

        .video-panel {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            pointer-events: none;
            visibility: hidden;
        }

        .video-panel.active {
            pointer-events: auto;
            visibility: visible;
        }

        .video-panel-backdrop {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0);
            transition: background 0.5s;
        }

        .video-panel.active .video-panel-backdrop {
            background: rgba(0,0,0,0.5);
        }

        .video-panel-inner {
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 70%;
            height: 85%;
            background: rgba(10,10,15,0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transform: translateX(-50%) translateY(100%);
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 40px 0 30px;
        }

        .video-panel.active .video-panel-inner {
            transform: translateX(-50%) translateY(0);
        }

        .video-close-btn {
            position: absolute;
            top: 20px;
            right: 32px;
            width: 28px;
            height: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            background: none;
            border: none;
            z-index: 10;
            padding: 0;
        }

        .video-close-btn span {
            display: block;
            width: 100%;
            height: 3px;
            background: #fff;
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .video-close-btn span:first-child {
            transform: translateY(7px) rotate(45deg);
        }

        .video-close-btn span:last-child {
            transform: translateY(-7px) rotate(-45deg);
        }

        .video-container {
            width: 85%;
            max-width: 1000px;
            aspect-ratio: 16/9;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
        }

        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .video-selector {
            display: flex;
            gap: 10px;
            width: 60%;
            max-width: 700px;
            margin-top: 20px;
            flex-shrink: 0;
            align-self: flex-start;
            margin-left: 7.5%;
        }

        .video-selector-btn {
            flex: 1;
            position: relative;
            border-radius: 0;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.06);
            transition: border-color 0.3s, background 0.3s;
            display: flex;
            align-items: stretch;
            padding: 0;
        }

        .video-selector-btn:hover {
            background: rgba(255,255,255,0.1);
        }

        .video-selector-btn.active {
            border-color: rgba(255,255,255,0.5);
            background: rgba(255,255,255,0.08);
        }

        .video-selector-thumb {
            width: 100px;
            min-height: 56px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .video-selector-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: brightness(0.7);
            transition: filter 0.3s;
        }

        .video-selector-btn:hover .video-selector-thumb img {
            filter: brightness(0.85);
        }

        .video-selector-btn.active .video-selector-thumb img {
            filter: brightness(0.9);
        }

        .video-selector-thumb .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 32px;
            height: 32px;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .video-selector-btn:not(.active) .play-icon {
            opacity: 1;
        }

        .play-icon svg {
            width: 14px;
            height: 14px;
            fill: #fff;
            margin-left: 2px;
        }

        .video-selector-thumb .now-playing {
            position: absolute;
            bottom: 6px;
            left: 6px;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(6px);
            color: #fff;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 4px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .video-selector-btn.active .now-playing {
            opacity: 1;
        }

        .video-selector-info {
            padding: 8px 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2px;
            overflow: hidden;
        }

        .video-selector-info h5 {
            margin: 0;
            font-size: 13px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .video-selector-info p {
            margin: 0;
            font-size: 11px;
            color: rgba(255,255,255,0.45);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .main-content {
            position: relative;
            z-index: 2;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 40px;
            background: #0a0a0f;
        }

        .content-block {
            max-width: 900px;
            width: 100%;
        }

        .content-heading {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 24px;
            letter-spacing: 2px;
        }

        .content-text {
            font-size: 16px;
            line-height: 1.8;
            color: rgba(255,255,255,0.65);
            max-width: 680px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 16px;
        }

        .feature-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 28px 20px;
            text-align: center;
            transition: background 0.3s, border-color 0.3s;
        }

        .feature-card:hover {
            background: rgba(255,255,255,0.07);
            border-color: rgba(255,255,255,0.15);
        }

        .feature-icon {
            font-size: 36px;
            margin-bottom: 14px;
        }

        .feature-card h3 {
            font-size: 15px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 13px;
            color: rgba(255,255,255,0.4);
            line-height: 1.6;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .gallery-item {
            aspect-ratio: 16/10;
            overflow: hidden;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.06);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: brightness(0.8);
            transition: filter 0.3s, transform 0.3s;
        }

        .gallery-item:hover img {
            filter: brightness(1);
            transform: scale(1.03);
        }

        .footer-section {
            min-height: auto;
            padding: 60px 40px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }

        .footer-text {
            text-align: center;
            font-size: 14px;
            color: rgba(255,255,255,0.3);
            letter-spacing: 4px;
        }

        @media (max-width: 1296px) {
            .sidebar-image,
            .sidebar-content {
                display: none !important;
            }

            .sidebar-right {
                width: 100%;
                clip-path: none;
                padding: 70px 48px;
            }

            .sidebar-nav {
                margin-top: 60px;
            }

            .sidebar-subnav a {
                font-size: 32px;
            }
        }

        @media (max-width: 768px) {
            .header-logo {
                top: 15px;
                left: 20px;
                max-width: 120px;
            }

            .sidebar-right {
                padding: 60px 28px;
            }

            .sidebar-nav {
                gap: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .sidebar a {
                font-size: 18px;
                padding: 10px 20px;
            }

            .sidebar-subnav a {
                font-size: 26px;
            }

            .sidebar-subnav {
                margin-top: 80px;
            }

            .lang-selector {
                bottom: 28px;
                right: 28px;
            }
        }