/* 全局样式 */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'SF Pro Display', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    color: #2c3e50;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* 为固定的底部说明留出空间 */
}

/* 头部样式 */
header {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    position: relative;
}

/* 左上角Logo样式 */
.corner-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo {
    max-height: 80px;
    width: auto;
}

.logo-horizontal {
    display: block;
    max-width: 250px;
}

.logo-vertical {
    display: none;
    max-height: 120px;
}

header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.display-4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: rgba(102, 126, 234, 0.9);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(102, 126, 234, 0.3);
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    /* border: 1px solid rgba(102, 126, 234, 0.2); */
    display: inline-block;
    position: relative;
    overflow: hidden;
}



/* 卡片样式 */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(31, 38, 135, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    background: rgba(255, 255, 255, 0.9);
}

.card-body {
    padding: 1.5rem;
    background: transparent;
}

/* 输入框样式 */
.input-group-text {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    color: #6c757d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    color: #2c3e50;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow:
        0 0 0 0.2rem rgba(102, 126, 234, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.btn-primary {
    background: rgba(102, 126, 234, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    color: white;
    box-shadow:
        0 4px 20px rgba(102, 126, 234, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: rgba(102, 126, 234, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(102, 126, 234, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

/* 平台图标样式 */
.supported-platforms {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-icons {
    margin-top: 0.5rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* 加载动画样式 */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #667eea;
    filter: drop-shadow(0 2px 10px rgba(102, 126, 234, 0.3));
}

/* 视频卡片样式 */
#videoThumbnail {
    border-radius: 15px;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#videoThumbnail:hover {
    transform: scale(1.02);
    box-shadow:
        0 12px 40px rgba(31, 38, 135, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

#videoTitle {
    color: rgba(102, 126, 234, 0.9);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

.btn-outline-primary {
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
}

.btn-outline-primary:hover {
    background: rgba(102, 126, 234, 0.9);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-success {
    background: rgba(40, 167, 69, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    box-shadow:
        0 4px 20px rgba(40, 167, 69, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-success:hover {
    background: rgba(40, 167, 69, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(40, 167, 69, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

/* 播放器样式 */
#playerCard {
    margin-top: 2rem;
}

.ratio {
    border-radius: 15px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* 警告框样式 */
.alert {
    border-radius: 15px;
    border: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .card-body {
        padding: 1.25rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    /* 移动端显示纵向logo，隐藏横向logo */
    .logo-horizontal {
        display: none;
    }

    .logo-vertical {
        display: block;
    }

    /* 移动端左上角logo调整 */
    .corner-logo {
        top: 15px;
        left: 15px;
    }

    .logo {
        max-height: 60px;
    }

    .logo-horizontal {
        max-width: 150px;
    }

    .logo-vertical {
        max-height: 60px;
    }

    /* 导航栏移动端调整 */
    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 40px;
        width: auto;
        max-width: none;
        object-fit: contain;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem !important;
    }

    /* 平台标签页移动端调整 */
    .platform-tabs {
        gap: 0.25rem;
    }

    .platform-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem !important;
    }

    .platform-tab i {
        font-size: 1rem;
        margin-right: 0.25rem;
    }

    .btn-lg {
        padding: 0.6rem 1.8rem;
        font-size: 1rem;
    }

    .platform-icons {
        text-align: center;
    }

    .badge {
        display: inline-block;
        margin: 0.25rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .d-flex .btn {
        margin-bottom: 0;
    }

    .card {
        border-radius: 15px;
    }

    .ratio {
        border-radius: 12px;
    }

    iframe {
        border-radius: 12px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 页面底部页脚样式 */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 -2px 20px rgba(102, 126, 234, 0.1);
}

.page-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* 响应式设计 - 移动端调整 */
@media (max-width: 768px) {
    .page-footer {
        padding: 1rem 0;
        margin-top: 2rem;
    }
    
    .page-footer p {
        font-size: 0.8rem;
    }
}

/* 分辨率按钮样式 */
.quality-btn {
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quality-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.quality-btn:hover::before {
    left: 100%;
}

.quality-btn:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

.quality-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* 视频标题显示区域样式 */
.video-title-section {
    text-align: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.video-title {
    margin-bottom: 0.5rem;
    color: rgba(102, 126, 234, 0.9);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.video-title i {
    color: rgba(102, 126, 234, 0.7);
    font-size: 0.9rem;
}


/* 下载按钮区域样式 */
.download-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
}

.download-main-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 60px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(31, 38, 135, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.download-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-main-btn:hover::before {
    left: 100%;
}

.download-main-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(31, 38, 135, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.download-main-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.download-main-btn i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.download-main-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.download-main-btn span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* 下载视频按钮样式 */
#downloadVideoBtn {
    background: rgba(13, 110, 253, 0.9);
    color: white;
}

#downloadVideoBtn:hover {
    background: rgba(13, 110, 253, 1);
}

/* 下载封面按钮样式 */
#downloadThumbnailBtn {
    background: rgba(102, 126, 234, 0.9);
    color: white;
}

#downloadThumbnailBtn:hover {
    background: rgba(102, 126, 234, 1);
}

/* 分辨率选择区域样式 */
#qualitySection {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

#qualitySection h5 {
    color: rgba(102, 126, 234, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 封面占位图片样式 */
.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.thumbnail-placeholder:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
}

/* 下载帮助模态框样式 */
.download-help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-help-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.download-help-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.download-help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(102, 126, 234, 0.1);
}

.download-help-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.download-help-body ol {
    padding-left: 1.2rem;
}

.download-help-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.download-help-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

/* 悬停效果 */
.card:hover .card-body {
    background: rgba(255, 255, 255, 0.95);
}

/* 图片预览模态框样式 */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.image-preview-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.image-preview-body {
    padding: 1rem;
    text-align: center;
    max-height: 70vh;
    overflow: auto;
}

.preview-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
}

.image-preview-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

/* 顶部导航栏样式 */
.navbar {
    background: rgba(245, 247, 250, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    color: #2c3e50 !important;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #667eea !important;
    transform: scale(1.05);
}

/* 导航栏logo样式 */
.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

/* 平台标签页样式 */
.platform-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.platform-tab {
    color: #2c3e50 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    background: rgba(102, 126, 234, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.platform-tab:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.18);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.platform-tab.active {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.22);
    border-color: rgba(102, 126, 234, 0.6);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.platform-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #667eea;
}

.platform-tab i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* 输入区域样式 */
.input-section {
    transition: all 0.3s ease;
}

.help-text {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border-left: 4px solid rgba(102, 126, 234, 0.3);
}

.help-text small {
    color: #667eea;
    font-weight: 500;
}

.help-text i {
    margin-right: 0.5rem;
}

/* 平台标题样式 */
#platformTitle {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 图标颜色 */
.fa-play-circle { color: #667eea; }
.fa-link { color: #6c757d; }
.fa-search { color: white; }
.fa-play { color: white; }
.fa-external-link-alt { color: #667eea; }
.fa-user { color: #6c757d; }
.fa-server { color: #6c757d; }
.fa-exclamation-triangle { color: white; }
.fa-info-circle { color: #6c757d; }
.fa-tv { color: #667eea; }
.fa-music { color: #ff6b6b; }
.fa-bilibili { color: #00a1d6; }
.fa-hand-pointer { color: #6c757d; }

/* 自定义py-4样式 */
.py-4 {
    padding-top: 5.5rem !important;
    padding-bottom: 1.5rem !important;
}
