/* ========================================
   拓冰网站优化 - 首页专用样式
   全屏一屏多主题视差布局
   ======================================== */

/* Hero Banner - 全屏视差 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 30px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #f4c430;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-shadow: 0 5px 30px rgba(244, 196, 48, 0.5);
    animation: slideDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: slideUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 核心优势板块 - 非通用布局 */
.advantages-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.advantage-card {
    background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
    border: 1px solid rgba(244, 196, 48, 0.15);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #f4c430;
    box-shadow: 0 20px 50px rgba(244, 196, 48, 0.25);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2) 0%, rgba(244, 196, 48, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #f4c430;
    position: relative;
    z-index: 1;
}

.advantage-title {
    font-size: 1.3rem;
    color: #f4c430;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.advantage-text {
    color: #b0b0b0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 快速入口板块 */
.quick-access-section {
    padding: 100px 0;
    background: url('../images/bg-pattern.png') repeat;
    background-color: #0f0f0f;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.access-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    group: access-card;
}

.access-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.access-card:hover .access-image {
    transform: scale(1.1);
}

.access-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.access-title {
    font-size: 1.5rem;
    color: #f4c430;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.access-card:hover .access-title {
    transform: translateY(0);
    opacity: 1;
}

.access-desc {
    color: #e0e0e0;
    font-size: 0.95rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.access-card:hover .access-desc {
    transform: translateY(0);
    opacity: 1;
}

.access-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(244, 196, 48, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4c430;
    font-size: 1.5rem;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
}

.access-card:hover .access-arrow {
    transform: rotate(0);
    background: #f4c430;
    color: #0a0a0a;
}

/* 资讯列表板块 */
.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background: rgba(244, 196, 48, 0.1);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 30px;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.news-tab:hover,
.news-tab.active {
    background: #f4c430;
    border-color: #f4c430;
    color: #0a0a0a;
}

.news-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .news-tabs {
        gap: 10px;
    }
    
    .news-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
