* {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100%;
            background: #000;
        }

        body {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            background: #000;
            color: #fff;
            font-family: "Segoe UI", Arial, sans-serif;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        input {
            font-family: inherit;
        }

        .site-header {
            width: 100%;
            height: 72px;
            flex-shrink: 0;
            background: #000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .header-inner {
            width: 100%;
            max-width: 1200px;
            height: 100%;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 11px;
            min-width: 0;
        }

        .brand-logo {
            width: 46px;
            height: 46px;
            flex: 0 0 46px;
            display: block;
            border-radius: 11px;
            object-fit: cover;
        }

        .brand-info {
            min-width: 0;
        }

        .brand-name {
            display: block;
            color: #fff;
            font-size: 19px;
            line-height: 1.15;
            font-weight: 700;
            white-space: nowrap;
        }

        .brand-subtitle {
            display: block;
            margin-top: 3px;
            color: #777;
            font-size: 11px;
            line-height: 1;
        }

        .page {
            width: 100%;
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 42px 24px 0;
            background: #000;
        }

        .container {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            flex: 1;
        }

        .intro {
            width: 100%;
            margin-bottom: 32px;
            text-align: center;
        }

        .intro h1 {
            margin: 0 0 14px;
            color: #fff;
            font-size: clamp(32px, 3vw, 46px);
            line-height: 1.15;
            font-weight: 700;
        }

        .intro p {
            max-width: 760px;
            margin: 0 auto 26px;
            color: #a0a0b0;
            font-size: 16px;
            line-height: 1.6;
        }

        .quick-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .quick-action {
            min-height: 46px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 0 19px;
            border-radius: 11px;
            font-size: 14px;
            font-weight: 600;
            transition: filter 0.15s ease, transform 0.15s ease;
        }

        .quick-action:hover {
            filter: brightness(1.08);
        }

        .quick-action:active {
            transform: scale(0.97);
        }

        .quick-action.website {
            background: #22c55e;
            color: #fff;
        }

        .quick-action.support {
            background: #0088cc;
            color: #fff;
        }

        .quick-action i {
            width: 18px;
            text-align: center;
            font-size: 14px;
        }

        .search-section {
            width: 100%;
            margin-bottom: 22px;
        }

        .search-card {
            width: 100%;
            padding: 7px;
            background: #050505;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
        }

        .search-form {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .search-icon {
            width: 48px;
            height: 52px;
            flex: 0 0 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #777;
            font-size: 18px;
        }

        .search-input {
            width: 100%;
            min-width: 0;
            height: 52px;
            padding: 0 5px;
            border: 0;
            outline: 0;
            background: transparent;
            color: #fff;
            font-size: 15px;
        }

        .search-input::placeholder {
            color: #666;
        }

        .search-button {
            height: 52px;
            min-width: 105px;
            padding: 0 22px;
            flex: 0 0 auto;
            border: 0;
            border-radius: 11px;
            background: linear-gradient(135deg, #ff3cac 0%, #784ba0 100%);
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
        }

        .search-button:hover {
            filter: brightness(1.1);
        }

        .search-button:active {
            transform: scale(0.97);
        }

        .search-button:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .error-message {
            display: none;
            width: 100%;
            margin-bottom: 14px;
            padding: 12px 14px;
            border: 1px solid rgba(239, 68, 68, 0.2);
            border-radius: 10px;
            background: #080000;
            color: #ff8585;
            font-size: 13px;
            line-height: 1.45;
        }

        .loading {
            display: none;
            width: 100%;
            padding: 12px;
            margin-bottom: 14px;
            text-align: center;
            color: #999;
            font-size: 13px;
        }

        .loading-spinner {
            display: inline-block;
            width: 15px;
            height: 15px;
            margin-right: 7px;
            vertical-align: -3px;
            border: 2px solid rgba(255, 255, 255, 0.12);
            border-top-color: #ff3cac;
            border-radius: 50%;
            animation: spin 0.65s linear infinite;
        }

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

        #videoContent {
            display: none;
            width: 100%;
        }

        .player-card {
            width: 100%;
            overflow: hidden;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.09);
            border-radius: 13px;
        }

        .player-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #000;
        }

        .player-wrapper video {
            display: block;
            width: 100%;
            height: 100%;
            background: #000;
            object-fit: contain;
            object-position: center;
        }

        .player-loading {
            position: absolute;
            inset: 0;
            z-index: 10;
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.55);
            color: #fff;
            font-size: 13px;
            pointer-events: none;
        }

        .player-loading .loading-spinner {
            width: 18px;
            height: 18px;
            margin: 0;
        }

        .video-details {
            width: 100%;
            margin-top: 14px;
            padding: 18px;
            background: #050505;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
        }

        .video-details-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
        }

        .video-info {
            min-width: 0;
            flex: 1;
        }

        .video-title {
            margin: 0;
            color: #fff;
            font-size: 20px;
            line-height: 1.4;
            font-weight: 700;
            word-break: break-word;
        }

        .video-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px 20px;
            margin-top: 10px;
            color: #888;
            font-size: 13px;
        }

        .video-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .meta-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #555;
        }

        .download-button {
            min-width: 125px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 17px;
            border: 0;
            border-radius: 10px;
            background: linear-gradient(135deg, #ff3cac 0%, #784ba0 100%);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: filter 0.15s ease, transform 0.15s ease;
        }

        .download-button:hover {
            filter: brightness(1.1);
        }

        .download-button:active {
            transform: scale(0.97);
        }

        .related-section {
            width: 100%;
            margin-top: 30px;
        }

        .related-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }

        .related-title {
            margin: 0;
            color: #fff;
            font-size: 20px;
            font-weight: 700;
        }

        .related-count {
            color: #777;
            font-size: 13px;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
        }

        .grid-item {
            min-width: 0;
            cursor: pointer;
            user-select: none;
        }

        .thumb-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #050505;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
        }

        .thumb-wrapper img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #050505;
            transition: transform 0.2s ease;
        }

        .grid-item:hover .thumb-wrapper img {
            transform: scale(1.03);
        }

        .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 13px;
            pointer-events: none;
        }

        .grid-item-title {
            margin: 8px 2px 0;
            color: #d0d0d0;
            font-size: 13px;
            line-height: 1.45;
            font-weight: 600;
            word-break: break-word;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .grid-item.active .thumb-wrapper {
            border-color: #ff3cac;
        }

        .grid-item.active .play-overlay {
            background: #ff3cac;
        }

        .site-footer {
            width: 100%;
            flex-shrink: 0;
            margin-top: 50px;
            padding: 22px 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #000;
            text-align: center;
        }

        .footer-copy {
            margin: 0;
            color: #666;
            font-size: 11px;
            line-height: 1.5;
        }

        @media (max-width: 1100px) {
            .container {
                max-width: 950px;
            }

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

        @media (max-width: 800px) {
            .site-header {
                height: 64px;
            }

            .header-inner {
                padding: 0 18px;
            }

            .brand-logo {
                width: 40px;
                height: 40px;
                flex-basis: 40px;
            }

            .brand-name {
                font-size: 17px;
            }

            .brand-subtitle {
                font-size: 10px;
            }

            .page {
                min-height: calc(100vh - 64px);
                min-height: calc(100dvh - 64px);
                padding: 30px 16px 0;
            }

            .intro {
                margin-bottom: 26px;
            }

            .intro h1 {
                font-size: 32px;
            }

            .intro p {
                font-size: 15px;
            }

            .quick-action {
                min-height: 43px;
                padding: 0 16px;
                font-size: 13px;
            }

            .video-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }
        }

        @media (max-width: 600px) {
            .header-inner {
                padding: 0 14px;
            }

            .page {
                padding: 24px 12px 0;
            }

            .intro {
                margin-bottom: 22px;
            }

            .intro h1 {
                font-size: 28px;
            }

            .intro p {
                margin-bottom: 20px;
                font-size: 14px;
                line-height: 1.55;
            }

            .quick-actions {
                gap: 8px;
            }

            .quick-action {
                min-height: 41px;
                padding: 0 13px;
                font-size: 12px;
            }

            .search-icon {
                width: 40px;
                flex-basis: 40px;
                height: 46px;
            }

            .search-input {
                height: 46px;
                font-size: 14px;
            }

            .search-button {
                height: 46px;
                min-width: 82px;
                padding: 0 14px;
                font-size: 13px;
            }

            .video-details-top {
                flex-direction: column;
                gap: 15px;
            }

            .video-title {
                font-size: 17px;
            }

            .video-meta {
                font-size: 12px;
            }

            .download-button {
                width: 100%;
            }

            .site-footer {
                margin-top: 35px;
            }
        }

        @media (max-width: 430px) {
            .site-header {
                height: 58px;
            }

            .brand-logo {
                width: 35px;
                height: 35px;
                flex-basis: 35px;
                border-radius: 9px;
            }

            .brand-name {
                font-size: 15px;
            }

            .brand-subtitle {
                display: none;
            }

            .page {
                min-height: calc(100vh - 58px);
                min-height: calc(100dvh - 58px);
                padding: 20px 10px 0;
            }

            .intro h1 {
                font-size: 25px;
            }

            .intro p {
                font-size: 13px;
            }

            .quick-actions {
                gap: 7px;
            }

            .quick-action {
                flex: 1;
                min-height: 40px;
                padding: 0 9px;
                font-size: 11px;
            }

            .search-icon {
                display: none;
            }

            .search-input {
                padding-left: 9px;
                font-size: 13px;
            }

            .search-button {
                min-width: 72px;
                padding: 0 10px;
                font-size: 12px;
            }

            .video-details {
                padding: 14px;
            }

            .video-title {
                font-size: 16px;
            }

            .related-title {
                font-size: 17px;
            }

            .video-grid {
                gap: 9px;
            }

            .grid-item-title {
                font-size: 11px;
            }
        }