/**
 * ============================================================
 * style.css - 自定义样式表
 * 页面集 0060: HHPOKER俱乐部 - 线上HH扑克德州平台
 * 主题色: Amber/Gold Premium (琥珀金)
 * ============================================================
 */

/* ==================== CSS 变量 ==================== */
:root {
    --brand-50:  #fffbeb;
    --brand-100: #fef3c7;
    --brand-200: #fde68a;
    --brand-300: #fcd34d;
    --brand-400: #fbbf24;
    --brand-500: #f59e0b;
    --brand-600: #d97706;
    --brand-700: #b45309;
    --brand-800: #92400e;
    --brand-900: #78350f;

    --gradient-primary: linear-gradient(135deg, #b45309 0%, #d97706 40%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #451a03 0%, #78350f 30%, #92400e 60%, #1c1917 100%);
    --gradient-card: linear-gradient(135deg, rgba(217, 119, 6, 0.06) 0%, rgba(245, 158, 11, 0.12) 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.18);
    --shadow-brand: 0 10px 30px rgba(245, 158, 11, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    --transition-fast: 180ms;
    --transition-normal: 280ms;
    --transition-slow: 500ms;
}

/* ==================== 基础 ==================== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ==================== 导航栏 ==================== */
#navbar {
    background: rgba(30, 20, 10, 0.9);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}

#navbar.scrolled {
    background: rgba(30, 20, 10, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(251, 191, 36, 0.25);
}

/* ==================== Hero / 英雄区 ==================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #faf7f2 0%, transparent 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--brand-300);
    letter-spacing: 0.03em;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(to right, #fcd34d, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 560px;
}

/* ==================== 按钮 ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-brand);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(251, 191, 36, 0.12);
    border-color: var(--brand-400);
    transform: translateY(-3px);
}

/* ==================== 卡片 ==================== */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    border: 1px solid #f5f0e8;
}

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

.card-feature {
    text-align: center;
}

.card-feature .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    margin-bottom: 22px;
    font-size: 1.75rem;
    color: var(--brand-600);
    transition: all var(--transition-normal);
}

.card-feature:hover .icon-wrap {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.card-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 10px;
}

.card-feature p {
    font-size: 0.9375rem;
    color: #78716c;
    line-height: 1.7;
}

/* ==================== 统计区块 ==================== */
.stats-section {
    background: linear-gradient(135deg, #451a03, #78350f, #451a03);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, rgba(251, 191, 36, 0.07) 0%, transparent 55%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-400);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    letter-spacing: 0.04em;
}

/* ==================== FAQ 手风琴 ==================== */
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e8e0d4;
    transition: all var(--transition-normal);
}

.faq-item.active {
    border-color: var(--brand-400);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1c1917;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--brand-700);
}

.faq-question .faq-icon {
    font-size: 0.8125rem;
    color: var(--brand-500);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 0.9375rem;
    color: #78716c;
    line-height: 1.8;
}

/* ==================== 评价卡片 ==================== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #f5f0e8;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-200);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: #57534e;
    line-height: 1.8;
    margin: 16px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.0625rem;
}

/* ==================== CTA 区块 ==================== */
.cta-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 65%);
    pointer-events: none;
}

/* ==================== 俱乐部页面 - 会员等级卡片 ==================== */
.tier-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid #f5f0e8;
    position: relative;
    overflow: hidden;
}

.tier-card.featured {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-brand);
    transform: scale(1.05);
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.tier-card.featured::before {
    content: 'VIP';
    position: absolute;
    top: 15px;
    right: -28px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 34px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.tier-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1c1917;
}

.tier-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-600);
    margin: 16px 0;
}

.tier-price span {
    font-size: 1rem;
    color: #a8a29e;
    font-weight: 400;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    text-align: left;
}

.tier-features li {
    padding: 9px 0;
    font-size: 0.9375rem;
    color: #57534e;
}

.tier-features li i {
    color: var(--brand-500);
    margin-right: 10px;
}

/* ==================== 俱乐部卡片 ==================== */
.club-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #f5f0e8;
    transition: all var(--transition-normal);
}

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

.club-card-image {
    height: 200px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(251, 191, 36, 0.35);
}

.club-card-body {
    padding: 24px;
}

.club-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 4px;
}

.club-card-body .location {
    font-size: 0.875rem;
    color: #a8a29e;
    margin-bottom: 12px;
}

.club-card-body .desc {
    font-size: 0.9375rem;
    color: #78716c;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ==================== 步骤列表 ==================== */
.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-brand);
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9375rem;
    color: #78716c;
    line-height: 1.7;
}

/* ==================== 下载页平台切换 ==================== */
.platform-tabs {
    display: flex;
    gap: 8px;
    background: #f5f0e8;
    padding: 6px;
    border-radius: 50px;
    width: fit-content;
}

.platform-tab {
    padding: 11px 26px;
    border-radius: 50px;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #78716c;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 7px;
}

.platform-tab.active {
    background: #fff;
    color: var(--brand-700);
    box-shadow: var(--shadow-sm);
}

.platform-panel {
    display: none;
}

.platform-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ==================== 系统要求表格 ==================== */
.sys-req-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #e8e0d4;
}

.sys-req-table th,
.sys-req-table td {
    padding: 14px 20px;
    font-size: 0.9375rem;
    text-align: left;
}

.sys-req-table thead th {
    background: var(--brand-800);
    color: #fff;
    font-weight: 700;
}

.sys-req-table tbody tr {
    border-bottom: 1px solid #f5f0e8;
}

.sys-req-table tbody tr:nth-child(even) {
    background: #faf8f5;
}

.sys-req-table tbody td:first-child {
    font-weight: 600;
    color: #1c1917;
    white-space: nowrap;
}

.sys-req-table tbody td:last-child {
    color: #78716c;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.5); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 75vh;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 65vh;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .tier-card.featured {
        transform: none;
    }

    .tier-card.featured:hover {
        transform: translateY(-6px);
    }

    .card-feature {
        padding: 24px;
    }

    .platform-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .step-item {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 13px 26px;
        font-size: 0.875rem;
    }

    .stat-number {
        font-size: 1.625rem;
    }

    .cta-section {
        border-radius: var(--radius-md);
        padding: 32px 20px;
    }
}

/* ==================== 下载步骤 ==================== */
.download-step {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid #f5f0e8;
    transition: all var(--transition-normal);
}

.download-step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
}

.download-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* ==================== 二维码 ==================== */
.qr-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #f5f0e8;
}

.qr-box .qr-placeholder {
    width: 160px;
    height: 160px;
    background: #faf8f5;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--brand-200);
}

/* ==================== 分区标题 ==================== */
.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.06em;
    border: 1px solid var(--brand-200);
}

.section-title {
    font-size: clamp(1.625rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #1c1917;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.0625rem;
    color: #78716c;
    max-width: 620px;
    line-height: 1.7;
}

/* ==================== 分割线 ==================== */
.divider {
    width: 64px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ==================== 有益效果卡片 ==================== */
.benefit-card {
    display: flex;
    gap: 18px;
    padding: 26px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid #f5f0e8;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid var(--brand-100);
}
