/* ========================================
   Nikkitsfun.com - 首页专用样式
   ======================================== */

/* Hero Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(102, 126, 234, 0.1) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #cccccc;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

.hero-scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.hero-scroll-dot {
    width: 6px;
    height: 10px;
    background: #ffffff;
    border-radius: 3px;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* 核心优势板块 */
.features-section {
    background: #ffffff;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    background: #ffffff;
    border-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
}

/* 快速入口 */
.quick-access {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.access-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.access-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.access-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.access-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.access-text {
    font-size: 14px;
    opacity: 0.8;
}

/* 资讯列表区域 */
.news-section {
    background: #f5f5f5;
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CTA 板块 */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 32px;
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 32px;
    }
}
