* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #e3e3e3;
    font-size: 14px;
    line-height: 1.6;
}

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

img {
    border: 0;
}

/* 主容器 */
.content {
    width: 1130px;
    margin: 0 auto;
}

/* 导航栏 */
.nav {
    background: #710024;
    height: 55px;
    line-height: 55px;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.nav a {
    display: inline-block;
    color: #fff;
    margin: 0 10px;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    border-radius: 5px;
    font-size: 16px;
}

.nav a.cur {
    background: #e73a03;
}

.nav input {
    margin-left: auto;
    border: none;
    border-radius: 3px;
    padding: 8px 15px;
    width: 200px;
    font-size: 14px;
}

/* 主体内容区 */
.box {
    background: #fff;
    padding: 3px;
}

/* Banner图片 */
.logo {
    width: 100%;
    height: 226px;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 226px;
    display: block;
    background: #858585;
}

/* 实名认证通知条 */
.realname-notice {
    background: linear-gradient(to right, #fff5e6, #fff);
    padding: 10px 20px;
    margin: 5px 0;
    font-size: 16px;
    text-align: center;
}

.realname-notice .highlight {
    color: #c00;
    font-weight: bold;
}

.realname-notice .notice-text {
    color: #8b0000;
    font-weight: bold;
}

.realname-notice .auth-text {
    color: #c00;
    font-weight: bold;
    font-size: 18px;
}

/* 游戏列表表格 */
.tb1 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
}

.tb1 thead tr {
    background: #c10808;
}

.tb1 th {
    color: #fff;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    border: 1px solid #620000;
    text-align: center;
    font-size: 13px;
}

.tb1 td {
    text-align: center;
    border: 1px solid #ddd;
    height: 32px;
    line-height: 32px;
    background: #fff;
    font-size: 12px;
}

.tb1 tbody tr:hover,
.tb1 tbody tr.ck {
    background: #f5eae7;
}

/* 游戏名称列 */
.w1 {
    width: 15%;
}

.w1 a {
    color: #333;
}

@keyframes newShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes softGlow {
    0%, 100% {
        text-shadow: 0 0 2px rgba(255, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    }
}

.w1 .new {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    font-style: normal;
    text-decoration: none;
    vertical-align: middle;
    letter-spacing: 1px;

    /* 流光扫光效果 */
    background: linear-gradient(90deg, #ff0000 0%, #ff0000 40%, #ffffff 50%, #ff0000 60%, #ff0000 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* 组合动画：扫光 + 柔和发光 */
    animation: newShimmer 2.5s infinite linear, softGlow 1.5s infinite ease-in-out;
}

.w1 .new::after {
    content: "NEW";
}

.w1 .hot {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    font-style: normal;
    text-decoration: none;
    vertical-align: middle;
    letter-spacing: 1px;
    color: #ff6600;
}

.w1 .hot::after {
    content: "HOT";
}

/* 版本类型列 */
.w2 {
    width: 15%;
}

.w2 s {
    text-decoration: none;
    color: #e03400;
    background: #ffe6c6;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* 游戏介绍列 */
.w3 {
    width: 25%;
    color: #666;
    font-size: 13px !important;
    line-height: 1.6;
    white-space: nowrap;
}

/* 活动介绍列 */
.w6 {
    width: 20%;
}

.w6 span {
    background: #df1600;
    color: #ffe9a8;
    padding: 1px 10px;
    border-radius: 3px;
    border: 1px solid #ffdea6;
    box-shadow: 0 0 0 1px #c00;
    font-size: 12px;
    line-height: 18px;

    /* 文字限制：单行显示，最多20个汉字 */
    display: inline-block;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    vertical-align: middle;
    margin: 0 15px;
    text-align: center;
}

/* 充值列 */
.w4 {
    width: 10%;
}

.w4 span {
    color: #333;
    cursor: default;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    display: inline;
    width: auto;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

/* 开始游戏列 */
.w5 {
    width: 15%;
}

.w5 a {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 2px 13px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 20px;
}

.w5 a:hover {
    background: #842e2e;
}

/* 弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    background: linear-gradient(135deg, #e73a03, #c10808);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.popup-close {
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: #fff;
}

.popup-body {
    padding: 30px 20px;
    text-align: center;
}

.popup-body p {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.popup-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    border-top: 1px solid #e9ecef;
}

.popup-btn {
    background: linear-gradient(135deg, #e73a03, #c10808);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(231, 58, 3, 0.3);
}

.popup-btn:hover {
    background: linear-gradient(135deg, #c10808, #e73a03);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 58, 3, 0.4);
}

/* 底部版权 */
.foot {
    text-align: center;
    padding: 20px 0;
    color: #858585;
    margin-top: 10px;
}

.foot p {
    line-height: 30px;
}

.foot a {
    color: #858585;
}