/* 3D 地球背景 */
/* 首页顶部 3D 地球横幅 */
.globe-hero {
    width: 100%;
    height: 380px;
    background: #000;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 180, 255, 0.35);
}

.globe-hero iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 确保首页内容显示在地球上方 */
body {
    position: relative;
    min-height: 100vh;
    background: #000;
    color: #fff;
}

.top-header,
main,
section,
footer {
    position: relative;
    z-index: 2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #000;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部区域 */
.top-header {
    height: 86px;
    display: flex;
    align-items: center;
    padding: 8px 22px;
    border-top: 4px solid #202833;
    border-bottom: 1px solid rgba(0, 180, 255, 0.35);
    background: rgba(0, 0, 0, 0.72);
}

.logo-box {
    width: 150px;
}

.logo {
    width: 120px;
    height: 60px;
    background: linear-gradient(135deg, #ffd34e, #0066ff);
    color: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.logo span {
    font-size: 13px;
}

.logo strong {
    font-size: 16px;
}

.site-title {
    flex: 1;
}

.site-title h1 {
    font-size: 18px;
    margin: 0 0 8px;
}

.site-title p {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    display: flex;
    border: 1px solid #bbb;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    width: 260px;
    height: 30px;
    border: none;
    outline: none;
    padding: 0 10px;
}

.search-box button {
    width: 42px;
    border: none;
    background: #fff;
    cursor: pointer;
}

.small-btn,
.top-actions select {
    height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    padding: 0 10px;
    cursor: pointer;
}

/* 大横幅 */
.hero-banner {
    position: relative;
    height: 315px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.25), transparent 30%),
        linear-gradient(90deg, #061c54, #0040a8, #101c5f 65%, #0d1f50);
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 120, 0, 0.7), transparent 25%),
        linear-gradient(300deg, rgba(255, 0, 0, 0.45), transparent 35%);
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(-10deg,
            transparent 0px,
            transparent 18px,
            rgba(255, 255, 255, 0.08) 20px);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 70px;
    color: white;
}

.big-number {
    font-size: 180px;
    font-weight: 900;
    font-style: italic;
    color: #e90000;
    text-shadow:
        4px 4px 0 #ffffff,
        8px 8px 0 rgba(0, 0, 0, 0.35);
    letter-spacing: -15px;
}

.hero-text h2 {
    font-size: 110px;
    margin: 0;
    color: white;
    text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
}

.hero-text p {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    background: linear-gradient(90deg, #1b1b1b, #d40000, #1b1b1b);
    padding: 5px 20px;
}

.breaking {
    position: absolute;
    right: 35px;
    top: 115px;
    background: #df0000;
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 10px 18px;
    transform: skew(-10deg);
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 4px;
}

.slider-dots .active {
    background: #fff;
}

/* 主菜单 */
.main-tabs {
    width: 90%;
    margin: 28px auto 18px;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-tabs a {
    font-size: 16px;
    font-weight: bold;
    padding: 5px 18px;
}

.main-tabs a.active {
    background: #777;
    color: white;
}

/* 分类导航 */
.category-nav {
    width: 90%;
    margin: 0 auto 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}

.category-nav a::after {
    content: "⌄";
    margin-left: 4px;
    color: #555;
}

/* 主体 */
.main-container {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 40px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.filter-row button {
    border: none;
    background: #f0f0f0;
    padding: 5px 12px;
    cursor: pointer;
}

.filter-row .filter-active {
    background: #333;
    color: white;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.news-item .date {
    font-size: 14px;
    color: #222;
}

.news-content h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: bold;
}

.news-content p {
    margin: 0 0 8px;
    line-height: 1.6;
    font-size: 14px;
}

.icons {
    color: #999;
    font-size: 14px;
}

/* 右侧财经日历 */
.right-panel {
    font-size: 14px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 22px;
    margin: 0;
}

.panel-header a {
    color: #8b0000;
    font-weight: bold;
}

.publish-time {
    text-align: right;
    font-weight: bold;
}

.calendar-item {
    display: grid;
    grid-template-columns: 36px 55px 1fr;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.calendar-item .flag {
    font-size: 22px;
}

.calendar-item p {
    margin: 0;
    font-size: 13px;
}

.exchange-box {
    margin-top: 24px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.exchange-box h3 {
    margin: 0 0 10px;
}

/* 手机适配 */
@media (max-width: 900px) {
    .top-header {
        height: auto;
        flex-direction: column;
        gap: 10px;
    }

    .top-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-box input {
        width: 180px;
    }

    .hero-banner {
        height: 230px;
    }

    .big-number {
        font-size: 90px;
    }

    .hero-text h2 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 22px;
    }

    .breaking {
        display: none;
    }

    .main-container {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 1fr;
    }
}