/* ===== 超现代深色主题 - 彻底改变模板风格 ===== */

/* 整体背景 - 深色系 */
body { 
    background: linear-gradient(135deg, #0F1419 0%, #1a1f2e 50%, #0d0f14 100%) !important; 
    color: #2e2eb8;
    min-height: 100vh;
}
/* 头部导航 - 深蓝渐变 */
.stui-header__top { 
    background: linear-gradient(135deg, #1a3300 0%, #68cc00 100%) !important; 
    border-top: 5px solid #2e2eb8 !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
}

.stui-header__menu li a { 
    color: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stui-header__menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #EC4899;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stui-header__menu li a:hover::after {
    width: 100%;
}

.stui-header__menu li.active a { 
    background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%) !important; 
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* 视频卡片 - 高级毛玻璃卡片 */
.stui-vodlist__box {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.8) 0%, rgba(40, 30, 50, 0.8) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px !important;
    padding: 0 !important;
    backdrop-filter: blur(10px);
}

.stui-vodlist__box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.4);
    border-color: rgba(236, 72, 153, 0.5);
}

.stui-vodlist__thumb {
    padding-top: 66.67% !important;
    border-radius: 16px !important;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stui-vodlist__thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(139, 92, 246, 0.3) 100%);
    pointer-events: none;
}

.stui-vodlist__detail {
    padding: 16px !important;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.6) 0%, rgba(40, 30, 50, 0.6) 100%);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
}

.stui-vodlist__detail .title {
    color: #FFFFFF !important;
    font-weight: 700;
    line-height: 1.5;
    font-size: 15px;
}

.stui-vodlist__detail .text {
    color: #D0D0E0 !important;
    font-size: 12px;
}

/* 标签和按钮 */
.pic-text {
    background: linear-gradient(135deg,rgba(46, 46, 184, 0.8) 0%, rgba(92, 92, 220, 0.8) 100%) !important;
    color: #fff !important;
    font-weight: 600;
}

/* 面板背景 */
.stui-pannel-bg {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.7) 0%, rgba(40, 30, 50, 0.7) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* 分类标签 */
.stui-screen__list li.active a,
.tag-type li.active a,
.nav-head > li.active > a {
    background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%) !important;
    color: #fff !important;
    border-color: #EC4899 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* 主要按钮 */
.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%) !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* 链接颜色 */
a:hover {
    color: #D1D5DB !important;
}

/* 分割线 */
.split-line { 
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.5), transparent) !important; 
}

.bottom-line:after,
.top-line:before {
    border-color: rgba(236, 72, 153, 0.3) !important;
}

/* 手机端调整 */
@media (max-width: 767px) {
    .stui-vodlist__detail .title {
        font-size: 13px !important;
    }
    .stui-vodlist__detail .text {
        font-size: 12px !important;
    }
}

/* ===== 图标导航样式 - 彩色卡片 ===== */
.icon-nav {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    margin: 8px auto 0;
    max-width: 1360px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.icon-item {
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    color: #F0F0F0;
    display: grid;
    grid-template-rows: 48px auto;
    justify-items: center;
    overflow: hidden;
    padding: 8px 6px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-item:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-color: #EC4899;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.2);
}

.icon-img {
    border-radius: 8px;
    display: block;
    height: 40px;
    object-fit: cover;
    width: 40px;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.icon-name {
    font-size: 12px;
    line-height: 1.1;
    margin-top: 6px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

/* ===== 站点网格样式 - 炫彩网格 ===== */
.site-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(8, 1fr);
    margin: 12px auto;
    max-width: 1380px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.site-item {
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 14px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 70px;
    padding: 12px 10px;
    text-decoration: none;
    width: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.site-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-item:hover {
    background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%);
    border-color: #EC4899;
    color: #FFFFFF;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.35);
}

.site-item:hover::before {
    opacity: 1;
}

.site-name {
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== 热门关键词样式 - 霓虹标签 ===== */
.hot-keys {
    border-top: 2px solid rgba(236, 72, 153, 0.3);
    margin: 16px auto 0;
    max-width: 1380px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.hot-wrap {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}

.hot-chip {
    align-items: center;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 20px;
    color: #fff;
    display: flex;
    height: 32px;
    justify-content: center;
    overflow: hidden;
    padding: 0 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* 炫彩多色效果 - 霓虹渐变 */
.hot-chip:nth-child(1) { background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%); box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4); }
.hot-chip:nth-child(2) { background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
.hot-chip:nth-child(3) { background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4); }
.hot-chip:nth-child(4) { background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
.hot-chip:nth-child(5) { background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.hot-chip:nth-child(6) { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); }
.hot-chip:nth-child(7) { background: linear-gradient(135deg, #D946EF 0%, #C026D3 100%); box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4); }
.hot-chip:nth-child(8) { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.hot-chip:nth-child(9) { background: linear-gradient(135deg, #84CC16 0%, #65A30D 100%); box-shadow: 0 4px 15px rgba(132, 204, 22, 0.4); }
.hot-chip:nth-child(10) { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
.hot-chip:nth-child(n+11) { background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }

.hot-chip:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px currentColor;
    border-color: #FFFFFF;
}

/* ===== 响应式设计 - 平板 ===== */
@media (max-width: 960px) {
    .icon-nav {
        gap: 6px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    
    .icon-item {
        grid-template-rows: 40px auto;
        padding: 6px 3px;
    }
    
    .icon-img {
        height: 32px;
        width: 32px;
    }
    
    .site-grid {
        gap: 8px;
        grid-template-columns: repeat(6, 1fr);
        padding: 10px;
        margin: 10px auto;
    }
    
    .site-item {
        min-height: 56px;
        padding: 8px 6px;
        gap: 5px;
    }
    
    .site-name {
        font-size: 10px;
    }
    
    .hot-keys {
        padding: 10px;
        margin: 10px auto 0;
    }
    
    .hot-wrap {
        gap: 5px;
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    }
    
    .hot-chip {
        height: 24px;
        font-size: 9px;
        padding: 0 8px;
    }
}

/* ===== 响应式设计 - 平板竖屏 ===== */
@media (max-width: 768px) {
    .icon-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .site-grid {
        gap: 8px;
        grid-template-columns: repeat(5, 1fr);
        padding: 6px;
        margin: 6px auto;
    }
    
    .site-item {
        min-height: 52px;
        padding: 8px 4px;
        gap: 4px;
    }
    
    .site-name {
        font-size: 10px;
    }
    
    .hot-keys {
        padding: 10px;
        margin: 10px auto 0;
    }
    
    .hot-wrap {
        gap: 5px;
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .hot-chip {
        height: 22px;
        font-size: 8px;
        padding: 0 6px;
    }
}

/* ===== 响应式设计 - 手机 ===== */
@media (max-width: 480px) {
    .icon-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .site-grid {
        gap: 6px;
        grid-template-columns: repeat(4, 1fr);
        padding: 4px;
        margin: 4px auto;
    }
    
    .site-item {
        min-height: 20px;
        padding: 6px 3px;
        gap: 3px;
    }
    
    .site-name {
        font-size: 9px;
    }
    
    .hot-keys {
        padding: 8px;
        margin: 8px auto 0;
    }
    
    .hot-wrap {
        gap: 4px;
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    }
    
    .hot-chip {
        height: 20px;
        font-size: 7px;
        padding: 0 5px;
    }
}
.grid-container { display: grid; grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto; padding: 2px;}.grid-item { background-color: #FFCCCC; padding: 5px; font-size: 14px; text-align: center; margin: 1px; border-radius: 10px;}.grid-item a {text-decoration:none;color: #eba4a4;}}@media only screen and (max-width: 1400px) {.grid-item { font-size: 16px;}.grid-container { grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto;}}@media only screen and (max-width: 500px) {.grid-item { font-size: 14px;}.grid-container { grid-template-columns: auto auto auto auto auto auto auto auto;}}