@charset "UTF-8";

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

html {
    font-size: 16px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #1a1a2e;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}



a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffd700;
}

img {
    max-width: 100%;
    height: auto;
}

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

header {
   linear-gradient(135deg, #296b0e 0%, #614700 100%);
    padding: 15px 0;
    /*position: sticky;*/
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    font-size: 1.25rem;
    font-weight: 500;
}

.nav-links li.active a {
    color: #ffd700;
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

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

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    background-size: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.3), rgba(26, 26, 46, 0.8));
}

.mobile-banner {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.mobile-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.desktop-only {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.download-qr-left {
    text-align: center;
    flex-shrink: 0;
}

.download-qr-left img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.download-qr-left p {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.download-buttons-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-row {
    display: flex;
    gap: 15px;
}

.btn-row .btn {
    flex: 1;
    max-width: 240px;
    justify-content: center;
}

.download-image-right {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.download-image-right:hover {
    transform: scale(1.05);
}

.download-image-right img {
    width: 180px;
    height: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
   /* padding: 12px 30px;*/
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/*.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a2e;
}*/

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.section {
    padding: 60px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}
.news-section-container{
  height:80vh;
}




.section > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffd700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffd700;
}

.news-center-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

.news-left-slide {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
    background: rgba(0, 0, 0, 0.3);
}

.slide-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.slide-category {
    display: inline-block;
    padding: 4px 12px;
    background: #ffd700;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 15px;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 1rem;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.slide-indicators {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 6px;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: #ffd700;
    width: 20px;
    border-radius: 4px;
}

.news-center-tabs {
    display: flex;
    flex-direction: column;
    height: 350px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 15px;
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #ffd700;
}

.tab-btn.active {
    color: #ffd700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #ffd700;
}

.tab-more {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.tab-more:hover {
    color: #ffd700;
}

.tabs-content {
    flex: 1;
    overflow: hidden;
}

.tab-panel {
    display: none;
    height: 100%;
    padding: 10px 15px;
    overflow-y: auto;
}

.tab-panel.active {
    display: block;
}

.tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-list li:last-child {
    border-bottom: none;
}

.tab-list li:hover {
    color: #ffd700;
    padding-left: 5px;
}

.tab-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-left: 10px;
    white-space: nowrap;
}

.news-right-server {
    height: 350px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.server-header {
    padding: 15px;
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    color: #ffd700;
    font-weight: bold;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.server-list {
    padding: 10px 15px;
    overflow-y: auto;
    height: calc(100% - 50px);
}

.server-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-item:last-child {
    border-bottom: none;
}

.server-name {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.server-time {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.stack-carousel {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.stack-track {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
}

.stack-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 960px;
    height: 540px;
    transform: translateX(-50%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    opacity: 0;
}

.stack-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.stack-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #ffd700;
}

.stack-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.stack-slide.active {
    z-index: 10;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.stack-slide.prev {
    z-index: 5;
    opacity: 0.7;
    transform: translateX(-130%) scale(0.85);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.stack-slide.next {
    z-index: 5;
    opacity: 0.7;
    transform: translateX(30%) scale(0.85);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.stack-slide.far-prev {
    z-index: 2;
    opacity: 0.3;
    transform: translateX(-180%) scale(0.75);
}

.stack-slide.far-next {
    z-index: 2;
    opacity: 0.3;
    transform: translateX(80%) scale(0.75);
}

.stack-prev, .stack-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.stack-prev:hover, .stack-next:hover {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    border-color: #ffd700;
}

.stack-prev {
    left: 0;
}

.stack-next {
    right: 0;
}

.stack-indicators {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    z-index: 100;
}

.stack-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stack-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.stack-indicator.active {
    background: #ffd700;
    width: 25px;
    border-radius: 5px;
}

footer {
    background: #0f0f1a;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    /*display: flex;*/
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.5;
}

.news-page-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px 0;
    background: rgba(26, 26, 46, 0.85);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffd700;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.download-qr {
    text-align: center;
    margin-bottom: 20px;
}

.download-qr img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.download-qr p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-links .btn {
    justify-content: center;
}

.news-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.news-tab {
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
}

.news-tab.active {
    color: #ffd700;
}

.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
}

.news-list-full {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.news-item-full:hover {
    background: rgba(255, 255, 255, 0.08);
}

.news-item-full-title {
    font-size: 0.95rem;
    flex: 1;
    margin-right: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-full-date {
    font-size: 0.85rem;
    opacity: 0.5;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-btn.active {
    background: #ffd700;
    color: #1a1a2e;
    border-color: #ffd700;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(26, 26, 46, 0.85);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.detail-back:hover {
    opacity: 1;
    color: #ffd700;
}

.detail-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 30px;
}

.detail-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 40px;
    line-height: 1.8;
    font-size: 1rem;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content h2 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #ffd700;
}

.detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: #1a1a2e;
        width: 100%;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .mobile-banner {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }

    .download-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .download-image-right img {
        width: 100%;
        max-width: 200px;
    }

    .btn-row {
        flex-direction: column;
    }

    .btn-row .btn {
        min-width: 100%;
    }

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

    .news-left-slide {
        height: 250px;
    }

    .news-center-tabs {
        height: auto;
        min-height: 300px;
    }

    .news-right-server {
        height: auto;
        min-height: 200px;
    }

    .stack-carousel {
        width: 100%;
        padding: 0 20px;
    }

    .stack-track {
        height: 250px;
    }

    .stack-slide {
        width: calc(100% - 40px);
        height: 250px;
    }

    .stack-caption {
        padding: 15px;
    }

    .stack-caption h3 {
        font-size: 1.1rem;
    }

    .stack-caption p {
        font-size: 0.8rem;
    }

    .stack-prev, .stack-next {
        width: 40px;
        height: 40px;
    }

    .news-page-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
		
    }

    .sidebar {
        position: static;
        padding: 20px;
        top: auto;
		display:none;
    }

    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .download-qr img {
        width: 120px;
        height: 120px;
    }

    .news-tabs {
        gap: 10px;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

    .news-tab {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .news-tab.active::after {
        bottom: -11px;
    }

    .news-list-full {
        gap: 10px;
    }

    .news-item-full {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px;
    }

    .news-item-full-title {
        margin-right: 0;
        white-space: normal;
        font-size: 0.9rem;
    }

    .news-item-full-date {
        font-size: 0.8rem;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-content {
        padding: 20px;
    }
}

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

    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
.news-section-container{
    height: auto !important;
    
}


    .news-highlight-content {
        padding: 20px;
    }

    .news-highlight-title {
        font-size: 1.2rem;
    }
}