/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* 背景层：固定全屏、层级最低、全局滚动 */
.bg-scroll-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    background: url(../img/bg.jpg) repeat-x;
    background-size: auto 100%;
    animation: globalBgMove 90s linear infinite;
}

/* 背景滚动关键帧 */
@keyframes globalBgMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -10000px 0;
    }
}

/* 页面基础布局 */
html {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Microsoft Yahei", sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: transparent;
}

/* 内容区域自适应，保证底部贴底 */
.container {
    flex: 1;
}

/* 顶部头部 */
.header {
    width: 1400px;
    margin: 10px auto 0;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e63946;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 5px;
}

#search-input {
    width: 350px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.search-btn {
    height: 36px;
    padding: 0 20px;
    background-color: #2266cc;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.search-btn:hover {
    background-color: #1a55aa;
}

/* 主导航 + 下拉菜单 */
.main-nav {
    width: 1400px;
    margin: 10px auto;
    position: relative;
    z-index: 999;
}

.nav-wrap {
    display: flex;
    background-color: #222;
}

.nav-item {
    position: relative;
    flex: 1;
    text-align: center;
}

.nav-item > a {
    display: block;
    line-height: 45px;
    color: #fff;
    font-size: 15px;
}

.nav-item:hover > a {
    background-color: #e63946;
}

.dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
    z-index: 99999;
}

.nav-item:hover .dropdown {
    display: block;
}

.drop-title {
    padding: 8px 10px;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.dropdown a {
    display: block;
    padding: 7px 10px;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.dropdown a:hover {
    background-color: #f8f8f8;
    color: #e63946;
}

/* 主体内容 */
.container {
    width: 1400px;
    margin: 15px auto;
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.main-content {
    width: 820px;
}

.sidebar {
    width: 560px;
}


.module {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.module-title {
    font-size: 18px;
    border-left: 4px solid #e63946;
    padding-left: 10px;
    margin-bottom: 12px;
}

.game-hot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.game-link {
    color: #2266cc;
    padding: 4px 8px;
    background-color: #f0f7ff;
    border-radius: 3px;
}

.game-link:hover {
    background-color: #2266cc;
    color: #fff;
}

.game-all-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.game-all-list a {
    color: #333;
    padding: 3px 6px;
}

.game-all-list a:hover {
    color: #e63946;
    text-decoration: underline;
}

.year-nav a {
    display: inline-block;
    margin-right: 15px;
    color: #2266cc;
}

.year-nav a:hover {
    color: #e63946;
}

.news-list li, .strategy-list li {
    line-height: 2.2;
    border-bottom: 1px dotted #eee;
}

.news-list a, .strategy-list a {
    color: #333;
}

.news-list a:hover, .strategy-list a:hover {
    color: #2266cc;
}

/* 侧边栏 */
.side-module {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.side-module h2 {
  font-size: 22px;
  color: #a83232;
  margin-bottom: 15px;
  border-left: 6px solid #a83232;
  padding-left: 10px;
}

.side-title {
    font-size: 16px;
	 /* 清除h3自带上下外边距，对齐核心 */
	margin: 0;
	/* 按需控制文字垂直居中，和下拉框高度匹配 */
	line-height: 32px;
	/* 你原有标题样式保留不变 */
	
	padding-left: 10px;
	color: #e63946;
}

.rank-list li {
    line-height: 2.1;
}

.rank-list a {
    color: #333;
}

.rank-list a:hover {
    color: #e63946;
}

.sale-list p {
    line-height: 2;
    color: #555;
}

/* 页脚 */
.footer {
    width: 1400px;
    margin: 20px auto 0;
    text-align: center;
    padding: 20px 0;
    background-color: #222;
    color: #aaa;
    position: relative;
    z-index: 2;
}

.footer a {
    color: #ccc;
    margin: 0 10px;
}

.footer a:hover {
    color: #fff;
}

/* 右侧固定按钮 - 泡泡样式（和左侧统一） */
.fixed-buttons {
  position: fixed;
  left: 50%;
  transform: translate(300px, 0);
  bottom: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fixed-buttons a {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  animation: floatBubble 3s ease-in-out infinite;
}

.fixed-buttons a:nth-child(1) { animation-delay: 0.2s; }
.fixed-buttons a:nth-child(2) { animation-delay: 0.6s; }

.fixed-buttons a:hover {
  transform: scale(1.1);
  background: rgba(168, 50, 50, 0.75);
  box-shadow: 0 6px 16px rgba(168,50,50,0.35);
  color: #fff;
}

q {
    color: red;
    font-size: 12px;
    font-style: normal;
    quotes: none;
}

/* 日历专用样式，粘贴到head里 */
.cal {
    border-collapse: collapse;
    width: 100%;
}
.l {
    text-align: right;
}
.sen1 {
    padding: 2px 6px;
    border:1px solid #ccc;
}
.sen2 {
    padding: 2px 6px;
    border:1px solid #ccc;
    background-color: #f0f8ff; /* 序系列高亮底色，可自定义 */
}
#calendar table {
    margin: 8px 0;
}
#calendar caption {
    font-weight: bold;
    font-size: 16px;
    margin-bottom:4px;
}