/* Section Styles - Hero, Features, Highlights, Workspace, Adaptation, Compliance */

        /* Rights & Compliance Section */
        .compliance-section {
            max-width: 1440px;
            margin: 0 auto 60px;
            padding: 40px;
            background: rgba(10, 10, 10, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(245, 158, 11, 0.15);
            border-radius: 20px;
            position: relative;
            z-index: 1;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 0 1px rgba(245, 158, 11, 0.05) inset,
                        0 0 20px rgba(150, 150, 150, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .compliance-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                        0 0 0 1px rgba(245, 158, 11, 0.1) inset,
                        0 0 25px rgba(150, 150, 150, 0.18);
        }

        .compliance-section .workspace-title-main {
            background: linear-gradient(135deg, #F59E0B, #D97706);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .compliance-section .workspace-title-divider {
            background: linear-gradient(90deg, transparent, #F59E0B 20%, #D97706 80%, transparent);
        }

        /* Trends Injection Section (Legacy - kept for backward compatibility) */
        .trends-section {
            max-width: 1440px;
            margin: 0 auto 60px;
            padding: 40px;
            background: rgba(10, 10, 10, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(251, 191, 36, 0.15);
            border-radius: 20px;
            position: relative;
            z-index: 1;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 0 1px rgba(251, 191, 36, 0.05) inset,
                        0 0 20px rgba(168, 168, 168, 0.12);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .trends-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                        0 0 0 1px rgba(251, 191, 36, 0.1) inset,
                        0 0 25px rgba(168, 168, 168, 0.2);
        }

        .trends-section .workspace-title-main {
            background: linear-gradient(135deg, #FBBF24, #F59E0B);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .trends-section .workspace-title-divider {
            background: linear-gradient(90deg, transparent, #FBBF24 20%, #F59E0B 80%, transparent);
        }

        .trends-container {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 18px;
        }

        .trends-control {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 10px;
            padding: 14px;
            box-shadow: 0 0 12px rgba(168, 168, 168, 0.08);
        }

        .control-header {
            font-size: 12px;
            color: #FBBF24;
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .region-selector {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 12px;
        }

        .region-btn {
            padding: 8px 4px;
            background: rgba(251, 191, 36, 0.1);
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 6px;
            color: #8A8A8A;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            box-shadow: 0 0 4px rgba(168, 168, 168, 0.06);
        }

        .region-btn:hover {
            background: rgba(251, 191, 36, 0.2);
            border-color: #FBBF24;
            box-shadow: 0 2px 8px rgba(168, 168, 168, 0.12);
        }

        .region-btn.active {
            background: linear-gradient(135deg, #F59E0B, #D97706);
            border-color: #F59E0B;
            color: #000;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3),
                        0 0 8px rgba(168, 168, 168, 0.15);
        }

        .intensity-control {
            margin-bottom: 12px;
        }

        .intensity-label {
            display: flex;
            justify-content: space-between;
            font-size: 10px;
            margin-bottom: 6px;
            color: #8A8A8A;
        }

        .intensity-value {
            color: #F59E0B;
            font-weight: 600;
        }

        .brand-safety-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px;
            background: rgba(245, 158, 11, 0.1);
            border: 1px solid #F59E0B;
            border-radius: 6px;
            font-size: 11px;
            margin-bottom: 12px;
            box-shadow: 0 0 8px rgba(168, 168, 168, 0.08);
        }

        .brand-safety-toggle.off {
            background: rgba(245, 158, 11, 0.1);
            border-color: #F59E0B;
        }

        .toggle-switch-sm {
            width: 36px;
            height: 18px;
            background: #F59E0B;
            border-radius: 9px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
        }

        .toggle-switch-sm.off {
            background: #F59E0B;
        }

        .toggle-switch-sm::after {
            content: '';
            position: absolute;
            width: 14px;
            height: 14px;
            background: #000;
            border-radius: 50%;
            top: 2px;
            right: 2px;
            transition: all 0.3s;
        }

        .toggle-switch-sm.off::after {
            left: 2px;
        }

        .trends-library {
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 100, 100, 0.2);
            border-radius: 10px;
            padding: 14px;
        }

        .library-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(255, 100, 100, 0.2);
            padding-bottom: 8px;
        }

        .tab-btn {
            padding: 6px 12px;
            background: transparent;
            border: none;
            color: #8A8A8A;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border-bottom: 2px solid transparent;
        }

        .tab-btn:hover {
            color: #FBBF24;
        }

        .tab-btn.active {
            color: #FBBF24;
            border-bottom-color: #FBBF24;
        }

        .trends-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            max-height: 400px;
            overflow-y: auto;
            padding-right: 6px;
        }

        .trends-grid::-webkit-scrollbar {
            width: 4px;
        }

        .trends-grid::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 2px;
        }

        .trends-grid::-webkit-scrollbar-thumb {
            background: rgba(251, 191, 36, 0.3);
            border-radius: 2px;
        }

        .trend-card {
            background: rgba(251, 191, 36, 0.05);
            border: 1px solid rgba(251, 191, 36, 0.2);
            border-radius: 8px;
            padding: 10px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .trend-card:hover {
            background: rgba(251, 191, 36, 0.1);
            border-color: #FBBF24;
            transform: translateY(-2px);
        }

        .trend-card.selected {
            background: rgba(251, 191, 36, 0.2);
            border-color: #FBBF24;
            box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
        }

        .trend-emoji {
            font-size: 24px;
            margin-bottom: 6px;
        }

        .trend-title {
            font-size: 10px;
            font-weight: 600;
            color: #FFFFFF;
            margin-bottom: 3px;
        }

        .trend-meta {
            font-size: 8px;
            color: #8A8A8A;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .trend-hot {
            color: #FBBF24;
            font-weight: 600;
        }

        .blacklist-manager {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(251, 191, 36, 0.2);
        }

        .blacklist-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .blacklist-title {
            font-size: 10px;
            color: #FBBF24;
            font-weight: 600;
        }

        .blacklist-count {
            font-size: 9px;
            color: #8A8A8A;
        }

        .blacklist-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .blacklist-tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: rgba(251, 191, 36, 0.2);
            border: 1px solid rgba(251, 191, 36, 0.4);
            border-radius: 12px;
            font-size: 9px;
            color: #FBBF24;
        }

        .blacklist-tag .remove {
            cursor: pointer;
            font-weight: 700;
        }

        .blacklist-tag .remove:hover {
            color: #FF0000;
        }

        /* Workspace Section */
        .workspace-container {
            display: grid;
            grid-template-columns: 360px 1fr;
            gap: 18px;
            animation: fadeIn 1s ease-out;
            margin-bottom: 0;
        }

        /* 控制面板 */
        .control-panel {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(221, 202, 128, 0.2);
            border-radius: 10px;
            padding: 14px;
            height: fit-content;
            box-shadow: 0 0 12px rgba(176, 176, 176, 0.08);
        }

        .panel-section {
            margin-bottom: 14px;
        }

        .panel-section h4 {
            font-size: 11px;
            margin-bottom: 10px;
            color: #DDD280;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        /* Persona preset cards */
        .persona-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-bottom: 10px;
        }

        .persona-card {
            padding: 10px 8px;
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(221, 202, 128, 0.3);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            box-shadow: 0 0 6px rgba(176, 176, 176, 0.06);
        }

        .persona-card:hover {
            background: rgba(221, 202, 128, 0.1);
            border-color: #DDD280;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(176, 176, 176, 0.12);
        }

        .persona-card.active {
            background: rgba(221, 202, 128, 0.2);
            border-color: #DDD280;
            box-shadow: 0 0 15px rgba(221, 202, 128, 0.3),
                        0 0 8px rgba(176, 176, 176, 0.15);
        }

        .persona-card-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(221, 202, 128, 0.4);
            transition: all 0.3s;
        }

        .persona-card.active .persona-card-avatar {
            border-color: #DDD280;
            box-shadow: 0 0 10px rgba(221, 202, 128, 0.5);
        }

        .persona-card-name {
            font-size: 11px;
            font-weight: 700;
            color: #DDD280;
            margin-bottom: 2px;
            text-align: center;
        }

        .persona-card-tagline {
            font-size: 9px;
            color: #8A8A8A;
            line-height: 1.2;
            text-align: center;
        }

        .persona-card.active .persona-card-name {
            color: #DDD280;
        }

        /* Persona info display */
        .persona-info {
            background: rgba(221, 202, 128, 0.05);
            border: 1px solid rgba(221, 202, 128, 0.2);
            border-radius: 6px;
            padding: 13px;
            margin-bottom: 14px;
            height: 90px;
            box-shadow: 0 0 8px rgba(176, 176, 176, 0.08);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .persona-info-title {
            font-size: 11px;
            color: #DDD280;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .persona-info-catchphrase {
            font-size: 12px;
            color: #FFFFFF;
            font-style: italic;
            margin-bottom: 5px;
        }

        .persona-info-description {
            font-size: 10px;
            color: #8A8A8A;
            line-height: 1.4;
        }

        /* Explanation Panel */
        .explanation-panel {
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(221, 202, 128, 0.15);
            border-radius: 10px;
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-shadow: 0 0 10px rgba(176, 176, 176, 0.08);
        }

        .explanation-content {
            margin-bottom: 0;
        }

        .explanation-step {
            display: flex;
            gap: 12px;
            margin-bottom: 10px;
        }

        .step-number {
            flex-shrink: 0;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: linear-gradient(135deg, #DDD280, #FBBF24);
            color: #000000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
        }

        .step-content h4 {
            font-size: 13px;
            color: #FFFFFF;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .step-content p {
            font-size: 11px;
            color: #8A8A8A;
            line-height: 1.4;
        }

        /* Persona Showcase */
        .persona-showcase {
            padding-top: 16px;
            border-top: 1px solid rgba(232, 232, 232, 0.15);
        }

        .persona-showcase h4 {
            font-size: 11px !important;
            margin-bottom: 12px !important;
        }

        .persona-showcase-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .showcase-item {
            text-align: center;
        }

        .showcase-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(232, 232, 232, 0.3);
            margin: 0 auto 6px;
            transition: all 0.3s;
            display: block;
        }

        .showcase-avatar:nth-of-type(1),
        .showcase-avatar:nth-of-type(4) {
            object-position: center 25%;
        }

        .showcase-avatar:nth-of-type(2),
        .showcase-avatar:nth-of-type(5) {
            object-position: center 35%;
        }

        .showcase-avatar:nth-of-type(3) {
            object-position: center 20%;
        }

        .showcase-avatar:nth-of-type(6) {
            object-position: center center;
        }

        .showcase-item:hover .showcase-avatar {
            border-color: #E8E8E8;
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(232, 232, 232, 0.4);
        }

        .showcase-name {
            font-size: 10px;
            color: #8A8A8A;
            font-weight: 500;
        }

        /* 滑块 */
        .slider-group {
            margin-bottom: 14px;
        }

        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 11px;
        }

        .slider-value {
            color: #E8E8E8;
            font-weight: 700;
            font-size: 13px;
        }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 4px;
            border-radius: 2px;
            background: rgba(221, 202, 128, 0.1);
            outline: none;
            transition: background 0.3s;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #DDD280;
            cursor: pointer;
            box-shadow: 0 0 10px rgba(221, 202, 128, 0.6),
                        0 0 6px rgba(176, 176, 176, 0.3);
            transition: all 0.3s;
        }

        .slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 0 15px rgba(221, 202, 128, 0.8),
                        0 0 8px rgba(176, 176, 176, 0.4);
        }

        .slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #DDD280;
            cursor: pointer;
            border: none;
            box-shadow: 0 0 10px rgba(221, 202, 128, 0.6),
                        0 0 6px rgba(176, 176, 176, 0.3);
        }

        .slider-hint {
            display: flex;
            justify-content: space-between;
            font-size: 9px;
            color: #4A4A4A;
            margin-top: 3px;
        }

        /* 操作按钮 */
        .action-buttons {
            display: flex;
            gap: 8px;
            margin-bottom: 14px;
        }

        .btn-small {
            flex: 1;
            padding: 7px 10px;
            font-size: 11px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid rgba(221, 202, 128, 0.4);
            background: rgba(0, 0, 0, 0.4);
            color: #DDD280;
            font-weight: 600;
            box-shadow: 0 0 6px rgba(176, 176, 176, 0.08);
        }

        .btn-small:hover {
            background: rgba(221, 202, 128, 0.15);
            box-shadow: 0 0 15px rgba(221, 202, 128, 0.3),
                        0 0 8px rgba(176, 176, 176, 0.15);
        }

        /* 六版本播放区 */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 12px;
            padding: 20px;
        }

        .video-hint {
            grid-column: 1 / -1;
            text-align: center;
            color: #8A8A8A;
            padding: 12px;
            background: rgba(232, 232, 232, 0.05);
            border-radius: 6px;
            margin-bottom: 12px;
            font-size: 13px;
        }

        .video-card {
            background: rgba(0, 0, 0, 0.8);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

        .video-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(232, 232, 232, 0.3);
            border-color: #E8E8E8;
        }

        .video-placeholder {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            position: relative;
            overflow: hidden;
        }

        .video-placeholder::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            pointer-events: none;
            z-index: 1;
        }

        .avatar-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            filter: brightness(0.85) saturate(1.1);
        }

        /* Individual avatar positioning */
        .video-card[data-persona="PRO"] .avatar-img {
            object-position: center 18%;
        }

        .video-card[data-persona="GEN-Z"] .avatar-img {
            object-position: center 35%;
        }

        .video-card[data-persona="CASUAL"] .avatar-img {
            object-position: center 25%;
        }

        .video-card[data-persona="LALIGA"] .avatar-img {
            object-position: center 18%;
        }

        .video-card[data-persona="K-WAVE"] .avatar-img {
            object-position: center 35%;
        }

        .video-card[data-persona="K-POP"] .avatar-img {
            object-position: center center;
        }

        .video-card:hover .avatar-img {
            transform: scale(1.08);
            filter: brightness(1) saturate(1.2);
        }

        .video-card:hover .video-placeholder::after {
            background: linear-gradient(180deg, transparent 0%, rgba(232, 232, 232, 0.15) 100%);
        }

        .play-button {
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid #E8E8E8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            color: #E8E8E8;
            z-index: 2;
            backdrop-filter: blur(10px);
        }

        .play-button:hover {
            background: rgba(232, 232, 232, 0.3);
            transform: scale(1.15);
            box-shadow: 0 0 25px rgba(232, 232, 232, 0.8);
        }

        .video-info {
            padding: 12px;
            position: relative;
        }

        .video-title {
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 14px;
            color: #FFFFFF;
            letter-spacing: 0.3px;
        }

        /* Persona badge */
        .video-card::before {
            content: attr(data-persona);
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(232, 232, 232, 0.5);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 700;
            color: #E8E8E8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .video-card:hover::before {
            opacity: 1;
        }

        .video-params {
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 11px;
            color: #8A8A8A;
        }

        .param-bar {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .param-label {
            width: 60px;
        }

        .param-value {
            flex: 1;
            height: 3px;
            background: rgba(232, 232, 232, 0.1);
            border-radius: 2px;
            overflow: hidden;
        }

        .param-fill {
            height: 100%;
            background: linear-gradient(90deg, #E8E8E8, #FBBF24);
            transition: width 0.5s;
            box-shadow: 0 0 8px rgba(232, 232, 232, 0.5);
        }

        /* 动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        .generating {
            animation: pulse 1.5s infinite;
        }

        /* 响应式 */
        @media (max-width: 1024px) {
            .workspace-container {
                grid-template-columns: 1fr;
            }

            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .goods-grid {
                grid-template-columns: 1fr;
            }

            .hero h1 {
                font-size: 40px;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 12px 20px;
            }

            .logo {
                font-size: 18px;
            }

            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                position: absolute;
                top: 60px;
                left: 0;
                right: 0;
                flex-direction: column;
                gap: 0;
                background: rgba(0, 0, 0, 0.95);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid rgba(232, 232, 232, 0.1);
                padding: 20px 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                z-index: 999;
            }

            .nav-links.active {
                max-height: 300px;
            }

            .nav-links a {
                padding: 12px 20px;
                font-size: 14px;
                border-bottom: 1px solid rgba(232, 232, 232, 0.05);
            }

            .nav-links a::after {
                bottom: 0;
                height: 3px;
                background: #FBBF24;
            }

            .nav-cta-btn {
                margin: 15px 20px;
                width: calc(100% - 40px);
                padding: 12px;
            }

            .navbar {
                flex-wrap: wrap;
            }
        }

        /* Footer */
        .footer {
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(232, 232, 232, 0.1);
            padding: 60px 40px 30px;
            margin-top: 80px;
            position: relative;
            z-index: 10;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 40px;
            align-items: center;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(232, 232, 232, 0.1);
        }

        .footer-left {
            text-align: left;
        }

        .footer-logo {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: -1px;
            background: linear-gradient(135deg, #E8E8E8, #FBBF24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
        }

        .footer-tagline {
            font-size: 13px;
            color: #888;
            margin: 0;
        }

        .footer-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .contact-label {
            font-size: 12px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .contact-email {
            color: #E8E8E8;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s;
            padding: 6px 12px;
            border-radius: 6px;
            background: rgba(232, 232, 232, 0.05);
        }

        .contact-email:hover {
            color: #FBBF24;
            background: rgba(251, 191, 36, 0.1);
        }

        .footer-right {
            display: flex;
            justify-content: flex-end;
        }

        .footer-tech {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            background: rgba(251, 191, 36, 0.1);
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 20px;
        }

        .tech-badge {
            font-size: 11px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .tech-name {
            font-size: 14px;
            font-weight: 700;
            color: #FBBF24;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .tech-name:hover {
            color: #FFF;
            text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 30px;
            text-align: center;
        }

        .footer-bottom p {
            font-size: 13px;
            color: #666;
            margin: 0;
        }

        @media (max-width: 768px) {
            .footer {
                padding: 40px 24px 20px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }

            .footer-left {
                text-align: center;
            }

            .footer-right {
                justify-content: center;
            }

            .footer-contact {
                align-items: center;
            }
        }

        /* 加载状态 */
        /* Demo Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 12px;
            padding: 28px;
            max-width: 480px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.4s ease;
        }

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

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 36px;
            height: 36px;
            border: none;
            background: rgba(255, 255, 255, 0.1);
            color: #FFF;
            font-size: 24px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .modal-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 6px;
            background: linear-gradient(135deg, #E8E8E8, #FBBF24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-subtitle {
            font-size: 12px;
            color: #AAA;
            margin-bottom: 18px;
            line-height: 1.4;
        }

        .demo-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 12px;
            font-weight: 600;
            color: #E8E8E8;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 6px;
            padding: 9px 12px;
            color: #FFF;
            font-size: 13px;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #FBBF24;
            box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #666;
        }

        .form-group select {
            cursor: pointer;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 60px;
        }

        /* Modal Divider */
        .modal-divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 20px 0 16px 0;
            position: relative;
        }

        .modal-divider::before,
        .modal-divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid rgba(232, 232, 232, 0.2);
        }

        .modal-divider span {
            padding: 0 16px;
            color: rgba(232, 232, 232, 0.5);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
        }

        /* Waitlist Section */
        .waitlist-section {
            background: rgba(232, 232, 232, 0.03);
            border: 1px solid rgba(232, 232, 232, 0.1);
            border-radius: 8px;
            padding: 18px;
            margin-bottom: 0;
        }

        .waitlist-title {
            font-size: 16px;
            font-weight: 600;
            color: #E8E8E8;
            margin-bottom: 6px;
        }

        .waitlist-subtitle {
            font-size: 12px;
            color: rgba(232, 232, 232, 0.6);
            margin-bottom: 14px;
            line-height: 1.3;
        }

        .waitlist-form {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .waitlist-input-group {
            display: flex;
            gap: 8px;
        }

        .waitlist-input-group input {
            flex: 1;
            padding: 9px 12px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 6px;
            color: #FFF;
            font-size: 13px;
            transition: all 0.3s;
        }

        .waitlist-input-group input:focus {
            outline: none;
            border-color: rgba(232, 232, 232, 0.5);
            background: rgba(0, 0, 0, 0.6);
        }

        .waitlist-input-group input::placeholder {
            color: rgba(232, 232, 232, 0.4);
        }

        .btn-waitlist {
            padding: 9px 20px;
            background: linear-gradient(135deg, #E8E8E8, #B0B0B0);
            color: #000;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .btn-waitlist:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(232, 232, 232, 0.3);
            filter: brightness(1.1);
        }

        .btn-waitlist:active {
            transform: translateY(0);
        }

        .demo-success {
            text-align: center;
            padding: 20px;
        }

        .success-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #00FF9D, #00FFFF);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: #000;
            margin: 0 auto 20px;
            animation: scaleIn 0.5s ease;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
            }
            to {
                transform: scale(1);
            }
        }

        .demo-success h4 {
            font-size: 24px;
            margin-bottom: 12px;
            color: #FFF;
        }

        .demo-success p {
            font-size: 14px;
            color: #AAA;
            line-height: 1.6;
        }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 14, 39, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .loading-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .loading-content {
            text-align: center;
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(91, 127, 255, 0.2);
            border-top-color: #5B7FFF;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 24px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .progress-bar {
            width: 300px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            overflow: hidden;
            margin: 16px auto;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #5B7FFF, #8B5FFF);
            width: 0%;
            transition: width 0.3s;
        }

        /* Toast通知 */
        .toast {
            position: fixed;
            bottom: 32px;
            right: 32px;
            padding: 16px 24px;
            background: rgba(0, 217, 142, 0.9);
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            transform: translateX(400px);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 10000;
        }

        .toast.show {
            transform: translateX(0);
        }

        /* Context-Aware Highlights Section - Outer Island */
        .highlights-section {
            max-width: 1440px;
            margin: 0 auto 60px;
            padding: 40px;
            background: rgba(10, 10, 10, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(232, 232, 232, 0.15);
            border-radius: 20px;
            position: relative;
            z-index: 1;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 0 1px rgba(232, 232, 232, 0.05) inset,
                        0 0 20px rgba(192, 192, 192, 0.15);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .highlights-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                        0 0 0 1px rgba(232, 232, 232, 0.1) inset,
                        0 0 30px rgba(192, 192, 192, 0.25);
        }

        .highlights-section .workspace-title-main {
            background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .highlights-section .workspace-title-divider {
            background: linear-gradient(90deg, transparent, #E8E8E8 20%, #D0D0D0 80%, transparent);
        }

        /* Inner Islands - Match Timeline Layout & Controls Section */
        .match-timeline-layout,
        .highlights-controls-section {
            margin-bottom: 24px;
            padding: 24px;
            background: rgba(15, 15, 15, 0.6);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(232, 232, 232, 0.12);
            border-radius: 16px;
            position: relative;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                        0 0 0 1px rgba(232, 232, 232, 0.03) inset,
                        0 0 15px rgba(192, 192, 192, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .highlights-controls-section {
            margin-bottom: 0;
        }

        .match-timeline-layout:hover,
        .highlights-controls-section:hover {
            transform: translateY(-1px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4),
                        0 0 0 1px rgba(232, 232, 232, 0.06) inset,
                        0 0 20px rgba(192, 192, 192, 0.15);
        }

        .highlights-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
        }

        .highlights-config {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(232, 232, 232, 0.3);
            border-radius: 10px;
            padding: 14px;
            box-shadow: 0 0 15px rgba(192, 192, 192, 0.1);
        }

        /* Preset System */
        .presets-section {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-bottom: 14px;
        }

        .preset-chip {
            padding: 10px 8px;
            background: rgba(232, 232, 232, 0.1);
            border: 1px solid rgba(232, 232, 232, 0.3);
            border-radius: 6px;
            color: #8A8A8A;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .preset-chip:hover {
            background: rgba(232, 232, 232, 0.15);
            border-color: #E8E8E8;
            transform: translateY(-1px);
        }

        .preset-chip.active {
            background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
            border-color: #E8E8E8;
            color: #000;
            box-shadow: 0 0 12px rgba(232, 232, 232, 0.4),
                        0 0 4px rgba(192, 192, 192, 0.2);
        }

        /* Advanced Controls */
        .slider-control {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 12px;
        }

        .slider-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 10px;
            color: #E8E8E8;
            font-weight: 600;
        }

        .slider-value {
            background: rgba(232, 232, 232, 0.2);
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 700;
            color: #E8E8E8;
        }

        .advanced-slider {
            width: 100%;
            height: 4px;
        }

        /* Enhanced Stats */
        .stats-detail {
            background: rgba(232, 232, 232, 0.05);
            border: 1px solid rgba(232, 232, 232, 0.15);
            border-radius: 8px;
            padding: 10px;
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .stat-detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 10px;
            color: #E8E8E8;
        }

        .stat-icon {
            font-size: 12px;
        }

        .stat-detail-text {
            flex: 1;
        }

        .stat-detail-text strong {
            color: #E8E8E8;
            font-weight: 700;
        }

        .highlight-type-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-bottom: 14px;
        }

        .highlight-type-btn {
            padding: 10px 8px;
            background: rgba(232, 232, 232, 0.1);
            border: 1px solid rgba(232, 232, 232, 0.3);
            border-radius: 6px;
            color: #8A8A8A;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }

        .highlight-type-btn:hover {
            background: rgba(232, 232, 232, 0.2);
            border-color: #E8E8E8;
        }

        .highlight-type-btn.active {
            background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
            border-color: #E8E8E8;
            color: #000;
            box-shadow: 0 4px 12px rgba(232, 232, 232, 0.3),
                        0 0 8px rgba(192, 192, 192, 0.2);
        }

        .buffer-control {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 12px;
        }

        .buffer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 10px;
            color: #E8E8E8;
            font-weight: 600;
        }

        .buffer-value {
            background: rgba(0, 0, 0, 0.3);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            color: #E8E8E8;
        }

        .buffer-slider {
            width: 100%;
            height: 4px;
        }

        .adaptive-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            background: rgba(232, 232, 232, 0.1);
            border: 1px solid rgba(232, 232, 232, 0.3);
            border-radius: 6px;
            font-size: 11px;
            margin-bottom: 12px;
            box-shadow: 0 0 8px rgba(192, 192, 192, 0.08);
        }

        .adaptive-toggle.on {
            background: rgba(232, 232, 232, 0.2);
            border-color: #E8E8E8;
        }

        .toggle-switch-orange {
            width: 36px;
            height: 18px;
            background: rgba(232, 232, 232, 0.3);
            border-radius: 9px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
        }

        .toggle-switch-orange.on {
            background: #E8E8E8;
        }

        .toggle-switch-orange::after {
            content: '';
            position: absolute;
            width: 14px;
            height: 14px;
            background: #000;
            border-radius: 50%;
            top: 2px;
            left: 2px;
            transition: all 0.3s;
        }

        .toggle-switch-orange.on::after {
            left: 20px;
        }

        .detection-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .detection-stat {
            background: rgba(232, 232, 232, 0.05);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 6px;
            padding: 8px;
            text-align: center;
            box-shadow: 0 0 6px rgba(192, 192, 192, 0.08);
        }

        .detection-number {
            font-size: 14px;
            font-weight: 700;
            color: #E8E8E8;
            margin-bottom: 2px;
        }

        .detection-label {
            font-size: 9px;
            color: #8A8A8A;
        }

        /* Enhanced Timeline */
        .highlights-preview {
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 10px;
            padding: 14px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 0 12px rgba(192, 192, 192, 0.1);
        }

        .preview-title {
            font-size: 12px;
            color: #E8E8E8;
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .preview-timeline-enhanced {
            margin-bottom: 12px;
        }

        .timeline-header {
            display: flex;
            justify-content: space-between;
            padding: 0 6px 8px;
            font-size: 9px;
            color: #8A8A8A;
            font-weight: 600;
        }

        .timeline-label {
            flex: 1;
        }

        .preview-timeline {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(232, 232, 232, 0.2);
            border-radius: 6px;
            height: 200px;
            margin-bottom: 8px;
            position: relative;
            overflow: visible;
        }

        .timeline-bar {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, 
                rgba(232, 232, 232, 0.1) 0%,
                rgba(232, 232, 232, 0.3) 20%,
                rgba(232, 232, 232, 0.1) 40%,
                rgba(232, 232, 232, 0.3) 60%,
                rgba(232, 232, 232, 0.1) 80%,
                rgba(232, 232, 232, 0.3) 100%
            );
        }

        .highlight-markers {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            padding: 4px 0;
        }

        .highlight-mark {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 9px;
            color: #E8E8E8;
            padding: 0 6px;
            cursor: grab;
            transition: all 0.2s;
            user-select: none;
        }

        .highlight-mark:hover {
            color: #FFF;
            transform: scale(1.05);
        }

        .highlight-mark.dragging {
            opacity: 0.7;
            cursor: grabbing;
        }

        .mark-indicator {
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            background: rgba(232, 232, 232, 0.2);
            border: 1px solid rgba(232, 232, 232, 0.4);
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(232, 232, 232, 0.4);
            transition: all 0.2s;
        }

        .highlight-mark:hover .mark-indicator {
            background: rgba(232, 232, 232, 0.4);
            box-shadow: 0 0 12px rgba(232, 232, 232, 0.6);
        }

        .timeline-hint {
            font-size: 9px;
            color: #8A8A8A;
            padding: 6px;
            background: rgba(232, 232, 232, 0.05);
            border-radius: 4px;
            text-align: center;
        }

        .timeline-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 12px;
        }

        .timeline-stat {
            background: rgba(232, 232, 232, 0.08);
            border: 1px solid rgba(232, 232, 232, 0.15);
            border-radius: 6px;
            padding: 8px;
            text-align: center;
        }

        .timeline-stat .stat-label {
            font-size: 8px;
            color: #8A8A8A;
            margin-bottom: 4px;
        }

        .timeline-stat .stat-value {
            font-size: 12px;
            font-weight: 700;
            color: #E8E8E8;
        }

        /* Enhanced Action Buttons */
        .preview-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .action-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .action-btn {
            padding: 10px 8px;
            background: rgba(232, 232, 232, 0.1);
            border: 1px solid rgba(232, 232, 232, 0.3);
            border-radius: 6px;
            color: #E8E8E8;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }

        .action-btn:hover {
            background: rgba(232, 232, 232, 0.2);
            border-color: #E8E8E8;
            transform: translateY(-1px);
        }

        .action-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .action-btn.secondary {
            background: rgba(232, 232, 232, 0.08);
            border-color: rgba(232, 232, 232, 0.2);
        }

        .action-btn.apply {
            background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
            border-color: #E8E8E8;
            color: #000;
            grid-column: 1 / -1;
            box-shadow: 0 4px 12px rgba(232, 232, 232, 0.3),
                        0 0 8px rgba(192, 192, 192, 0.2);
        }

        .action-btn.apply:hover {
            box-shadow: 0 6px 16px rgba(232, 232, 232, 0.4),
                        0 0 12px rgba(192, 192, 192, 0.3);
            transform: translateY(-2px);
        }
/* ========== Context-Aware Highlights Redesign ========== */

.highlights-redesign-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Row: Video Source + Timeline */
.highlights-top-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
}

/* Video Source Card */
.video-source-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 10px;
    padding: 14px;
}

.source-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #E8E8E8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.source-icon {
    font-size: 16px;
}

.source-match-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-teams {
    font-size: 13px;
    font-weight: 700;
    color: #E8E8E8;
    line-height: 1.3;
}

.match-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    color: #8A8A8A;
}

.match-duration {
    font-size: 18px;
    font-weight: 700;
    color: #E8E8E8;
    margin-top: 8px;
}

/* 90-Min Timeline */
.timeline-90min {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 10px;
    padding: 14px;
}

.timeline-header-90 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 11px;
    font-weight: 600;
    color: #E8E8E8;
    text-transform: uppercase;
}

.timeline-legend {
    font-size: 9px;
    color: #8A8A8A;
}

.timeline-bar-container {
    position: relative;
}

.timeline-bar-90 {
    position: relative;
    height: 40px;
    background: linear-gradient(to right, 
        rgba(232, 232, 232, 0.05) 0%,
        rgba(232, 232, 232, 0.1) 50%,
        rgba(232, 232, 232, 0.05) 100%
    );
    border: 1px solid rgba(232, 232, 232, 0.15);
    border-radius: 6px;
    margin-bottom: 8px;
}

.timeline-moment {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 24px;
    background: #E8E8E8;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(232, 232, 232, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.timeline-moment:hover {
    height: 30px;
    box-shadow: 0 0 12px rgba(232, 232, 232, 0.8);
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #8A8A8A;
    font-weight: 600;
}

/* Detected Moments Section */
.moments-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 10px;
    padding: 16px;
}

.moments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.moments-title {
    font-size: 12px;
    font-weight: 600;
    color: #E8E8E8;
}

.moments-actions {
    display: flex;
    gap: 8px;
}

.moments-btn {
    padding: 6px 12px;
    background: rgba(232, 232, 232, 0.1);
    border: 1px solid rgba(232, 232, 232, 0.3);
    border-radius: 4px;
    color: #E8E8E8;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.moments-btn:hover {
    background: rgba(232, 232, 232, 0.2);
    border-color: #E8E8E8;
}

/* Moments Grid */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}

.moments-grid::-webkit-scrollbar {
    width: 4px;
}

.moments-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.moments-grid::-webkit-scrollbar-thumb {
    background: rgba(232, 232, 232, 0.3);
    border-radius: 2px;
}

/* Moment Card */
.moment-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.moment-card:hover {
    transform: translateY(-2px);
    border-color: #E8E8E8;
    box-shadow: 0 4px 12px rgba(232, 232, 232, 0.3);
    opacity: 1;
}

.moment-card.selected {
    border-color: #E8E8E8;
    background: rgba(232, 232, 232, 0.15);
    opacity: 1;
    box-shadow: 0 0 12px rgba(232, 232, 232, 0.4);
}

.moment-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.moment-type {
    font-size: 10px;
    font-weight: 700;
    color: #E8E8E8;
    margin-bottom: 4px;
}

.moment-time {
    font-size: 9px;
    color: #8A8A8A;
    margin-bottom: 2px;
}

.moment-duration {
    font-size: 8px;
    color: #E8E8E8;
    background: rgba(232, 232, 232, 0.15);
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.moment-player {
    font-size: 8px;
    color: #8A8A8A;
    margin-bottom: 4px;
}

.moment-status {
    font-size: 9px;
    color: #E8E8E8;
    font-weight: 600;
    min-height: 14px;
}

/* Control Row */
.highlights-control-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.control-group {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 10px;
    padding: 14px;
}

.control-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.control-icon {
    font-size: 14px;
}

.control-title {
    font-size: 11px;
    font-weight: 600;
    color: #E8E8E8;
    text-transform: uppercase;
}

.control-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(232, 232, 232, 0.05);
    border: 1px solid rgba(232, 232, 232, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 10px;
    color: #E8E8E8;
}

.radio-option:hover {
    background: rgba(232, 232, 232, 0.1);
    border-color: rgba(232, 232, 232, 0.3);
}

.radio-option input[type="radio"] {
    accent-color: #E8E8E8;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 700;
}

/* Output Preview */
.output-preview {
    background: rgba(232, 232, 232, 0.08);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 10px;
    padding: 14px;
}

.preview-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11px;
    color: #E8E8E8;
}

.preview-stat {
    display: flex;
    gap: 6px;
}

.preview-stat strong {
    color: #8A8A8A;
    font-weight: 600;
}

.preview-stat span {
    color: #E8E8E8;
    font-weight: 700;
}

/* Action Buttons */
.highlights-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.highlights-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.highlights-btn.secondary {
    background: rgba(232, 232, 232, 0.1);
    border: 1px solid rgba(232, 232, 232, 0.3);
    color: #E8E8E8;
}

.highlights-btn.secondary:hover {
    background: rgba(232, 232, 232, 0.2);
    border-color: #E8E8E8;
    transform: translateY(-1px);
}

.highlights-btn.primary {
    background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
    border: 1px solid #E8E8E8;
    color: #000;
    box-shadow: 0 4px 12px rgba(232, 232, 232, 0.3);
}

.highlights-btn.primary:hover {
    box-shadow: 0 6px 16px rgba(232, 232, 232, 0.4);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .highlights-top-row {
        grid-template-columns: 1fr;
    }
    
    .highlights-control-row {
        grid-template-columns: 1fr;
    }
    
    .moments-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    .moments-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        max-height: 250px;
    }
    
    .preview-stats {
        flex-direction: column;
        gap: 8px;
    }
}
/* ========================================
   🎬 Context-Aware Highlights - Animations & Enhancements
   ======================================== */

/* 1️⃣ 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 2️⃣ Timeline Marker 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(232, 232, 232, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(232, 232, 232, 0.9);
        transform: scale(1.1);
    }
}

.timeline-segment.has-moment {
    animation: pulse 2s ease-in-out infinite;
}

/* 3️⃣ 卡片选中动画 */
@keyframes cardSelect {
    0% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.08); 
    }
    100% { 
        transform: scale(1.05); 
    }
}

.moment-card.selected {    animation: cardSelect 0.3s ease-out forwards;
}

/* ===================================
   🌍 Global Adaptation Engine Section
   =================================== */
/* Moved to adaptation_styles.css */

