/* 多彩视讯 - 前端展示网站主样式 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 主横幅样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* 移动端优化 - 首页主横幅与布局 */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
    }
    .hero-section .row {
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    .hero-section .lead {
        font-size: 0.95rem;
    }
    .hero-section .btn-lg {
        padding: 0.55rem 1.2rem;
        font-size: 0.95rem;
    }
    .hero-image i {
        font-size: 7rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 60px;
    }
    .hero-section .row {
        min-height: 65vh;
    }
    .hero-section h1 {
        font-size: 1.7rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
    .display-5 {
        font-size: 1.6rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 功能特性卡片 */
.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15) !important;
}

/* 关于我们区域 */
.about-image {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

/* 页脚样式 */
footer {
    margin-top: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    padding: 2rem 0;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer-icp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-icp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-icp-item i {
    color: #0d6efd;
    font-size: 1.1rem;
}

.footer-icp-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icp-link:hover {
    color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-company i {
    color: #198754;
    font-size: 1.1rem;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.footer-links a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* 响应式设计 - 页脚 */
@media (max-width: 768px) {
    .footer-content {
        padding: 1.5rem 0;
    }
    
    .footer-icp {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* 其他通用响应式设计 */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.8rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 按钮样式增强 */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 工具类 */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,.3);
}

/* 导航栏滚动效果 */
.navbar-scrolled {
    background-color: rgba(13, 110, 253, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* APK版本选择卡片样式 */
.apk-version-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.apk-version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15) !important;
}

.apk-version-card .card-header {
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.version-list {
    max-height: 600px;
    overflow-y: auto;
}

.version-item {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.version-item:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.version-item.latest-version {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-left: 4px solid #0d6efd;
}

.version-item.latest-version:hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.15) 100%);
    border-color: rgba(13, 110, 253, 0.3);
}

/* 滚动条样式 */
.version-list::-webkit-scrollbar {
    width: 6px;
}

.version-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.version-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.version-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 加载动画 */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .version-item {
        padding: 0.75rem;
    }
    
    .version-item .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .version-item .btn {
        width: 100%;
    }
}

