/* ============================================
   德扑圈HHpoker - Custom Styles
   主色调: 珊瑚橙 #FF6B6B
   辅助色: #FF8E8E, #FFB347
   ============================================ */

/* ========== 平滑滚动 ========== */
html {
    scroll-behavior: smooth;
}

/* ========== 自定义字体渲染 ========== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== Navbar 阴影增强 ========== */
nav {
    transition: box-shadow 0.3s ease;
}
nav.scrolled {
    box-shadow: 0 4px 30px rgba(255, 107, 107, 0.12);
}

/* ========== Bounce 弹跳动画 Keyframes ========== */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-18px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-8px);
    }
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-22px);
    }
    50% {
        transform: translateY(0);
    }
    70% {
        transform: translateY(-10px);
    }
}

@keyframes bounce-fast {
    0%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-14px);
    }
    40% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* ========== Hero 圆形装饰 ========== */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-circle-1 {
    width: 180px;
    height: 180px;
    background: rgba(255, 107, 107, 0.25);
    top: 10%;
    right: 15%;
    animation: bounce 2.5s ease-in-out infinite;
}
.hero-circle-2 {
    width: 120px;
    height: 120px;
    background: rgba(255, 179, 71, 0.30);
    top: 55%;
    right: 5%;
    animation: bounce-slow 3.2s ease-in-out infinite;
}
.hero-circle-3 {
    width: 90px;
    height: 90px;
    background: rgba(255, 142, 142, 0.28);
    top: 35%;
    right: 35%;
    animation: bounce-fast 2.0s ease-in-out infinite;
}
.hero-circle-4 {
    width: 60px;
    height: 60px;
    background: rgba(255, 179, 71, 0.22);
    top: 15%;
    right: 45%;
    animation: bounce 3.8s ease-in-out infinite;
}

/* ========== Hero 图片容器 ========== */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.2);
}

/* ========== 功能卡片 Hover 上浮 ========== */
.feature-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(255, 107, 107, 0.15);
}

/* ========== 评价卡片 ========== */
.testimonial-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(255, 107, 107, 0.12);
}

/* ========== FAQ 手风琴 ========== */
.faq-item {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.faq-item.active {
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.13);
}
.faq-question {
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.3s ease;
    user-select: none;
}
.faq-question:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.03);
}
.faq-question i {
    transition: transform 0.35s ease;
    color: #FF6B6B;
    font-size: 0.85rem;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: #6b7280;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ========== CTA 渐变按钮脉冲 ========== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.5);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 107, 107, 0);
    }
}
.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ========== 统计数字渐变文字 ========== */
.stat-number {
    background: linear-gradient(135deg, #FF6B6B, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== 分隔线装饰 ========== */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FFB347);
    border-radius: 2px;
    margin: 0 auto;
}

/* ========== About / Contact 通用页面样式 ========== */
.page-hero {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFEEE8 50%, #FFF8F6 100%);
}

/* ========== 联系表单样式 ========== */
.contact-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f3f4f6;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
    outline: none;
}
.contact-input:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}
.contact-input::placeholder {
    color: #cbd5e1;
}

/* ========== 回到顶部按钮 ========== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: #FF6B6B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 40;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
    border: none;
    font-size: 1.1rem;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: #FF8E8E;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.45);
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .hero-circle-1 { width: 120px; height: 120px; top: 5%; right: 5%; }
    .hero-circle-2 { width: 80px; height: 80px; top: 50%; right: 2%; }
    .hero-circle-3 { width: 55px; height: 55px; top: 25%; right: 28%; }
    .hero-circle-4 { width: 40px; height: 40px; top: 8%; right: 40%; }
}
