@charset "utf-8";
/* wan130 风格首页模板样式 */

* { margin: 0; padding: 0; }
body { font: 14px/1.5 "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", sans-serif; color: #333; background: #fff; min-width: 1200px; }
ul, ol, li { list-style: none; }
a { color: #333; text-decoration: none; cursor: pointer; }
a:hover { color: #f60; }
img { border: 0; vertical-align: top; }
em, i { font-style: normal; }
.f-l { float: left; }
.f-r { float: right; }
.clearfix:after { content: ""; display: block; clear: both; }
.clearfix { zoom: 1; }

/* ===== 顶部工具条 ===== */
.top-bar { width: 100%; height: 32px; line-height: 32px; border-bottom: 1px solid #eee; background: #fff; }
.top-bar span, .top-bar a { font-size: 12px; height: 32px; float: left; }
.top-bar a:hover { color: #f60; }
.top-menu { width: 1200px; margin: 0 auto; position: relative; z-index: 8; }
.top-menu-fl a { margin-right: 30px; }
.top-menu-fr span, .top-menu-fr a { margin-left: 30px; }
.top-menu-fr span { color: #666; }

/* ===== 主导航 ===== */
.main-nav { width: 100%; background: #fff; border-bottom: 1px solid #e7e7e7; height: 90px; position: fixed; top: 0; left: 0; z-index: 4; transition: all .2s ease-out; }
.nav-auto { width: 1200px; margin: 0 auto; overflow: hidden; }
.logo { padding-top: 24px; width: 200px; height: 50px; }
.logo a { display: block; }
.logo a img { max-height: 60px; max-width: 200px; transition: all .2s ease-out; }
.logo h1 { font-size: 24px; line-height: 50px; color: #f60; white-space: nowrap; overflow: hidden; }
.nav { width: 940px; height: 56px; position: relative; padding-top: 23px; }
.nav li { float: left; margin-left: 30px; }
.nav li a { padding: 0 10px; line-height: 48px; font-size: 17px; display: block; position: relative; text-align: center; transition: all .2s ease-out; }
.nav li a:before { content: ""; position: absolute; bottom: 0; left: 0; width: 0; border-bottom: 4px solid #f60; transition: width .2s ease-in-out; }
.nav li a:hover:before { width: 100%; color: #f60; }
.nav li.hover a:before { width: 100%; color: #f60; }
.nav li.hover a, .nav li:hover a { color: #f60; }
/* 页面滚动后导航吸顶 */
.main-nav.nav-fixed { top: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.nav-space { width: 100%; height: 90px; }

/* ===== 轮播图 ===== */
.banner-area { width: 100%; height: 550px; overflow: hidden; position: relative; background: #1b1f27; }
.banner-area .banner { width: 100%; height: 100%; }
.banner-area .banner li img { width: 100%; height: 550px; object-fit: fill; margin: 0 auto; }
.banner-area .control { text-align: center; width: 200px; left: 50%; margin-left: -100px; position: absolute; bottom: 170px !important; z-index: 10; }
.banner-area .control .swiper-pagination-bullet { width: 14px; height: 14px; display: inline-block; background: #fff; opacity: .6; border-radius: 50%; margin: 0 8px; cursor: pointer; box-shadow: 0 0 4px rgba(0, 0, 0, .35); }
.banner-area .control .swiper-pagination-bullet-active { background: #f60; opacity: 1; }

/* ===== 主体包裹层（压住轮播图底部） ===== */
.wrapper { width: 1248px; margin: -150px auto 0; position: relative; z-index: 1; }
.con-bg1 { background: rgba(255, 255, 255, 0.3); width: 1248px; height: 150px; position: absolute; top: 0; left: 0; }
.con-bg2 { background: #fff; width: 1236px; height: 100%; position: absolute; top: 6px; left: 6px; }
.content { width: 1200px; margin: 0 auto; position: relative; padding-top: 35px; overflow: hidden; margin-bottom: 26px; }

/* ===== 登录框（悬浮在 banner 左侧） ===== */
.login-box { width: 320px; min-height: 320px; background: #fff; position: absolute; top: -360px; left: 24px; box-shadow: 0 0 8px #999; opacity: .95; z-index: 5; }
.login-prev { position: relative; min-height: 320px; }
.login-prev .input-login { position: relative; padding: 40px 26px 0; min-height: 280px; }
.login-prev .inp { height: 45px; border: 1px solid #eee; margin-top: -1px; line-height: 45px; }
.login-prev .inp span { width: 50px; height: 45px; color: #9fa3a8; text-align: right; padding-right: 20px; font-size: 13px; }
.login-prev .inp input { display: block; width: 175px; line-height: 45px; height: 45px; padding: 0 5px; border: 0; outline: 0; font-size: 14px; float: left; background: #fff; }
.login-prev .rem-forget { height: 14px; line-height: 14px; color: #9fa3a8; margin: 15px 0 20px 0; font-size: 12px; }
.login-prev .rem-forget input { vertical-align: -2px; margin-right: 2px; }
.login-prev .rem-forget a { color: #9fa3a8; float: right; }
.login-prev .rem-forget a:hover { color: #f60; }
.login-prev .submit { background: #f60; width: 100%; height: 40px; color: #fff; font-size: 16px; cursor: pointer; margin-top: 40px; border: 0; }
.login-prev .submit:hover { background: #ff7800; }
.login-prev .msg-login-reg { height: 14px; margin-top: 15px; font-size: 12px; }
.login-prev .msg-login-reg a { color: #9fa3a8; }
.login-prev .msg-login-reg a:hover { color: #f60; }
/* 登录后状态 */
.login-box .login-tal { height: 46px; line-height: 46px; text-align: center; font-size: 16px; color: #f60; border-bottom: 1px solid #eee; }
.login-box .info-top { padding: 18px 20px 6px; overflow: hidden; }
.login-box .user-info { overflow: hidden; }
.login-box .avatar { width: 72px; height: 72px; float: left; margin-right: 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 6px 1px rgba(4, 0, 0, .4); }
.login-box .avatar img { width: 72px; height: 72px; border-radius: 50%; }
.login-box .user-bars { float: left; width: 190px; padding-top: 6px; }
.login-box .user-bars p { line-height: 28px; font-size: 13px; }
.login-box .user-bars .username { max-width: 120px; height: 28px; overflow: hidden; font-size: 16px; font-weight: 600; margin-right: 5px; display: inline-block; vertical-align: top; }
.login-box .user-bars .logout { color: #9fa3a8; cursor: pointer; }
.login-box .user-bars .logout:hover { color: #f60; }
.login-box .func-btn { padding: 0 20px 8px; overflow: hidden; }
.login-box .func-btn a { display: inline-block; height: 26px; line-height: 26px; padding: 0 12px; border: 1px solid #f60; color: #f60; border-radius: 13px; font-size: 12px; }
.login-box .func-btn a:hover { background: #f60; color: #fff; }
.login-box .recent-game { padding: 6px 20px 14px; }
.login-box .recent-game .rt { font-size: 13px; color: #9fa3a8; line-height: 26px; }
.login-box .recent-game ul { max-height: 158px; overflow-y: auto; }
.login-box .recent-game li { height: 28px; line-height: 28px; font-size: 12px; border-bottom: 1px dashed #f1f1f1; overflow: hidden; }
.login-box .recent-game li a { display: block; }
.login-box .recent-game li .gamename { float: left; width: 120px; overflow: hidden; white-space: nowrap; }
.login-box .recent-game li .areaname { float: right; color: #9fa3a8; }

/* ===== 通用板块标题 ===== */
.part-public .title { height: 30px; margin-bottom: 30px; }
.part-public .title h2 { line-height: 24px; font-size: 17px; font-weight: 800; padding-left: 35px; background: url("../img/icon.png") no-repeat 0 -30px; float: left; }
.part-public .title h2.t2 { background-position: 0 -54px; }
.part-public .title h2.t3 { background-position: 0 -78px; }
.part-public .title h2.t4 { background-position: 0 -102px; }
.part-public .title h2.t5 { background-position: 0 -126px; }
.part-public .title a { float: right; font-size: 14px; line-height: 24px; }
.part-public .title a:hover { color: #f60; }

/* ===== 左右两栏 ===== */
.wrapper-left { width: 286px; }
.wrapper-right { width: 882px; }

/* ===== 开服列表 ===== */
.server-tab { float: right; }
.server-tab div { float: left; font-size: 14px; line-height: 24px; padding: 0 10px; cursor: pointer; color: #666; position: relative; }
.server-tab div:hover { color: #f60; }
.server-tab div.navb { color: #f60; font-weight: 700; }
.server-tab div.navb:after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -4px; border-bottom: 3px solid #f60; }
.server-list { position: relative; border-bottom: 1px solid #eee; margin-bottom: 45px; }
.server-list .item-name { height: 16px; line-height: 16px; margin-bottom: 16px; }
.server-list .item-name span { color: #9fa3a8; height: 14px; line-height: 14px; float: left; overflow: hidden; margin-left: 10px; font-size: 12px; }
.server-list li { height: 38px; line-height: 38px; position: relative; cursor: pointer; }
.server-list .server-td { float: left; height: 38px; overflow: hidden; margin-left: 10px; font-size: 14px; }
.server-list span.open-name { width: 112px; }
.server-list span.open-server { width: 60px; }
.server-list span.open-time { width: 84px; text-align: center; }
/* 悬停整行文字变红（沿用平台风格） */
.server-list li:hover .server-td, .server-list li:hover .server-td a { color: #f00; }
/* 悬停浮现开始游戏按钮 */
.server-list .start { display: none; height: 36px; line-height: 37px; border: 1px solid #f60; position: absolute; left: 0; top: 0; right: 0; }
.server-list li:hover .start { display: block; }
.server-list .start a { position: absolute; right: 0; top: 1px; width: 81px; background-color: #f60; color: #fff; text-align: center; font-size: 14px; }
.server-list .start a:hover { background: #ff7800; color: #fff; }

/* ===== 新闻公告 ===== */
.news-notice { height: auto; min-height: 120px; margin-bottom: 30px; }
.news-list { padding-bottom: 10px; color: #319cef; font-size: 16px; }
.news-list a { display: block; height: 30px; line-height: 30px; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #319cef; }
.news-list a:hover { color: #f60; }

/* ===== 联系客服 ===== */
.fast-way { height: auto; padding-bottom: 10px; }
.contact-service p { font-size: 13px; line-height: 32px; color: #666; }
.contact-service p a { color: #f60; }
.contact-service p a:hover { color: #ff7800; }
.contact-service .label { color: #9fa3a8; }

/* ===== 火爆游戏 ===== */
.hot-game { margin-bottom: 44px; }
/* 火爆游戏标题右侧的滚动公告：行高跟标题 h2 一致(24px)才不会上下错位。
   这里用 padding-left 而不是 margin-left —— 挨着浮动元素时 margin 会被吸收掉，实测间隙仍是 0 */
.hd-notice { overflow: hidden; height: 24px; line-height: 24px; padding-left: 20px; font-size: 17px; color: red; }
.hd-notice marquee { height: 24px; }
.hot-game ul { width: 904px; margin-left: 5px; }
.hot-game li { width: 270px; height: 300px; background: #fbfbfb; position: relative; overflow: hidden; float: left; margin-right: 22px; margin-bottom: 22px; display: inline-block; border-radius: 5px; box-shadow: 0 0 8px #999; }
.hot-game .img { width: 270px; height: 240px; overflow: hidden; display: block; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.hot-game .img img { width: 270px; height: 240px; object-fit: cover; transition: all .8s; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.hot-game li:hover img { transform: scale(1.1); }
.hot-game li .game-info { padding: 8px 16px 12px; position: relative; }
.hot-game li .game-info h3 { margin-bottom: 3px; }
.hot-game li .game-info h3 a { font-size: 17px; }
.hot-game li .game-info p { height: 18px; line-height: 18px; margin-bottom: 6px; overflow: hidden; color: #9fa3a8; }
.hot-game li .game-info .game-start { position: absolute; right: 16px; bottom: 18px; }
.hot-game li .game-info .btn { width: 90px; height: 30px; line-height: 30px; text-align: center; background: url("../img/icon2.png") no-repeat 0 -96px; color: #f60; display: block; font-size: 14px; }
.hot-game li .game-info .btn:hover { color: #ff7800; }

/* ===== 热门游戏（翻转卡片） ===== */
.popular-game ul { width: 903px; }
.popular-game li { float: left; width: 180px; height: 275px; margin: 0 45px 30px 0; position: relative; background: #fbfbfb; border-radius: 5px; box-shadow: 0 0 8px #999; overflow: hidden; }
.popular-game .img { width: 180px; height: 180px; display: block; overflow: hidden; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.popular-game .img img { width: 180px; height: 180px; border-top-left-radius: 5px; border-top-right-radius: 5px; object-fit: cover; }
.popular-game li .game-info { padding: 8px 10px 10px; position: relative; }
.popular-game li .game-info h3 { margin-bottom: 3px; }
.popular-game li .game-info h3 a { font-size: 17px; white-space: nowrap; display: inline-block; max-width: 160px; overflow: hidden; }
.popular-game li .game-info p { height: 18px; line-height: 18px; margin-bottom: 6px; overflow: hidden; color: #9fa3a8; }
.popular-game li .game-info .btn { width: 90px; height: 30px; line-height: 30px; text-align: center; background: url("../img/icon2.png") no-repeat 0 -96px; color: #f60; display: block; margin-left: auto; font-size: 14px; }
.popular-game li .game-info .btn:hover { color: #ff7800; }

/* ===== 游戏分类大区块 ===== */
.game-item { width: 1200px; margin: 0 auto; background: #fff; padding: 30px 18px; margin-bottom: 20px; }
.game-item .title { height: 24px; margin-bottom: 25px; }
.game-item .title h2 { line-height: 24px; font-size: 17px; font-weight: 800; padding-left: 35px; background: url("../img/icon2.png") no-repeat; }
.game-item .games-list { overflow: hidden; }
.game-item .games-list li { width: 270px; height: 300px; background: #fbfbfb; float: left; margin: 15px; box-shadow: 0 0 8px #999; border-radius: 5px; position: relative; overflow: hidden; }
.game-item .games-list li .img { width: 270px; height: 240px; display: block; overflow: hidden; border-top-left-radius: 5px; border-top-right-radius: 5px; position: relative; }
.game-item .games-list li .img img { width: 270px; height: 240px; object-fit: cover; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.game-item .games-list li .img::after { content: ""; position: absolute; left: -100%; top: 0; width: 30%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 100%); transform: skewX(-45deg); }
.game-item .games-list li:hover .img::after { left: 150%; transition: .6s ease; }
.game-item .games-list li .game-info { padding: 8px 16px 12px; position: relative; }
.game-item .games-list li .game-info h4 { margin-bottom: 3px; }
.game-item .games-list li .game-info h4 a { font-size: 17px; }
.game-item .games-list li .game-info p { height: 18px; line-height: 18px; margin-bottom: 6px; overflow: hidden; color: #9fa3a8; }
.game-item .games-list li .game-info .web-gift-btn { position: absolute; right: 16px; bottom: 18px; }
.game-item .games-list li .game-info .btn { width: 90px; height: 30px; line-height: 30px; text-align: center; background: url("../img/icon2.png") no-repeat 0 -96px; color: #f60; display: block; font-size: 14px; }
.game-item .games-list li .game-info .btn:hover { color: #ff7800; }

/* ===== 底部 ===== */
.footer { width: 100%; padding: 40px 0; background: #fff; }
.footer p { font-size: 12px; text-align: center; line-height: 22px; color: #666; }
.footer p.about-link { margin-bottom: 26px; }
.footer p.about-link a { display: inline-block; margin: 0 5px; font-size: 12px; }
.footer p.about-link a:hover { color: #319cef; }
.footer p.about-link span { margin: 0 5px; color: #ddd; }
.footer p.copy-right { margin-bottom: 10px; }
.footer p.hengfu { margin-top: 10px; }

/* ===== 右侧悬浮条 ===== */
.float-bar { position: fixed; bottom: 80px; right: 0; width: 50px; z-index: 100; }
.float-bar a { width: 50px; height: 50px; margin-bottom: 1px; display: block; position: relative; background: url("../img/f.png") no-repeat; }
.float-bar a.top { display: none; background-position: 0 -150px; }
.float-bar a.top:hover { background-position: -50px -150px; }
