/* b-lobby.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f5ebdc;
    color: #4a3c2c;
    min-height: 100vh;
    padding: 15px 10px 80px;
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

h1 {
    font-size: 22px;
    color: #5a4631;
    position: relative;
    padding-left: 12px;
    font-weight: 600;
}

h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: #b5997f;
    border-radius: 2px;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #b5997f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* 服务组样式 */
.service-group {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(90, 70, 50, 0.08);
    border: 1px solid rgba(181, 153, 127, 0.2);
}

h2 {
    font-size: 18px;
    color: #5a4631;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8dac8;
    display: flex;
    align-items: center;
    gap: 8px;
}

h2 i {
    color: #b5997f;
    font-size: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-item {
    text-align: center;
    padding: 15px 5px;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: rgba(245, 235, 220, 0.3);
    border: 1px solid rgba(181, 153, 127, 0.15);
    cursor: pointer;
}

.service-item:hover {
    background: rgba(181, 153, 127, 0.1);
    transform: translateY(-3px);
}

.service-item i {
    font-size: 28px;
    color: white;
    background: linear-gradient(135deg, #b5997f 0%, #d4c1a8 100%);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: inline-block;
}

.service-item p {
    font-size: 13px;
    color: #5a4631;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* 装饰元素 */
.decoration {
    position: absolute;
    z-index: -1;
    opacity: 0.05;
    font-size: 80px;
    color: #b5997f;
}

.decoration-1 {
    top: 10%;
    right: 5%;
}

.decoration-2 {
    bottom: 20%;
    left: 5%;
    transform: rotate(30deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .service-item {
        padding: 12px 3px;
    }
    
    .service-item i {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .service-group {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-item i {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 22px;
    }
    
    .service-item p {
        font-size: 12px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .user-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .service-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .service-item i {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 20px;
    }
    
    .service-item p {
        font-size: 11px;
    }
}