.brand-card {
    background-color: #ffffff;
    margin: -30px 15px 15px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.brand-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-logo span {
    background: linear-gradient(90deg, #ff9ff3, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
    font-weight: 600;
    margin-left: 2px;
    letter-spacing: 2px;
}

.brand-desc {
    font-size: 12px;
    color: #565656;
    line-height: 1.6;
    text-align: right;
    max-width: 200px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.nav-item a {
    display: block;
    text-decoration: none;
    text-align: center;
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    border-radius: 8px;
}

.nav-icon.product {
    background-color: #e8f5e9;
}

.nav-icon.product svg {
    width: 22px;
    height: 22px;
    fill: #4caf50;
}

.nav-icon.new {
    background-color: #e3f2fd;
    position: relative;
}

.nav-icon.new .new-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.nav-icon.new svg {
    width: 22px;
    height: 22px;
    fill: #1e88e5;
}

.nav-icon.custom {
    background-image: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.nav-icon.custom svg {
    width: 22px;
    height: 22px;
    /* fill: url(#gradient-icon); */
}

.nav-icon.lib {
    background-color: #e8f5e9;
}

.nav-icon.lib svg {
    width: 22px;
    height: 22px;
    fill: #4caf50;
}

.nav-text {
    font-size: 12px;
    color: #333;
}

.section-title {
    padding: 0 15px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.video-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.video-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.video-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    border-radius: 4px;
}

.video-image::after {
    content: 'GOLD·KEY';
    position: absolute;
    top: 13px;
    left: 15px;
    font-size: 10px;
    color: white;
    font-weight: 600;
}

.video-image .img-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-image .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.8), rgba(254, 202, 87, 0.8), rgba(72, 219, 251, 0.8));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-duration {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 768px;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item.active .nav-icon-bottom {
    /* fill: url(#gradient-icon); */
}

.bottom-nav-item.active .nav-text-bottom {
    background: linear-gradient(90deg, #008d1f, #966600, #008d1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bottom-nav-item:nth-child(1).active .nav-icon-bottom {
    fill: #4caf50;
}

.bottom-nav-item:nth-child(1).active .nav-text-bottom {
    color: #4caf50;
    background: none;
    -webkit-text-fill-color: #4caf50;
}

.bottom-nav-item:nth-child(2).active .nav-icon-bottom {
    fill: #1e88e5;
}

.bottom-nav-item:nth-child(2).active .nav-text-bottom {
    color: #1e88e5;
    background: none;
    -webkit-text-fill-color: #1e88e5;
}

.bottom-nav-item:nth-child(4).active .nav-icon-bottom {
    fill: #9c27b0;
}

.bottom-nav-item:nth-child(4).active .nav-text-bottom {
    color: #9c27b0;
    background: none;
    -webkit-text-fill-color: #9c27b0;
}

.nav-icon-bottom {
    width: 24px;
    height: 24px;
    fill: #999;
    transition: fill 0.3s;
}

.nav-text-bottom {
    font-size: 11px;
    color: #999;
    transition: color 0.3s;
}


.float-btn.chat {
    bottom: 100px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb);
}

.float-btn.chat svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.float-btn.top {
    bottom: 160px;
    background: linear-gradient(135deg, #48dbfb, #feca57, #ff6b6b);
}

.float-btn.top svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.loading-more {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

.loading-more .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff6b6b;
    border-right: 2px solid #feca57;
    border-bottom: 2px solid #48dbfb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-more-data {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}
