:root {
    --primary-color: #d3e5fe;
    --primary-dark: #a8c8f5;
    --primary-light: #e8f2ff;
    --text-color: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 16px rgba(148, 163, 184, 0.15);
    --shadow-hover: 0 12px 32px rgba(59, 130, 246, 0.18);
    --shadow-lg: 0 20px 48px rgba(59, 130, 246, 0.15);
    --blue: #3b82f6;
    --blue-hover: #2563eb;
    --blue-light: #60a5fa;
    --blue-dark: #1d4ed8;
    --green: #10b981;
    --green-dark: #059669;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --red: #ef4444;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FontAwesome 图标基础样式 */
.page-video .fa {
    display: inline-block;
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: middle;
}

* {
    box-sizing: border-box;
}

.page-video {
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-top: 70px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-banner {
    position: relative;
    width: 100%;
    /*padding: 10% 0 0 0;*/
    overflow: hidden;
}

.video-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://siwei-ding.oss-cn-zhangjiakou.aliyuncs.com/uploads/image/20260803/033e948e2d8b0d38b5ef63a234de829b.png') center/cover no-repeat;
}

.video-banner__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.35) 100%);*/
}

.video-banner__decor {
    display: none;
}

.video-banner__decor--top-left {
    display: none;
}

.video-banner__decor--bottom-right {
    display: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.video-banner__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.video-banner .app-layout-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

.video-banner__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.video-banner__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
}

.video-banner__badge i {
    margin-right: 8px;
}

.video-banner__title {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.video-banner__title span {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-banner__desc {
    font-size: 17px;
    color: #334155;
    margin: 0;
    line-height: 1.7;
    max-width: 520px;
}

.video-banner__stats {
    display: none;
}

.video-banner__stat {
    display: none;
}

.video-banner__stat__icon {
    display: none;
}

.video-banner__stat__icon::after {
    display: none;
}

.video-banner__stat:hover .video-banner__stat__icon {
    display: none;
}

.video-banner__stat__content {
    display: none;
}

.video-banner__stat__value {
    display: none;
}

.video-banner__stat__label {
    display: none;
}

.video-banner__students-preview {
    display: none;
}

.video-banner__bottom {
    display: none;
}

.video-banner__bottom .video-banner__stats {
    display: none;
}

.video-banner__right {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.video-banner__featured-course {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 24px 60px rgba(58, 133, 255, 0.22);
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px;
    gap: 16px;
}

.video-banner__featured-course:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(58, 133, 255, 0.22);
    border-color: rgba(58, 133, 255, 0.4);
}

.video-banner__featured-course__cover {
    position: relative;
    width: 220px;
    min-width: 220px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 16px;
}

.video-banner__featured-course__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-banner__featured-course:hover .video-banner__featured-course__cover img {
    transform: scale(1.1);
}

.video-banner__featured-course__play {
    display: none;
}

.video-banner__featured-course__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
    z-index: 2;
}

.video-banner__featured-course__info {
    padding: 18px 20px;
    background: transparent;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.video-banner__featured-course__tags {
    margin-bottom: 4px;
}

.video-banner__featured-course__title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-banner__featured-course__desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-banner__featured-course__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.video-banner__featured-course__meta i {
    margin-right: 5px;
    color: #94a3b8;
}

.video-container {
    padding: 60px 0;
}

.video-container .app-layout-content {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(70px + 28px);
    align-self: flex-start;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-sidebar__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid var(--blue);
}

.video-sidebar__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-sidebar__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.video-sidebar__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--blue);
    border-radius: 0 4px 4px 0;
    transition: height 0.35s ease;
}

.video-sidebar__item:hover {
    background-color: var(--primary-light);
    color: var(--blue);
    transform: translateX(4px);
}

.video-sidebar__item:hover::before {
    height: 65%;
}

.video-sidebar__item.active {
    background-color: var(--primary-color);
    color: var(--blue);
    font-weight: 700;
}

.video-sidebar__item.active::before {
    height: 65%;
}

.video-sidebar__item i {
    margin-right: 14px;
    font-size: 20px;
}

.video-sidebar__item__count {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.video-sidebar__item.active .video-sidebar__item__count {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.video-sidebar__section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.video-sidebar__tips {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.video-sidebar__tips__icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.video-sidebar__tips__icon i {
    font-size: 26px;
    color: var(--blue);
}

.video-sidebar__tips__content {
    flex: 1;
}

.video-sidebar__tips__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.video-sidebar__tips__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.video-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-filter__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-filter__label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.video-filter__item {
    display: flex;
    align-items: center;
    padding: 12px 26px;
    border-radius: 32px;
    font-size: 15px;
    color: var(--text-secondary);
    background: #f1f5f9;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 600;
}

.video-filter__item:hover {
    background: var(--primary-light);
    color: var(--blue);
    transform: translateY(-2px);
}

.video-filter__item.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
}

.video-filter__item i {
    margin-right: 10px;
}

.video-filter__right {
    display: flex;
    align-items: center;
}

.video-filter__search {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 32px;
    padding: 8px 8px 8px 28px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.video-filter__search:focus-within {
    background: #fff;
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.08);
}

.video-filter__input {
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 15px;
    width: 280px;
    outline: none;
    color: var(--text-color);
}

.video-filter__input::placeholder {
    color: var(--text-muted);
}

.video-filter__btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-filter__btn:hover {
    background: var(--blue-hover);
    transform: scale(1.1);
}

.video-filter__btn i {
    color: #fff;
    font-size: 20px;
}

.video-filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    padding: 12px 20px;
    box-shadow: var(--shadow);
}

.video-filter-bar__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.video-filter-bar__row:last-child {
    border-bottom: none;
}

.video-filter-bar__row--search {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-filter-bar__row--search .video-filter-bar__search {
    flex: 1;
    max-width: 400px;
}

.video-filter-bar__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    width: 40px;
}

.video-filter-bar__items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.video-filter-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 18px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.video-filter-bar__item:hover {
    background: #e2e8f0;
    color: var(--text-color);
}

.video-filter-bar__item.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.video-filter-bar__divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.video-filter-bar__search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 0;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.video-filter-bar__search form {
    display: flex;
    align-items: center;
    width: 100%;
}

.video-filter-bar__search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 2px 12px rgba(0, 0, 0, 0.08);
}

.video-filter-bar__search-input {
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 13px;
    flex: 1;
    min-width: 0;
    outline: none;
    color: var(--text-color);
}

.video-filter-bar__search-input::placeholder {
    color: var(--text-muted);
}

.video-filter-bar__search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.video-filter-bar__search-btn:hover {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.video-filter-bar__search-btn:active {
    transform: translateY(0);
}

.video-filter-bar__search-btn i {
    color: #fff;
    font-size: 15px;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    transform: translateY(0);
    border: 1px solid rgba(226, 232, 240, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.25);
}

.course-card__cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.course-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-card__image {
    transform: scale(1.12);
}

.course-card__badges-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 12px;
}

.course-card__badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.course-card__badge--free {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.course-card__badge--price {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.course-card__duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(10px);
}

.course-card__hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.06);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.course-card:hover .course-card__hover-mask {
    opacity: 1;
}

.course-card__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
    height: 40px;
}

.course-card__meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.course-card__category {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
    color: var(--blue);
    font-size: 12px;
    border-radius: 8px;
    font-weight: 700;
}

.course-card__teacher-tag {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
}

.course-card__teacher-tag i {
    margin-right: 8px;
}

.course-card__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.course-card__stat {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.course-card__stat i {
    margin-right: 8px;
    font-size: 18px;
}

.course-card__bottom-bar {
    display: none;
}

.course-card__students {
    display: none;
}

.course-card__students__avatars {
    display: none;
}

.course-card__students__avatar {
    display: none;
}

.course-card__students__avatar:first-child {
    display: none;
}

.course-card__students__count {
    display: none;
}

.course-card__arrow {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-14px);
    transition: var(--transition);
}

.course-card:hover .course-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

.course-card__arrow i {
    color: var(--blue);
    font-size: 18px;
}

.video-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    color: var(--text-muted);
}

.video-empty--small {
    padding: 60px 0;
}

.video-empty__icon {
    width: 112px;
    height: 112px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.12);
}

.video-empty__icon i {
    font-size: 56px;
    color: var(--blue);
}

.video-empty i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.35;
}

.video-empty p {
    font-size: 16px;
    margin: 0;
    color: var(--text-secondary);
}

.video-empty__btn {
    margin-top: 24px;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
}

.video-empty__btn:hover {
    background: var(--blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
}

.video-pagination {
    margin-top: 44px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-pagination .app-layout-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.video-pagination__info {
    font-size: 15px;
    color: var(--text-secondary);
}

.video-pagination__links {
    display: flex;
    gap: 12px;
}

.video-pagination__links a {
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.video-pagination__links a:hover {
    background: var(--primary-light);
    color: var(--blue);
}

.video-pagination__links a.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
}

.video-course-header {
    position: relative;
    padding: 30px 0;
    padding-top: calc(30px + 70px);
    overflow: hidden;
}

.video-course-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://siwei-ding.oss-cn-zhangjiakou.aliyuncs.com/uploads/image/20260730/102a98e614cfcd44abb97f21b11f2eca.png') center/cover no-repeat;
}

.video-course-header__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.75) 100%);
}

.video-course-header__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.video-course-header .app-layout-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-course-header__cover-wrapper {
    position: relative;
    width: 450px;
    flex-shrink: 0;
}

.video-course-header__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
}

.video-course-header__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-course-header__cover-shadow {
    position: absolute;
    bottom: -30px;
    left: 30px;
    right: 30px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(30px);
}

.video-course-header__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-course-header__play-btn__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.7);
        opacity: 0;
    }
}

.video-course-header__play-btn__inner {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-course-header__play-btn__inner:hover {
    transform: scale(1.15);
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-course-header__play-btn__inner i {
    font-size: 24px;
    color: var(--blue);
    margin-left: 4px;
}

.video-course-header__info {
    flex: 1;
    color: #1e3a8a;
}

.video-course-header__badges {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.video-course-header__badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(58, 133, 255, 0.15);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(58, 133, 255, 0.25);
    color: #1e40af;
}

.video-course-header__badge--free {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    color: #fff;
}

.video-course-header__badge--level {
    background: rgba(58, 133, 255, 0.2);
}

.video-course-header__badge--official {
    background: rgba(251, 191, 36, 0.15);
    color: #b45309;
    border-color: rgba(251, 191, 36, 0.3);
}

.video-course-header__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.video-course-header__desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 14px;
}

.video-course-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 18px;
}

.video-course-header__meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #475569;
}

.video-course-header__meta-item i {
    margin-right: 8px;
    font-size: 16px;
}

.video-course-header__students {
    display: none;
}

.video-course-header__teacher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(58, 133, 255, 0.2);
    width: fit-content;
}

.video-course-header__teacher__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(58, 133, 255, 0.15);
}

.video-course-header__teacher__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-course-header__teacher__info {
    display: flex;
    flex-direction: column;
}

.video-course-header__teacher__name {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
}

.video-course-header__teacher__title {
    font-size: 11px;
    color: #64748b;
}

.video-course-header__actions {
    display: flex;
    gap: 14px;
}

.video-course-header__btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-course-header__btn--primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}

.video-course-header__btn--primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.video-course-header__btn--share {
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(16px);
}

.video-course-header__btn--share:hover {
    background: #fff;
    color: #1e40af;
    border-color: rgba(58, 133, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.video-course-header__btn--secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #1e40af;
    border: 1px solid rgba(58, 133, 255, 0.3);
    backdrop-filter: blur(16px);
}

.video-course-header__btn--secondary:hover {
    background: #fff;
    border-color: rgba(58, 133, 255, 0.5);
}

.video-course-header__btn--outline {
    background: transparent;
    color: #1e40af;
    border: 1px solid rgba(58, 133, 255, 0.4);
}

.video-course-header__btn--outline:hover {
    background: rgba(58, 133, 255, 0.1);
}

.video-course-content {
    padding: 60px 0;
}

.video-course-content .app-layout-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto auto;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    align-items: start;
}

.video-course-content-area {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.video-course-sidebar {
    grid-column: 2;
    grid-row: 1;
    width: 340px;
    display: flex;
    flex-direction: column;
    align-self: start;
}

.video-course-catalog {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-course-sidebar__recommend {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.video-course-sidebar__recommend-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.video-course-sidebar__recommend-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-course-sidebar__recommend-title i {
    color: var(--blue);
    font-size: 18px;
}

.video-course-sidebar__recommend-list {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
}

.video-course-sidebar__recommend-item {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--white);
}

.video-course-sidebar__recommend-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.video-course-sidebar__recommend-cover {
    position: relative;
    width: 140px;
    min-width: 140px;
    overflow: hidden;
    background: #f1f5f9;
}

.video-course-sidebar__recommend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-course-sidebar__recommend-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.video-course-sidebar__recommend-badge--paid {
    background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
}

.video-course-sidebar__recommend-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.video-course-sidebar__recommend-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.video-course-sidebar__recommend-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-course-sidebar__recommend-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.video-course-sidebar__recommend-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
}

.video-course-sidebar__recommend-meta-item {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
}

.video-course-sidebar__recommend-meta-item i {
    margin-right: 3px;
    font-size: 12px;
}

.video-course-catalog__header {
    padding: 26px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    display: flex;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
}

.video-course-catalog__cover {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.video-course-catalog__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.video-course-catalog__badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.video-course-catalog__badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.video-course-catalog__badge--free {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
}

.video-course-catalog__badge--level {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.video-course-catalog__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-course-catalog__meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.video-course-catalog__meta i {
    margin-right: 6px;
}

.video-course-catalog__progress {
    padding: 20px 26px;
    border-bottom: 1px solid var(--border-color);
    background: #fafbfc;
}

.video-course-catalog__progress__info {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-weight: 600;
}

.video-course-catalog__progress__bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.video-course-catalog__progress__bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 50%, #93c5fd 100%);
    border-radius: 8px;
    transition: width 0.6s ease;
    position: relative;
}

.video-course-catalog__progress__bar__glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: glow 2.5s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.video-course-catalog__progress__tip {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.video-course-catalog__title-bar {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.video-course-catalog__title-bar i {
    color: var(--blue);
    font-size: 18px;
}

.video-course-catalog__count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
}

.video-course-catalog__list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.video-course-catalog__list::-webkit-scrollbar {
    width: 4px;
}

.video-course-catalog__list::-webkit-scrollbar-track {
    background: transparent;
}

.video-course-catalog__list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.video-course-catalog__item {
    display: flex;
    align-items: center;
    padding: 14px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
    background: #fff;
}

.video-course-catalog__item:hover {
    background: #f8fafc;
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateX(2px);
}

.video-course-catalog__item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.25);
}

.video-course-catalog__item__num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-right: 14px;
    transition: var(--transition);
}

.video-course-catalog__item.active .video-course-catalog__item__num {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

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

.video-course-catalog__item__title {
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
    font-weight: 500;
}

.video-course-catalog__item.active .video-course-catalog__item__title {
    font-weight: 700;
    color: var(--blue);
}

.video-course-catalog__item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.video-course-catalog__item__free {
    color: var(--green) !important;
    font-weight: 600;
}

.video-course-catalog__item__paid {
    color: var(--orange) !important;
    font-weight: 600;
}

.video-course-catalog__item__current {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.video-course-catalog__empty {
    padding: 56px 28px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

.video-course-catalog__footer {
    padding: 20px 26px;
    border-top: 1px solid var(--border-color);
    background: #fafbfc;
}

.video-course-catalog__footer__cert {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.video-course-catalog__footer__cert i {
    color: #f59e0b;
    font-size: 20px;
}

.video-course-content-area {
    flex: 1;
    min-width: 0;
}

.video-course-content-area__main {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.video-course-intro__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 30px 0;
}

.video-course-intro__hero__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.video-course-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 10px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(70px + 28px);
    z-index: 20;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-course-nav__item {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-course-nav__item:hover {
    color: var(--blue);
    background: var(--primary-light);
}

.video-course-nav__item.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
}

.video-course-nav__badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 400;
}

.video-course__tab-content {
    margin-top: 32px;
}

.video-course__tab-panel {
    display: none;
}

.video-course__tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-course-intro {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-course-intro__hero {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.video-course-intro__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px;
}

.video-course-intro__subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.video-course-intro__content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.video-course-intro__content p {
    margin: 0 0 20px;
}

.video-course-intro__content--detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.video-course-intro__content--detail p {
    margin: 0 0 16px;
}

.video-course-intro__content--detail h1,
.video-course-intro__content--detail h2,
.video-course-intro__content--detail h3,
.video-course-intro__content--detail h4 {
    font-weight: 600;
    color: var(--text-color);
    margin: 20px 0 12px;
    line-height: 1.4;
}

.video-course-intro__content--detail h1 {
    font-size: 20px;
}

.video-course-intro__content--detail h2 {
    font-size: 18px;
}

.video-course-intro__content--detail h3 {
    font-size: 16px;
}

.video-course-intro__content--detail h4 {
    font-size: 15px;
}

.video-course-intro__content--detail ul,
.video-course-intro__content--detail ol {
    padding-left: 24px;
    margin: 12px 0;
}

.video-course-intro__content--detail li {
    margin-bottom: 8px;
    list-style: disc;
}

.video-course-intro__content--detail ol li {
    list-style: decimal;
}

.video-course-intro__content--detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.video-course-intro__content--detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.video-course-intro__content--detail table th,
.video-course-intro__content--detail table td {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.video-course-intro__content--detail table th {
    background: #f8fafc;
    font-weight: 600;
}

.video-course-intro__content--detail a {
    color: var(--blue);
    text-decoration: none;
}

.video-course-intro__content--detail a:hover {
    text-decoration: underline;
}

.video-course-intro__content--detail blockquote {
    border-left: 4px solid var(--blue);
    background: rgba(59, 130, 246, 0.08);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 0 6px 6px 0;
    color: var(--text-secondary);
}

.video-course-intro__content--detail code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #e11d48;
}

.video-course-intro__content--detail pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
    font-size: 13px;
    line-height: 1.6;
}

.video-course-intro__content--detail pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.video-course-intro__content--detail hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.video-course-intro__section {
    margin-bottom: 28px;
}

.video-course-intro__section:last-child {
    margin-bottom: 0;
}

.video-course-intro__section__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-course-intro__section__title::before {
    content: '';
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 3px;
}

.video-course-intro__highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-course-intro__highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 14px 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--green);
}

.video-course-intro__highlight__icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(17, 153, 142, 0.3);
}

.video-course-intro__highlight__icon i {
    color: #fff;
    font-size: 14px;
}

.video-course-intro__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.video-course-intro__stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-course-intro__stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    position: relative;
}

.video-course-intro__stat__icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.video-course-intro__stat:nth-child(2) .video-course-intro__stat__icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.25);
}

.video-course-intro__stat:nth-child(3) .video-course-intro__stat__icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.25);
}

.video-course-intro__stat__content {
    display: flex;
    flex-direction: column;
}

.video-course-intro__stat__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.video-course-intro__stat__label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.video-course-intro__target {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 24px;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--blue);
}

.video-course-intro__target i {
    color: var(--blue);
    font-size: 28px;
    margin-top: 2px;
    flex-shrink: 0;
}

.video-course-intro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.video-course-intro__tag {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
    color: var(--blue);
    font-size: 15px;
    border-radius: 28px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.video-course-intro__tag:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.video-course-intro__learning-path {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 24px;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--purple);
}

.video-comments,
.video-notes {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-comments--compact {
    padding: 0;
}

.video-comments__header,
.video-notes__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.video-comments__header h3,
.video-notes__header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
}

.video-comments__count,
.video-notes__count {
    font-size: 15px;
    color: var(--text-muted);
}

.video-comments__list,
.video-notes__list {
    margin-bottom: 32px;
}

.video-comments__form,
.video-notes__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-comments__textarea,
.video-notes__textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    resize: vertical;
    min-height: 160px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.video-comments__textarea:focus,
.video-notes__textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.08);
}

.video-comments__textarea::placeholder,
.video-notes__textarea::placeholder {
    color: var(--text-muted);
}

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

.video-comments__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-comments__rating span {
    font-size: 15px;
    color: var(--text-secondary);
    margin-right: 12px;
}

.video-comments__rating i {
    font-size: 24px;
    color: #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
}

.video-comments__rating i:hover,
.video-comments__rating i.active {
    color: #fbbf24;
}

.video-comments__submit,
.video-notes__submit {
    align-self: flex-end;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.video-comments__submit:hover,
.video-notes__submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(59, 130, 246, 0.5);
}

.video-comment__item,
.video-note__item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #f1f5f9;
}

.video-comment__item:last-child,
.video-note__item:last-child {
    border-bottom: none;
}

.video-comment__avatar,
.video-note__avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-comment__avatar img,
.video-note__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-comment__content,
.video-note__content {
    flex: 1;
    min-width: 0;
}

.video-comment__header,
.video-note__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.video-comment__name,
.video-note__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.video-comment__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-comment__rating i {
    font-size: 16px;
    color: #fbbf24;
}

.video-comment__time,
.video-note__time {
    font-size: 14px;
    color: var(--text-muted);
}

.video-comment__text,
.video-note__text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    word-break: break-word;
}

.video-comment__default,
.video-note__default {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
}

.video-comment__actions {
    display: flex;
    gap: 28px;
    margin-top: 16px;
}

.video-comment__action {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.video-comment__action:hover {
    color: var(--blue);
}

.video-comment__action i {
    font-size: 16px;
}

.video-player-section {
    position: relative;
    background: #0f172a;
    padding: 50px 0;
}

.video-player-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.video-player-section .app-layout-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.video-player-wrapper {
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.video-player video {
    width: 100%;
    height: 100%;
}

.video-player__loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    z-index: 10;
}

.video-player__loading__spinner {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.video-player__controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-player__controls-bar__left,
.video-player__controls-bar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-player__control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-player__control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.video-player__control-btn--play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
    position: relative;
}

.video-player__control-btn--play::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.video-player__control-btn--play:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.6);
}

.video-player__control-btn i {
    font-size: 18px;
    line-height: 1;
}

.video-player__control-btn--play i {
    font-size: 22px;
    margin-left: 2px;
    position: relative;
    z-index: 1;
}

.video-player__time {
    color: #fff;
    font-size: 15px;
    margin-left: 16px;
    font-family: monospace;
}

.video-player-info {
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.video-player-info .app-layout-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-player-info__left {
    flex: 1;
}

.video-player-info__badges {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.video-player-info__badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.video-player-info__badge--free {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
}

.video-player-info__badge--paid {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
}

.video-player-info__badge--hd {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.video-player-info__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 12px;
}

.video-player-info__meta {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.video-player-info__meta i {
    margin-right: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.video-player-info__meta a {
    color: var(--blue);
    text-decoration: none;
}

.video-player-info__meta a:hover {
    text-decoration: underline;
}

.video-player-info__share {
    background: none;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.video-player-info__share:hover {
    background: #f1f5f9;
    color: #3b82f6;
    border-color: #3b82f6;
}

.video-player-info__share i {
    font-size: 14px;
    margin: 0;
}

.video-player-info__students {
    display: none;
}

.video-player-info__students__avatars {
    display: none;
}

.video-player-info__students__avatar {
    display: none;
}

.video-player-info__students__avatar:first-child {
    display: none;
}

.video-player-info__students span {
    display: none;
}

.video-player-info__actions {
    display: flex;
    gap: 14px;
}

.video-player-info__btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-player-info__btn:hover {
    background: var(--primary-light);
    color: var(--blue);
    border-color: var(--primary-color);
}

.video-player-info__btn--active {
    background: var(--primary-light);
    color: var(--blue);
    border-color: var(--primary-color);
}

.video-player-info__btn__count {
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    font-size: 13px;
}

.video-play-container {
    padding: 30px 0;
    background: var(--bg-color);
}

.video-play-container .app-layout-content {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-play-content {
    display: flex;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.video-play-sidebar {
    width: 340px;
    flex-shrink: 0;
}

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

.video-play-sidebar__course-info {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.video-play-sidebar__course-info:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.video-play-sidebar__course-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-play-sidebar__course-cover {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #f1f5f9;
    position: relative;
}

.video-play-sidebar__course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-sidebar__course-cover::after {
    content: '\f04b';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.video-play-sidebar__course-link:hover .video-play-sidebar__course-cover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-sidebar__course-detail {
    padding: 0 4px;
}

.video-play-sidebar__course-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
    min-height: 48px;
}

.video-play-sidebar__course-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

.video-play-sidebar__course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.video-play-sidebar__course-meta span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

.video-play-sidebar__course-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.video-play-sidebar__course-action i {
    font-size: 16px;
}

.video-play-sidebar__course-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.video-play-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 14px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-play-sidebar__title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

.video-chapter-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-chapter-list-new {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.chapter-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding: 8px;
}

.chapter-scroll::-webkit-scrollbar {
    width: 6px;
}

.chapter-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.chapter-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.chapter-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.chapter-group {
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.chapter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.chapter-group__title {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chapter-group__list {
    list-style: none;
    padding: 4px;
    margin: 0;
}

.chapter-group__item {
    border-radius: 10px;
    margin-bottom: 4px;
}

.chapter-group__item:last-child {
    margin-bottom: 0;
}

.chapter-group__item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
}

.chapter-group__link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 12px;
    text-decoration: none;
    color: #475569;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.chapter-group__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
    transform: translateY(-50%);
}

.chapter-group__link:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
    color: #1e40af;
    transform: translateX(2px);
}

.chapter-group__link:hover::before {
    height: 60%;
}

.chapter-group__link:hover .chapter-group__icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.chapter-group__link:hover .chapter-group__title-text {
    color: #2563eb;
}

.chapter-group__item.active .chapter-group__link {
    color: #1e40af;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
}

.chapter-group__item.active .chapter-group__link::before {
    height: 60%;
}

.chapter-group__icon {
    font-size: 14px;
    color: #94a3b8;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.chapter-group__item.active .chapter-group__icon {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.chapter-group__info {
    flex: 1;
    min-width: 0;
}

.chapter-group__name {
    font-size: 14px;
    line-height: 1.5;
}

.chapter-group__title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    font-weight: 400;
}

.chapter-group__tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
    line-height: 1.4;
}

.chapter-group__tag.tag-free {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
}

.chapter-group__tag.tag-paid {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #a16207;
}

.chapter-group__time {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.chapter-group__empty {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.chapter-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Toast提示样式 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 12px 24px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.copy-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-chapter-list__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid var(--border-color);
}

.video-chapter-list__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
}

.video-chapter-list__progress {
    font-size: 14px;
    color: var(--text-muted);
}

.video-chapter-list__items {
    padding: 8px;
}

.video-chapter-list__item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.video-chapter-list__item:hover {
    background: var(--primary-light);
}

.video-chapter-list__item.active {
    background: var(--primary-color);
}

.video-chapter-list__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.video-chapter-list__item.active .video-chapter-list__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.video-chapter-list__icon i {
    font-size: 12px;
    margin-left: 2px;
    line-height: 1;
}

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

.video-chapter-list__name {
    font-size: 15px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
}

.video-chapter-list__item.active .video-chapter-list__name {
    font-weight: 700;
    color: var(--blue);
}

.video-chapter-list__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.video-chapter-list__duration {
    font-family: monospace;
}

.video-chapter-list__free {
    color: #11998e !important;
}

.video-chapter-list__paid {
    color: #f5576c !important;
}

.video-chapter-list__free i,
.video-chapter-list__paid i {
    font-size: 12px;
    margin-right: 4px;
}

.video-chapter-list__playing {
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}

.video-play-sidebar__tips {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 14px;
}

.video-play-sidebar__tips__icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-play-sidebar__tips__icon i {
    font-size: 22px;
    color: #f59e0b;
}

.video-play-sidebar__tips__content {
    flex: 1;
}

.video-play-sidebar__tips__title {
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
}

.video-play-sidebar__tips__text {
    font-size: 13px;
    color: #b45309;
    line-height: 1.6;
}

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

.video-play-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-play-section:last-child {
    margin-bottom: 0;
}

.video-play-section__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 24px;
}

.video-play-section__content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.video-play-section__content p {
    margin: 0;
}

.video-play-section__course-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.video-play-section__course-info__row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: var(--radius-md);
}

.video-play-section__course-info__label {
    width: 110px;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.video-play-section__course-info__value {
    font-size: 15px;
    color: var(--text-color);
    flex: 1;
}

.video-play-section__course-info__value a {
    color: var(--blue);
    text-decoration: none;
}

.video-play-section__course-info__value a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-course-header .app-layout-content {
        flex-direction: column;
    }

    .video-course-header__cover-wrapper {
        width: 100%;
        max-width: 560px;
    }

    .video-play-content {
        flex-direction: column;
    }

    .video-play-sidebar {
        width: 100%;
    }
}

.video-banner__floating-elements {
    display: none;
}

.video-banner__float-item {
    display: none;
}

.video-banner__float-item--1 {
    display: none;
}

.video-banner__float-item--2 {
    display: none;
}

.video-banner__float-item--3 {
    display: none;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -40px) scale(1.15);
    }
}

.video-banner__title--highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-banner__cta {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.video-banner__btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-banner__btn--primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}

.video-banner__btn--primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.video-banner__btn--secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #1e40af;
    border: 1px solid rgba(58, 133, 255, 0.3);
    backdrop-filter: blur(12px);
}

.video-banner__btn--secondary:hover {
    background: #fff;
    border-color: rgba(58, 133, 255, 0.5);
}

.video-banner__featured-course__play-ring {
    display: none;
}

.video-banner__featured-course__tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.video-banner__featured-course__tag {
    padding: 3px 8px;
    background: #eff6ff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #2563eb;
}

.video-banner__featured-course__tag--teacher {
    background: #fef3c7;
    color: #d97706;
}

.video-banner__featured-course__desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.video-banner__featured-course__duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.video-sidebar__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--blue);
}

.video-sidebar__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 24px 0;
}

.video-sidebar__hot-courses {
    margin-top: 8px;
}

.video-sidebar__hot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-sidebar__hot-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.video-sidebar__hot-item:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.video-sidebar__hot-item__rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.video-sidebar__hot-item:nth-child(1) .video-sidebar__hot-item__rank {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.video-sidebar__hot-item:nth-child(2) .video-sidebar__hot-item__rank {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
}

.video-sidebar__hot-item:nth-child(3) .video-sidebar__hot-item__rank {
    background: linear-gradient(135deg, #cd7e59 0%, #964b00 100%);
    color: #fff;
}

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

.video-sidebar__hot-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-sidebar__hot-item__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.video-content__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.video-content__title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-color);
    margin: 0;
}

.video-content__count {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.video-play-content-area {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.video-play-content-area__section {
    margin-bottom: 28px;
}

.video-play-content-area__section:last-child {
    margin-bottom: 0;
}

.video-play-content-area__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.video-play-content-area__section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 14px;
}

.video-play-content-area__section-count {
    font-size: 15px;
    color: var(--text-muted);
}

.video-play-content-area__section-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.video-play-content-area__section-body p {
    margin: 0;
}

.video-play-content-area__divider {
    height: 1px;
    background: var(--border-color);
    margin: 28px 0;
}

.video-play-content-area__course-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-play-content-area__course-info__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-play-content-area__course-info__label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.video-play-content-area__course-info__value {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.video-play-content-area__course-info__value a {
    color: var(--blue);
    text-decoration: none;
}

.video-play-content-area__course-info__value a:hover {
    text-decoration: underline;
}

.video-play-content-area__comments {
    margin-top: 16px;
}

.video-play-content-area__comment {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.video-play-content-area__comment:last-child {
    border-bottom: none;
}

.video-play-content-area__comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.video-play-content-area__comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-content-area__comment-body {
    flex: 1;
    min-width: 0;
}

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

.video-play-content-area__comment-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.video-play-content-area__comment-time {
    font-size: 14px;
    color: var(--text-muted);
}

.video-play-content-area__comment-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    word-break: break-word;
}

.video-play-content-area__comment-default {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.video-play-content-area__empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.video-play-content-area__empty i {
    font-size: 40px;
    margin-bottom: 16px;
    opacity: 0.4;
    color: var(--text-muted);
}

.video-play-content-area__empty p {
    margin: 0;
    font-size: 16px;
}

.video-play-content-area__related-courses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.video-play-content-area__related-course {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.video-play-content-area__related-course:hover {
    transform: translateY(-4px);
}

.video-play-content-area__related-course-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f1f5f9;
}

.video-play-content-area__related-course-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-content-area__related-course-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.video-play-content-area__related-course:hover .video-play-content-area__related-course-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-content-area__related-course-play i {
    color: #fff;
    font-size: 18px;
    margin-left: 3px;
    line-height: 1;
}

.video-play-content-area__related-course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.video-play-content-area__related-course-info {
    padding: 0 4px;
}

.video-play-content-area__related-course-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-play-content-area__related-course-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.video-course-header__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.video-course-header__glow--left {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.6) 0%, transparent 70%);
}

.video-course-header__glow--right {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
}

.video-course-header__cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.video-course-header__teacher__follow {
    margin-left: auto;
}

.video-course-header__teacher__follow-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.video-course-header__teacher__follow-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.video-course-intro__hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
}

.video-course-intro__hero__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    position: relative;
}

.video-course-intro__hero__icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.video-course-intro__hero__icon i {
    font-size: 24px;
    color: #fff;
    position: relative;
    z-index: 1;
}

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

.video-comments__header__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-comments__header__right {
    display: flex;
    align-items: center;
}

.video-comments__rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-comments__rating-value {
    font-size: 28px;
    font-weight: 900;
    color: #f59e0b;
}

.video-comments__rating-stars i {
    font-size: 18px;
    color: #fbbf24;
}

.video-player-section__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.video-player__poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.video-player:hover .video-player__poster-overlay {
    opacity: 1;
}

.video-player__poster-overlay__play {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
    position: relative;
}

.video-player__poster-overlay__play::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid rgba(102, 126, 234, 0.4);
    animation: play-ring 2s ease-out infinite;
}

@keyframes play-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.video-player__poster-overlay__play:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.6);
}

.video-player__poster-overlay__play i {
    font-size: 32px;
    color: #fff;
    margin-left: 8px;
    line-height: 1;
}

.video-chapter-list__icon--playing {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-play 2s ease-in-out infinite;
}

.video-chapter-list__icon--playing i {
    font-size: 12px;
    color: #fff;
    margin-left: 2px;
    line-height: 1;
}

@keyframes pulse-play {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

.video-chapter-list__playing-bar {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: playing-dots 1.5s ease-in-out infinite;
}

@keyframes playing-dots {

    0%,
    100% {
        transform: translateY(-3px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(3px);
        opacity: 1;
    }
}

.video-play-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.video-play-section__count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 1200px) {
    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-course-header .app-layout-content {
        flex-direction: column;
    }

    .video-course-header__cover-wrapper {
        width: 100%;
        max-width: 560px;
    }

    .video-play-content {
        flex-direction: column;
    }

    .video-play-sidebar {
        width: 100%;
    }
}

@media (max-width: 992px) {

    /* Tablet 适配 */
    .video-banner .app-layout-content {
        gap: 40px;
        padding: 0 30px 30px 30px;
    }

    .video-banner__title {
        font-size: 38px;
    }

    .video-banner__right {
        width: 420px;
    }

    .video-banner__featured-course__cover {
        width: 180px;
        min-width: 180px;
    }

    .video-course-header .app-layout-content {
        gap: 40px;
        padding: 0 30px 30px 30px;
    }

    .video-course-header__cover-wrapper {
        width: 340px;
    }

    .video-course-header__title {
        font-size: 24px;
    }

    /* 课程详情页 - 平板适配 */
    .video-course-content .app-layout-content {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }

    .video-course-sidebar {
        width: 300px;
    }
}

@media (max-width: 768px) {

    /* 首页视频列表 */
    .video-banner {
        padding: 20px 0 0 0;
    }

    .video-banner .app-layout-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px 40px 16px;
        gap: 30px;
    }

    .video-banner__title {
        font-size: 28px;
    }

    .video-banner__right {
        width: 100%;
        margin-top: 24px;
    }

    .video-banner__featured-course {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .video-banner__featured-course__cover {
        width: 100%;
        min-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .video-banner__cta {
        flex-direction: column;
    }

    .video-banner__btn {
        width: 100%;
        justify-content: center;
    }

    .video-container {
        padding: 30px 0;
    }

    .video-container .app-layout-content {
        flex-direction: column;
        padding: 0 16px;
    }

    .video-sidebar {
        width: 100%;
        position: static;
    }

    .course-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 筛选栏移动端适配 */
    .video-filter-bar {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .video-filter-bar__row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }

    .video-filter-bar__label {
        width: auto;
        margin-right: 4px;
    }

    .video-filter-bar__items {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        gap: 6px;
    }

    .video-filter-bar__items::-webkit-scrollbar {
        height: 3px;
    }

    .video-filter-bar__item {
        flex-shrink: 0;
        padding: 5px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .video-filter-bar__row--search {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .video-filter-bar__row--search .video-filter-bar__search {
        max-width: 100%;
    }

    /* 课程卡片移动端适配 */
    .course-card__info {
        padding: 12px 14px 14px;
    }

    .course-card__title {
        font-size: 15px;
    }

    .course-card__desc {
        font-size: 13px;
    }

    .course-card__stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* 课程详情页 */
    .video-course-header {
        padding: 20px 0 40px;
    }

    .video-course-header .app-layout-content {
        flex-direction: column;
        padding: 0 16px;
        gap: 24px;
    }

    .video-course-header__cover-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .video-course-header__cover {
        border-radius: 12px;
    }

    .video-course-header__info {
        padding: 0;
    }

    .video-course-header__badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .video-course-header__title {
        font-size: 22px;
        margin: 12px 0;
    }

    .video-course-header__desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .video-course-header__meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }

    .video-course-header__meta-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .video-course-header__teacher {
        flex-wrap: wrap;
    }

    .video-course-header__teacher__avatar {
        width: 40px;
        height: 40px;
    }

    .video-course-header__teacher__follow {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
    }

    .video-course-header__teacher__follow-btn {
        width: 100%;
        justify-content: center;
    }

    .video-course-header__actions {
        flex-direction: column;
        gap: 10px;
    }

    .video-course-header__btn {
        width: 100%;
        justify-content: center;
    }

    .video-course-content {
        padding: 30px 0;
    }

    .video-course-content .app-layout-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 0 16px;
        gap: 20px;
    }

    .video-course-content-area {
        grid-column: 1;
        grid-row: 1;
    }

    .video-course-sidebar {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        position: static;
        max-height: none;
    }

    .video-course-catalog {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        position: static;
        max-height: none;
        border-radius: 12px;
    }

    .video-course-catalog__title-bar {
        padding: 14px 16px;
    }

    .video-course-catalog__list {
        padding: 8px;
    }

    .video-course-chapter__header {
        padding: 12px 14px;
    }

    .video-course-chapter__item {
        padding: 12px 14px;
    }

    .video-course-chapter__item__title {
        font-size: 14px;
    }

    .video-course-content-area {
        width: 100%;
    }

    .video-course-content-area__main {
        padding: 16px;
    }

    .video-course-intro__stats {
        grid-template-columns: 1fr;
    }

    .video-course-content-area__related-list {
        grid-template-columns: 1fr;
    }

    .video-course-content-area__sidebar {
        grid-template-columns: 1fr;
    }
}

.video-play-sidebar__section {
    padding: 20px;
}

.video-play-sidebar__section:not(:first-child) {
    border-top: 1px solid var(--border-color);
}

.video-play-sidebar__section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px;
}

.video-play-sidebar__students {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-play-sidebar__students__avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.video-play-sidebar__students__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.video-play-sidebar__students__count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.video-play-sidebar__teacher-courses {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-play-sidebar__teacher-course {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.video-play-sidebar__teacher-course:hover {
    background: var(--bg-hover);
    transform: translateX(4px);
}

.video-play-sidebar__teacher-course__cover {
    width: 70px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
}

.video-play-sidebar__teacher-course__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-sidebar__teacher-course__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.video-play-sidebar__teacher-course__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-play-sidebar__teacher-course__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.video-play-sidebar__teacher-course__price {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
}

.video-play-sidebar__teacher-course__price--paid {
    color: var(--orange);
}

.video-play-sidebar__teacher-course__count {
    font-size: 12px;
    color: var(--text-muted);
}

.video-course-content-area__sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.video-course-content-area__sidebar-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.video-course-content-area__sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px;
}

.video-course-content-area__students {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-course-content-area__students__avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.video-course-content-area__students__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.video-course-content-area__students__count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.video-course-content-area__teacher-courses {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-course-content-area__teacher-course {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.video-course-content-area__teacher-course:hover {
    background: var(--bg-hover);
    transform: translateX(4px);
}

.video-course-content-area__teacher-course__cover {
    width: 70px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
}

.video-course-content-area__teacher-course__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-course-content-area__teacher-course__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.video-course-content-area__teacher-course__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-course-content-area__teacher-course__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.video-course-content-area__teacher-course__price {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
}

.video-course-content-area__teacher-course__price--paid {
    color: var(--orange);
}

.video-course-content-area__teacher-course__count {
    font-size: 12px;
    color: var(--text-muted);
}

.video-course-content-area__related {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.video-course-content-area__related-header {
    margin-bottom: 20px;
}

.video-course-content-area__related-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-course-content-area__related-title i {
    color: var(--blue);
    font-size: 16px;
}

.video-course-content-area__related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-course-content-area__related-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.video-course-content-area__related-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-course-content-area__related-item__cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f1f5f9;
}

.video-course-content-area__related-item__cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-course-content-area__related-item__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.video-course-content-area__related-item__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-course-content-area__related-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.video-course-content-area__related-item__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 课程章节样式 */
.video-course-chapter {
    margin-bottom: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.video-course-chapter__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border-bottom: 1px solid var(--border-color);
}

.video-course-chapter__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-course-chapter__num {
    font-size: 10px;
    font-weight: 600;
    color: var(--blue);
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

.video-course-chapter__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    display: inline-block;
    vertical-align: top;
}

.video-course-chapter__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    color: var(--text-muted);
}

.video-course-chapter__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-course-chapter__item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    transition: all 0.25s ease;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.video-course-chapter__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.video-course-chapter__item:last-child {
    border-bottom: none;
}

.video-course-chapter__item:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
    transform: translateX(4px);
}

.video-course-chapter__item:hover::before {
    transform: scaleY(1);
}

.video-course-chapter__item:hover .video-course-chapter__item__num {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.video-course-chapter__item:hover .video-course-chapter__item__title {
    color: #2563eb;
}

.video-course-chapter__item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
}

.video-course-chapter__item.active::before {
    transform: scaleY(1);
}

.video-course-chapter__item.active .video-course-chapter__item__num {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.video-course-chapter__item.active .video-course-chapter__item__title {
    color: #2563eb;
    font-weight: 600;
}

.video-course-chapter__item.active .video-course-chapter__item__time {
    color: var(--blue);
    font-weight: 600;
}

.video-course-chapter__item:active {
    transform: translateX(2px) scale(0.99);
}

.video-course-chapter__item__num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    background: #f1f5f9;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.video-course-chapter__item__title {
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    position: relative;
}

.video-course-chapter__item__title::after {
    content: attr(data-full-title);
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: none;
}

.video-course-chapter__item__title:hover::after {
    opacity: 1;
}

.video-course-chapter__item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.video-course-chapter__item__time {
    font-size: 12px;
    color: var(--text-muted);
}

.video-course-chapter__item__free {
    font-size: 11px;
    color: var(--green);
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
}

.video-course-chapter__item__paid {
    font-size: 11px;
    color: var(--orange);
    background: #fff7ed;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-course-chapter__empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* 播放页章节分组样式 */
.video-chapter-group {
    margin-bottom: 20px;
}

.video-chapter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.video-chapter-group__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.video-chapter-group__meta {
    font-size: 12px;
    color: var(--text-muted);
}

.video-chapter-group__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-chapter-list__empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.video-chapter-list__progress {
    font-size: 12px;
    color: var(--text-muted);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-course-chapter__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .video-course-chapter__meta {
        flex-shrink: 0;
        margin-left: auto;
    }

    .video-course-chapter__item__meta {
        flex-shrink: 0;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        margin-left: auto;
    }

    .video-course-chapter__item__time {
        font-size: 11px;
    }

    .video-course-chapter__item__free,
    .video-course-chapter__item__paid {
        font-size: 10px;
        padding: 1px 5px;
    }
}

/* 播放页新布局 - 播放器和侧边栏并排 */
.video-player-main-section {
    position: relative;
    padding: 30px 0;
    background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 100%);
}

.video-player-main-section .app-layout-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-player-main-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.08;
    pointer-events: none;
}

.video-player-main-section__glow {
    display: none;
}

.video-play-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
}

.video-play-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-right: 392px;
}

.video-play-left .video-player-wrapper {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
}

.video-play-left .video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    min-height: 560px;
}

.video-play-left .video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-play-left .video-player__controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-play-left .video-player:hover .video-player__controls-bar,
.video-play-left .video-player.playing .video-player__controls-bar {
    opacity: 1;
}

.video-play-left .video-player-info {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 32px;
    flex-shrink: 0;
}

.video-play-left .video-player-info__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin: 16px 0 20px;
    line-height: 1.4;
}

.video-play-left .video-player-info__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 15px;
    color: var(--text-secondary);
}

.video-play-left .video-player-info__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-play-left .video-player-info__meta a {
    color: var(--blue);
    text-decoration: none;
}

.video-play-left .video-player-info__meta a:hover {
    text-decoration: underline;
}

.video-play-left .video-player-info__students {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.video-play-left .video-player-info__description {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.video-play-left .video-player-info__desc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-play-left .video-player-info__desc-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 2px;
}

.video-play-left .video-player-info__desc-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    white-space: pre-wrap;
}

/* 播放页相关课程推荐 */
.video-play-related {
    margin-top: 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    flex-shrink: 0;
}

.video-play-related__header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.video-play-related__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-play-related__title i {
    color: var(--blue);
    font-size: 18px;
}

.video-play-related__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 16px;
}

.video-play-related__item {
    flex: 1 1 0;
    max-width: calc((100% - 32px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--white);
}

.video-play-related__item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.video-play-related__cover {
    position: relative;
    width: 100px;
    min-width: 100px;
    overflow: hidden;
    background: #f1f5f9;
}

.video-play-related__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-related__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.video-play-related__badge--paid {
    background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
}

.video-play-related__duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.video-play-related__info {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.video-play-related__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-play-related__desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.video-play-related__meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.video-play-related__meta-item {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
}

.video-play-related__meta-item i {
    margin-right: 3px;
    font-size: 12px;
}

/* 播放页侧边栏样式 */
.video-play-layout .video-play-sidebar {
    position: fixed;
    top: 90px;
    right: max(30px, calc((100vw - 1400px) / 2 + 30px));
    width: 360px;
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    z-index: 20;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.video-play-layout .video-play-sidebar::-webkit-scrollbar {
    width: 6px;
}

.video-play-layout .video-play-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.video-play-layout .video-play-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.video-play-layout .video-course-catalog {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.video-play-layout .video-play-sidebar__course-info {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.video-play-layout .video-play-sidebar__course-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.video-play-layout .video-play-sidebar__course-cover {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.video-play-layout .video-play-sidebar__course-detail {
    flex: 1;
    min-width: 0;
}

.video-play-layout .video-play-sidebar__course-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-play-layout .video-play-sidebar__course-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.video-play-layout .video-play-sidebar__course-action {
    display: block;
    margin-top: 14px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-play-layout .video-play-sidebar__course-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.video-play-layout .video-play-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    padding: 0 4px;
}

.video-play-layout .video-chapter-list {
    background: var(--white);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.video-play-layout .video-chapter-list__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.video-play-layout .video-chapter-list__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

/* 章节列表内容区域滚动 */
.video-play-layout .video-chapter-list__content {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
    min-height: 0;
}

.video-play-layout .video-chapter-list__content::-webkit-scrollbar {
    width: 4px;
}

.video-play-layout .video-chapter-list__content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.video-play-layout .video-chapter-list__content::-webkit-scrollbar-track {
    background: transparent;
}

/* 章节分组样式 */
.video-play-layout .video-chapter-group {
    margin-bottom: 20px;
}

.video-play-layout .video-chapter-group:last-child {
    margin-bottom: 0;
}

.video-play-layout .video-chapter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.video-play-layout .video-chapter-group__title {
    color: var(--text-color);
}

.video-play-layout .video-chapter-group__meta {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
}

/* 章节列表项样式 */
.video-play-layout .video-chapter-list__items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-play-layout .video-chapter-group__items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-play-layout .video-chapter-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
}

.video-play-layout .video-chapter-list__item:hover {
    background: #e8f2ff;
    transform: translateX(2px);
}

.video-play-layout .video-chapter-list__item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.video-play-layout .video-chapter-list__item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
}

.video-play-layout .video-chapter-list__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.video-play-layout .video-chapter-list__item.active .video-chapter-list__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.video-play-layout .video-chapter-list__icon--playing {
    width: 16px;
    height: 16px;
}

.video-play-layout .video-chapter-list__info {
    flex: 1;
    min-width: 0;
}

.video-play-layout .video-chapter-list__name {
    font-size: 15px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-play-layout .video-chapter-list__item.active .video-chapter-list__name {
    color: white;
}

.video-play-layout .video-chapter-list__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.video-play-layout .video-chapter-list__item.active .video-chapter-list__meta {
    color: rgba(255, 255, 255, 0.8);
}

.video-play-layout .video-chapter-list__duration {
    font-size: 12px;
}

.video-play-layout .video-chapter-list__free {
    color: #10b981;
    font-size: 11px;
}

.video-play-layout .video-chapter-list__paid {
    color: #f59e0b;
    font-size: 11px;
}

.video-play-layout .video-chapter-list__free i,
.video-play-layout .video-chapter-list__paid i {
    font-size: 11px;
    margin-right: 2px;
}

.video-play-layout .video-chapter-list__empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* 播放页底部内容区 */
.video-play-container {
    padding: 40px 0 80px;
    background: var(--bg-color);
}

.video-play-container .app-layout-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-play-main {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.video-play-content-area__section {
    margin-bottom: 36px;
}

.video-play-content-area__section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 20px;
}

.video-play-content-area__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.video-play-content-area__section-count {
    font-size: 14px;
    color: var(--text-muted);
}

.video-play-content-area__section-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.video-play-content-area__divider {
    height: 1px;
    background: var(--border-color);
    margin: 24px 0;
}

.video-play-content-area__course-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.video-play-content-area__course-info__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
}

.video-play-content-area__course-info__label {
    font-size: 13px;
    color: var(--text-muted);
}

.video-play-content-area__course-info__value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.video-play-content-area__course-info__value a {
    color: var(--blue);
    text-decoration: none;
}

.video-play-content-area__course-info__value a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 1200px) {
    .video-play-layout {
        flex-direction: column;
    }

    .video-play-layout .video-play-sidebar {
        width: 100%;
        max-height: none;
        position: static;
    }
}

@media (max-width: 768px) {
    .page-video {
        padding-top: 50px;
    }

    .video-player-main-section {
        padding: 16px 0;
    }

    .video-player-main-section .app-layout-content {
        padding: 0 16px;
    }

    .video-play-layout {
        gap: 16px;
    }

    .video-play-left .video-player-wrapper {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .video-play-left .video-player {
        min-height: 220px;
    }

    .video-play-left .video-player-info {
        padding: 16px 16px;
        border-radius: 12px;
    }

    .video-play-left .video-player-info__title {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .video-play-left .video-player-info__badges {
        margin-bottom: 10px;
    }

    .video-play-left .video-player-info__meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 14px;
        font-size: 13px;
    }

    .video-player-info__share {
        align-self: center;
        width: auto;
        margin-left: auto;
    }

    .video-play-layout .video-play-sidebar {
        position: static !important;
        width: 100%;
        height: auto;
        right: auto;
    }

    .video-play-left {
        margin-right: 0;
    }

    .video-play-layout .video-course-catalog__list {
        max-height: 400px;
    }

    .video-play-layout .video-play-sidebar__title {
        font-size: 15px;
        margin-bottom: 12px;
        padding: 0;
    }

    .video-play-layout .video-chapter-list-new {
        border-radius: 10px;
    }

    .video-play-layout .chapter-scroll {
        max-height: 400px;
    }

    .chapter-group__link {
        padding: 10px 12px;
        gap: 8px;
    }

    .chapter-group__title {
        padding: 10px 12px;
        font-size: 13px;
    }

    .chapter-group__time {
        display: none;
    }

    .chapter-group__tag {
        font-size: 10px;
        padding: 1px 5px;
    }

    .video-play-related__list {
        flex-wrap: wrap;
    }

    .video-play-related__item {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .video-play-related__cover {
        width: 120px;
        min-width: 120px;
    }
}

/* Plyr 播放器自定义样式 */
.video-player-wrapper .plyr {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    background: #000;
}

.video-player-wrapper .plyr__video-wrapper::before {
    background: transparent;
}

.video-player-wrapper .plyr__control--overlaid {
    background: rgba(59, 130, 246, 0.9);
    backdrop-filter: blur(4px);
}

.video-player-wrapper .plyr__control--overlaid:hover {
    background: rgba(59, 130, 246, 1);
}

.video-player-wrapper .plyr__controls {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    padding: 40px 16px 12px;
    border-radius: 0 0 16px 16px;
}

.video-player-wrapper .plyr__progress__buffer {
    color: #3b82f6;
}

.video-player-wrapper .plyr__progress__value {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.video-player-wrapper .plyr__control:hover {
    color: #3b82f6;
}

.video-player-wrapper .plyr__menu__container {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.video-player-wrapper .plyr__menu__item[aria-selected="true"] {
    background: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Plyr 响应式调整 */
@media (max-width: 768px) {
    .video-player-wrapper .plyr {
        border-radius: 12px;
    }

    .video-player-wrapper .plyr__controls {
        padding: 30px 12px 8px;
    }
}

/* 响应式布局下的侧边栏卡片修复 */
@media (max-width: 992px) {
    .video-play-layout .video-play-sidebar__course-info {
        background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    }

    .video-play-layout .video-play-sidebar__course-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .video-play-layout .video-play-sidebar__course-cover {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 10px;
        margin-bottom: 12px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .video-play-layout .video-play-sidebar__course-detail {
        padding: 0;
    }

    .video-play-layout .video-play-sidebar__course-title {
        font-size: 15px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }

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

/* 小屏幕适配 (480px以下) */
@media (max-width: 480px) {
    .app-layout-content {
        padding: 0 12px !important;
    }

    .video-player-main-section {
        padding: 10px 0;
    }

    .video-player-main-section .app-layout-content {
        padding: 0 12px;
    }

    .video-play-layout {
        gap: 12px;
    }

    .video-play-layout .video-play-sidebar {
        position: static;
        width: 100%;
        height: auto;
        right: auto;
        border-radius: 12px;
    }

    .video-play-left {
        margin-right: 0;
    }

    .video-play-left .video-player-wrapper {
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .video-play-left .video-player {
        min-height: 180px;
    }

    .video-play-left .video-player-info {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .video-play-left .video-player-info__title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .video-play-left .video-player-info__badges {
        margin-bottom: 8px;
        gap: 6px;
    }

    .video-play-left .video-player-info__badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    /* 元数据左右合理布局：行排列+自动换行 */
    .video-play-left .video-player-info__meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 10px;
        font-size: 12px;
    }

    .video-play-left .video-player-info__meta i {
        margin-right: 3px;
        font-size: 12px;
    }

    .video-player-info__share {
        font-size: 11px;
        padding: 3px 10px;
        margin-left: auto;
    }

    .video-player-info__description {
        margin-top: 10px;
    }

    .video-player-info__desc-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .video-player-info__desc-text {
        font-size: 13px;
        line-height: 1.6;
    }

    /* 推荐卡片优化 */
    .video-play-related {
        margin-top: 16px;
    }

    .video-play-related__header {
        margin-bottom: 10px;
    }

    .video-play-related__title {
        font-size: 14px;
    }

    .video-play-related__list {
        padding: 10px;
        gap: 10px;
    }

    .video-play-related__item {
        padding: 8px;
    }

    .video-play-related__cover {
        width: 96px;
        min-width: 96px;
    }

    .video-play-related__badge {
        top: 4px;
        left: 4px;
        padding: 1px 6px;
        font-size: 10px;
    }

    .video-play-related__duration {
        bottom: 4px;
        right: 4px;
        padding: 1px 5px;
        font-size: 10px;
    }

    .video-play-related__info {
        padding: 8px 10px;
        gap: 4px;
    }

    .video-play-related__name {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .video-play-related__desc {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }

    .video-play-related__meta {
        gap: 8px;
        padding-top: 6px;
        margin-top: 4px;
    }

    .video-play-related__meta-item {
        font-size: 10px;
    }

    .video-play-related__meta-item i {
        font-size: 10px;
    }

    /* 视频目录列表滚动优化 */
    .video-play-layout .video-course-catalog__list {
        max-height: 320px;
        -webkit-overflow-scrolling: touch;
    }

    .video-play-layout .video-course-catalog__title-bar {
        padding: 10px 12px;
        font-size: 13px;
    }

    .video-play-layout .video-course-chapter__header {
        padding: 8px 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .video-play-layout .video-course-chapter__meta {
        margin-left: auto;
    }

    .video-play-layout .video-course-chapter__item {
        padding: 8px 10px;
    }

    .video-play-layout .video-course-chapter__item__title {
        font-size: 13px;
    }

    .video-play-layout .video-course-chapter__item__meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        margin-left: auto;
    }

    .video-course-header__title {
        font-size: 20px !important;
    }

    .video-course-header__meta {
        font-size: 12px;
    }

    .video-course-header__btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .course-card__stats {
        display: none;
    }

    .course-card__desc {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .video-filter-bar {
        padding: 10px 12px;
    }

    .video-filter-bar__item {
        padding: 4px 10px;
        font-size: 11px;
    }

    .chapter-group__link {
        padding: 8px 10px;
    }

    .chapter-group__title {
        padding: 8px 10px;
        font-size: 12px;
    }
}
