/* 17tst.com - 蓝莓视频 - 全新原创CSS样式 */
/* 橙红渐变主题 + 卡片式布局 */

:root {
    --primary-orange: #ff6b35;
    --primary-red: #e63946;
    --accent-yellow: #ffd166;
    --accent-pink: #ff85a1;
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --bg-card: #0f3460;
    --text-white: #ffffff;
    --text-light: #e8e8e8;
    --text-gray: #a0a0a0;
    --gradient-main: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    --gradient-bg: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    --shadow-card: 0 8px 32px rgba(230, 57, 70, 0.15);
    --shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.25);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-white);
    line-height: 1.7;
    min-height: 100vh;
}

a { color: var(--accent-yellow); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-orange); }

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0 40px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 32px; }
.logo-text {
    font-size: 24px; font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.main-nav { display: flex; gap: 35px; }
.main-nav a { color: var(--text-light); font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-main); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--primary-orange); }

.search-box { display: flex; align-items: center; background: rgba(255, 255, 255, 0.08); border-radius: 25px; padding: 8px 16px; border: 1px solid rgba(255, 107, 53, 0.3); }
.search-box input { background: transparent; border: none; outline: none; color: var(--text-white); width: 180px; font-size: 14px; }
.search-box input::placeholder { color: var(--text-gray); }
.search-box button { background: transparent; border: none; color: var(--primary-orange); cursor: pointer; font-size: 16px; }

.breadcrumb-nav { padding: 90px 40px 15px; font-size: 14px; color: var(--text-gray); }
.breadcrumb-nav a { color: var(--text-gray); }
.breadcrumb-nav a:hover { color: var(--primary-orange); }

main { padding-top: 70px; }

.hero-section { padding: 80px 40px; text-align: center; background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%); }
.hero-title { font-size: 52px; font-weight: 800; margin-bottom: 25px; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 18px; color: var(--text-light); max-width: 800px; margin: 0 auto 20px; line-height: 1.8; }
.hero-update { font-size: 14px; color: var(--text-gray); margin-bottom: 35px; }

.hero-search { max-width: 600px; margin: 0 auto 40px; display: flex; background: rgba(255, 255, 255, 0.05); border-radius: 50px; padding: 8px; border: 2px solid rgba(255, 107, 53, 0.4); }
.hero-search input { flex: 1; background: transparent; border: none; outline: none; padding: 15px 25px; font-size: 16px; color: var(--text-white); }
.hero-search input::placeholder { color: var(--text-gray); }
.hero-search button { background: var(--gradient-main); border: none; padding: 15px 35px; border-radius: 40px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hero-search button:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4); }

.hero-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-primary { background: var(--gradient-main); color: white; padding: 14px 32px; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: white; }
.btn-secondary { background: transparent; color: var(--accent-yellow); padding: 14px 32px; border-radius: 30px; font-weight: 600; border: 2px solid var(--accent-yellow); display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.btn-secondary:hover { background: var(--accent-yellow); color: var(--bg-dark); }

.content-section { padding: 70px 40px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 15px; color: var(--text-white); }
.section-title span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { font-size: 16px; color: var(--text-gray); }

.category-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.category-tab { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 107, 53, 0.3); padding: 10px 25px; border-radius: 25px; color: var(--text-light); cursor: pointer; transition: all 0.3s ease; font-size: 14px; }
.category-tab:hover, .category-tab.active { background: var(--gradient-main); border-color: transparent; color: white; }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.video-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(255, 107, 53, 0.1); }
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, 0.8); color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }

.play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.video-card:hover .play-overlay { opacity: 1; }
.play-btn { width: 60px; height: 60px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; transform: scale(0.8); transition: transform 0.3s ease; }
.video-card:hover .play-btn { transform: scale(1); }

.video-info { padding: 18px; }
.video-title { font-size: 15px; font-weight: 600; color: var(--text-white); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-stats { display: flex; gap: 18px; font-size: 13px; color: var(--text-gray); }
.video-stats span { display: flex; align-items: center; gap: 5px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 35px 25px; text-align: center; border: 1px solid rgba(255, 107, 53, 0.1); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary-orange); box-shadow: var(--shadow-card); }
.feature-icon { width: 70px; height: 70px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 20px; }
.feature-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text-white); }
.feature-desc { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.expert-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px; text-align: center; border: 1px solid rgba(255, 107, 53, 0.1); transition: all 0.3s ease; }
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; border: 3px solid var(--primary-orange); }
.expert-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text-white); }
.expert-role { font-size: 14px; color: var(--primary-orange); margin-bottom: 12px; }
.expert-bio { font-size: 13px; color: var(--text-gray); line-height: 1.6; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: white; font-size: 14px; transform: translateY(100%); transition: transform 0.3s ease; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px; border: 1px solid rgba(255, 107, 53, 0.1); }
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.testimonial-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.testimonial-info h4 { font-size: 16px; font-weight: 600; color: var(--text-white); margin-bottom: 4px; }
.testimonial-date { font-size: 12px; color: var(--text-gray); }
.testimonial-rating { color: var(--accent-yellow); margin-bottom: 15px; font-size: 14px; }
.testimonial-content { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.partner-list { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.partner-item { font-size: 18px; color: var(--text-gray); font-weight: 500; padding: 15px 30px; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-md); transition: all 0.3s ease; }
.partner-item:hover { color: var(--primary-orange); background: rgba(255, 107, 53, 0.1); }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.contact-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px; text-align: center; border: 1px solid rgba(255, 107, 53, 0.1); }
.contact-icon { font-size: 36px; margin-bottom: 15px; }
.contact-label { font-size: 14px; color: var(--text-gray); margin-bottom: 8px; }
.contact-value { font-size: 15px; color: var(--text-white); font-weight: 500; }

.site-footer { background: var(--bg-darker); padding: 60px 40px 30px; border-top: 1px solid rgba(255, 107, 53, 0.2); }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo .logo-icon { font-size: 28px; }
.footer-logo .logo-text { font-size: 20px; }
.footer-desc { font-size: 14px; color: var(--text-gray); line-height: 1.7; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { font-size: 16px; font-weight: 600; color: var(--text-white); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-gray); font-size: 14px; }
.footer-col a:hover { color: var(--primary-orange); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: var(--text-gray); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

@media (max-width: 1200px) { .video-grid, .feature-grid, .expert-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .video-grid, .feature-grid, .expert-grid, .gallery-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); } .testimonial-grid { grid-template-columns: 1fr; } .main-nav { display: none; } .hero-title { font-size: 38px; } }
@media (max-width: 768px) { .site-header { padding: 0 20px; } .content-section { padding: 50px 20px; } .hero-section { padding: 60px 20px; } .hero-title { font-size: 32px; } .section-title { font-size: 28px; } .video-grid, .feature-grid, .expert-grid, .gallery-grid, .contact-grid { grid-template-columns: 1fr; } .footer-top { flex-direction: column; } .footer-links { flex-direction: column; gap: 30px; } }
