/* ========================================
   CoinPoker Multi-Language Site - Styles
   ======================================== */

:root {
    --primary: #00d4aa;
    --primary-dark: #00a888;
    --primary-glow: rgba(0, 212, 170, 0.3);
    --secondary: #f7931a;
    --accent: #6c5ce7;
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-section: #0d1220;
    --text-main: #e8eaed;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --border: rgba(255,255,255,0.08);
    --border-glow: rgba(0, 212, 170, 0.2);
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00a888 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0d1220 100%);
    --gradient-text: linear-gradient(135deg, #00d4aa, #f7931a, #6c5ce7);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
}

.lang-switcher:hover {
    border-color: var(--primary);
}

.lang-switcher option {
    background: var(--bg-card);
    color: var(--text-main);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-glow);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

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

/* Hero Visual - Crypto Orbit */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-orbit {
    position: relative;
    width: 380px;
    height: 380px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: pulse 2s ease-in-out infinite;
}

.orbit-coin {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    animation: orbit 20s linear infinite;
    box-shadow: var(--shadow-md);
}

.orbit-btc { background: linear-gradient(135deg, #f7931a, #ffb347); color: #fff; top: 0; left: 50%; }
.orbit-eth { background: linear-gradient(135deg, #627eea, #8fa4f0); color: #fff; top: 50%; right: 0; animation-delay: -3s; }
.orbit-usdt { background: linear-gradient(135deg, #26a17b, #4fd6a8); color: #fff; bottom: 0; left: 50%; animation-delay: -6s; }
.orbit-sol { background: linear-gradient(135deg, #9945ff, #bd8cff); color: #fff; top: 50%; left: 0; animation-delay: -9s; }
.orbit-bnb { background: linear-gradient(135deg, #f3ba2f, #f8d568); color: #fff; top: 15%; right: 15%; animation-delay: -12s; }
.orbit-poly { background: linear-gradient(135deg, #8247e5, #a674f0); color: #fff; bottom: 15%; right: 15%; animation-delay: -15s; }
.orbit-trx { background: linear-gradient(135deg, #ff060a, #ff4d4f); color: #fff; bottom: 15%; left: 15%; animation-delay: -18s; }

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
   Trust Bar
   ======================================== */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

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

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg);
}

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

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

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

/* ========================================
   Bonus Section
   ======================================== */
.bonus {
    padding: 100px 0;
    background: var(--bg-dark);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bonus-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.1);
}

.bonus-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.bonus-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bonus-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
}

.bonus-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bonus-list {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.bonus-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.bonus-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   Cryptos Section
   ======================================== */
.cryptos {
    padding: 100px 0;
    background: var(--bg-section);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.crypto-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.crypto-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.crypto-symbol {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.1);
}

.crypto-name {
    font-size: 15px;
    font-weight: 600;
}

.fiat-row {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

.fiat-label {
    margin-right: 12px;
}

.fiat-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    margin: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.fiat-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   Download Section
   ======================================== */
.download {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.step {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
}

.dl-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.dl-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* ========================================
   Ambassadors Section
   ======================================== */
.ambassadors {
    padding: 100px 0;
    background: var(--bg-section);
}

.amb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amb-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.amb-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.amb-avatar {
    font-size: 48px;
    margin-bottom: 16px;
}

.amb-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-q {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    user-select: none;
}

.faq-toggle {
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-a {
    max-height: 200px;
}

.faq-a p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: var(--secondary) !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid,
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .crypto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .amb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .features-grid,
    .bonus-grid,
    .crypto-grid,
    .amb-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-right .btn {
        display: none;
    }
    .crypto-orbit {
        width: 280px;
        height: 280px;
    }
    .orbit-center {
        font-size: 60px;
    }
    .dl-buttons {
        flex-direction: column;
        align-items: center;
    }
    .dl-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== 辅助类 ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.visually-hidden:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ===== 优惠码高亮 + 呼吸灯 + 一键复制 ===== */
.promo-code {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    margin: 0 2px;
    font-weight: 800;
    font-size: 1.05em;
    color: #1a1a2e;
    background: linear-gradient(135deg, #f5d442 0%, #f5a623 50%, #f5d442 100%);
    background-size: 200% 200%;
    border-radius: 6px;
    cursor: pointer;
    user-select: all;
    letter-spacing: 1.5px;
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.55), 0 0 20px rgba(245, 166, 35, 0.25);
    animation: promoGlow 2.4s ease-in-out infinite;
    transition: transform 0.15s ease;
    white-space: nowrap;
}
.promo-code:hover {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(245, 166, 35, 0.8), 0 0 30px rgba(245, 166, 35, 0.4);
}
.promo-code:active { transform: scale(0.97); }
.promo-copy {
    font-size: 0.85em;
    opacity: 0.75;
    margin-left: 2px;
    filter: grayscale(0.3);
}
@keyframes promoGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 0 8px rgba(245, 166, 35, 0.5), 0 0 18px rgba(245, 166, 35, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 14px rgba(245, 166, 35, 0.85), 0 0 32px rgba(245, 166, 35, 0.45);
    }
}

/* ===== Hero 区优惠码徽章（大号） ===== */
.hero-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 18px;
    background: rgba(20, 24, 40, 0.7);
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    flex-wrap: wrap;
    justify-content: center;
}
.hero-promo-label {
    font-size: 0.95rem;
    color: #c8c8d8;
    letter-spacing: 0.5px;
}
.promo-code-lg {
    font-size: 1.35rem;
    padding: 6px 16px;
    letter-spacing: 2.5px;
    animation: promoGlow 2s ease-in-out infinite;
}
.hero-promo-hint {
    font-size: 0.82rem;
    color: #8888a0;
    margin-left: 4px;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .hero-promo {
        padding: 8px 12px;
        gap: 6px;
    }
    .promo-code-lg {
        font-size: 1.15rem;
        padding: 5px 12px;
    }
    .hero-promo-label, .hero-promo-hint {
        font-size: 0.82rem;
    }
}