@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 青趣主题 */
.qingqu-theme {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 25%, #c084fc 50%, #d8b4fe 75%, #e9d5ff 100%);
    min-height: 100vh;
    position: relative;
}

/* 动态背景 */
.qingqu-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(45deg, 
        rgba(124, 58, 237, 0.1) 0%, 
        rgba(168, 85, 247, 0.1) 25%, 
        rgba(192, 132, 252, 0.1) 50%, 
        rgba(216, 180, 254, 0.1) 75%, 
        rgba(233, 213, 255, 0.1) 100%);
    background-size: 400% 400%;
    animation: bgFlow 12s ease-in-out infinite;
}

.qingqu-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #a855f7, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #c084fc, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(192, 132, 252, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #d8b4fe, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 6s ease-in-out infinite alternate;
}

@keyframes bgFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 青趣渐变 */
.qingqu-gradient {
    background: linear-gradient(45deg, #7c3aed, #a855f7, #c084fc, #d8b4fe);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 顶部横幅 */
.qingqu-banner {
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc, #d8b4fe);
    background-size: 400% 100%;
    animation: bannerFlow 10s ease-in-out infinite;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

@keyframes bannerFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.banner-text {
    color: white;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(255,255,255,0.8); }
    to { text-shadow: 0 0 20px rgba(255,255,255,1), 0 0 30px rgba(168, 85, 247, 0.8); }
}

/* 导航栏 */
.qingqu-nav {
    background: rgba(124, 58, 237, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid rgba(168, 85, 247, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.qingqu-logo {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
    to { box-shadow: 0 0 30px rgba(168, 85, 247, 0.9), 0 0 40px rgba(192, 132, 252, 0.6); }
}

.qingqu-nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qingqu-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
    transition: left 0.5s;
}

.qingqu-nav-link:hover::before,
.qingqu-nav-link.active::before {
    left: 100%;
}

.qingqu-nav-link:hover,
.qingqu-nav-link.active {
    color: #c084fc;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(192, 132, 252, 0.2));
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* 按钮样式 */
.qingqu-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.qingqu-btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

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

.qingqu-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

.qingqu-btn-secondary {
    background: transparent;
    color: #a855f7;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #a855f7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qingqu-btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.qingqu-btn-secondary:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

/* 英雄区域 */
.qingqu-hero {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(168, 85, 247, 0.8));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-play {
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: 3rem;
    color: #c084fc;
    animation: floatPlay 8s ease-in-out infinite;
}

.floating-star {
    position: absolute;
    top: 30%;
    left: 20%;
    font-size: 2.5rem;
    color: #a855f7;
    animation: floatStar 6s ease-in-out infinite;
}

.floating-heart {
    position: absolute;
    bottom: 30%;
    right: 25%;
    font-size: 2rem;
    color: #d8b4fe;
    animation: floatHeart 7s ease-in-out infinite;
}

@keyframes floatPlay {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes floatStar {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.8; }
    50% { transform: translateY(-25px) scale(1.2); opacity: 1; }
}

@keyframes floatHeart {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(360deg); opacity: 1; }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: white;
}

.subtitle {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 4xl;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* 统计卡片 */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.qingqu-text {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* 青趣区域 */
.qingqu-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.qingqu-section.alt {
    background: rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 2xl;
    margin: 0 auto;
}

/* 直播间网格 */
.live-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.live-room-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
}

.live-room-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-room-card:hover::after {
    opacity: 1;
}

.live-room-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
}

.live-thumbnail {
    position: relative;
    overflow: hidden;
}

.live-thumbnail img {
    transition: transform 0.5s ease;
}

.live-room-card:hover .live-thumbnail img {
    transform: scale(1.1);
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}

.live-status {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.viewer-count {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.live-content {
    padding: 1.5rem;
    position: relative;
    z-index: 10;
}

.live-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.streamer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.streamer-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid rgba(168, 85, 247, 0.4);
}

.streamer-details {
    flex: 1;
}

.streamer-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    display: block;
}

.streamer-level {
    font-size: 0.75rem;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-top: 0.25rem;
}

.live-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.live-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 分类网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    padding: 2.5rem;
    border-radius: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.category-card.purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.category-card.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.category-card.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-card.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.category-card::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;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.category-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-description {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.category-stats {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

/* 评价网格 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 25px;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 25px 25px 0 0;
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.5);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid rgba(168, 85, 247, 0.4);
}

.reviewer-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.rating {
    color: #fbbf24;
}

.review-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.review-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 页脚 */
.qingqu-footer {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 5rem 0;
    border-top: 3px solid rgba(168, 85, 247, 0.3);
    position: relative;
    z-index: 10;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.footer-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

/* 数字计数器 */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .live-rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-tags {
        flex-direction: column;
        align-items: center;
    }
}

/* 动画性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .qingqu-gradient {
        background: #7c3aed;
        -webkit-text-fill-color: #7c3aed;
    }
    
    .live-status {
        background: #ef4444;
    }
}

/* 打印样式 */
@media print {
    .floating-elements,
    .qingqu-bg-animation,
    .qingqu-particles,
    nav,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}