/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 强制覆盖所有body样式 */
body, html body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: #000 !important;
    color: #fff !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 状态栏 */
.status-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.status-left .signal {
    margin-right: 8px;
}

.status-center .time {
    font-weight: 600;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 页面标题 */
.page-header {
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

/* 主要内容区域 */
.main-content {
    padding-bottom: 80px;
}

/* Hero Section - RSKU */
.hero-section {
    position: relative;
    height: 320px;
    margin-top: 80px;
    background: url('/static/images/ruisit_03.png') center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.glow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* 添加半透明遮罩以确保文字可读性 */
    z-index: 1;
}


.hero-content {
    position: absolute;
    z-index: 3;
    padding-left: 25px;
    padding-top: 20px;
    top: -50px;
    left: 0;
}

.rsku-title {
    font-size: 62px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    line-height: 1.5;
    border: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.rsku-subtitle {
    font-size: 18px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    opacity: 0.95;
    font-weight: 400;
}

/* 平台介绍区域 */
.platform-section {
    padding: 30px 20px;
    background: #000;
}

.platform-content {
    display: flex;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧：RJ logo + 银色魅力 */
.platform-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 10px;
    width: 100%;
    flex-shrink: 0;
}

.logo-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 4px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.silver-charm {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

/* 右侧：描述文字 + 72 logo */
.platform-right {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.platform-text {
    flex: 1;
    text-align: left;
}

.platform-text p {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.logo-72 {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-72-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 新闻卡片区域 */
.news-section {
    padding: 20px;
    background: #000;
    display: flex;
    gap: 16px;
}

/* 左侧列：头部卡片 + 第一个文章 */
.news-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 最新资讯头部卡片 */
.latest-news-header {
    border-radius: 12px;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧列：文章列表 */
.news-articles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
}

.article-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 15px;
}

.article-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.article-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.article-views {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #333;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.nav-item.active .nav-icon-img {
    opacity: 1;
}

.nav-item:not(.active) .nav-icon-img {
    opacity: 0.6;
}

.nav-item.active .nav-label {
    color: #ffd700;
    font-weight: 500;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.nav-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* 默认图标显示，激活图标隐藏 */
.nav-icon-default {
    opacity: 1;
}

.nav-icon-active {
    opacity: 0;
}

/* 激活状态：默认图标隐藏，激活图标显示 */
.nav-item.active .nav-icon-default {
    opacity: 0;
}

.nav-item.active .nav-icon-active {
    opacity: 1;
}

.nav-label {
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
    font-weight: 400;
}

.nav-item:hover .nav-icon-default {
    opacity: 0;
}

.nav-item:hover .nav-icon-active {
    opacity: 1;
}

.nav-item:hover .nav-label {
    color: #ffd700;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .hero-section {
        height: 280px;
        padding: 0 16px;
    }
    
    .hero-content {
        padding-left: 20px;
        padding-top: 30px;
    }
    
    .rsku-title {
        font-size: 58px;
        letter-spacing: 1px;
    }
    
    .rsku-subtitle {
        font-size: 20px;
    }
    
    .platform-content {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-text {
        text-align: left;
        text-indent: 2em;
        order: 2;
    }
    
    .platform-logos {
        order: 1;
    }
    
    .news-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        padding: 16px;
    }
    
    .latest-news {
        grid-column: 1;
        grid-row: 1;
    }
    
    .article-card:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .article-card:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .article-card:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }