/* 动态 Banner 样式 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #111;
}
.hero-banner-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.8s ease;
    z-index: 1;
}
.hero-banner-content {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
}
.hero-banner-text {
    animation: fadeInUp 1s ease forwards;
}
.hero-banner-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #fff, #00c6ff);
    -webkit-background-clip: text;
    color: transparent;
}
.hero-banner-tagline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 15px;
}
.hero-banner-tagline .hot {
    background: #ff4757;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
}
.hero-banner-info {
    font-size: 15px;
    color: #eee;
    line-height: 1.6;
}
.hero-banner-thumbs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-banner-thumb {
    width: 140px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.hero-banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-banner-thumb .label {
    position: absolute;
    bottom: 4px;
    left: 6px;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 3px #000;
}
.hero-banner-thumb .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff6b00;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}
.hero-banner-thumb.active {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0,198,255,0.6);
}
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}
/* ========== 内容布局 ========== */
.content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

/* 左侧主内容 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 模块标题 */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-title span {
    color: #aaa;
    font-size: 13px;
}

/* 推荐卡片流 */
.card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}
.anime-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}
.anime-card:hover {
    transform: scale(1.02);
}
.anime-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.card-tag.free {
    background: #00c853;
}
.card-tag.vip {
    background: #ff9500;
}
.card-info {
    padding: 10px;
    background: #222;
}
.card-title {
    font-size: 15px;
    margin-bottom: 5px;
}
.card-desc {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}
.card-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.card-tags span {
    font-size: 11px;
    color: #999;
    background: #333;
    padding: 2px 6px;
    border-radius: 3px;
}

/* 广告条 */
.ad-banner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.ad-item {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.ad-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff6b00;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
}

/* ========== 右侧边栏 ========== */
.side-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 短剧预告 */
.short-drama {
    background: #2a2035;
    border-radius: 8px;
    padding: 15px;
}
.short-drama h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.drama-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.drama-item img {
    width: 80px;
    height: 100px;
    border-radius: 4px;
    object-fit: cover;
}
.drama-info {
    flex: 1;
}
.drama-title {
    font-size: 14px;
    margin-bottom: 5px;
}
.drama-time {
    font-size: 12px;
    color: #aaa;
}
.drama-more {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin-top: 10px;
}

/* 榜单 */
.rank-box {
    background: #222;
    border-radius: 8px;
    padding: 15px;
}
.rank-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.rank-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.rank-num {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-right: 10px;
}
.rank-num.top1 { background: #ff4757; }
.rank-num.top2 { background: #ff7f50; }
.rank-num.top3 { background: #ffa502; }
.rank-name {
    flex: 1;
    font-size: 14px;
}
.rank-hot {
    font-size: 12px;
    color: #ff6b00;
}

/* 游戏入口 */
.game-entry {
    background: #222;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.game-entry h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.game-entry p {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 15px;
}
.game-btn {
    background: #444;
    padding: 8px 20px;
    border-radius: 15px;
    display: inline-block;
    font-size: 13px;
}

/* 右侧新增模块：VIP福利 */
.vip-box {
    background: #222;
    border-radius: 8px;
    padding: 15px;
}
.vip-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #ff9500;
}
.vip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}
.vip-item:last-child {
    border-bottom: none;
}
.vip-item i {
    color: #ff9500;
    font-size: 16px;
}
.vip-text {
    font-size: 13px;
    color: #ccc;
}

/* 右侧新增模块：热门标签 */
.tag-box {
    background: #222;
    border-radius: 8px;
    padding: 15px;
}
.tag-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-list span {
    background: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
}
.tag-list span:hover {
    background: #444;
}

/* 预约按钮 */
.reserve-btn {
    margin-top: 6px;
    padding: 4px 10px;
    font-size: 12px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.reserve-btn:hover {
    background: #ff8526;
}

/* 弹窗遮罩 */
.reserve-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.popup-box {
    width: 320px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
}
.popup-box h4 {
    margin: 0 0 15px;
    text-align: center;
    color: #333;
}
.popup-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.code-row {
    display: flex;
    gap: 10px;
}
.code-row input {
    flex: 1;
    margin-bottom: 12px;
}
.get-code-btn {
    white-space: nowrap;
    padding: 0 12px;
    border: none;
    background: #00c6ff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.cancel-btn, .submit-btn {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.cancel-btn {
    background: #eee;
    color: #666;
}
.submit-btn {
    background: #ff6b00;
    color: #fff;
}