/* Steam正版账号页面独立样式 steam-page.css */
/* 头部轮播横幅 */
.banner {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #0a0a18, #160828);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://pic1.imgdb.cn/item/6a4dced41f387c02093556fc.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}
/* 文字容器统一包裹 */
/*.banner-text-wrap {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*    text-align: center;*/
/*}*/
/*.banner-title {*/
/*    font-size: 64px;*/
/*    font-weight: 900;*/
/*    color: #fff;*/
/*    margin: 0;*/
/*}*/
/*.banner-sub {*/
/*    font-size: 20px;*/
/*    color: #fff;*/
/*    margin-top: 30px;*/
/*}*/
.site-content {
	padding: 0;
}
/* 游戏容器主体 */
.game-container {
    max-width: 1230px;
    margin: 30px auto;
    padding: 0 20px;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
/* 游戏卡片 */
.game-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}
.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card-img-wrap {
    position: relative;
    height: 180px;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tag-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
}
.card-info {
    padding: 12px;
}
.game-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.game-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
/* 核心修改1：meta标签浅色圆角背景，好评⭐标签去除背景 */
.game-meta span {
    margin-right: 0;
    padding: 1px 7px;
    border-radius: 2px;
    background: #f3f4f6;
}
.game-meta span:first-child {
    background: transparent;
}
.appid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:wrap;
    gap:8px;
    /* 核心修改2：appid-row整体圆角浅色背景 */
    background: #f9fafb;
    padding: 8px 10px;
    border-radius: 6px;
}
.appid-text {
    font-size: 13px;
    color: #888;
}
.get-acc-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 5px 14px;
    border-radius: 3px;
    cursor: pointer;
    white-space:nowrap;
}
/* 分页 */
.page-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
    flex-wrap:wrap;
    align-items:center;
}
.page-wrap button {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
}
.page-wrap button.active{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}
/* 全局遮罩层 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.65);
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
    padding:15px;
}
.mask.show {
    display: flex;
}
/* 密码弹窗 */
.pwd-modal {
    width: 100%;
    max-width: 420px;
    background: #1e293b;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: white;
}
.lock-icon {
    font-size: 60px;
    color: #60a5fa;
    margin-bottom: 12px;
}
.pwd-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: #fff;
}
.pwd-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 24px;
}
.pwd-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px !important;
    border: none;
    font-size: 15px;
    margin-bottom: 16px;
}
.pwd-btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap:wrap;
}
.get-pwd-btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
}
.confirm-pwd-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
}
.cancel-pwd-btn {
    background: #444;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
}
/* 账号弹窗 */
.acc-modal {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acc-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}
.acc-item {
    margin-bottom: 14px;
}
.acc-item label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}
.acc-item input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.warn-tip {
    background: #fff9cc;
    color: #b47800;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin: 16px 0;
}
.acc-copy-row {
    display: flex;
    gap: 10px;
}
.copy-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
.copy-btn:hover{
	background: #0056FF;
}
/* 冷却弹窗 */
.cool-modal {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}
.cool-title {
    font-size: 20px;
    margin-bottom: 8px;
}
.cool-desc {
    color: #666;
    margin-bottom: 24px;
}
.know-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    cursor: pointer;
}

/* 自适应媒体查询 平板手机 */
@media screen and (max-width:1024px){
    .game-grid{
        grid-template-columns: repeat(3,1fr);
    }
    .banner-title{
        font-size:48px;
    }
}
@media screen and (max-width:768px){
    .game-grid{
        grid-template-columns: repeat(2,1fr);
        gap:16px;
    }
    .banner{
        height:200px;
    }
    .banner-title{
        font-size:36px;
    }
    .card-img-wrap{
        height:140px;
    }
    .banner-sub{
    	margin-top: 10px;
    }
}
@media screen and (max-width:480px){
    .game-grid{
        grid-template-columns: 1fr;
    }
    .banner{
        height:160px;
    }
    .banner-title{
        font-size:28px;
    }
}
.term-bar {
	display: none;
}
/* 账号弹窗复制按钮基础hover样式 */
.acc-copy-row .copy-btn {
    transition: all 0.2s ease;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
/* 鼠标悬浮背景变色 */
.acc-copy-row .copy-btn:hover {
    background: #1d4ed8;
}
/* 复制成功状态样式 */
.acc-copy-row .copy-btn.copy-success {
    background: #16a34a !important;
}
/* 按钮禁用/冷却时透明度 */
.acc-copy-row .copy-btn:active {
    opacity: 0.9;
}