/* ========================================
   蓝图游戏 - 企业官网样式
   蓝色系主题
   ======================================== */

/* CSS 变量 */
:root {
    --primary-dark: #0a1e50;
    --primary: #1a3a7a;
    --primary-light: #2a5aaa;
    --accent: #4a8aff;
    --accent-light: #6aa0ff;
    --accent-glow: rgba(74, 138, 255, 0.3);
    --bg-dark: #050d20;
    --bg-medium: #0a1530;
    --bg-light: #0f1a40;
    --text-white: #ffffff;
    --text-light: #c0d0f0;
    --text-muted: #8090b0;
    --gradient-primary: linear-gradient(135deg, #0a1e50, #1a3a7a);
    --gradient-accent: linear-gradient(135deg, #2a5aaa, #4a8aff);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: rgba(5, 13, 32, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/*.navbar.scrolled {*/
/*    background: rgba(5, 13, 32, 0.95);*/
/*    backdrop-filter: blur(20px);*/
/*    padding: 15px 0;*/
/*    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);*/
/*}*/

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -1px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* 隐藏产品图片的装饰元素 */
.product-image::before,
.product-image::after {
    display: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: all var(--transition-normal);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(5, 13, 32, 0.6) 70%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    padding-top: 80px;
    text-align: center;
}

.slide-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 138, 255, 0.2);
    border: 1px solid var(--accent);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.slide-desc {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-accent);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 30px var(--accent-glow);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========================================
   通用Section样式
   ======================================== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-number {
    color: var(--text-white);
}

.section-number {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: attr(data-text);
    position: absolute;
    left: 100%;
    top: 0;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    margin-left: 20px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin-top: 20px;
    border-radius: 2px;
}

/* ========================================
   游戏展示区
   ======================================== */
.games-section {
    background: var(--bg-medium);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.game-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(74, 138, 255, 0.3);
}

.game-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
    z-index: 1;
}

.game-card:hover .game-bg {
    transform: scale(1.1);
}

.game-card-1 .game-bg {
    background: url("https://statictx.yeargame.cn/web/yeargame/images/concept/index_game1.jpg");
    background-size: 100% 100%;
    animation: gradientShift 8s ease infinite;
}

.game-card-2 .game-bg {
    background: url("https://statictx.yeargame.cn/web/yeargame/images/concept/index_game2.jpg");
    background-size: 100% 100%;
    animation: gradientShift 8s ease infinite 2s;
}

.game-card-3 .game-bg {
    background: linear-gradient(135deg, #004d40 0%, #00695c 50%, #00897b 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite 4s;
}

.game-card-4 .game-bg {
    background: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #d32f2f 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite 6s;
}

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

/* 添加游戏图标装饰 */
/*.game-card-1 .game-bg::after,
.game-card-2 .game-bg::after, */
.game-card-3 .game-bg::after,
.game-card-4 .game-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

/*
.game-card-1 .game-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.game-card-2 .game-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}
*/
.game-card-3 .game-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.game-card-4 .game-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid rgba(255, 255, 255, 0.2);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(5, 13, 32, 0.98) 0%, rgba(5, 13, 32, 0.7) 50%, transparent 100%);
    z-index: 2;
}

.game-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.game-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin-top: 15px;
    transition: width var(--transition-normal);
}

.game-card:hover .game-line {
    width: 80px;
}

.section-more {
    text-align: right;
    margin-top: 40px;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.more-link:hover {
    color: var(--accent);
}

.more-link .arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-normal);
}

.more-link:hover .arrow {
    transform: translateX(10px);
}

/* ========================================
   公司愿景区域
   ======================================== */
.vision-section {

    background: linear-gradient(135deg, rgba(5, 10, 20, 0.95) 0%, rgba(5, 15, 35, 0.85) 40%, rgba(5, 10, 20, 0.7) 100%),
    url('https://statictx.yeargame.cn/web/yeargame/images/concept/products_top2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.vision-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vision-slogan {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.vision-highlight {
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.2;
}

.vision-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 60px;
}

.vision-stats {
    display: flex;
    gap: 100px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* ========================================
   关于我们预览 - 参考截图样式
   ======================================== */
.about-preview {
    position: relative;
    padding: 150px 0;
    background: linear-gradient(135deg, rgba(5, 10, 20, 0.95) 0%, rgba(5, 15, 35, 0.85) 50%, rgba(5, 10, 20, 0.7) 100%),
                url('https://statictx.yeargame.cn/web/yeargame/images/concept/products_top2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(5, 10, 20, 0.8) 70%);
    pointer-events: none;
}

.about-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content-wrapper {
    max-width: 500px;
}

.about-title-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.about-prefix {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin: 0;
    line-height: 1.2;
    position: relative;
}

.about-title-bg {
    color: rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.about-title-bg::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    color: rgba(255, 255, 255, 0.15);
    z-index: -1;
}

.about-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 300;
}

.about-learn-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #e74c3c;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.about-learn-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

/* ========================================
   招聘区域
   ======================================== */
.hiring-section {
    background-size: cover;
    background-position: center;
}

.hiring-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hiring-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hiring-stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 50px;
    border-radius: 15px;
    text-align: center;
}

.hiring-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-dark);
}

.hiring-label {
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: 5px;
}

.hiring-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--gradient-accent);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 30px var(--accent-glow);
}

.hiring-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    margin-bottom: 30px;
    text-align: center;
}

.footer-nav {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-nav a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-info {
    text-align: center;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.8;
}

.footer-info a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-info a:hover {
    color: var(--accent);
}

.health-notice {
    margin-top: 15px !important;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* ========================================
   子页面样式
   ======================================== */
.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* ========================================
   产品页面
   ======================================== */
.products-section {
    background: var(--bg-dark);
}

.product-card {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px;
    background: var(--bg-medium);
    border-radius: 30px;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    min-height: 350px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 16px;
    background: rgba(74, 138, 255, 0.2);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}

.product-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature {
    padding: 8px 18px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-downloads {
    display: flex;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-accent);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.download-btn .icon {
    font-size: 1.2rem;
}

/* ========================================
   关于我们页面
   ======================================== */
.about-intro {
    background: var(--bg-dark);
}

.about-intro-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-intro-text {
    flex: 1;
}

.about-intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-white);
    text-align: center;
}

.about-intro-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    text-indent: 2em;
}

.about-intro-image {
    flex: 1;
}

.image-wrapper {
    height: 450px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.centered-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-white);
}

.centered-title.light {
    color: var(--text-white);
}

/* 愿景卡片 */
.about-vision {
    background: var(--bg-medium);
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vision-card {
    padding: 50px 40px;
    background: var(--bg-light);
    border-radius: 25px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--text-white);
}

.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 发展历程 */
.about-timeline {
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    text-align: center;
}

.timeline-content {
    flex: 1;
    padding: 30px 40px;
    background: var(--bg-medium);
    border-radius: 20px;
    margin: 0 30px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 团队文化 */
.about-culture {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.culture-item {
    padding: 50px 40px;
    background: rgba(10, 30, 80, 0.6);
    border: 1px solid rgba(74, 138, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

.culture-item:hover {
    background: rgba(10, 30, 80, 0.8);
    border-color: var(--accent);
}

.culture-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 20px;
}

.culture-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.culture-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* 联系我们 */
.about-contact {
    background: var(--bg-medium);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(74, 138, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   产品页面渐变背景
   ======================================== */
.product-card:nth-child(1) .product-image {
    /*background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%) !important; */
    background: url("https://statictx.yeargame.cn/web/yeargame/images/concept/products_game1.jpg");
}

.product-card:nth-child(2) .product-image {
   /* background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%) !important; */
    background: url("https://statictx.yeargame.cn/web/yeargame/images/concept/products_game2.jpg");
}

.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, #004d40 0%, #00695c 50%, #00897b 100%) !important;
}

.product-card:nth-child(4) .product-image {
    background: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #d32f2f 100%) !important;
}

.product-card:nth-child(5) .product-image {
    background: linear-gradient(135deg, #e65100 0%, #ef6c00 50%, #f57c00 100%) !important;
}

.product-card:nth-child(6) .product-image {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%) !important;
}

/* 产品图标装饰 */
.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .vision-stats {
        gap: 60px;
    }

    .footer-links {
        gap: 50px;
    }

    .about-intro-content {
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 13, 32, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 20px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    .nav-links a::after {
        bottom: 10px;
        height: 2px;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .slide-title {
        font-size: 3.5rem;
    }

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

    .vision-stats {
        flex-direction: column;
        gap: 40px;
    }

    .product-card,
    .product-card.reverse {
        flex-direction: column;
    }

    .product-image {
        min-height: 300px;
    }

    .about-intro-content {
        flex-direction: column;
    }

    .about-preview {
        padding: 100px 0;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-title-bg::before {
        content: '年余';
    }

    .vision-cards {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-year {
        width: 60px;
        font-size: 1.2rem;
    }

    .timeline-content {
        margin: 0 0 0 20px;
    }

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .slide-content {
        padding: 0 20px;
        padding-top: 100px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .vision-highlight {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .hiring-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hiring-stat {
        padding: 20px 40px;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .product-name {
        font-size: 2rem;
    }

    .product-downloads {
        flex-direction: column;
    }

    .centered-title {
        font-size: 2rem;
    }

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

    .footer-container {
        padding: 50px 20px 20px;
    }

    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slider-controls {
        bottom: 60px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .game-card {
        height: 280px;
    }

    .product-card {
        padding: 25px;
    }

    .vision-card,
    .culture-item {
        padding: 35px 25px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-learn-btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* 延迟动画 */

/* ========================================
   自定义弹框
   ======================================== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.4s ease;
    max-width: 90%;
    width: 350px;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.modal-message {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-close-btn {
    padding: 12px 40px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 25px;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 40px;
        width: 300px;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
