.hero {
    padding: 200px 0 150px;
    position: relative;
    overflow: hidden;
}


.featured-live {
    width: 1000px;
    margin: 0 auto;
}

.main-live {
    width: 31%;
    margin: 0px 10px;
    float: left;
    background-color: #16213E;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.live-thumbnail {
    width: 100%;
    height: 300px;
    background-color: #000;
    position: relative;
}

.live-thumbnail img{
    width: 100%;
    height: 100%;
}

.live-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #FF6B6B;
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.viewers-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 2;
}

.live-info {
    padding: 20px;
}

.live-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.streamer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.streamer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1A1A2E;
    overflow: hidden;
    border: 2px solid #6C63FF;
}

.streamer-avatar img{
    width: 100%;
    height: 100%;
}

.streamer-avatar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="35" r="20" fill="%236C63FF" opacity="0.3"/><rect x="20" cy="60" width="60" height="40" rx="10" fill="%2316213E"/></svg>') no-repeat center;
    background-size: cover;
}

.streamer-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.streamer-info p {
    color: #A9B3CE;
    font-size: 0.9rem;
}

.live-actions {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
}

.side-lives {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-live {
    background-color: #16213E;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    gap: 15px;
    height: 145px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);;
    cursor: pointer;
}

.side-live:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.side-live-thumbnail {
    width: 40%;
    background-color: #000;
    position: relative;
}

.side-live-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect width="100" height="60" fill="%2316213E"/><circle cx="30" cy="30" r="8" fill="%236C63FF" opacity="0.3"/></svg>') no-repeat center;
    background-size: cover;
}

.side-live-info {
    width: 60%;
    padding: 15px 15px 15px 0;
    display: flex;
    flex-direction: column;
}

.side-live-title {
    font-weight: 600;
    margin-bottom: 10px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-streamer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.side-streamer-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #1A1A2E;
}

.side-streamer-avatar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="18" r="10" fill="%236C63FF" opacity="0.3"/></svg>') no-repeat center;
    background-size: cover;
}

.side-streamer-name {
    font-size: 0.85rem;
}

.side-viewers {
    font-size: 0.8rem;
    color: #A9B3CE;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(90deg, #6C63FF, #9792FF);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #9792FF;
    color: #9792FF;
}

.btn-secondary:hover {
    background-color: rgba(108, 99, 255, 0.1);
    color: white;
}

.btn-accent {
    background: linear-gradient(90deg, #FF6B6B, #FF9E7D);
}