/* CSS Variables - Modern Design System */
:root {
    /* Colors */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Neutral Colors - 调整为适合黑色背景 */
    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: #4b5563;
    --shadow-color: rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #d97706);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #059669);
    --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
    --gradient-bg: #0C0D14;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-1xl: 1rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.75rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --container-width: 1280px;
    --container-padding: 1.5rem;
    --header-height: 72px;
}

/* Base Styles - Shared between all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    background: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 0.03) 50%),
        linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.02) 50%);
    background-size: 
        100% 100%,
        100% 100%,
        80px 80px,
        80px 80px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}
.main-content{
    margin-top: 70px;
}
/* Container */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--container-padding);
}

/* Header Styles */
.header {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(17, 24, 39, 0.95);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    padding: var(--space-2xl) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-links {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.footer-link:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
    transform: translateY(-1px);
}

.footer-separator {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Carousel Section */
.hero-carousel {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.carousel-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.carousel-slide {
    display: none;
    padding: 30px;
}

.carousel-slide-inner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carousel-content {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: white;
}

.carousel-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    color: white;
}

.carousel-image-wrapper {
    flex: 0 0 auto;
    width: 600px;
    max-width: 100%;
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.carousel-image .image-placeholder {
    border-radius: var(--radius-xl);
}

.carousel-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    opacity: 1;
    transition: all var(--transition-normal);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(59, 130, 246, 0.8);
    color: white;
    transform: translateY(-50%) scale(1.05);
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.carousel-prev {
    left: var(--space-lg);
}

.carousel-next {
    right: var(--space-lg);
}

.carousel-indicators {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(105, 104, 104, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
}
.fa-star-o:before {
    content: "\f005";
}
.star-full{
    color: gold;
}
.star-empty{
  color: gray;
}
/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
        --header-height: 60px;
    }
    
    .container {
        padding: 0 var(--container-padding);
    }
    
    .back-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 45px;
        height: 45px;
    }
    
    /* Carousel responsive */
    .carousel-slide {
        padding: 10px;
    }
    
    .carousel-slide-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .carousel-content {
        max-width: 100%;
        order: 2;
        padding-top: 5px;
    }
    
    .carousel-content h3 {
        font-size: var(--font-size-xl);
        margin-bottom: 10px;
    }
    
    .carousel-content p {
        display: none;
    }
    
    .carousel-content .btn-primary {
        display: none;
    }
    
    .carousel-image-wrapper {
        max-width: 100%;
        order: 1;
    }
    
    .carousel-image .image-placeholder {
        border-radius: var(--radius-xl);
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }
    
    .carousel-prev {
        left: var(--space-md);
    }
    
    .carousel-next {
        right: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 10px;
    }
    
    .footer {
        padding: var(--space-xl) 0;
    }
}
