/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD700;
    --secondary-color: #FF6B9D;
    --accent-blue: #4FC3F7;
    --accent-green: #81C784;
    --accent-purple: #BA68C8;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --bg-white: #ffffff;
    --bg-light: #F0F8FF;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "STHeiti", "WenQuanYi Micro Hei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 - 猛兽派对风格 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 18px 6px 6px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-logo-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FF6B9D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.15);
}

.nav-logo-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 60%);
    top: 5%;
    left: 10%;
    filter: blur(3px);
}

.nav-logo-pad {
    position: relative;
    width: 26px;
    height: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff6cc 0%, #ffd166 100%);
    box-shadow: inset 0 -3px 4px rgba(0, 0, 0, 0.15);
}

.nav-logo-pad::before,
.nav-logo-pad::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff8a65;
}

.nav-logo-pad::before {
    left: 6px;
    box-shadow: 6px 0 0 #ff8a65;
}

.nav-logo-pad::after {
    right: 6px;
    width: 8px;
    height: 6px;
    border-radius: 6px;
    background: #fff;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-name {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFB347 0%, #FF6B9D 50%, #FF8A65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.nav-logo-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    margin-left: auto;
    margin-right: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* 导航栏CTA按钮 */
.nav-cta-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.nav-cta-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* 主视觉区 - 游戏卡通风格 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 50%, #B0E0E6 100%);
}

.home-page .hero {
    padding-bottom: 320px;
}

/* Canvas 3D背景 - 隐藏以突出游戏风格 */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

/* 云朵装饰 */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse 300px 80px at 20% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(ellipse 400px 100px at 60% 50%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(ellipse 350px 90px at 80% 20%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 250px 70px at 40% 80%, rgba(255, 255, 255, 0.5), transparent);
    animation: cloudMove 40s linear infinite;
    z-index: 1;
}

@keyframes cloudMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

/* 粒子容器 - 改为星星和游戏元素 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: transparent;
    animation: particleFloat linear infinite;
}

.particle::before {
    content: '⭐';
    font-size: 20px;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* 游戏光环装饰 */
.glow-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.ring {
    position: absolute;
    border: 3px dashed rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-delay: 0s;
}

.ring-2 {
    width: 500px;
    height: 500px;
    margin: -250px 0 0 -250px;
    animation-delay: 5s;
}

.ring-3 {
    width: 700px;
    height: 700px;
    margin: -350px 0 0 -350px;
    animation-delay: 10s;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.2;
    }
}

/* 游戏图标装饰 */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    font-size: 60px;
    animation: floatGame 8s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.shape-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-1::before {
    content: '🎮';
}

.shape-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-2::before {
    content: '🏆';
}

.shape-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

.shape-3::before {
    content: '🎯';
}

@keyframes floatGame {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(10deg) scale(1.1);
    }
    50% {
        transform: translateY(-50px) rotate(-10deg) scale(1);
    }
    75% {
        transform: translateY(-30px) rotate(5deg) scale(1.1);
    }
}

/* 闪烁星星效果 */
.scanline {
    display: none;
}

/* 子页面头部 */
.sub-hero {
    margin-top: 70px;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #ffe29f 0%, #ffa99f 50%, #ff719a 100%);
    color: #fff;
    text-align: center;
}

.sub-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.sub-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.sub-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.sub-hero p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
}

.sub-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 20px;
}

/* 故障效果文字 */
.glitch-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 
        4px 4px 0px #FF6B9D,
        8px 8px 0px #FFD700,
        3px 3px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    font-style: italic;
}

.glitch::before,
.glitch::after {
    display: none;
}

.hero-subtitle {
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 主页游戏元素 */
.hero-game-elements {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.game-element {
    font-size: 50px;
    animation: gameElementFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    display: inline-block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.game-element:hover {
    transform: scale(1.2) rotate(15deg) translateY(-10px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 215, 0, 0.8);
}

@keyframes gameElementFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    border: 4px solid #fff;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
    font-size: 20px;
    padding: 16px 40px;
}

.btn-primary:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    color: #fff;
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    font-size: 20px;
    padding: 16px 40px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FF85A6 0%, #D55579 100%);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.6);
    transform: scale(1.08) translateY(-3px);
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 游戏截图轮播区 */
.game-screenshots {
    position: absolute;
    left: 50%;
    bottom: 100px;
    width: min(1400px, 95vw);
    z-index: 0;
    transform: translateX(-50%) rotate(-3deg);
}

.screenshots-carousel {
    position: relative;
    width: 110%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.screenshots-carousel.tilted {
    transform: rotate(-6deg);
}

.screenshots-carousel.tilted .carousel-track {
    --film-shift: 0px;
    transform: rotate(6deg) translateX(var(--film-shift));
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 0;
    width: max(1800px, 150%);
    margin-left: -25%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    flex: 0 0 auto;
    width: 360px;
    height: 240px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 12px solid #f8f4ec;
    background: linear-gradient(180deg, #fdf7ec 0%, #f0e6d3 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8), 0 20px 60px rgba(0, 0, 0, 0.25);
}

.screenshot-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 6px;
}

.screenshot-placeholder {
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.screenshot-placeholder p {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--primary-color);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.carousel-control.prev {
    left: -25px;
}

.carousel-control.next {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot:hover {
    background: rgba(255, 215, 0, 0.8);
    transform: scale(1.2);
}

.indicator-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* 首页导航卡片 */
.home-links {
    padding: 100px 0;
    background: var(--bg-white);
}

.home-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.home-link-card {
    display: block;
    padding: 30px;
    border-radius: 20px;
    background: var(--bg-light);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid transparent;
    min-height: 220px;
}

.home-link-card:hover {
    transform: translateY(-8px);
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.home-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.08);
}

.home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.home-highlight {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 157, 0.08));
}

.highlight-content {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.highlight-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

/* 游戏展示区 */
.games-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.games-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1), transparent);
    z-index: 0;
}

.games-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.game-card-large {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.game-card-large:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.game-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: var(--transition);
}

.game-card-large:hover .game-card-bg {
    transform: scale(1.1);
}

.game-card-content {
    position: relative;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.game-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.game-card-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.game-card-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.game-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--text-primary);
    background: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--text-primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots::before,
.slider-dots::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    display: block;
}

.slider-dots::before {
    background: var(--text-primary);
}

/* 游戏类型展示 */
.game-types {
    padding: 100px 0;
    background: white;
    position: relative;
}

.type-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.type-card {
    position: relative;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
}

.type-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.type-card:hover .type-card-inner {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.type-icon {
    font-size: 72px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.type-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.type-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.type-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-examples span {
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.type-examples span:hover {
    transform: translateX(5px);
    background: var(--bg-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 为每个类型卡片添加独特的强调色 */
.type-card[data-color] .type-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-color);
    border-radius: 20px 20px 0 0;
}

.type-card[data-color="#ff6b6b"] {
    --accent-color: #ff6b6b;
}

.type-card[data-color="#4ecdc4"] {
    --accent-color: #4ecdc4;
}

.type-card[data-color="#a8e6cf"] {
    --accent-color: #a8e6cf;
}

.type-card[data-color="#ffd93d"] {
    --accent-color: #ffd93d;
}

.type-card:hover .type-card-inner::before {
    height: 100%;
    opacity: 0.05;
}

/* 平台展示 */
.platforms {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(19px, 2.5vw, 24px);
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-weight: 500;
    margin-top: 25px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.platform-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e5e5e7;
    position: relative;
}

.platform-card::after {
    content: '▶';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--secondary-color);
}

.platform-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.platform-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* IAA游戏区域 */
.iaa-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.iaa-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-description {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-list li {
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-end;
    height: 300px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    animation: growUp 1s ease-out;
}

.chart-bar:hover {
    transform: scaleY(1.05);
    transform-origin: bottom;
}

@keyframes growUp {
    from {
        height: 0;
    }
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% {
        transform: scale(1.2) rotate(10deg);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    75% {
        transform: scale(1.2) rotate(5deg);
    }
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.company-intro {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.company-info {
    display: grid;
    gap: 25px;
}

.info-item {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-section p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 13px;
    margin: 5px 0;
}

/* 游戏风格光效 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.15), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 157, 0.15), transparent 40%);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* 给各区域添加游戏风格装饰 */
.games-showcase::after,
.game-types::after,
.services::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: decorFloat 5s ease-in-out infinite;
}

.games-showcase::after {
    top: 10%;
    right: 5%;
}

.game-types::after {
    bottom: 10%;
    left: 5%;
    animation-delay: 1s;
}

.services::after {
    top: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes decorFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 0.6;
    }
}

/* 为平台卡片添加科幻光效 */
.platform-card {
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.3), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* 为服务卡片添加霓虹边框 */
.service-card {
    position: relative;
    border: 1px solid transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(10px);
}

.service-card:hover::after {
    opacity: 0.5;
}

/* 统计数字发光效果 */
.stat-number {
    position: relative;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
}

/* 响应式设计 */
/* 响应式 - 游戏展示 */
@media (max-width: 1024px) {
    .games-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .type-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 轮播图响应式 */
    .game-screenshots {
        margin-top: -80px;
    }
    
    .screenshot-card {
        width: 280px;
        height: 180px;
    }
    
    .placeholder-icon {
        font-size: 48px;
    }
    
    .screenshot-placeholder p {
        font-size: 16px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
    
    /* 导航栏响应式 */
    .nav-container {
        height: 60px;
        padding: 0 20px;
    }

    .nav-logo {
        font-size: 22px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        gap: 25px;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 20px;
        padding: 15px;
        border-radius: 12px;
        background: var(--bg-light);
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .sub-hero {
        padding: 130px 0 80px;
    }

    .home-links-grid {
        grid-template-columns: 1fr;
    }

    .highlight-content {
        flex-direction: column;
        text-align: center;
    }

    .highlight-actions {
        width: 100%;
    }

    /* 游戏展示区响应式 */
    .games-slider {
        grid-template-columns: 1fr;
    }
    
    .game-card-large {
        height: 350px;
    }
    
    .type-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-controls {
        gap: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .iaa-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ring-1 {
        width: 200px;
        height: 200px;
        margin: -100px 0 0 -100px;
    }

    .ring-2 {
        width: 350px;
        height: 350px;
        margin: -175px 0 0 -175px;
    }

    .ring-3 {
        width: 500px;
        height: 500px;
        margin: -250px 0 0 -250px;
    }

    .shape {
        opacity: 0.5;
    }

    .shape-1 {
        width: 60px;
        height: 60px;
    }

    .shape-2 {
        width: 50px;
        height: 50px;
    }

    .shape-3 {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-game-elements {
        gap: 15px;
    }

    .game-element {
        font-size: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .contact-form {
        padding: 25px;
    }

    .cyber-grid {
        background-size: 30px 30px;
    }

    .ring-1, .ring-2, .ring-3 {
        display: none;
    }

    .glitch::before,
    .glitch::after {
        display: none;
    }

    .game-card-content {
        padding: 30px 20px;
    }

    .game-icon {
        font-size: 48px;
    }

    .type-icon {
        font-size: 56px;
    }
}

