/* 天湖游戏园样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

/* 移除所有链接的下划线 */
a {
    text-decoration: none;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.4;
    font-size: 14px;
}

.header {
    background-color: #fff;
    padding: 0;
    text-align: center;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.banner-img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 120px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
   
}

.banner-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.banner-subtitle {
    color: #ffff99;
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.search-container {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.search-bar {
    margin: 0 auto;
    width: 90%;
    max-width: 320px;
    position: relative;
    display: flex;
    background: white;
    border-radius: 30px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.quick-login {
    margin: 10px auto;
    text-align: center;
}

.login-btn {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
}

/* 游戏网格布局 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    background-color: #eee;
}

/* 游戏项目样式 */
.game-item {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    padding: 8px;
    box-shadow: none;
    align-items: flex-start;
    margin-bottom: 0;
    position: relative;
    height: 66px;
    border-bottom: 1px solid #eee;
}

.game-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 8px;
    flex-shrink: 0;
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 50px;
    padding-right: 45px;
    position: static;
}

.game-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-meta {
    margin-bottom: 0;
}

.game-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
    line-height: 1.2;
}

/* 下载按钮样式 */
.dl-btn {
    display: block;
    background-color: #0099ff;
    color: white;
    padding: 2px 0;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    position: absolute;
    right: 8px;
    bottom: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid #0088ee;
    text-align: center;
    width: 36px;
    line-height: 18px;
    z-index: 10;
    font-weight: normal;
}

/* 横排推荐游戏样式 */
.recommend-games {
    background-color: #fff;
    padding: 12px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.recommend-label {
    font-size: 12px;
    color: #666;
    padding: 0 12px;
    margin-bottom: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.game-scroll {
    display: flex;
    overflow-x: auto;
    padding: 0 10px;
    max-width: 600px;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.game-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.recommend-item {
    flex: 0 0 auto;
    width: 62px;
    margin-right: 18px;
    text-align: center;
}

.recommend-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.recommend-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-title {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* 推荐游戏链接样式 */
.recommend-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
} 