/* ============================================
   DB彩票娱乐 · 糖果幸运风设计系统
   “点亮幸运时刻” — 柔光粉彩 · 圆润愉悦
   ============================================ */

/* 基础重置 */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif; 
    overflow-x: hidden; 
    background: #FFFAF0; 
    color: #2D3436;
    line-height: 1.6;
}

/* 滚动条定制 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF5F5; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #FFB3B3; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF6B6B; }

/* 选中文本 */
::selection { background: #FFE66D; color: #2D3436; }

/* 核心布局 */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.section { 
    padding: 100px 0; 
    position: relative;
}

.section:nth-child(even) { 
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0E6 100%); 
}

/* 装饰性背景气泡 */
.section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container, .header-inner {
    position: relative;
    z-index: 1;
}

/* ========== 导航 ========== */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    background: rgba(255, 250, 240, 0.92); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid rgba(255, 107, 107, 0.12);
    transition: all 0.3s ease;
}

.site-header:hover {
    border-bottom-color: rgba(255, 107, 107, 0.25);
}

.header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 72px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 800; 
    font-size: 1.3rem; 
    text-decoration: none; 
    color: #2D3436;
    letter-spacing: -0.3px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon { 
    width: 42px; 
    height: 42px; 
    border-radius: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transform: rotate(-5deg);
}

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 32px; 
    list-style: none; 
}

.main-nav a { 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: #636e72;
    transition: all 0.3s ease;
    padding: 4px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #FF6B6B, #FFE66D);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover { 
    color: #FF6B6B; 
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta { 
    padding: 10px 24px; 
    border-radius: 50px; 
    color: #fff !important; 
    font-weight: 600;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
    color: #fff !important;
}

.menu-toggle { 
    display: none; 
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #fff;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.25);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

/* ========== Hero ========== */
.hero { 
    min-height: 80vh; 
    display: flex; 
    align-items: center; 
    padding-top: 72px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFAF0 0%, #FFF5F5 50%, #F0FFF4 100%);
}

.hero::before {
    content: '✦';
    position: absolute;
    top: 15%;
    right: 8%;
    font-size: 8rem;
    color: rgba(255, 107, 107, 0.06);
    animation: floatStar 8s ease-in-out infinite;
}

.hero::after {
    content: '✦';
    position: absolute;
    bottom: 20%;
    left: 5%;
    font-size: 5rem;
    color: rgba(78, 205, 196, 0.06);
    animation: floatStar 6s ease-in-out infinite reverse;
}

@keyframes floatStar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

.hero-content { 
    max-width: 720px; 
    position: relative;
    z-index: 1;
}

.hero-eyebrow { 
    display: inline-block; 
    font-size: 0.8rem; 
    font-weight: 700; 
    padding: 6px 18px; 
    border-radius: 50px; 
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 230, 109, 0.12));
    color: #FF6B6B;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 { 
    font-size: 3.2rem; 
    line-height: 1.15; 
    margin-bottom: 20px; 
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2D3436 30%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p { 
    font-size: 1.15rem; 
    opacity: 0.7; 
    max-width: 560px; 
    margin-bottom: 36px; 
    color: #636e72;
    line-height: 1.8;
}

.hero-buttons { 
    display: flex; 
    gap: 16px; 
}

/* ========== 按钮 ========== */
.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 14px 32px; 
    border-radius: 50px; 
    font-weight: 600; 
    cursor: pointer; 
    border: none; 
    text-decoration: none; 
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary { 
    color: #fff; 
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.45);
}

.btn-outline { 
    background: transparent; 
    border: 2px solid #FF6B6B; 
    color: #FF6B6B;
}

.btn-outline:hover {
    background: rgba(255, 107, 107, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.15);
}

/* ========== 标签/标题 ========== */
.section-label { 
    display: inline-block; 
    font-size: 0.75rem; 
    font-weight: 700; 
    letter-spacing: 3px; 
    margin-bottom: 14px;
    color: #FF6B6B;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255, 107, 107, 0.08);
}

.section-title { 
    font-size: 2.2rem; 
    margin-bottom: 16px; 
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
    color: #2D3436;
}

.section-desc { 
    max-width: 600px; 
    opacity: 0.7; 
    margin-bottom: 48px; 
    color: #636e72;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========== 卡片网格 ========== */
.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 28px; 
}

.category-card { 
    border-radius: 20px; 
    padding: 32px 28px; 
    border: 1.5px solid rgba(255, 107, 107, 0.08);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FFE66D, #4ECDC4);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover { 
    transform: translateY(-6px) scale(1.01); 
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.2);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon { 
    width: 54px; 
    height: 54px; 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 230, 109, 0.12));
    transition: all 0.3s ease;
}

.category-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 230, 109, 0.2));
    transform: scale(1.05);
}

.card-link { 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-decoration: none; 
    color: #FF6B6B;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

/* ========== 特性块 ========== */
.feature-block { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 64px; 
    align-items: center; 
}

.feature-image { 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.1);
    transition: all 0.4s ease;
}

.feature-image:hover {
    transform: scale(1.01);
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.15);
}

.feature-image img { 
    width: 100%; 
    height: auto; 
    display: block;
}

.feature-text { }

.feature-list { 
    list-style: none; 
}

.feature-list li { 
    padding: 10px 0; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 1rem;
    color: #2D3436;
}

.feature-list li::before { 
    content: '✓'; 
    font-weight: 700; 
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.12);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ========== 数据条 ========== */
.stats-bar { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 28px; 
    text-align: center; 
}

.stat-item { 
    padding: 32px 20px; 
    border-radius: 20px; 
    border: 1.5px solid rgba(255, 107, 107, 0.08);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.stat-number { 
    font-size: 2.6rem; 
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label { 
    font-size: 0.9rem; 
    opacity: 0.6; 
    margin-top: 8px; 
    color: #636e72;
    font-weight: 500;
}

/* ========== 内容墙 ========== */
.content-wall { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 28px; 
}

.content-wall-item { 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1.5px solid rgba(255, 107, 107, 0.08);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-wall-item:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.2);
}

.content-wall-item img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    transition: transform 0.6s ease;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body { 
    padding: 24px; 
}

.content-wall-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.content-wall-body p {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #636e72;
}

/* ========== FAQ ========== */
.faq-list { 
    max-width: 800px; 
    margin: 0 auto; 
}

.faq-item { 
    border: 1.5px solid rgba(255, 107, 107, 0.08);
    border-radius: 16px; 
    margin-bottom: 12px; 
    overflow: hidden; 
    cursor: pointer; 
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.2);
}

.faq-item .faq-question { 
    padding: 20px 24px; 
    font-weight: 600; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #2D3436;
    font-size: 1rem;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #FF6B6B;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer { 
    padding: 0 24px 20px; 
    display: none; 
    opacity: 0.7; 
    color: #636e72;
    line-height: 1.8;
}

.faq-item.open .faq-answer { 
    display: block; 
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* ========== CTA横幅 ========== */
.cta-banner { 
    padding: 64px 32px; 
    text-align: center; 
    border-radius: 24px; 
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFB3B3 100%);
    box-shadow: 0 12px 48px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '✦';
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.06);
    animation: floatStar 10s ease-in-out infinite;
}

.cta-banner::after {
    content: '✦';
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.06);
    animation: floatStar 7s ease-in-out infinite reverse;
}

.cta-banner h2 { 
    color: #fff; 
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary { 
    background: #fff; 
    color: #FF6B6B;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ========== 页脚 ========== */
.site-footer { 
    padding: 64px 0 32px; 
    background: linear-gradient(135deg, #2D3436 0%, #1a1e1f 100%);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FFE66D, #4ECDC4);
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 48px; 
}

.footer-brand { }

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FF6B6B;
    padding-left: 4px;
}

.footer-bottom { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    margin-top: 48px; 
    padding-top: 24px; 
    text-align: center; 
    font-size: 0.85rem; 
    opacity: 0.5;
}

/* ========== 工具类 ========== */
.text-accent { 
    color: #FF6B6B; 
}

.text-center { 
    text-align: center; 
}

.seo-description { 
    max-width: 600px; 
    margin: 0 auto 48px; 
    opacity: 0.7; 
    color: #636e72;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.6rem; }
    .section-title { font-size: 1.8rem; }
    .feature-block { gap: 40px; }
}

@media (max-width: 768px) {
    .feature-block { 
        grid-template-columns: 1fr; 
        gap: 32px;
    }
    
    .stats-bar { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 32px;
    }
    
    .main-nav { 
        display: none; 
    }
    
    .menu-toggle { 
        display: flex; 
    }
    
    .main-nav.open { 
        display: flex; 
        flex-direction: column; 
        position: absolute; 
        top: 72px; 
        left: 0; 
        width: 100%; 
        background: rgba(255, 250, 240, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px 32px;
        gap: 16px;
        border-bottom: 1.5px solid rgba(255, 107, 107, 0.12);
    }

    .main-nav.open a { padding: 8px 0; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .section { padding: 64px 0; }
    
    .content-wall { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    
    .stat-number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar { 
        grid-template-columns: 1fr; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    
    .hero h1 { font-size: 1.8rem; }
    
    .section-title { font-size: 1.5rem; }
    
    .header-inner { height: 64px; }
    
    .hero { min-height: 60vh; padding-top: 64px; }
    
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    
    .cta-banner { padding: 40px 20px; }
    .cta-banner h2 { font-size: 1.5rem; }
    
    .stat-item { padding: 20px 16px; }
    .stat-number { font-size: 1.8rem; }
    
    .category-card { padding: 24px 20px; }
}

/* ========== 额外装饰元素 ========== */
/* 幸运星星点缀 */
.lucky-stars {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.lucky-star {
    position: absolute;
    color: rgba(255, 230, 109, 0.15);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* 卡片内标题样式补充 */
.category-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2D3436;
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.6;
    color: #636e72;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* 特性块标题 */
.feature-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #2D3436;
    line-height: 1.3;
}

.feature-text p {
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 内容墙标题补充 */
.content-wall-body h3 {
    color: #2D3436;
}

.content-wall-body p {
    color: #636e72;
    line-height: 1.6;
}

/* 按钮组补充 */
.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 间距补充 */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }