/* ============================================================
   米哈游戏官网 - 样式表
   百度SEO优化：语义化标签 + 响应式设计 + 高性能CSS
   ============================================================ */

/* ==================== CSS变量 ==================== */
:root {
    /* 主色调 */
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --primary-dark: #4a3fbb;
    --accent: #00cec9;
    --accent-light: #81ecec;

    /* 深色背景 */
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* 文字颜色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* 边框 */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(108, 92, 231, 0.3);

    /* 阴影 */
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(108, 92, 231, 0.5);

    /* 布局 */
    --container-max: 1400px;
    --container-padding: clamp(20px, 5vw, 80px);  /* 两边留白 */

    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 重置与全局 ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* 选中文字样式 */
::selection {
    background: var(--primary);
    color: #fff;
}

/* 链接重置 */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

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

/* ==================== 容器（两边留白） ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== 顶部导航 ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 26, 0);
    backdrop-filter: blur(0px);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-en {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

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

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ==================== 移动端菜单面板 ==================== */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 80px 30px 30px;
    transition: right var(--transition-slow);
    border-left: 1px solid var(--border-light);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-panel ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-panel a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.mobile-menu-panel a:hover {
    background: var(--bg-card-hover);
    color: var(--primary-light);
    padding-left: 25px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== Hero 横幅区域（图片背景） ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-darker);
}

/* 横幅背景图片 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 暗色遮罩层 - 确保文字和按钮清晰可读 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 16, 0.55) 0%,
        rgba(5, 5, 16, 0.65) 50%,
        rgba(5, 5, 16, 0.85) 100%
    );
    z-index: 1;
}

/* Hero内容 */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--container-padding);
}

.hero-title {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease forwards;
}

.title-main {
    display: block;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(108, 92, 231, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 206, 201, 0.4)); }
}

.title-sub {
    display: block;
    font-size: clamp(10px, 1.5vw, 14px);
    letter-spacing: 6px;
    color: var(--text-muted);
    margin-top: 15px;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 两个居中悬浮按钮（核心要求） ==================== */
.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-normal);
    letter-spacing: 2px;
}

/* 主按钮 - 渐变紫色 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 25px rgba(108, 92, 231, 0.5), 0 0 60px rgba(108, 92, 231, 0.2);
    animation: btnFloat 3s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 40px rgba(108, 92, 231, 0.7), 0 0 80px rgba(108, 92, 231, 0.3);
    border-color: var(--primary-light);
}

/* 次按钮 - 描边青色 */
.btn-secondary {
    background: rgba(0, 206, 201, 0.1);
    color: var(--accent-light);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 25px rgba(0, 206, 201, 0.2), 0 0 60px rgba(0, 206, 201, 0.1);
    animation: btnFloat 3s ease-in-out infinite;
    animation-delay: -1.5s;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 201, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(0, 206, 201, 0.2);
    box-shadow: 0 8px 40px rgba(0, 206, 201, 0.4), 0 0 80px rgba(0, 206, 201, 0.2);
    color: #fff;
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 20px;
    transition: transform var(--transition-normal);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-secondary:hover .btn-icon {
    transform: rotate(72deg) scale(1.2);
}

/* 向下滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 1s ease 0.6s forwards, bounce 2s ease infinite 1.6s;
    opacity: 0;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ==================== 通用区块标题 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.left {
    text-align: left;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.section-title.light {
    color: #fff;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.section-desc.light {
    color: rgba(255,255,255,0.6);
}

/* ==================== 游戏作品 ==================== */
.games-section {
    padding: 120px 0;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(108, 92, 231, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

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

.game-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.game-card-img {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

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

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--border-light);
    z-index: 2;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    justify-content: center;
}

.game-platform {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.game-card-body {
    padding: 25px;
}

.game-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.game-tags span {
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
}

/* ==================== 数据统计 ==================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 2px;
}

/* ==================== 最新动态 ==================== */
.news-section {
    padding: 120px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.news-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 10px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-accent);
}

.date-day {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.date-month {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 1px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.news-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-link {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.news-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ==================== 关于我们 ==================== */
.about-section {
    padding: 120px 0;
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 关于视觉 */
.about-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    position: absolute;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-img-1 {
    width: 80%;
    height: 70%;
    top: 5%;
    left: 0;
    z-index: 2;
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.about-img-2 {
    width: 55%;
    height: 45%;
    bottom: 5%;
    right: 0;
    z-index: 3;
    transform: rotate(4deg);
    transition: transform 0.5s ease;
}

.about-visual:hover .about-img-1 {
    transform: rotate(0deg) scale(1.02);
}

.about-visual:hover .about-img-2 {
    transform: rotate(0deg) scale(1.02);
}

.about-ring {
    position: absolute;
    border: 2px solid var(--border-accent);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.about-ring-1 {
    width: 280px;
    height: 280px;
    border-style: dashed;
}

.about-ring-2 {
    width: 380px;
    height: 380px;
    border-color: rgba(0, 206, 201, 0.2);
    animation-direction: reverse;
    animation-duration: 25s;
}

.about-ring-3 {
    width: 480px;
    height: 480px;
    border-style: dotted;
    border-color: rgba(108, 92, 231, 0.15);
    animation-duration: 30s;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== 加入我们 ==================== */
.join-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.join-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.join-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 206, 201, 0.15);
}

.join-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.join-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.join-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.join-btn {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition-normal);
}

.join-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

/* ==================== 页脚 ==================== */
.site-footer {
    padding: 60px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-contact {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

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

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 侧边导航 ==================== */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
}

.side-nav-item::after {
    content: attr(aria-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card-hover);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.side-nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    right: 20px;
}

.side-nav-item.active,
.side-nav-item:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
    transform: scale(1.3);
}

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

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

/* ==================== 滚动揭示动画 ==================== */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        height: 380px;
    }

    .about-img-1 {
        width: 75%;
        height: 55%;
    }

    .about-img-2 {
        width: 50%;
        height: 35%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 14px 40px;
        font-size: 16px;
    }

    .news-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .side-nav {
        display: none;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

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

    .about-ring-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .about-ring-2 {
        display: none;
    }

    .about-ring-1 {
        width: 200px;
        height: 200px;
    }

    .about-orb {
        width: 150px;
        height: 150px;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .site-header,
    .side-nav,
    .back-to-top,
    .scroll-indicator,
    .mobile-menu-btn {
        display: none;
    }
}
