:root {
    --bg: #0f0a1f;
    --bg-soft: #1a142f;
    --surface: #251d3d;
    --surface-hover: #2f2550;
    --text: #ffffff;
    --muted: #a898c8;
    --muted-light: #c8bae8;
    --line: #3a2f5a;
    --line-light: #4d3f70;
    --primary: #8a4fff;
    --primary-soft: rgba(138, 79, 255, 0.15);
    --secondary: #ff7ec7;
    --accent: #7ff3ff;
    --shadow: 0 14px 40px rgba(138, 79, 255, 0.25);
    --shadow-sm: 0 4px 16px rgba(138, 79, 255, 0.15);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* === 背景纹理网格 === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(138, 79, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 79, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* 滚动显现动画 */
.reveal-ready .fade-in {
    opacity: 0;
    transform: var(--reveal-up, translate3d(0, 48px, 0) scale(0.97));
    filter: blur(8px);
    transition:
        opacity 0.85s var(--ease-smooth),
        transform 0.85s var(--ease-smooth),
        filter 0.85s var(--ease-smooth);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-ready .fade-in[data-reveal="left"] {
    transform: var(--reveal-left);
}

.reveal-ready .fade-in[data-reveal="right"] {
    transform: var(--reveal-right);
}

.reveal-ready .fade-in[data-reveal="down"] {
    transform: var(--reveal-down);
}

.reveal-ready .fade-in[data-reveal="scale"] {
    transform: var(--reveal-up);
    filter: blur(12px) brightness(0.6);
}

.reveal-ready .fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) brightness(1);
}

.reveal-ready .fade-in.visible[data-reveal="scale"] {
    filter: blur(0) brightness(1);
}

.reveal-ready .fade-in[data-reveal-stagger].visible ~ .fade-in[data-reveal-stagger] {
    --reveal-delay: calc(var(--stagger-index, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready .fade-in,
    .reveal-ready .fade-in.visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* 页面首次加载的入场动画 */
@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translate3d(0, 60px, 0) scale(0.96);
        filter: blur(16px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

.hero__content {
    animation: heroEntrance 0.9s var(--ease-out-expo) 0.15s both;
}

.hero__panel {
    animation: heroEntrance 0.9s var(--ease-out-expo) 0.35s both;
}

/* 页面加载时的整体淡入效果 */
body {
    margin: 0;
    font-family: "Noto Sans SC", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    transition: opacity 0.5s ease;
}

/* 图片加载优化 */
.hero__image img,
.game-card__media img {
    opacity: 0;
    animation: fadeInImage 0.8s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

button {
    font: inherit;
    cursor: pointer;
}

[v-cloak] {
    display: none;
}

noscript .seo-content {
    display: block;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

noscript .seo-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1a1a2e;
}

noscript .seo-content h2 {
    font-size: 1.5rem;
    margin: 24px 0 12px;
    color: #1a1a2e;
}

noscript .seo-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #555;
}

noscript .seo-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

noscript .seo-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 4px;
}

noscript .seo-content a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8a4fff, #ff7ec7);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

noscript .seo-content a:hover {
    opacity: 0.9;
}

.shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 10, 31, 0.95);
    border-bottom: 1px solid rgba(58, 47, 90, 0.9);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.site-header--scrolled {
    background: rgba(15, 10, 31, 0.75); /* 稍微调低透明度，增强毛玻璃透视感 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(138, 79, 255, 0.3); /* 增强紫色的边界感 */
}

/* 添加底部流光效果 */
.site-header--scrolled::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.8;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand strong {
    font-size: 1rem;
    font-weight: 800;
}

.brand span {
    color: var(--muted);
    font-size: 0.82rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a,
.mobile-menu a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
    transition: color 0.3s ease;
}

.nav a::before,
.mobile-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav a.is-active,
.nav a:hover,
.mobile-menu a.is-active,
.mobile-menu a:hover {
    color: var(--primary);
}

.nav a.is-active::after,
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    animation: underline-grow 0.4s ease forwards;
}

.nav a:hover::before,
.mobile-menu a:hover::before {
    width: 100%;
}

@keyframes underline-grow {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    100% {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: var(--surface);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-login-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(138, 79, 255, 0.15);
}

.button,
.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before,
.menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
    animation: autoShine 6s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover::before,
.menu-button:hover::before {
    animation: autoShine 1s 1 forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button {
    padding: 12px 20px;
    border: 1px solid transparent;
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 12px 26px rgba(138, 79, 255, 0.2);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(138, 79, 255, 0.3);
}

.button:active {
    transform: translateY(0);
}

.button--soft {
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(138, 79, 255, 0.2);
}

.button--soft:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(138, 79, 255, 0.3);
}

.button--outline {
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(138, 79, 255, 0.2);
}

.button--outline:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(138, 79, 255, 0.3);
}

.menu-button:hover {
    border-color: var(--primary);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    color: var(--text);
    background: #ffffff;
}

.mobile-menu {
    display: none;
    padding: 0 0 16px;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
}

.hero {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(138, 79, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 60%, rgba(255, 126, 199, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 90%, rgba(127, 243, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(138, 79, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 126, 199, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 126, 199, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* 装饰性几何元素 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-decoration .dec-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(138, 79, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    animation: float 8s ease-in-out infinite, rotate 20s linear infinite;
}

.hero-decoration .dec-2 {
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 126, 199, 0.2);
    background: transparent;
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse, rotate 25s linear infinite reverse;
}

.hero-decoration .dec-3 {
    position: absolute;
    top: 60%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.hero-decoration .dec-4 {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(138, 79, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    animation: float 12s ease-in-out infinite, rotate 30s linear infinite;
}

.hero-decoration .dec-5 {
    position: absolute;
    bottom: 40%;
    right: 10%;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 5s ease-in-out infinite reverse, glow 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(138, 79, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(138, 79, 255, 0.6), 0 0 50px rgba(255, 126, 199, 0.3);
    }
}

@keyframes autoShine {
    0%, 80% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero__grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--line);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.hero__video:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(138, 79, 255, 0.25);
}

.hero__video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero__image img {
    border-radius: 12px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #3b82f6;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-size: clamp(4rem, 8vw, 6.5rem);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    max-width: 100%;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--secondary) 30%, var(--primary) 70%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroGradientShift 6s ease infinite;
    background-size: 200% 200%;
}

@keyframes heroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 0.92rem;
    max-width: 60ch;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero__summary {
    font-size: 0.85rem;
    max-width: 620px;
    margin: 16px 0 24px;
    padding: 14px 18px;
    color: var(--muted);
    line-height: 1.75;
    background: rgba(138, 79, 255, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.hero__actions .button {
    padding: 16px 32px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero__notes,
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero__notes {
    display: grid;
    gap: 16px;
}

.hero__notes li {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

.hero__notes li,
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    line-height: 1.75;
}

.hero__notes li::before,
.feature-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.14);
}

.service-card,
.game-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero__panel {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero__image {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

.hero__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(138, 79, 255, 0.2) 50%,
        transparent 100%
    );
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

.hero__caption {
    padding: 18px 6px 6px;
}

.hero__caption strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.hero__caption span {
    color: var(--muted);
}

.section {
    padding: 100px 0;
    position: relative;
}

/* sections之间的渐变过渡 */
.section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}

.section--soft + .section::before {
    top: -60px;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}

.section + .section--soft::before {
    top: -60px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-soft) 100%);
}

.section--soft {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.section--soft::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 80% 20%, rgba(138, 79, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255, 126, 199, 0.04) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.section-heading {
    max-width: 100%;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.section-heading--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-grid {
    position: relative;
    z-index: 1;
}

.section-heading h2,
.section-heading p {
    margin: 14px 0 0;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.service-grid {
    display: grid;
    gap: 18px;
}

/* 热门项目横向滚动 */
.game-scroll-wrapper {
    overflow: hidden;
    position: relative;
    z-index: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.game-scroll-wrapper:active {
    cursor: grabbing;
}

.game-scroll-wrapper.is-dragging {
    cursor: grabbing;
}

.game-scroll-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.game-scroll-track .game-card {
    flex: none;
    width: 320px;
    pointer-events: auto;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    padding: 36px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(37, 29, 61, 0.8) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
    background-size: 200% 100%;
    transition: left 0.6s var(--ease-out-expo);
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(138, 79, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(255, 126, 199, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(138, 79, 255, 0.2), 
        0 0 20px rgba(138, 79, 255, 0.4), /* 新增内层紫光 */
        0 0 40px rgba(255, 126, 199, 0.2); /* 新增外层粉光 */
    border-color: var(--primary);
}

.service-card:hover::before {
    left: 0;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .icon-badge {
    transform: scale(1);
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover .icon-badge {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 0 24px rgba(138, 79, 255, 0.4), 0 0 48px rgba(255, 126, 199, 0.2);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    position: relative;
    z-index: 1;
}

.service-card .feature-list {
    position: relative;
    z-index: 1;
}

.service-card .feature-list li {
    transition: all 0.3s ease;
}

.service-card:hover .feature-list li {
    transform: translateX(8px);
}

.icon-badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.service-card h3,
.game-card h3 {
    margin: 16px 0 10px;
    font-size: 1.25rem;
}

.service-card p,
.game-card p {
    margin: 0;
}

.feature-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.game-card {
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(37, 29, 61, 0.8) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(138, 79, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 126, 199, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--primary) 50%, var(--secondary) 60%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    background-size: 200% 200%;
}

/* 增强游戏卡片悬停效果 */
.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(138, 79, 255, 0.2),
        0 0 20px rgba(127, 243, 255, 0.3); /* 游戏卡片使用青色系的发光 */
    border-color: var(--accent);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover::after {
    opacity: 1;
    animation: borderShimmer 3s linear infinite;
}

@keyframes borderShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.game-card__media {
    position: relative;
    overflow: hidden;
}

.game-card__media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 10, 31, 0.6) 100%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.game-card:hover .game-card__media::after {
    opacity: 0.3;
}

.game-card__media img {
    transition: transform 0.7s var(--ease-out-expo);
    border-radius: 16px 16px 0 0;
}

.game-card:hover .game-card__media img {
    transform: scale(1.12);
}

.game-card__body {
    padding: 24px 28px 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-out-expo);
}

.game-card:hover .game-card__body {
    transform: translateY(-4px);
}

.game-card__body h3 {
    margin-top: 0;
    transition: color 0.3s ease;
}

.game-card:hover .game-card__body h3 {
    background: linear-gradient(90deg, var(--text), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-card__body p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.75;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__body p {
    transform: translateY(-2px);
}

/* 定制化服务板块样式 */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.custom-card {
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(138, 79, 255, 0.2);
    border-color: var(--primary);
}

.custom-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.15), rgba(255, 126, 199, 0.15));
    font-size: 1.4rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.custom-card:hover .custom-card__icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
}

.custom-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.custom-card:hover h3 {
    color: var(--primary);
}

.custom-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.custom-image {
    margin-top: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
}

.custom-image:hover {
    box-shadow: 0 20px 48px rgba(138, 79, 255, 0.15);
    border-color: var(--primary);
}

.custom-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-image:hover img {
    transform: scale(1.03);
}

/* 店铺实拍板块样式 */
.shop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.shop-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shop-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 56px rgba(138, 79, 255, 0.25);
    border-color: var(--primary);
}

.shop-card__media {
    position: relative;
    overflow: hidden;
}

.shop-card__media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 16px;
}

.shop-card:hover .shop-card__media img {
    transform: scale(1.1);
}

/* 二维码板块样式 */
.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.qrcode-card {
    text-align: center;
}

.qrcode-card__image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 12px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qrcode-card:hover .qrcode-card__image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(138, 79, 255, 0.25);
    border-color: var(--primary);
}

.qrcode-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.qrcode-card:hover h3 {
    color: var(--primary);
}

.qrcode-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    transform: translateX(-50%);
}

.footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    position: relative;
    z-index: 1;
}

.footer__title {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--text), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__copy {
    margin: 10px 0 0;
    max-width: 400px;
}

.footer__info p {
    margin: 0 0 12px;
    text-align: right;
}

.footer__info p:last-child {
    margin-bottom: 0;
}

.footer__icp a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s ease;
}

.footer__icp a:hover {
    color: var(--primary);
}

@media (max-width: 860px) {
    .custom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav,
    .header-phone {
        display: none;
    }

    .menu-button,
    .mobile-menu {
        display: block;
    }

    .hero__grid,
    .service-grid,
    .footer__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 72px 0 88px;
    }

    .hero__grid {
        gap: 48px;
    }

    .footer__info p {
        display: grid;
    }

    .footer__inner {
        display: grid;
    }

    .footer__info p {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 1080px);
    }

    .site-header__bar {
        min-height: 68px;
        gap: 16px;
    }

    .hero {
        padding: 64px 0 80px;
    }

    .custom-grid {
        grid-template-columns: 1fr;
    }

    .qrcode-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .qrcode-card__image {
        width: 160px;
        height: 160px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .section {
        padding: 64px 0;
    }

    .section-heading h2 {
        font-size: clamp(2.6rem, 8vw, 3.6rem);
    }

    .hero__panel,
    .service-card {
        border-radius: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .service-card {
        padding: 28px;
    }

    .game-card__body {
        padding: 16px 20px 20px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        padding: 14px 24px;
        text-align: center;
    }
}


/* === 定制全局滚动条 === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
    border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
    background: var(--line-light);
    border-radius: 999px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}