/* ============================================
   PG娱乐 — 独特设计系统
   风格：暖绒层叠 · 珊瑚海岸
   灵感：柔光纸艺 + 夏日日落
   禁止深色背景，全站浅色基调
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    background: #FDF7F2;
    color: #2D2A26;
    line-height: 1.6;
    background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 221, 200, 0.25) 0%, transparent 60%),
                      radial-gradient(ellipse at 80% 100%, rgba(255, 200, 180, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

/* 核心布局 — 居中 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(253, 242, 235, 0.5);
}

/* ========== 导航 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 247, 242, 0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(230, 200, 180, 0.25);
    box-shadow: 0 2px 30px rgba(180, 130, 100, 0.06);
}

.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: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    color: #2D2A26;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #FF7D6B, #FFB07A);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 125, 107, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: #4A423E;
    transition: color 0.25s, transform 0.2s;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7D6B;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #FF7D6B;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #FF7D6B, #FF9A76);
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(255, 125, 107, 0.28);
    transition: transform 0.25s, box-shadow 0.25s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255, 125, 107, 0.35) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #4A423E;
    border-radius: 3px;
    transition: 0.3s;
}

/* ========== Hero ========== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background: linear-gradient(160deg, #FDF7F2 0%, #FEF0E8 40%, #FDF2EC 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 157, 130, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 210, 180, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(255, 125, 107, 0.12);
    color: #FF6B56;
    border: 1px solid rgba(255, 125, 107, 0.18);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #2D2A26;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #FF7D6B, #FFB07A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: #6B5E56;
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(180, 130, 100, 0.15);
    background: #F5E8E0;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image::after {
    content: '🎮';
    font-size: 5rem;
    opacity: 0.6;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #FF7D6B, #FF9A76);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 125, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(255, 125, 107, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #E8D5CA;
    color: #4A423E;
}

.btn-outline:hover {
    border-color: #FF7D6B;
    color: #FF7D6B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 125, 107, 0.08);
}

/* ========== 标签/标题 ========== */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    color: #FF7D6B;
    text-transform: uppercase;
    background: rgba(255, 125, 107, 0.08);
    padding: 4px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #2D2A26;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-desc {
    max-width: 600px;
    color: #6B5E56;
    margin-bottom: 44px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ========== 卡片网格 ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 18px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid rgba(230, 210, 195, 0.3);
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF7D6B, #FFB07A);
    opacity: 0;
    transition: opacity 0.35s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(160, 120, 100, 0.12);
    border-color: rgba(255, 125, 107, 0.15);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFF0E8, #FFE5D8);
    color: #FF7D6B;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2D2A26;
}

.category-card p {
    font-size: 0.92rem;
    color: #7A6E66;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    color: #FF7D6B;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s;
}

.card-link:hover {
    gap: 12px;
}

/* ========== 特性块 ========== */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: 18px;
    overflow: hidden;
    background: #F0E4DC;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(160, 120, 100, 0.08);
    position: relative;
}

.feature-image::after {
    font-size: 4rem;
    opacity: 0.3;
}

.feature-image:nth-of-type(1)::after { content: '🏆'; }
.feature-image:nth-of-type(2)::after { content: '🎯'; }

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2D2A26;
}

.feature-text p {
    color: #6B5E56;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4A423E;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    font-weight: 800;
    color: #FF7D6B;
    background: rgba(255, 125, 107, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ========== 数据条 ========== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(230, 210, 195, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(160, 120, 100, 0.08);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF7D6B, #FFB07A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.92rem;
    color: #7A6E66;
    margin-top: 8px;
    font-weight: 500;
}

/* ========== 内容墙 ========== */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(230, 210, 195, 0.2);
    transition: transform 0.35s, box-shadow 0.35s;
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(160, 120, 100, 0.1);
}

.content-wall-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #F0E4DC;
}

.content-wall-body {
    padding: 24px;
}

.content-wall-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2D2A26;
}

.content-wall-body p {
    font-size: 0.9rem;
    color: #7A6E66;
    line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(230, 210, 195, 0.3);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
    border-color: rgba(255, 125, 107, 0.15);
    box-shadow: 0 4px 16px rgba(160, 120, 100, 0.05);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2D2A26;
    transition: color 0.25s;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #FF7D6B;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    display: none;
    color: #6B5E56;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open {
    border-color: rgba(255, 125, 107, 0.2);
}

/* ========== CTA横幅 ========== */
.cta-banner {
    padding: 64px 32px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #FF7D6B, #FF9A76, #FFB07A);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    opacity: 0.2;
}

.cta-banner::after {
    content: '🎉';
    position: absolute;
    bottom: 20px;
    left: 40px;
    font-size: 3rem;
    opacity: 0.2;
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.cta-banner .btn {
    background: #fff;
    color: #FF7D6B;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
}

/* ========== 页脚 ========== */
.site-footer {
    padding: 64px 0 32px;
    background: #2D2A26;
    color: rgba(255, 247, 242, 0.8);
    position: relative;
}

.site-footer .container {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 247, 242, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 247, 242, 0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}

.footer-col ul li a:hover {
    color: #FFB07A;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 247, 242, 0.08);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 247, 242, 0.35);
}

/* ========== 工具类 ========== */
.text-accent {
    color: #FF7D6B;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    color: #6B5E56;
    line-height: 1.7;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ========== 额外装饰组件 ========== */
.divider-gradient {
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF7D6B, #FFB07A);
    margin: 0 auto 20px;
}

.text-center .divider-gradient {
    margin: 0 auto 20px;
}

/* 浮动装饰点 */
.dot-decor {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 125, 107, 0.12);
    pointer-events: none;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 16/10;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block:nth-child(even) .feature-image {
        order: -1;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .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(253, 247, 242, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid rgba(230, 200, 180, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    }

    .main-nav.open a {
        font-size: 1.05rem;
    }

    .nav-cta {
        align-self: flex-start;
    }

    .cards-grid,
    .content-wall {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .cta-banner {
        padding: 48px 24px;
    }

    .cta-banner h2 {
        font-size: 1.6rem;
    }

    .feature-block {
        gap: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        aspect-ratio: 4/3;
    }

    .container {
        padding: 0 16px;
    }

    .faq-item .faq-question {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .faq-item .faq-answer {
        padding: 0 18px 16px;
    }

    .content-wall-item img {
        height: 180px;
    }
}

/* ========== 平滑滚动 ========== */
html {
    scroll-behavior: smooth;
}

/* ========== 选中样式 ========== */
::selection {
    background: rgba(255, 125, 107, 0.2);
    color: #2D2A26;
}