/* CYX俱乐部 - 样式文件 */
/* 主题色 */
:root {
    --primary-color: #F9F900;
    --primary-dark: #E6E600;
    --primary-light: #FFFF66;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-bg: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #888888;
    --card-bg: #252525;
    --border-color: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

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

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

/* 顶部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(249, 249, 0, 0.5);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-sub {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a1a10 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 80px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(249, 249, 0, 0.6);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 40px rgba(249, 249, 0, 0.4);
    }
    to {
        text-shadow: 0 0 60px rgba(249, 249, 0, 0.8);
    }
}

.tagline {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 8px;
}

.est-year {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(249, 249, 0, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* 旋转圆环装饰 */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(249, 249, 0, 0.18);
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 500px;
    height: 500px;
    top: 0;
    left: 0;
    animation: rotateRing 20s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 700px;
    height: 700px;
    top: 0;
    left: 0;
    animation: rotateRing 35s linear infinite reverse;
    border-color: rgba(249, 249, 0, 0.1);
}

.ring-3 {
    width: 900px;
    height: 900px;
    top: 0;
    left: 0;
    animation: rotateRing 50s linear infinite;
    border-width: 1px;
    border-color: rgba(249, 249, 0, 0.06);
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.15;
}

.p1 {
    width: 6px; height: 6px;
    top: 20%; left: 15%;
    animation: floatY 5s ease-in-out infinite;
}
.p2 {
    width: 10px; height: 10px;
    top: 60%; left: 80%;
    animation: floatY 7s ease-in-out 1s infinite;
    opacity: 0.1;
}
.p3 {
    width: 4px; height: 4px;
    top: 75%; left: 30%;
    animation: floatX 6s ease-in-out 2s infinite;
}
.p4 {
    width: 8px; height: 8px;
    top: 30%; left: 70%;
    animation: floatY 4.5s ease-in-out 0.5s infinite;
    opacity: 0.2;
}
.p5 {
    width: 5px; height: 5px;
    top: 45%; left: 50%;
    animation: floatY 8s ease-in-out 3s infinite;
    opacity: 0.08;
}

/* 通用区块 */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

/* 支持游戏 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.game-card {
    position: relative;
    overflow: hidden;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(249, 249, 0, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(249, 249, 0, 0.18), 0 0 0 1px rgba(249, 249, 0, 0.1);
}

.game-card:hover::after {
    opacity: 1;
}

.game-icon {
    font-size: 48px;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.more-games {
    border: 2px dashed var(--border-color) !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.more-games .game-icon {
    color: var(--primary-color);
    opacity: 0.7;
}

.more-games h3 {
    color: var(--text-gray) !important;
    font-size: 16px;
}

.more-games p {
    color: var(--text-gray);
    font-size: 13px;
    opacity: 0.7;
}

.more-games:hover {
    border-color: var(--primary-color) !important;
    background: rgba(249, 249, 0, 0.05) !important;
}

.more-games:hover .game-icon {
    opacity: 1;
}

.more-games:hover h3,
.more-games:hover p {
    color: var(--text-light) !important;
}

.game-card:hover .game-icon {
    transform: translateY(-5px) scale(1.1);
}

.game-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.game-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* 服务项目 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(249, 249, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-icon i {
    font-size: 36px;
    color: var(--dark-bg);
    transition: transform 0.3s ease;
}

.service-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 0 35px rgba(249, 249, 0, 0.45);
}

.service-card:hover h3 {
    transform: translateY(-3px);
}

/* 营业时间 */
.business-hours {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.business-hours h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
}

.business-hours h3 i {
    margin-right: 10px;
}

.hours-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item .day {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.hours-item .time {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

/* 最新消息 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(249, 249, 0, 0.12);
}

.news-card:hover::after {
    transform: scaleX(1);
}

.news-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
    transition: color 0.3s;
}

.news-card:hover h3 {
    color: var(--primary-color);
}

.news-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-link:hover {
    gap: 15px;
}

.news-source {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-gray);
    font-style: italic;
}

.wechat-qr-notice {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(249, 249, 0, 0.1);
    border-radius: 10px;
}

.wechat-qr-notice p {
    color: var(--primary-color);
    font-size: 16px;
}

.wechat-qr-notice i {
    margin-right: 10px;
}

/* 查看全部公告按钮 */
.view-all-news {
    text-align: center;
    margin-top: 40px;
}

.view-all-news .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 联系我们 */

.packages-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.package-mini-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.package-mini-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.package-mini-card.featured {
    border-color: var(--primary-color);
    background:
        linear-gradient(180deg, rgba(249, 249, 0, 0.06) 0%, transparent 35%),
        var(--card-bg);
}

.package-mini-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.package-mini-icon i {
    font-size: 28px;
    color: var(--dark-bg);
}

.package-mini-card h3 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.package-mini-card .price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.package-mini-card .price span {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
}

.package-mini-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.package-mini-card ul li {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(249, 249, 0, 0.12);
}

.contact-card i {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 14px;
}

.contact-card.douyin i { color: #fe2c55; }
.contact-card.bilibili i { color: #00a1d6; }
.contact-card.wechat-mp i { color: #07c160; }
.contact-card.wechat-kf i { color: #07c160; }

.contact-notice {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
}

.contact-notice p {
    color: var(--text-gray);
    font-size: 14px;
}

.contact-notice i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* 页脚 */
footer {
    background: var(--darker-bg);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 36px;
}

.footer-logo .logo-sub {
    font-size: 20px;
}

.footer-desc {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
}

/* =============================================
   丝滑特效
   ============================================= */

/* =============================================
   精细动画库
   ============================================= */

/* 核心入场动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 浮动 */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes floatX {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-8px); }
}

@keyframes floatRotate {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 扫光效果 */
/* 环形脉冲 */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(249, 249, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(249, 249, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 249, 0, 0); }
}

/* 背景旋转 */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Logo呼吸光效 */
@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(249, 249, 0, 0.5);
        filter: brightness(1);
    }
    50% {
        text-shadow: 0 0 40px rgba(249, 249, 0, 0.9), 0 0 80px rgba(249, 249, 0, 0.3);
        filter: brightness(1.15);
    }
}

/* 图标弹跳入场 */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.08);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 下划线滑入 */
@keyframes underlineSlide {
    from { width: 0; }
    to { width: 100%; }
}

/* 背景渐变漂移 */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 卡片入场（带弹性） */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 标题入场 */
@keyframes titleEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
        letter-spacing: 0.15em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.02em;
    }
}

/* 序号闪烁 */
@keyframes countPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 页面进入动画 */
.animate-in {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-in-left {
    animation: fadeInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-in-right {
    animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 卡片滚动渐入 - 初始可见，滚动时增强过渡 */
.game-card,
.service-card,
.news-card,
.contact-card,
.package-mini-card,
.business-hours {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

/* 浮动装饰元素 */
.float-element {
    animation: floatY 4s ease-in-out infinite;
}

.float-element-alt {
    animation: floatX 5s ease-in-out infinite;
}

/* 按钮 */
.btn {
    position: relative;
}

.btn:active {
    transform: scale(0.96);
}

/* 卡片悬浮发光增强 */
.game-card:hover,
.service-card:hover,
.news-card:hover,
.contact-card:hover,
.package-mini-card:hover {
    box-shadow: 0 25px 60px rgba(249, 249, 0, 0.18);
    transform: translateY(-12px);
}

.game-card,
.service-card,
.news-card,
.contact-card,
.package-mini-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 服务图标脉冲 */
.service-icon {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(249, 249, 0, 0.4);
    animation: pulseRing 1.5s infinite;
}

/* 导航链接滑动下划线动画 */
.nav-links a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    text-shadow: 0 0 20px rgba(249, 249, 0, 0.6);
}

/* 汉堡菜单动画 */
.hamburger span {
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 英雄区文字渐显 */
.hero-content h1 {
    animation: fadeInScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-content .tagline {
    animation: titleEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-content .est-year {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-content .hero-buttons {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

/* 新闻链接箭头 */
.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 套餐卡片入场动画 */
.package-card {
    transform: translateY(28px) scale(0.97);
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.package-card.visible {
    transform: translateY(0) scale(1);
}

/* 支付弹窗入场 */
.payment-content {
    animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 减少动画（系统偏好设置） */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero h1, .hero .tagline, .hero .est-year, .hero .hero-buttons {
        animation: none !important;
    }
}

/* =============================================
   在线人数计数器
   ============================================= */

.hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 249, 0, 0.06);
    border: 1px solid rgba(249, 249, 0, 0.25);
    border-radius: 50px;
    padding: 10px 28px;
    backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-pill:hover {
    background: rgba(249, 249, 0, 0.12);
    border-color: rgba(249, 249, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(249, 249, 0, 0.15);
}

.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-dot-total {
    background: #F9F900;
    box-shadow: 0 0 8px rgba(249, 249, 0, 0.7);
}

.stat-dot-online {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
    animation: pulseOnline 2s ease-in-out infinite;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    margin: 0 4px;
}

@keyframes pulseOnline {
    0%, 100% { box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); transform: scale(1); }
    50% { box-shadow: 0 0 14px rgba(74, 222, 128, 0.9); transform: scale(1.2); }
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #F9F900;
    font-family: 'Orbitron', 'Microsoft YaHei', monospace;
    min-width: 28px;
    text-align: center;
    transition: color 0.3s ease;
}

.stat-num.updating {
    animation: numPop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes numPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); color: #fff; }
    100% { transform: scale(1); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 48px;
    }

    .tagline {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .hours-grid {
        flex-direction: column;
        gap: 30px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stats {
        margin-top: 28px;
    }

    .stat-pill {
        padding: 8px 20px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-card {
        padding: 20px 15px;
    }

    .game-icon {
        font-size: 36px;
    }

    .news-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .news-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .category-header {
        gap: 12px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }

    .category-info h3 {
        font-size: 17px;
    }
}
