/* 游戏钱包界面样式 */
.main-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.3rem;
    color: #333;
    margin: 25px 0 15px;
    padding-left: 20px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, #f44336, #ff7043);
    border-radius: 3px;
}

/* 游戏钱包容器 */
.game-wallets-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

/* 现代卡片样式 */
.game-wallet-card.modern {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeaea;
    height: 300px; /* 固定高度 */
    width: 300px; /* 固定宽度 */
    display: flex;
    flex-direction: column;
    justify-self: center; /* 在网格中居中 */
}

.game-wallet-card.modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.game-wallet-card.modern .game-wallet-header {
    height: 150px; /* 占据卡片一半高度 */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #4f6ef7, #3b5fe9);
    text-align: center;
}

.game-logo-container {
    width: 100px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-logo {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.game-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    color: white;
    background-color: orange;
}

.game-info {
    text-align: center;
    padding: 0 15px;
}

.game-name {
    color: white;
    font-size: 18px;
    margin: 5px 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.game-id {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
}

.game-wallet-card.modern .game-wallet-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1;
}

.balance-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.balance-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.game-wallet-balance {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.game-wallet-button {
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(255, 87, 34, 0.3);
    width: 80%;
    margin-top: 5px;
}

.game-wallet-button:hover {
    background-color: #f4511e;
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.4);
}

/* 表格容器 */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background-color: white;
    margin-bottom: 20px;
    margin: 0 20px 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: #f9f9f9;
}

/* 空消息样式 */
.empty-message {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
    background-color: #fafafa;
    border-radius: 8px;
}

/* 修复游戏钱包容器中的内容 */
.content-body {
    padding: 20px 0;
}

/* 清除旧有可能冲突的游戏钱包样式 */
.game-wallets {
    display: none !important; /* 强制隐藏可能冲突的容器 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-wallets-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .game-wallet-card.modern {
        margin: 0 auto;
        width: 280px; /* 小屏幕稍微缩小卡片 */
        height: 280px;
    }
    
    .section-title {
        font-size: 1.2rem;
        padding-left: 15px;
    }
    
    .section-title::before {
        height: 16px;
    }
    
    .game-wallet-balance {
        font-size: 24px;
    }
    
    .table-container {
        margin: 0 15px 20px;
    }
} 