@import url('http://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;
}

.shadow-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
}

.shadow-gradient {
    background: linear-gradient(45deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    background-size: 400% 400%;
    animation: shadowShift 8s ease-in-out infinite;
}

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

.floating-shadow {
    animation: floatShadow 6s ease-in-out infinite;
    font-size: 1.5rem;
}

@keyframes floatShadow {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.6; }
    33% { transform: translateY(-20px) rotate(15deg) scale(1.1); opacity: 0.8; }
    66% { transform: translateY(-30px) rotate(-15deg) scale(0.9); opacity: 0.4; }
}

.shadow-glow {
    animation: shadowGlow 2.5s ease-in-out infinite alternate;
}

@keyframes shadowGlow {
    from { box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
    to { box-shadow: 0 0 30px rgba(124, 58, 237, 0.8); }
}

.live-indicator {
    position: relative;
}

.live-indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ef4444, #f87171, #ef4444);
    border-radius: 50%;
    animation: shadowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes shadowPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.shadow-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.shadow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shadow-card:hover::after {
    opacity: 1;
}

.shadow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.5);
}

.category-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.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.5s;
}

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

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.number-counter {
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

.review-card {
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

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

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

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2);
}

.anchor-card {
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.anchor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.anchor-card:hover::after {
    opacity: 1;
}

.anchor-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.show-card {
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.show-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.mystery-post {
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.mystery-post:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.4);
}

.community-post {
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.community-post:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.4);
}

.shadow-button {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    transition: all 0.3s ease;
}

.shadow-button:hover {
    background: linear-gradient(45deg, #a855f7, #c084fc);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
}

.shadow-border {
    border: 2px solid;
    border-image: linear-gradient(45deg, #7c3aed, #a855f7, #7c3aed) 1;
}

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

.shadow-highlight {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.shadow-highlight:hover {
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.25);
}

.online-indicator {
    background: linear-gradient(45deg, #10b981, #34d399);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.viewer-count {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.interaction-btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
}

.interaction-btn:hover {
    background-color: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.interaction-btn.active {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
}

.shadow-ornament {
    position: relative;
}

.shadow-ornament::before {
    content: '👻';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 1.2rem;
    opacity: 0.6;
}

.shadow-ornament::after {
    content: '🎭';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 1.2rem;
    opacity: 0.6;
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.shadow-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    margin: 2rem 0;
}

.skill-level {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.trending-badge {
    background: linear-gradient(45deg, #a855f7, #c084fc);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.shadow-pattern {
    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='%237c3aed' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.shadow-frame {
    border: 3px solid;
    border-image: linear-gradient(45deg, #7c3aed, #a855f7, #7c3aed, #a855f7) 1;
    border-radius: 0.5rem;
}

.live-duration {
    background: rgba(124, 58, 237, 0.2);
    color: #a855f7;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
}

.shadow-text-shadow {
    text-shadow: 2px 2px 4px rgba(124, 58, 237, 0.4);
}

.category-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.anchor-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.anchor-stats > div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.shadow-highlight {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
    border-left: 4px solid #7c3aed;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.show-popularity {
    background: linear-gradient(45deg, #a855f7, #c084fc);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.community-badge {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.shadow-section-title {
    position: relative;
    display: inline-block;
}

.shadow-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.filter-btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.filter-btn.active {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
}

.filter-btn:not(.active) {
    background: #374151;
    color: #9ca3af;
}

.filter-btn:not(.active):hover {
    background: #4b5563;
    color: #d1d5db;
}

.faq-item {
    border-bottom: 1px solid #374151;
    padding: 1.5rem 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #7c3aed;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-top: 1rem;
}

.feedback-form {
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f9fafb;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #4b5563;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #1f2937;
    color: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-star {
    font-size: 1.5rem;
    color: #4b5563;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-star:hover,
.rating-star.active {
    color: #a855f7;
}

/* Logo链接样式 */
nav a[href="/"] {
    transition: all 0.3s ease;
}

nav a[href="/"]:hover {
    transform: scale(1.05);
}

nav a[href="/"]:hover .shadow-gradient {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .shadow-bg {
        padding: 3rem 0;
    }
    
    .floating-shadow {
        display: none;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .shadow-card {
        margin-bottom: 1.5rem;
    }
}

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

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .review-card {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .community-post {
        background: #1f2937;
        color: #f9fafb;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .shadow-gradient {
        background: #7c3aed;
    }
    
    .live-indicator {
        background: #dc2626;
    }
}

/* 打印样式 */
@media print {
    .floating-shadow,
    .live-indicator,
    nav,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}