/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL CSS — All China Market Sites
   Model: SEG Plaza / Yuanwang / Feiyang
   Version: 2026-05
   Contact: Luc Junior Denommee | +86 135 0155 2311
   ═══════════════════════════════════════════════════════════════ */

:root {
    --accent: #ff3e3e;
    --accent2: #00ff41;
    --accent3: #ffd700;
    --bg-dark: #050505;
    --bg-card: #111111;
    --bg-card2: #1a1a1a;
    --border: rgba(255,255,255,0.08);
    --text: #e8e8e8;
    --muted: #888888;
    --radius: 14px;
    --font: "Noto Sans SC","PingFang SC","Microsoft YaHei","Inter","Segoe UI",system-ui,sans-serif;
    --font-mono: "JetBrains Mono","Fira Code","Consolas",monospace;
    --wa-green: #25d366;
    --tg-blue: #229ed9;
    --wc-green: #07c160;
    --qc-red: #cc0000;
    --logistics-blue: #0050a0;
    --max-w: 1300px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: #93c5fd; text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ── TICKER ─────────────────────────────────────────────── */
.ticker-wrap {
    background: #0a0a0a;
    border-bottom: 1px solid #1e1e1e;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3px;
}
.ticker-move { display: inline-block; animation: ticker 50s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-item { display: inline-block; margin-right: 55px; color: var(--muted); }
.ticker-item .hot { color: var(--accent); }
.ticker-item .live { color: var(--accent2); }
.ticker-item .gold { color: var(--accent3); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── TOP LANGUAGE BAR ──────────────────────────────────── */
.lang-bar {
    background: #080808;
    border-bottom: 1px solid #1a1a1a;
    padding: 6px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    flex-wrap: wrap;
}
.lang-bar a, .lang-bar span {
    color: var(--muted);
    text-decoration: none;
    padding: 3px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}
.lang-bar a:hover, .lang-bar span:hover,
.lang-bar a.active, .lang-bar span.active {
    color: var(--text);
    background: #1e1e1e;
    border-color: #333;
    text-decoration: none;
}
.lang-bar .lang-divider { color: #333; }

/* ── TOPBAR / NAV ─────────────────────────────────────── */
.topbar {
    background: rgba(8,8,8,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.brand { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.brand span { color: var(--accent); }

.nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}
.nav a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.2s;
    white-space: nowrap;
}
.nav a:hover { color: #fff; background: #1a1a1a; text-decoration: none; }
.nav a.active { color: var(--accent); background: rgba(255,62,62,0.1); }

/* Special nav buttons */
.nav .btn-wa { background: var(--wa-green) !important; color: #fff !important; padding: 7px 14px; border-radius: 20px; }
.nav .btn-tg { background: var(--tg-blue) !important; color: #fff !important; padding: 7px 14px; border-radius: 20px; }
.nav .btn-qc { background: var(--qc-red) !important; color: #fff !important; padding: 7px 12px; border-radius: 6px; font-size: 11px; }
.nav .btn-logistics { background: var(--logistics-blue) !important; color: #fff !important; padding: 7px 12px; border-radius: 6px; font-size: 11px; }
.nav .btn-hub { background: #1f1f1f !important; color: #fff !important; padding: 7px 12px; border-radius: 6px; font-size: 11px; border: 1px solid #333; }
.nav .btn-wa:hover, .nav .btn-tg:hover, .nav .btn-qc:hover, .nav .btn-logistics:hover, .nav .btn-hub:hover { opacity: 0.85; text-decoration: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 1px solid #333; color: #aaa; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 18px; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; background: #0d0d0d; border-radius: 10px; padding: 10px; margin-top: 8px; }
    .nav.open { display: flex; }
    .nav a { width: 100%; padding: 10px 12px; }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 80px 20px 70px;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255,62,62,0.07) 0%, transparent 65%),
                radial-gradient(ellipse 80% 60% at 80% 100%, rgba(0,255,65,0.04) 0%, transparent 60%),
                var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff' fill-opacity='0.015'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: #fff; }
.hero h1 .accent { color: var(--accent); }
.hero p { color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.2rem); max-width: 680px; margin: 20px auto 10px; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.hero-badge { background: #1a1a1a; border: 1px solid #2a2a2a; padding: 6px 14px; border-radius: 20px; font-size: 12px; color: #aaa; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ── LAYOUT ───────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 20px; }
.section { padding: 50px 0; }
.section-title {
    border-left: 4px solid var(--accent);
    padding-left: 16px;
    margin: 60px 0 25px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ── CARDS ────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid #1e1e1e;
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: #333; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.card.bundle-card { position: relative; }
.card.bundle-card:hover { border-color: var(--accent2); }

.tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: 4px;
    background: #222;
    color: #aaa;
    text-transform: uppercase;
}
.tag.hot { background: rgba(255,62,62,0.2); color: var(--accent); }
.tag.new { background: rgba(0,255,65,0.15); color: var(--accent2); }
.tag.gold { background: rgba(255,215,0,0.15); color: var(--accent3); }

.price-tag { font-size: 1.5rem; font-weight: 800; color: var(--accent2); margin: 14px 0; display: block; font-family: var(--font-mono); }
.old-price { text-decoration: line-through; color: #444; font-size: 0.9rem; margin-right: 8px; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; transition: 0.2s; cursor: pointer; border: none; }
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-wa { background: var(--wa-green); color: #fff; display: block; text-align: center; padding: 12px; border-radius: 8px; font-weight: 700; margin-top: 18px; text-decoration: none; transition: 0.2s; }
.btn-wa:hover { opacity: 0.88; text-decoration: none; transform: scale(1.02); }
.btn-tg { background: var(--tg-blue); color: #fff; }
.btn-wc { background: var(--wc-green); color: #fff; }
.btn-outline { border: 1px solid #333; color: #ccc; background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── NEWS ─────────────────────────────────────────────── */
.news-feed { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; background: var(--bg-card2); border-radius: 12px; overflow: hidden; border: 1px solid #1e1e1e; transition: 0.2s; }
.news-item:hover { border-color: #333; }
.news-date { background: #1a1a1a; color: #fff; writing-mode: vertical-lr; transform: rotate(180deg); padding: 14px 9px; font-size: 10px; font-weight: 700; font-family: var(--font-mono); min-width: 38px; }
.news-content { padding: 18px; flex: 1; }
.news-tag { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: var(--accent); color: #fff; margin-bottom: 8px; }

/* ── TABLE ────────────────────────────────────────────── */
.market-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
.market-table th { background: #0d0d0d; color: var(--accent); padding: 14px 16px; text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; border-bottom: 1px solid #1e1e1e; }
.market-table td { padding: 12px 16px; border-bottom: 1px solid #1a1a1a; font-size: 13px; }
.market-table tr:last-child td { border-bottom: none; }
.market-table tr:hover td { background: #131313; }

/* ── VIP BLOCK ────────────────────────────────────────── */
.vip-block {
    background: linear-gradient(135deg, #0e0e0e 0%, #050505 100%);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 50px 30px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vip-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255,62,62,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.vip-block h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.vip-block p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ── SOCIAL / CONTACT QR BLOCK ────────────────────────── */
.contact-block {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 60px;
    text-align: center;
}
.contact-block h2 { color: #fff; margin-bottom: 8px; }
.contact-block .subtitle { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.qr-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 24px;
}
.qr-item { text-align: center; }
.qr-item img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: #fff;
    padding: 5px;
    margin-bottom: 10px;
}
.qr-item strong { display: block; color: #fff; font-size: 13px; }
.qr-item span { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.qr-item .qr-label { font-size: 10px; background: #222; padding: 2px 8px; border-radius: 4px; color: #888; margin-top: 4px; display: inline-block; }

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.social-link:hover { opacity: 0.85; transform: scale(1.03); text-decoration: none; }
.social-link.wa { background: var(--wa-green); color: #fff; }
.social-link.tg { background: var(--tg-blue); color: #fff; }
.social-link.wc { background: var(--wc-green); color: #fff; }

/* ── PARTNER BANNER ───────────────────────────────────── */
.partner-bar {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}
.partner-bar .label { color: var(--muted); }
.partner-bar a {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.partner-bar a:hover { opacity: 0.85; text-decoration: none; }
.partner-bar .link-qc { background: var(--qc-red); color: #fff; }
.partner-bar .link-logistics { background: var(--logistics-blue); color: #fff; }
.partner-bar .link-hub { background: #222; color: #ccc; border: 1px solid #333; }

/* ── HUB BANNER ───────────────────────────────────────── */
.hub-banner {
    background: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}
.hub-banner a { color: #93c5fd; font-weight: 600; }
.hub-banner a:hover { color: var(--accent); text-decoration: none; }

/* ── TRUST BADGE ──────────────────────────────────────── */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    border: 1px solid #222;
    padding: 10px 18px;
    border-radius: 10px;
    margin: 18px auto;
    font-size: 13px;
}
.trust-badge .verified { color: var(--accent2); font-weight: 700; }
.trust-badge .sub { color: var(--muted); font-size: 11px; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonial-card { border-style: dashed !important; }
.testimonial-card p { font-style: italic; color: #bbb; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.testimonial-avatar { width: 40px; height: 40px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent2); font-size: 16px; flex-shrink: 0; }

/* ── ACCORDION / FAQ ──────────────────────────────────── */
.accordion { border: 1px solid #1e1e1e; border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid #1a1a1a; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { width: 100%; background: none; border: none; color: var(--text); text-align: left; padding: 18px 20px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
.accordion-header:hover { background: #0d0d0d; }
.accordion-header::after { content: '+'; font-size: 18px; color: var(--muted); transition: 0.2s; }
.accordion-header.open::after { content: '−'; color: var(--accent); }
.accordion-body { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.accordion-body.open { display: block; }

/* ── BADGES / PILLS ───────────────────────────────────── */
.badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.badge-green { background: rgba(0,255,65,0.12); color: var(--accent2); }
.badge-red { background: rgba(255,62,62,0.12); color: var(--accent); }
.badge-gold { background: rgba(255,215,0,0.12); color: var(--accent3); }
.badge-blue { background: rgba(147,197,253,0.12); color: #93c5fd; }
.badge-gray { background: #1e1e1e; color: #888; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
    text-align: center;
    padding: 50px 20px 40px;
    color: #444;
    font-size: 12px;
    border-top: 1px solid #111;
    margin-top: 60px;
    background: #030303;
}
footer a { color: #555; }
footer a:hover { color: var(--accent); text-decoration: none; }
.footer-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin-bottom: 30px; }
.footer-col { text-align: left; min-width: 160px; }
.footer-col h4 { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.footer-col a { display: block; color: #555; padding: 3px 0; font-size: 12px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { color: #333; margin-top: 20px; font-size: 11px; }

/* ── UTILITY ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 60px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.green { color: var(--accent2); } .red { color: var(--accent); } .gold { color: var(--accent3); } .muted { color: var(--muted); } .white { color: #fff; }
.small { font-size: 12px; } .mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

/* ── LANG HIDDEN CONTENT ──────────────────────────────── */
[data-lang]:not([data-lang="active"]) { display: none !important; }

/* ── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
