/* ============================================
   九游会 (J9) - 东方祥云国潮风 主样式表
   CSS前缀: j9-
   ============================================ */

/* === 干扰码隐藏 === */
.dragon-tag { display: none; }

/* === CSS变量 === */
:root {
    --j9-primary: #1A0A0A;
    --j9-accent: #E53935;
    --j9-gold: #FFD740;
    --j9-text: #F5F5F5;
    --j9-link: #E53935;
    --j9-bg-dark: #0D0505;
    --j9-bg-card: #2A1515;
    --j9-border: #3A1A1A;
    --j9-text-muted: #B0A0A0;
    --j9-font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --j9-font-en: 'Montserrat', 'Noto Sans SC', sans-serif;
}

/* === 基础重置 === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--j9-font-cn);
    background-color: var(--j9-primary);
    color: var(--j9-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--j9-link);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--j9-gold);
    opacity: 0.9;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--j9-font-en);
    font-weight: 700;
    line-height: 1.3;
}

/* === 容器 === */
.j9-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .j9-container { padding: 0 30px; }
}

@media (min-width: 1024px) {
    .j9-container { padding: 0 40px; }
}

/* === 顶部导航栏 === */
.j9-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--j9-border);
    transition: background 0.3s ease;
}

.j9-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.j9-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--j9-font-en);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--j9-gold);
    text-decoration: none;
}

.j9-logo:hover {
    color: var(--j9-gold);
    opacity: 1;
}

.j9-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--j9-accent), var(--j9-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--j9-primary);
    font-weight: 900;
}

.j9-nav {
    display: none;
}

@media (min-width: 1024px) {
    .j9-nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

.j9-nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--j9-text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.j9-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--j9-accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.j9-nav-link:hover,
.j9-nav-link.j9-active {
    color: var(--j9-gold);
    background: rgba(229, 57, 53, 0.1);
}

.j9-nav-link:hover::after,
.j9-nav-link.j9-active::after {
    width: 60%;
}

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

.j9-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: var(--j9-font-cn);
    white-space: nowrap;
}

.j9-btn-primary {
    background: linear-gradient(135deg, var(--j9-accent), #C62828);
    color: #fff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.j9-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
    color: #fff;
}

.j9-btn-outline {
    background: transparent;
    color: var(--j9-gold);
    border: 1px solid var(--j9-gold);
}

.j9-btn-outline:hover {
    background: rgba(255, 215, 64, 0.1);
    color: var(--j9-gold);
}

.j9-btn-gold {
    background: linear-gradient(135deg, var(--j9-gold), #FFC107);
    color: var(--j9-primary);
    box-shadow: 0 4px 15px rgba(255, 215, 64, 0.3);
}

.j9-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 64, 0.5);
    color: var(--j9-primary);
}

.j9-btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.j9-btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

/* 汉堡菜单 */
.j9-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

@media (min-width: 1024px) {
    .j9-hamburger { display: none; }
}

.j9-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--j9-text);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.j9-hamburger.j9-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.j9-hamburger.j9-open span:nth-child(2) {
    opacity: 0;
}

.j9-hamburger.j9-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.j9-mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(26, 10, 10, 0.98);
    z-index: 999;
    padding: 30px 20px;
    overflow-y: auto;
}

.j9-mobile-menu.j9-open {
    display: block;
    animation: j9-slideDown 0.3s ease;
}

.j9-mobile-menu .j9-nav-link {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--j9-border);
}

@keyframes j9-slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === 巨幕轮播 === */
.j9-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 70px;
}

@media (min-width: 768px) {
    .j9-hero { height: 70vh; min-height: 500px; }
}

@media (min-width: 1024px) {
    .j9-hero { height: 80vh; min-height: 600px; }
}

.j9-hero-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.j9-hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

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

.j9-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,10,10,0.3), rgba(26,10,10,0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.j9-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--j9-gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .j9-hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .j9-hero-title { font-size: 3.5rem; }
}

.j9-hero-desc {
    font-size: 1rem;
    color: var(--j9-text);
    max-width: 600px;
    margin-bottom: 25px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .j9-hero-desc { font-size: 1.2rem; }
}

.j9-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.j9-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.j9-hero-dot.j9-active {
    background: var(--j9-gold);
    transform: scale(1.2);
}

/* === 区块通用 === */
.j9-section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .j9-section { padding: 80px 0; }
}

.j9-section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--j9-gold);
    margin-bottom: 15px;
    position: relative;
}

@media (min-width: 768px) {
    .j9-section-title { font-size: 2.2rem; }
}

.j9-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--j9-accent), var(--j9-gold));
    margin: 15px auto 0;
    border-radius: 2px;
}

.j9-section-subtitle {
    text-align: center;
    color: var(--j9-text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === 核心产品卡片 === */
.j9-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .j9-products-grid { grid-template-columns: repeat(3, 1fr); }
}

.j9-product-card {
    background: var(--j9-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--j9-border);
    transition: all 0.4s ease;
    position: relative;
}

.j9-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(229, 57, 53, 0.2);
    border-color: var(--j9-accent);
}

.j9-product-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.j9-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.j9-product-card:hover .j9-product-card-img img {
    transform: scale(1.05);
}

.j9-product-card-body {
    padding: 25px;
}

.j9-product-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--j9-gold);
    margin-bottom: 10px;
}

.j9-product-card-text {
    color: var(--j9-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* === 国潮乐园专题 === */
.j9-guochao-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.j9-guochao-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.j9-guochao-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.j9-guochao-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--j9-gold);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .j9-guochao-title { font-size: 3rem; }
}

.j9-guochao-desc {
    font-size: 1.1rem;
    color: var(--j9-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* === 热门推荐 === */
.j9-hot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .j9-hot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .j9-hot-grid { grid-template-columns: repeat(4, 1fr); }
}

.j9-hot-item {
    background: var(--j9-bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--j9-border);
    transition: all 0.3s ease;
}

.j9-hot-item:hover {
    border-color: var(--j9-accent);
    transform: translateY(-4px);
}

.j9-hot-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--j9-accent);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 600;
}

.j9-hot-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--j9-text);
    margin-bottom: 8px;
}

.j9-hot-meta {
    font-size: 0.85rem;
    color: var(--j9-text-muted);
}

/* === 品牌优势 === */
.j9-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (min-width: 768px) {
    .j9-advantages-grid { grid-template-columns: repeat(4, 1fr); }
}

.j9-advantage-item {
    text-align: center;
    padding: 30px 15px;
    background: var(--j9-bg-card);
    border-radius: 12px;
    border: 1px solid var(--j9-border);
    transition: all 0.3s ease;
}

.j9-advantage-item:hover {
    border-color: var(--j9-gold);
    transform: translateY(-4px);
}

.j9-advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--j9-accent), var(--j9-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.j9-advantage-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--j9-gold);
    margin-bottom: 8px;
}

.j9-advantage-desc {
    font-size: 0.85rem;
    color: var(--j9-text-muted);
    line-height: 1.5;
}

/* === 新闻公告 === */
.j9-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .j9-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .j9-news-grid { grid-template-columns: repeat(3, 1fr); }
}

.j9-news-card {
    background: var(--j9-bg-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--j9-border);
    transition: all 0.3s ease;
}

.j9-news-card:hover {
    border-color: var(--j9-accent);
}

.j9-news-date {
    font-size: 0.8rem;
    color: var(--j9-accent);
    margin-bottom: 8px;
    font-family: var(--j9-font-en);
}

.j9-news-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--j9-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.j9-news-excerpt {
    font-size: 0.9rem;
    color: var(--j9-text-muted);
    line-height: 1.6;
}

/* === 合作伙伴 === */
.j9-partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}

.j9-partner-logo {
    width: 100px;
    height: 60px;
    background: var(--j9-bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--j9-border);
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.j9-partner-logo:hover {
    opacity: 1;
}

/* === APP下载横幅 === */
.j9-app-banner {
    background: linear-gradient(135deg, var(--j9-bg-card), var(--j9-primary));
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    border: 1px solid var(--j9-border);
    margin: 0 20px;
}

@media (min-width: 768px) {
    .j9-app-banner {
        flex-direction: row;
        text-align: left;
        padding: 50px 40px;
    }
}

.j9-app-banner-text h3 {
    font-size: 1.5rem;
    color: var(--j9-gold);
    margin-bottom: 10px;
}

.j9-app-banner-text p {
    color: var(--j9-text-muted);
    margin-bottom: 20px;
}

.j9-app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .j9-app-buttons { justify-content: flex-start; }
}

/* === 页脚 === */
.j9-footer {
    background: var(--j9-bg-dark);
    border-top: 1px solid var(--j9-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.j9-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .j9-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.j9-footer-col h4 {
    font-size: 1.1rem;
    color: var(--j9-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.j9-footer-links a {
    color: var(--j9-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.j9-footer-links a:hover {
    color: var(--j9-gold);
}

.j9-footer-bottom {
    border-top: 1px solid var(--j9-border);
    padding-top: 25px;
    text-align: center;
}

.j9-footer-honor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.j9-footer-honor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.j9-footer-honor-text {
    font-size: 0.85rem;
    color: var(--j9-gold);
    font-weight: 600;
}

.j9-footer-icp {
    font-size: 0.8rem;
    color: var(--j9-text-muted);
    line-height: 1.8;
}

.j9-footer-icp a {
    color: var(--j9-text-muted);
}

.j9-footer-icp a:hover {
    color: var(--j9-gold);
}

.j9-footer-copyright {
    font-size: 0.8rem;
    color: var(--j9-text-muted);
    margin-top: 10px;
}

/* === 面包屑导航 === */
.j9-breadcrumb {
    padding: 15px 0;
    font-size: 0.85rem;
}

.j9-breadcrumb a {
    color: var(--j9-text-muted);
}

.j9-breadcrumb a:hover {
    color: var(--j9-gold);
}

.j9-breadcrumb span {
    color: var(--j9-text-muted);
    margin: 0 8px;
}

.j9-breadcrumb .j9-current {
    color: var(--j9-gold);
}

/* === 内页横幅 === */
.j9-page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-top: 70px;
}

@media (min-width: 768px) {
    .j9-page-banner { height: 400px; }
}

.j9-page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.j9-page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,10,10,0.4), rgba(26,10,10,0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.j9-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--j9-gold);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .j9-page-title { font-size: 2.8rem; }
}

.j9-page-desc {
    font-size: 1rem;
    color: var(--j9-text);
    opacity: 0.8;
    max-width: 500px;
}

/* === 内容区域 === */
.j9-content {
    padding: 40px 0;
}

.j9-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--j9-text);
    margin-bottom: 20px;
}

.j9-content h2 {
    font-size: 1.5rem;
    color: var(--j9-gold);
    margin: 30px 0 15px;
}

.j9-content h3 {
    font-size: 1.2rem;
    color: var(--j9-accent);
    margin: 25px 0 12px;
}

/* === 赛事列表 === */
.j9-match-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.j9-match-item {
    background: var(--j9-bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--j9-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .j9-match-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.j9-match-item:hover {
    border-color: var(--j9-accent);
}

.j9-match-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 600;
}

.j9-match-vs {
    color: var(--j9-accent);
    font-weight: 800;
    font-family: var(--j9-font-en);
}

.j9-match-info {
    font-size: 0.85rem;
    color: var(--j9-text-muted);
}

.j9-match-odds {
    display: flex;
    gap: 10px;
}

.j9-match-odd {
    padding: 6px 14px;
    background: rgba(229, 57, 53, 0.15);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--j9-accent);
    font-weight: 600;
    font-family: var(--j9-font-en);
}

/* === 游戏网格 === */
.j9-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .j9-game-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .j9-game-grid { grid-template-columns: repeat(4, 1fr); }
}

.j9-game-card {
    background: var(--j9-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--j9-border);
    transition: all 0.3s ease;
}

.j9-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.15);
}

.j9-game-card-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.j9-game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.j9-game-card:hover .j9-game-card-img img {
    transform: scale(1.08);
}

.j9-game-card-body {
    padding: 15px;
}

.j9-game-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--j9-text);
    margin-bottom: 5px;
}

.j9-game-card-desc {
    font-size: 0.8rem;
    color: var(--j9-text-muted);
}

/* === 国潮乐园地图 === */
.j9-map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--j9-border);
}

.j9-map-img {
    width: 100%;
    display: block;
}

.j9-map-hotspot {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(229, 57, 53, 0.3);
    border: 2px solid var(--j9-gold);
    cursor: pointer;
    animation: j9-pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes j9-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

.j9-map-tooltip {
    display: none;
    position: absolute;
    background: var(--j9-bg-card);
    border: 1px solid var(--j9-gold);
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.j9-map-tooltip.j9-show {
    display: block;
    animation: j9-fadeIn 0.3s ease;
}

@keyframes j9-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.j9-map-tooltip h4 {
    color: var(--j9-gold);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.j9-map-tooltip p {
    color: var(--j9-text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* === APP下载页面 === */
.j9-app-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .j9-app-showcase {
        flex-direction: row;
        align-items: center;
    }
}

.j9-app-phone {
    flex: 0 0 auto;
    max-width: 300px;
}

.j9-app-phone img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.j9-app-info {
    flex: 1;
}

.j9-app-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .j9-app-features { grid-template-columns: repeat(2, 1fr); }
}

.j9-app-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.j9-app-feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--j9-accent), var(--j9-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.j9-app-feature h4 {
    font-size: 1rem;
    color: var(--j9-text);
    margin-bottom: 5px;
}

.j9-app-feature p {
    font-size: 0.85rem;
    color: var(--j9-text-muted);
}

/* === 评分 === */
.j9-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
}

.j9-star {
    color: var(--j9-gold);
    font-size: 1.2rem;
}

.j9-rating-text {
    font-size: 0.9rem;
    color: var(--j9-text-muted);
    margin-left: 10px;
}

/* === 搜索框 === */
.j9-search {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .j9-search { display: block; }
}

.j9-search input {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--j9-border);
    border-radius: 20px;
    padding: 8px 16px 8px 35px;
    color: var(--j9-text);
    font-size: 0.85rem;
    width: 180px;
    transition: all 0.3s ease;
    font-family: var(--j9-font-cn);
}

.j9-search input:focus {
    outline: none;
    border-color: var(--j9-accent);
    width: 220px;
}

.j9-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--j9-text-muted);
    font-size: 0.85rem;
}

/* === 祥云动画装饰 === */
.j9-cloud-deco {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
}

.j9-cloud-left {
    left: -100px;
    top: 30%;
    width: 300px;
    animation: j9-floatCloud 20s ease-in-out infinite;
}

.j9-cloud-right {
    right: -100px;
    top: 60%;
    width: 250px;
    animation: j9-floatCloud 25s ease-in-out infinite reverse;
}

@keyframes j9-floatCloud {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

/* === 回到顶部 === */
.j9-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--j9-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.j9-back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

.j9-back-top.j9-show {
    display: flex;
}

/* === 语言切换 === */
.j9-lang-switch {
    position: relative;
    cursor: pointer;
}

.j9-lang-current {
    padding: 6px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--j9-border);
    border-radius: 6px;
    color: var(--j9-text);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.j9-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--j9-bg-card);
    border: 1px solid var(--j9-border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.j9-lang-switch:hover .j9-lang-dropdown {
    display: block;
}

.j9-lang-option {
    display: block;
    padding: 10px 15px;
    color: var(--j9-text);
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.j9-lang-option:hover {
    background: rgba(229, 57, 53, 0.15);
    color: var(--j9-gold);
}

/* === 分隔线装饰 === */
.j9-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--j9-border), transparent);
    margin: 20px 0;
}

/* === 加载动画 === */
.j9-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--j9-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.j9-loading.j9-hidden {
    opacity: 0;
    pointer-events: none;
}

.j9-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--j9-border);
    border-top-color: var(--j9-gold);
    border-radius: 50%;
    animation: j9-spin 0.8s linear infinite;
}

@keyframes j9-spin {
    to { transform: rotate(360deg); }
}

/* === 联系页面表单 === */
.j9-form-group {
    margin-bottom: 20px;
}

.j9-form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--j9-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.j9-form-input,
.j9-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--j9-border);
    border-radius: 8px;
    color: var(--j9-text);
    font-size: 0.95rem;
    font-family: var(--j9-font-cn);
    transition: border-color 0.3s ease;
}

.j9-form-input:focus,
.j9-form-textarea:focus {
    outline: none;
    border-color: var(--j9-accent);
}

.j9-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* === 两列布局 === */
.j9-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .j9-two-col { grid-template-columns: 2fr 1fr; }
}

/* === 侧边栏 === */
.j9-sidebar-widget {
    background: var(--j9-bg-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--j9-border);
    margin-bottom: 25px;
}

.j9-sidebar-title {
    font-size: 1.1rem;
    color: var(--j9-gold);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--j9-border);
}

.j9-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.j9-sidebar-list a {
    color: var(--j9-text-muted);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.j9-sidebar-list a:hover {
    color: var(--j9-gold);
}

/* === 彩蛋元素 === */
.j9-easter-egg {
    cursor: pointer;
    transition: all 0.3s ease;
}

.j9-easter-egg:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

.j9-koi {
    position: absolute;
    animation: j9-swimKoi 15s ease-in-out infinite;
    opacity: 0.6;
    pointer-events: auto;
    cursor: pointer;
    font-size: 2rem;
}

@keyframes j9-swimKoi {
    0% { transform: translateX(-100px) translateY(0); }
    25% { transform: translateX(200px) translateY(-30px); }
    50% { transform: translateX(400px) translateY(20px); }
    75% { transform: translateX(200px) translateY(-10px); }
    100% { transform: translateX(-100px) translateY(0); }
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--j9-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--j9-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--j9-accent);
}
