:root {
    --bg-primary: #0E4E3D;
    --bg-secondary: #125745;
    --bg-tertiary: #0A3F32;
    --bg-dark: #072d25;
    --accent: #F5A623;
    --primary: #1FD392;
    --text-primary: #E8F6F0;
    --text-secondary: #9CCBB7;
    --text-muted: #7fb4a0;
    --shadow: rgba(0, 0, 0, 0.35);
    --shadow-light: rgba(0, 0, 0, 0.15);
    --border: #0a3f32;
    --border-light: #1f7b66;
    --gradient-primary: linear-gradient(135deg, var(--primary), #2ee0a1);
    --gradient-accent: linear-gradient(135deg, var(--accent), #fbd067);
    --gradient-bg: linear-gradient(180deg, var(--bg-primary), var(--bg-dark));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow);
}

.btn.cta {
    background: var(--gradient-accent);
    color: #132b26;
    font-weight: 600;
}

.btn.primary {
    background: var(--gradient-primary);
    color: #0b2d24;
    font-weight: 600;
}

.btn.ghost {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.btn.tiny {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 78, 61, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
}

.brand-en {
    color: var(--text-primary);
}

.brand-cn {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

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

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--bg-secondary);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.nav-links.active {
    position: absolute;
    top: 80px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 24px var(--shadow);
}

.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-copy h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-copy p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.platform-badges {
    display: flex;
    gap: 12px;
}

.badge {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.hero-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-custom{max-width:360px;width:100%;border-radius:24px;box-shadow:0 40px 80px var(--shadow);display:none}
.hero-device.has-image .phone{display:none}
.hero-device.has-image .hero-custom{display:block}

.phone {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1a5c4a, #0f4b3d);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 40px 80px var(--shadow);
    position: relative;
    border: 2px solid var(--border);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: var(--bg-dark);
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.table {
    position: absolute;
    inset: 16px;
    background: radial-gradient(circle at center, #176854, #125745);
    border-radius: 24px;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.seat {
    position: absolute;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.s1 { top: 20px; left: 20px; }
.s2 { top: 20px; right: 20px; }
.s3 { bottom: 60px; left: 50%; transform: translateX(-50%); }

.board {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.chips {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f6a84b 0 25%, #1fd392 0 50%, #e94e77 0 75%, #cfeae0 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.c1 { left: 40px; bottom: 120px; }
.c2 { right: 40px; bottom: 100px; }
.c3 { left: 50%; bottom: 40px; transform: translateX(-50%); }

.pot {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--accent);
    color: #132b26;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-tertiary), var(--bg-primary));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-copy h3 {
    font-size: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-copy p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cards {
    display: flex;
    gap: 12px;
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 126px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 12px 24px var(--shadow);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.card:nth-child(2) {
    transform: rotate(0deg);
}

.card:nth-child(3) {
    transform: rotate(5deg);
}

.card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.chips-stack {
    display: flex;
    gap: 8px;
}

.chip {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 8px 16px var(--shadow);
    position: relative;
}

.chip:nth-child(2) {
    transform: translateY(-8px);
}

.chip:nth-child(3) {
    transform: translateY(-16px);
}

.coin {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f6a84b, #d4892e);
    box-shadow: 0 12px 24px var(--shadow);
    position: relative;
}

.coin::after {
    content: '♠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features {
    padding: 120px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #0b2d24;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.faq {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-tertiary));
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 12px 24px var(--shadow);
}

.faq-item summary {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item summary:hover {
    background: rgba(31, 211, 146, 0.1);
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item div {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.news {
    padding: 120px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.news-card {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
}

.news-thumb {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.news-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.news-card:hover .news-thumb::before {
    transform: translateX(100%);
}

.news-thumb.t2 {
    background: var(--gradient-accent);
}

.news-thumb.t3 {
    background: linear-gradient(135deg, var(--text-secondary), var(--text-muted));
}

.news-thumb.t4 {
    background: linear-gradient(135deg, #e94e77, #b83f62);
}

.news-content {
    padding: 24px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-more {
    text-align: center;
}

.download {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-tertiary), var(--bg-dark));
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-content h3 {
    font-size: 40px;
    margin-bottom: 16px;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.download-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-icon {
    font-size: 20px;
}

.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-decorations {
    display: flex;
    gap: 12px;
    font-size: 20px;
}

.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-accent);
    color: #132b26;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 24px var(--shadow);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 320px;
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px var(--shadow);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-widget.active .chat-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.chat-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

.chat-body {
    padding: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.qr-code::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.qr-code::after {
    content: '♠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 24px;
}

.chat-options {
    display: grid;
    gap: 12px;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.chat-option:hover {
    background: var(--bg-primary);
    color: var(--primary);
}

.option-icon {
    font-size: 16px;
}

.scroll-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--bg-primary);
    color: var(--primary);
}

.scroll-to-top span {
    font-size: 20px;
    font-weight: bold;
}

.float-tag {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 160px;
    background: linear-gradient(180deg, #ff4d4f, #d4380d);
    color: #fff;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: 0 12px 24px var(--shadow);
    z-index: 900;
    border: 1px solid rgba(0,0,0,.2);
}

.float-tag:hover { filter: brightness(1.05); }

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-copy h1 {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .platform-badges {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-copy h1 {
        font-size: 40px;
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-copy h2 {
        font-size: 24px;
    }
    
    .hero-copy p {
        font-size: 16px;
    }
    
    .phone {
        width: 280px;
        height: 560px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .download-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-panel {
        width: 280px;
    }
    
    .scroll-to-top {
        bottom: 16px;
        left: 16px;
    }
    .float-tag { display: none; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-copy h1 {
        font-size: 32px;
    }
    
    .hero-copy h2 {
        font-size: 20px;
    }
    
    .phone {
        width: 240px;
        height: 480px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-copy h3 {
        font-size: 28px;
    }
    
    .download-content h3 {
        font-size: 24px;
    }
}