/* ==========================================================================
   噗嗤游戏官方网站 - 全局样式表 (Premium Light Theme - 浅色系)
   ========================================================================== */

/* 1. 设计系统变量定义 */
:root {
    /* 核心色彩系统 (浅色系 Premium Light Theme) */
    --bg-dark: #f8fafc;        /* 优雅的极浅蓝灰背景 */
    --bg-card: #ffffff;        /* 纯白卡片背景 */
    --bg-input: #f1f5f9;       /* 浅灰输入框背景 */
    --border-color: #e2e8f0;   /* 细致柔和的分割线颜色 */
    --text-primary: #0f172a;   /* 优雅的高对比深蓝灰正文 */
    --text-secondary: #475569; /* 次级辅助灰 text */
    --text-muted: #94a3b8;     /* 禁用/微弱提示字灰 text */
    
    /* 品牌渐变与高亮 (更适合浅色系的高饱和度明亮渐变) */
    --primary: #3b82f6;        /* 精致的苹果蓝 */
    --primary-glow: rgba(59, 130, 246, 0.12);
    --secondary: #8b5cf6;      /* 高贵紫 */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --hover-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --card-glow-green: rgba(16, 185, 129, 0.15);
    
    /* 阴影与转角 */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* 微交互与过渡 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 版心与间距 */
    --site-max-width: 1200px;
    --header-height: 80px;
}

/* 2. Reset 与通用基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
    outline: none;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 3. 布局及通用组件类 (Utility Classes) */
.section-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 100px 24px;
}

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

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 按钮通用样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35), var(--shadow-glow);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(0);
}

/* 4. Site Header & 导航栏 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    /* 新增：首屏非滚动状态下提供极轻微的毛玻璃底色，确保文字在绚丽底图上100%可读 */
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: var(--site-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.logo-area:hover .logo-img {
    transform: rotate(10deg) scale(1.08);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-item {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

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

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

/* 移动端汉堡包菜单 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* 5. 首屏大轮播 (Hero Slider Section) */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    display: flex;
    align-items: center;
    padding-left: 10%;
    z-index: 1;
}

/* 新增：左右双向与垂直渐变防炫白光护盾，完美保障首屏左侧文字和顶部导航栏在鲜亮底图前的 100% 极限可读性 */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 35%, rgba(255, 255, 255, 0.15) 100%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 30%, rgba(248, 250, 252, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform var(--transition-slow) 0.2s, opacity var(--transition-slow) 0.2s;
    z-index: 2; /* 确保层级浮动在白光护盾之上 */
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 30px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* 轮播图控制箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.slider-arrow:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

/* 轮播图指示器圆点 */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 24px;
    height: 4px;
    background: rgba(15, 23, 42, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent-gradient);
    width: 48px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* 6. 游戏介绍网格板块 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.game-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04), 0 0 25px rgba(59, 130, 246, 0.08);
}

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

.game-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    background-color: #fff;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.game-card:hover .game-icon-wrapper {
    transform: scale(1.08) rotate(2deg);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    flex-grow: 1;
    z-index: 1;
}

.game-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.game-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(59, 130, 246, 0.06);
    color: var(--primary);
    border-radius: 4px;
    margin-bottom: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition-fast);
}

.game-card:hover .game-category {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

.game-detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 7. 关于我们板块 (About Us) */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-main-text {
    padding-right: 20px;
}

.about-slogan {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.about-desc-para {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-desc-para strong {
    color: var(--text-primary);
}

.about-stats-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateX(8px);
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 关于我们时间轴 (Timeline) */
.about-timeline-wrapper {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, rgba(15, 23, 42, 0.06) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    top: 25px;
    z-index: 5;
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    transform: scale(1.2);
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 8. 联系我们板块 (Contact Us) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    margin-top: 20px;
}

.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input, .form-textarea {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text-primary);
    width: 100%;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
    background-color: #fff;
}

.input-error-msg {
    font-size: 12px;
    color: #ef4444;
    display: none;
    margin-top: 4px;
}

.form-group.error .form-input, 
.form-group.error .form-textarea {
    border-color: #ef4444;
}

.form-group.error .input-error-msg {
    display: block;
}

.btn-submit {
    background: var(--accent-gradient);
    color: #fff;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.btn-submit:hover {
    background: var(--hover-gradient);
    box-shadow: var(--shadow-glow);
}

.btn-submit.submitting .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-submit.submitting .loading-spinner {
    display: block;
}

.loading-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 提交成功遮罩层 */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 10;
}

.form-success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-message-box {
    text-align: center;
    max-width: 380px;
    transform: scale(0.9);
    transition: var(--transition-smooth) 0.1s;
}

.form-success-overlay.show .success-message-box {
    transform: scale(1);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    border: 2px solid #10b981;
    color: #10b981;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.success-message-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message-box p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 地址卡片列表 (Right) */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.office-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.office-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.office-tag {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 4px;
}

.office-name {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-right: 80px;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-text.link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 9. 页脚与ICP备案合规区 */
.site-footer {
    background-color: #f1f5f9;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-slogan {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 健康游戏忠告警示区 */
.footer-warning-box {
    background-color: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-sm);
    padding: 24px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.warning-line {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.warning-line:last-child {
    margin-bottom: 0;
}

.footer-divider {
    margin-bottom: 30px;
}

/* 页脚合规双排及链接 */
.footer-compliance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-info {
    font-size: 13px;
    color: var(--text-muted);
}

.compliance-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.compliance-link {
    font-size: 13px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.compliance-link:hover {
    color: var(--primary);
}

.gongan-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.link-separator {
    color: var(--text-muted);
    font-size: 12px;
}

/* ==========================================================================
   10. 极致自适应响应式排版 (Responsive Breakpoints)
   ========================================================================== */

/* A. 宽平板与桌面以下 (1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-main-text {
        padding-right: 0;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline::after {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-dot {
        left: 22px !important;
        right: auto !important;
    }
}

/* B. 平板设备以下 (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    /* 移动端顶部菜单触发 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-item {
        font-size: 20px;
        font-weight: 600;
    }
    
    /* 移动端汉堡包变形 */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 38px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .slider-arrow.prev {
        left: 15px;
    }
    .slider-arrow.next {
        right: 15px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-slogan {
        font-size: 22px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .office-card {
        padding: 24px;
    }
    .office-name {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .footer-compliance-row {
        flex-direction: column;
        text-align: center;
    }
    .compliance-links {
        justify-content: center;
    }
}

/* C. 智能手机极窄屏 (480px) */
@media (max-width: 480px) {
    .section-container {
        padding: 60px 16px;
    }
    .hero-content {
        padding: 10px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        width: 100%;
    }
    .warning-line {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}
