* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff9500;
    --primary-dark: #cc7700;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.95);
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
    --border-color: rgba(255, 149, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 149, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid var(--border-color);
}

.mobile-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 149, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background: rgba(255, 149, 0, 0.1);
    color: var(--primary-color);
}

/* 主区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #2a1a0a 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 149, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 60, 0, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255, 149, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 149, 0, 0.03) 1px, transparent 1px);
    background-size: auto, auto, 50px 50px, 50px 50px;
    animation: pulse 4s ease-in-out infinite;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 149, 0, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 149, 0, 0.8), 0 0 40px rgba(255, 149, 0, 0.3); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.server-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.info-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-address {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    background: rgba(255, 149, 0, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 通用区块样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

/* 关于区域 */
.about-section {
    background: rgba(20, 20, 20, 0.5);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
}

.feature-text h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--text-gray);
}

/* 特色卡片 */
.features-section {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 加入区域 */
.join-section {
    background: rgba(20, 20, 20, 0.5);
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
}

.step-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 20px 0 15px;
}

.step-description {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.step-button, .copy-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.step-button:hover, .copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.kook-button {
    background: linear-gradient(135deg, #5865f2, #4752c4);
}

.server-connect {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.server-connect code {
    background: rgba(255, 149, 0, 0.1);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

/* 页脚 */
.footer {
    background: #000;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3,
.footer-links h4,
.footer-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-brand p,
.footer-info p {
    color: var(--text-gray);
    margin-bottom: 8px;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 149, 0, 0.1);
    color: var(--text-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .features-grid,
    .join-steps {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .server-address {
        font-size: 0.9rem;
        word-break: break-all;
    }

    .feature-card,
    .step-card {
        padding: 30px 20px;
    }
}
