
:root {
    --main-color: #FF3366;
    --accent-color: #00CCFF;
    --dark-bg: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', sans-serif;
}

body {
    color: white;
}

/* 直播主容器 */
.live-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

/* 视频播放区 */
.video-section {
    position: relative;
    background: black;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

#liveVideo {
    width: 100%;
    height: 725px;
  
}

/* 主播信息卡 */
.anchor-card {
    background: rgb(0 0 0 / 23%);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.anchor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.anchor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
}

/* 礼物面板 */
.gift-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

.gift-item {
    background: rgb(68 68 68 / 40%);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.gift-item:hover {
    transform: scale(1.05);
}

/* 留言区 */
.comment-section {
    height: 400px;
    overflow-y: auto;
    background: rgb(255 255 255 / 40%);
    border-radius: 12px;
    padding: 1rem;
}

.comment-item {
    background: rgb(0 0 0 / 25%);
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
