body, html {
    height: 100%;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    overflow: auto;
    height: -webkit-calc(100% - 64px);
    height: calc(100% - 64px);
}

.top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0;
    background: #FFF;
    height: 80px;
    padding: 10px;
    box-sizing: border-box;
}

.top p {
    margin: 0;
    padding: 0;
}

.game-icon {
    margin: 0 10px 10px 10px;
}

.game-right {
    width: calc(100% - 68px);
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-icon img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.game-name {
    font-size: 16px;
    color: #252525;
    font-weight: bold;
    margin-bottom: 5px;
}

.game-type, .game-one-word {
    font-size: 12px;
    color: #888;
}

.game-publicity {
    padding: 0 10px;
    background: #fff;
    margin-top: 10px;
}

.banner {
    margin: 10px 0;
    background: #FFF;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.banner img:first-child {
    margin-left: 0;
}

.banner img {
    width: 33.33333%;
    margin: 10px 0 10px 2%;
    background-size: 100% 100%;
    display: inline-block;
    border-radius: 4px;
}

.guild {
    width: 100%;
    display: flex;
    flex-direction: column;
    vertical-align: top;
    margin: 10px 0;
    background: #FFF;
    padding: 0px;
}

.guild-title {
    height: 35px;
    line-height: 35px;
    margin: 0 15px;
    background: #FFF;
    color: #252525;
    position: relative;
    font-weight: bold;
    font-size: 16px;
}

.guild-con {
    min-height: 55px;
    background: #FFF;
    margin: 0 15px;
    line-height: 25px;
    color: #666;
    font-size: 14px;
    padding: 5px 0 15px 0;
}

.footer {
    position: fixed;
    width: 100%;
    height: 64px;
    line-height: 64px;
    left: 0;
    bottom: 0;
    background: #fff;
    padding: 0 10px;
    box-sizing: border-box;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer button {
    width: 100%;
    height: 44px;
    border: 0;
    background: #22AD38;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border-radius: 10px;
    line-height: 44px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer button:hover {
    background: #1e9632;
}

.footer button:active {
    background: #1a8529;
}

.game-block {
    display: inline-block;
    margin-right: 20px;
}

.game-block button {
    width: 100px;
    height: 44px;
    border: 0;
    background: #22AD38;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border-radius: 10px;
    line-height: 44px;
    display: block;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game-block button:hover {
    background: #1e9632;
}

.game-block button:active {
    background: #1a8529;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    padding: 20px;
    line-height: 1.6;
    color: #666;
}

.modal-body p {
    margin: 10px 0;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .game-right {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .game-block {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .banner img {
        width: 48%;
        margin: 5px 1%;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
} 