/* ==========================================================
   巅峰国际娱乐 | 设计系统：暖阳金沙 · 弧形美学
   Awwwards 级独特视觉语言
   ========================================================== */

/* --- 基础重置 & 全局 --- */
*, *::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: #f8f4ef;
    color: #2d2824;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 独特背景纹理 — 暖白纸纹感 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 87, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(232, 148, 122, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(212, 168, 87, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* --- 核心容器 --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #f0e9e0;
    position: relative;
}

/* 偶数section顶部装饰弧线 */
.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, #d4a857, #e8947a, #7ab8b0, transparent);
    opacity: 0.4;
}

/* --- 导航 — 琉璃金顶 --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 244, 239, 0.88);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(212, 168, 87, 0.18);
    box-shadow: 0 2px 30px rgba(212, 168, 87, 0.06);
    transition: background 0.4s;
}

.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: #2d2824;
    letter-spacing: 1px;
    position: relative;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #d4a857, #e8947a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(212, 168, 87, 0.25);
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
}

.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: #5a524a;
    transition: all 0.3s;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a857, #e8947a);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
}

.main-nav a:hover {
    color: #d4a857;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #d4a857, #e8947a) !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(212, 168, 87, 0.3);
    transition: all 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(212, 168, 87, 0.4) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: #2d2824;
    border-radius: 4px;
    transition: 0.3s;
}

/* --- Hero 主视觉 — 金沙流光 --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(212, 168, 87, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(232, 148, 122, 0.08) 0%, transparent 50%);
}

/* 装饰性大弧线 */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(212, 168, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(212, 168, 87, 0.12), rgba(232, 148, 122, 0.12));
    color: #d4a857;
    border: 1px solid rgba(212, 168, 87, 0.15);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #2d2824;
}

.hero h1 span {
    background: linear-gradient(135deg, #d4a857, #e8947a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.65;
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
    color: #5a524a;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(212, 168, 87, 0.12);
    background: #f0e9e0;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* --- 按钮 — 暖金质感 --- */
.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.35s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #d4a857, #e8947a);
    box-shadow: 0 6px 24px rgba(212, 168, 87, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 168, 87, 0.38);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(212, 168, 87, 0.4);
    color: #2d2824;
}

.btn-outline:hover {
    border-color: #d4a857;
    background: rgba(212, 168, 87, 0.06);
    transform: translateY(-2px);
}

/* --- 标签/标题 --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 14px;
    color: #d4a857;
    text-transform: uppercase;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, #d4a857, transparent);
    transform: translateY(-50%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #2d2824;
}

.section-desc {
    max-width: 600px;
    opacity: 0.6;
    margin-bottom: 44px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a524a;
}

/* --- 卡片网格 — 暖玉浮光 --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 18px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid rgba(229, 221, 212, 0.6);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 40, 36, 0.04);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4a857, #e8947a, #7ab8b0);
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(212, 168, 87, 0.12);
    border-color: rgba(212, 168, 87, 0.25);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(212, 168, 87, 0.12), rgba(232, 148, 122, 0.12));
    color: #d4a857;
    transition: all 0.4s;
}

.category-card:hover .card-icon {
    background: linear-gradient(135deg, #d4a857, #e8947a);
    color: #fff;
    transform: scale(1.05) rotate(-4deg);
}

.card-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: #d4a857;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
    margin-top: 12px;
}

.card-link:hover {
    gap: 12px;
    color: #e8947a;
}

/* --- 特性块 — 双栏叙事 --- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(45, 40, 36, 0.06);
    background: #f0e9e0;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s;
}

.feature-image:hover img {
    transform: scale(1.03);
}

.feature-text {
    padding: 8px 0;
}

.feature-list {
    list-style: none;
    margin-top: 8px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #5a524a;
}

.feature-list li::before {
    content: '✦';
    font-weight: 400;
    color: #d4a857;
    font-size: 0.85rem;
}

/* --- 数据条 — 金色刻度 --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(229, 221, 212, 0.5);
    box-shadow: 0 4px 20px rgba(45, 40, 36, 0.03);
    transition: all 0.4s;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212, 168, 87, 0.2), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(212, 168, 87, 0.08);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #d4a857, #e8947a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.55;
    margin-top: 8px;
    font-weight: 500;
    color: #5a524a;
}

/* --- 内容墙 — 层叠画廊 --- */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(229, 221, 212, 0.5);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(45, 40, 36, 0.03);
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(212, 168, 87, 0.10);
    border-color: rgba(212, 168, 87, 0.2);
}

.content-wall-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.content-wall-item:hover img {
    transform: scale(1.04);
}

.content-wall-body {
    padding: 22px 24px 26px;
}

.content-wall-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2d2824;
}

.content-wall-body p {
    font-size: 0.9rem;
    opacity: 0.6;
    color: #5a524a;
}

/* --- FAQ — 折叠雅扇 --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(229, 221, 212, 0.6);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(45, 40, 36, 0.02);
}

.faq-item:hover {
    border-color: rgba(212, 168, 87, 0.25);
    box-shadow: 0 4px 20px rgba(212, 168, 87, 0.06);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2d2824;
    transition: color 0.3s;
}

.faq-item .faq-question::after {
    content: '⌄';
    font-size: 1.3rem;
    transition: transform 0.4s;
    color: #d4a857;
    opacity: 0.5;
}

.faq-item.open .faq-question::after {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    display: none;
    opacity: 0.65;
    line-height: 1.7;
    color: #5a524a;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    display: block;
    animation: faqFade 0.4s ease;
}

@keyframes faqFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 0.65; transform: translateY(0); }
}

.faq-item.open {
    border-color: rgba(212, 168, 87, 0.3);
    background: rgba(212, 168, 87, 0.03);
}

/* --- CTA 横幅 — 暖金邀约 --- */
.cta-banner {
    padding: 64px 32px;
    text-align: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #d4a857, #e8947a, #7ab8b0);
    box-shadow: 0 20px 60px rgba(212, 168, 87, 0.20);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: ctaShimmer 8s infinite linear;
}

@keyframes ctaShimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    font-size: 1.05rem;
    position: relative;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #d4a857;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    position: relative;
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* --- 页脚 — 暖调收束 --- */
.site-footer {
    padding: 60px 0 28px;
    background: #f0e9e0;
    border-top: 1px solid rgba(229, 221, 212, 0.4);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand .logo {
    font-size: 1.1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.7;
    color: #5a524a;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
    color: #2d2824;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #5a524a;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-col ul a:hover {
    opacity: 1;
    color: #d4a857;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(229, 221, 212, 0.4);
    margin-top: 40px;
    padding-top: 22px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    color: #5a524a;
    letter-spacing: 0.5px;
}

/* --- 工具类 --- */
.text-accent {
    color: #d4a857;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.6;
    color: #5a524a;
    line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --- 响应式设计 --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block .feature-image {
        order: -1;
    }

    .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: 64px;
        left: 0;
        width: 100%;
        background: rgba(248, 244, 239, 0.98);
        backdrop-filter: blur(18px);
        padding: 24px 32px;
        gap: 18px;
        border-bottom: 1px solid rgba(212, 168, 87, 0.12);
        box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    }

    .hero {
        min-height: 60vh;
        padding-top: 64px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-item::after {
        display: none;
    }

    .cta-banner {
        padding: 44px 24px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

@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;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 18px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* --- 精选装饰补充 --- */

/* 装饰性分割线 */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a857, #e8947a);
    border-radius: 4px;
    margin: 0 auto 24px;
}

/* 选中文本高亮 */
::selection {
    background: rgba(212, 168, 87, 0.25);
    color: #2d2824;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0e9e0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a857, #e8947a);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c99a4a, #d8846a);
}

/* 焦点状态 */
*:focus-visible {
    outline: 2px solid #d4a857;
    outline-offset: 3px;
    border-radius: 4px;
}

/* 按钮禁用状态 */
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

/* 图片加载占位 */
img {
    background: #f0e9e0;
    color: transparent;
}