/* ============================================
   电竞竞猜官网 - djjcgw.cn
   设计风格：霓虹能量场 + 玻璃态流体
   色彩：奶油白底 + 电光紫 + 能量橙 + 青绿
   ============================================ */

/* 基础重置 */
*, *::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: #fefaf6;
    color: #2d1f3d;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fefaf6;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7C3AED, #F97316);
    border-radius: 3px;
}

/* 核心布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #faf5f0;
    position: relative;
}
.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7C3AED33, #F9731633, #14B8A633, transparent);
}

.section:nth-child(odd) {
    background: #fefaf6;
}

/* 导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 250, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    background-image: 
        linear-gradient(rgba(254,250,246,0.85), rgba(254,250,246,0.85)),
        linear-gradient(90deg, #7C3AED20, #F9731620, #14B8A620);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    color: #2d1f3d;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}
.logo:hover {
    transform: scale(1.02);
}
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #7C3AED, #F97316);
    color: #fff;
    position: relative;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.logo-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 13px;
    background: linear-gradient(135deg, #7C3AED60, #F9731660, #14B8A660);
    z-index: -1;
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.04); }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a3a5e;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7C3AED, #F97316);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.main-nav a:hover {
    color: #7C3AED;
}
.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
    transition: all 0.3s ease !important;
}
.nav-cta:hover {
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
    color: #fff !important;
}
.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
}

/* Hero */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fefaf6;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #7C3AED15 0%, transparent 70%);
    top: -200px;
    right: -150px;
    pointer-events: none;
    animation: floatBlob 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #F9731612 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    animation: floatBlob 10s ease-in-out infinite reverse;
}
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 25px;
    margin-bottom: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #7C3AED12, #F9731612);
    color: #7C3AED;
    border: 1px solid #7C3AED25;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1a0f2e;
    position: relative;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #7C3AED, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 560px;
    margin-bottom: 32px;
    color: #4a3a5e;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1), 0 0 0 1px rgba(124, 58, 237, 0.08);
    transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease;
}
.hero-image:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 25px;
}
.btn:hover::before {
    opacity: 1;
}
.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}
.btn-primary::before {
    background: linear-gradient(135deg, #6D28D9, #9333EA);
}
.btn-primary:hover {
    box-shadow: 0 10px 32px rgba(124, 58, 237, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #7C3AED;
    color: #7C3AED;
}
.btn-outline:hover {
    background: #7C3AED08;
    border-color: #6D28D9;
    color: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.btn-secondary {
    background: linear-gradient(135deg, #F97316, #FB923C);
    color: #fff;
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.35);
}
.btn-secondary:hover {
    box-shadow: 0 10px 32px rgba(249, 115, 22, 0.5);
    transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #7C3AED;
    background: linear-gradient(135deg, #7C3AED10, #F9731610);
    padding: 5px 16px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 14px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #1a0f2e;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 40px;
    color: #4a3a5e;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e8dfd8;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7C3AED, #F97316, #14B8A6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 3px 3px;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1), 0 0 0 1px rgba(124, 58, 237, 0.1);
    border-color: transparent;
}
.category-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #7C3AED15, #F9731615);
    color: #7C3AED;
    transition: all 0.3s ease;
}
.category-card:hover .card-icon {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #7C3AED;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}
.card-link:hover {
    gap: 10px;
    color: #6D28D9;
}

/* 特性块 */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.08);
    position: relative;
}
.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #7C3AED08, #F9731608);
    pointer-events: none;
}
.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.feature-image:hover img {
    transform: scale(1.03);
}

.feature-text {
}

.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #2d1f3d;
    transition: transform 0.2s ease;
}
.feature-list li:hover {
    transform: translateX(4px);
}
.feature-list li::before {
    content: '✓';
    font-weight: 800;
    color: #14B8A6;
    background: #14B8A615;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px solid #e8dfd8;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7C3AED, #F97316);
    transition: width 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08);
    border-color: transparent;
}
.stat-item:hover::after {
    width: 80px;
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 6px;
    color: #4a3a5e;
    font-weight: 500;
}

/* 内容墙 */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.content-wall-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8dfd8;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
    border-color: transparent;
}
.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.content-wall-item:hover img {
    transform: scale(1.05);
}
.content-wall-body {
    padding: 20px;
}
.content-wall-body h3 {
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a0f2e;
}
.content-wall-body p {
    font-size: 0.9rem;
    color: #4a3a5e;
    opacity: 0.7;
}
.content-wall-body .card-link {
    margin-top: 8px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e8dfd8;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: #7C3AED30;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}
.faq-item.open {
    border-color: #7C3AED40;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}
.faq-item .faq-question {
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    color: #1a0f2e;
    transition: color 0.3s;
}
.faq-item.open .faq-question {
    color: #7C3AED;
}
.faq-item .faq-answer {
    padding: 0 20px 16px;
    display: none;
    opacity: 0.7;
    color: #4a3a5e;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* CTA横幅 */
.cta-banner {
    padding: 60px 24px;
    text-align: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #7C3AED, #6D28D9, #A855F7);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -80px;
    right: -60px;
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(249,115,22,0.2);
    bottom: -50px;
    left: -40px;
    pointer-events: none;
}
.cta-banner h2 {
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 900;
}
.cta-banner p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    margin-bottom: 24px;
}
.cta-banner .btn-primary {
    background: #fff;
    color: #7C3AED;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}
.cta-banner .btn-primary:hover {
    background: #f8f8f8;
    color: #6D28D9;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* 页脚 */
.site-footer {
    padding: 56px 0 28px;
    background: #1a0f2e;
    color: #d4c8e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.footer-col a {
    display: block;
    color: #b8a5d0;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #F97316;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    color: #b8a5d0;
}

/* 工具类 */
.text-accent {
    color: #7C3AED;
}
.text-center {
    text-align: center;
}
.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    color: #4a3a5e;
    line-height: 1.7;
}
.mt-0 {
    margin-top: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}

/* 亮点标签 */
.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.tag-hot {
    background: #F9731615;
    color: #F97316;
}
.tag-new {
    background: #14B8A615;
    color: #14B8A6;
}
.tag-popular {
    background: #7C3AED15;
    color: #7C3AED;
}

/* Hero中h1的highlight span */
.hero h1 .highlight {
    background: linear-gradient(135deg, #7C3AED, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero p {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
        transform: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e8dfd8;
        background: rgba(255,255,255,0.6);
        cursor: pointer;
        font-size: 1.3rem;
        color: #2d1f3d;
        transition: all 0.3s;
    }
    .menu-toggle:hover {
        background: #7C3AED10;
        border-color: #7C3AED30;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(254, 250, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #e8dfd8;
        box-shadow: 0 16px 32px rgba(0,0,0,0.06);
    }
    .main-nav.open a {
        font-size: 1rem;
        padding: 8px 0;
    }

    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .cta-banner {
        padding: 40px 16px;
        border-radius: 16px;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 16px;
    }
    .header-inner {
        padding: 0 16px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}