/* {$keywords} - 博彩平台主样式文件 */

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #141416;
    color: white;
    line-height: 1.6;
}

.header {
    background: rgba(20, 20, 22, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #f0c159;
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0c159, #ff6900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: #f0c159;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #f0c159;
    background: rgba(240, 193, 89, 0.1);
}

.nav-links-extended {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links-extended a {
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.85em;
    white-space: nowrap;
}

.nav-links-extended a:hover {
    color: #f0c159;
    background: rgba(240, 193, 89, 0.1);
}

.nav-links-extended a.current {
    color: #f0c159;
    background: rgba(240, 193, 89, 0.2);
}

@media (max-width: 768px) {
    .nav-links-extended {
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: rgba(20, 20, 22, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links-extended.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links-extended a {
        padding: 12px 16px;
        font-size: 0.9em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .nav-links-extended a:last-child {
        border-bottom: none;
    }
    
    .nav {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5em;
        cursor: pointer;
        padding: 8px;
        border-radius: 6px;
        transition: all 0.3s;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(240, 193, 89, 0.1);
        color: #f0c159;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.btn {
    background: linear-gradient(135deg, #f0c159, #ff6900);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 193, 89, 0.4);
}

.btn-green {
    background: #00d084;
}

.main {
    margin-top: 80px;
    padding: 0px 0;
}

.hero {
    text-align: center;
    padding: 0px 0;
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #f0c159;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    color: #abb8c3;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-box {
    background: rgba(240, 193, 89, 0.1);
    border: 2px solid #f0c159;
    border-radius: 12px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    text-align: left;
}

.welcome-box h3 {
    color: #f0c159;
    text-align: center;
    margin-bottom: 20px;
}

.welcome-box ul {
    list-style: none;
}

.welcome-box li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(240, 193, 89, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #f0c159;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #f0c159;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: #abb8c3;
    text-transform: uppercase;
    font-size: 0.9em;
}

.section {
    margin: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #f0c159;
    margin-bottom: 50px;
    font-weight: bold;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(240, 193, 89, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #f0c159;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #f0c159;
    margin-bottom: 15px;
}

.feature-card p {
    color: #abb8c3;
}

.cta-section {
    background: rgba(240, 193, 89, 0.1);
    border: 2px solid #f0c159;
    border-radius: 12px;
    padding: 60px 0;        /* ✅ 只留上下 */
    text-align: center;
    margin: 80px 0;
}

.cta-section h2 {
    font-size: 2.5em;
    color: #f0c159;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    color: #abb8c3;
    margin-bottom: 30px;
}

.urgent-box {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    animation: pulse 2s infinite;
}

.urgent-box p {
    color: #ff4444;
    font-weight: bold;
    margin: 0;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(240, 193, 89, 0.2);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #abb8c3;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
}
/************************************************
 * 模块整体（橙色高级框架）
 ************************************************/
.news-carousel{
    width:100%;
    margin:48px 0;

    /* 模块框架 */
    padding:32px 28px 36px;
    border-radius:22px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        ),
        linear-gradient(
            135deg,
            rgba(255,140,0,0.10),
            rgba(255,200,120,0.05)
        );

    border:1px solid rgba(255,180,90,0.28);

    box-shadow:
        0 22px 60px rgba(0,0,0,.55),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

/************************************************
 * 标题
 ************************************************/
.news-carousel .news-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:26px;
    text-align:center;

    color:#ffb703;
    text-shadow:0 2px 12px rgba(255,140,0,.35);
}

/************************************************
 * 轮播外壳
 ************************************************/
.news-carousel .news-wrapper{
    position:relative;
    width:100%;
    overflow:visible;
}

/************************************************
 * 横向滚动列表
 ************************************************/
.news-carousel .news-list{
    display:flex;
    gap:24px;

    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;

    padding:0 48px 12px;

    scrollbar-width:none;
}
.news-carousel .news-list::-webkit-scrollbar{
    display:none;
}

/************************************************
 * 单条新闻卡片
 ************************************************/
.news-carousel .news-item{
    flex:0 0 calc((100% - 24px * 4) / 5);
    min-width:220px;

    scroll-snap-align:start;
    cursor:pointer;

    width:auto !important;
    max-width:none !important;
}

/************************************************
 * 图片
 ************************************************/
.news-carousel .news-item img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
    border-radius:14px;
}

/************************************************
 * 时间
 ************************************************/
.news-carousel .news-meta{
    margin-top:10px;
    text-align:center;
}

.news-carousel .news-time{
    font-size:12px;
    opacity:.65;
    letter-spacing:.3px;
}

/************************************************
 * 文本区域
 ************************************************/
.news-carousel .news-body{
    margin-top:12px;
    text-align:center;
}

.news-carousel .news-body h3{
    font-size:15px;
    line-height:1.4;
    margin:0 0 6px;
}

.news-carousel .news-body p{
    font-size:13px;
    line-height:1.55;
    opacity:.85;
    margin:0;
}

/************************************************
 * 左右按钮（橙色 · 箭头绝对居中版）
 ************************************************/
.news-carousel .carousel-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    cursor:pointer;

    background:linear-gradient(
        135deg,
        #ff8c00,
        #ffb703
    );

    /* 关键：用 flex 做几何居中 */
    display:flex;
    align-items:center;
    justify-content:center;

    z-index:30;

    box-shadow:
        0 12px 30px rgba(0,0,0,.55),
        0 0 0 4px rgba(0,0,0,.35);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

/* 按钮位置 */
.news-carousel .carousel-nav.prev{ left:-22px; }
.news-carousel .carousel-nav.next{ right:-22px; }

/************************************************
 * 用 CSS 画箭头（不会歪）
 ************************************************/
.news-carousel .carousel-nav::before{
    content:'';
    width:9px;
    height:9px;

    border-top:2px solid rgba(255,255,255,.95);
    border-right:2px solid rgba(255,255,255,.95);

    transform:rotate(45deg);
}

.news-carousel .carousel-nav.prev::before{
    transform:rotate(-135deg);
}

/* Hover 强化 */
.news-carousel .carousel-nav:hover{
    transform:translateY(-50%) scale(1.18);
    filter:brightness(1.15);
    box-shadow:
        0 18px 42px rgba(0,0,0,.75),
        0 0 0 5px rgba(255,183,3,.6);
}

/************************************************
 * 手机端
 ************************************************/
@media (max-width:768px){
    .news-carousel .carousel-nav{
        width:36px;
        height:36px;
    }

    .news-carousel .carousel-nav::before{
        width:6px;
        height:6px;
        border-width:2px;
    }

    .news-carousel .carousel-nav.prev{ left:-10px; }
    .news-carousel .carousel-nav.next{ right:-10px; }
}


.news-carousel .carousel-nav:hover{
    transform:translateY(-50%) scale(1.15);
    filter:brightness(1.12);
    box-shadow:
        0 16px 38px rgba(0,0,0,.75),
        0 0 0 5px rgba(255,183,3,.55);
}

/************************************************
 * 手机端
 ************************************************/
@media (max-width:768px){

    .news-carousel{
        padding:26px 16px 30px;
        border-radius:18px;
    }

    .news-carousel .news-list{
        padding:0 12px 12px;
    }

    .news-carousel .news-item{
        flex:0 0 100%;
        min-width:0;
    }

    .news-carousel .carousel-nav{
        width:36px;
        height:36px;
        font-size:20px;
        line-height:36px;
        opacity:.95;
    }

    .news-carousel .carousel-nav.prev{ left:-10px; }
    .news-carousel .carousel-nav.next{ right:-10px; }
}

/************************************************
 * 超大屏优化
 ************************************************/
@media (min-width:1400px){
    .news-carousel .news-item{
        flex:0 0 calc((100% - 24px * 4) / 5);
        min-width:260px;
    }
} 
