/**
 * ============================================================
 * style.css - 自定义样式表
 * 页面集 0050: HHpoker俱乐部丨德扑圈下载丨临安德扑网
 * 主题色: Indigo/Blue (靛蓝)
 * ============================================================
 */

/* ==================== CSS 变量 ==================== */
:root {
    --brand-50:  #eef2ff;
    --brand-100: #e0e7ff;
    --brand-200: #c7d2fe;
    --brand-300: #a5b4fc;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --brand-900: #312e81;

    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
    --gradient-hero: linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #6366f1 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(99, 102, 241, 0.1) 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-brand: 0 8px 25px rgba(79, 70, 229, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 200ms;
    --transition-normal: 300ms;
    --transition-slow: 500ms;
}

/* ==================== 基础重置与全局 ==================== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ==================== 导航栏 ==================== */
#navbar {
    background: rgba(49, 46, 129, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#navbar.scrolled {
    background: rgba(49, 46, 129, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* ==================== 按钮样式 ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: #fff;
    color: var(--brand-700);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-brand);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

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

.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: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: var(--brand-600);
    transition: all var(--transition-normal);
}

.card-feature:hover .icon-wrap {
    background: var(--brand-600);
    color: #fff;
    transform: scale(1.1);
}

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

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

/* ==================== 统计区块 ==================== */
.stats-section {
    background: var(--brand-900);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,208C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-300);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

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

.faq-item.active {
    border-color: var(--brand-300);
    box-shadow: var(--shadow-md);
}

.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: #1e293b;
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-question .faq-icon {
    font-size: 0.875rem;
    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, padding var(--transition-normal);
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.8;
}

/* ==================== 评价卡片 ==================== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid #f1f5f9;
    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: #475569;
    line-height: 1.8;
    margin: 16px 0;
}

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

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

/* ==================== 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: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.tier-card.featured {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-brand);
    transform: scale(1.05);
}

.tier-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--brand-600);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
}

.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: #1e293b;
}

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

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

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

.tier-features li {
    padding: 8px 0;
    font-size: 0.9375rem;
    color: #475569;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.platform-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.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-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.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-50);
    color: var(--brand-800);
    font-weight: 700;
}

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

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

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

.sys-req-table tbody td:last-child {
    color: #64748b;
}

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

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

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

.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: 70vh;
    }

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

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        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: 12px 24px;
        font-size: 0.875rem;
    }

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

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

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

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

.download-step-num {
    width: 40px;
    height: 40px;
    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: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.qr-box .qr-placeholder {
    width: 160px;
    height: 160px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    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.05em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.0625rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.7;
}

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

/* ==================== 图片占位 ==================== */
.img-placeholder {
    background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--brand-500);
    font-size: 3rem;
}

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

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

.benefit-icon {
    width: 48px;
    height: 48px;
    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;
}
