/* ============================================
   樱花动漫官方正版官网 — 主样式
   主题：樱花粉 #ff6b9d + 樱花紫 #c084fc
   风格：日系动漫·简约优雅·深夜蓝黑
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* 樱花粉主色 */
    --pink:         #ff6b9d;
    --pink-light:   #ffb3d1;
    --pink-pale:    #fff0f7;
    --pink-dark:    #e8457a;
    /* 樱花紫辅色 */
    --purple:       #c084fc;
    --purple-dark:  #9333ea;
    --purple-pale:  #faf5ff;
    /* 渐变 */
    --grad-main:    linear-gradient(135deg, #ff6b9d, #c084fc);
    --grad-soft:    linear-gradient(135deg, #fff0f7, #faf5ff);
    /* 文字 */
    --text:         #1a1025;
    --text-mid:     #4a3a55;
    --text-light:   #9a8aaa;
    /* 背景 */
    --bg:           #fdf8ff;
    --bg-card:      #ffffff;
    --bg-dark:      #0d0818;
    --bg-dark2:     #150d22;
    --bg-soft:      #f5eeff;
    /* 边框 */
    --border:       #eeddf8;
    /* 阴影 */
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
    --shadow:       0 4px 16px rgba(0,0,0,0.08);
    --shadow-md:    0 8px 28px rgba(0,0,0,0.12);
    --shadow-pink:  0 4px 16px rgba(255,107,157,0.28);
    --shadow-pur:   0 4px 16px rgba(192,132,252,0.25);
    /* 圆角 */
    --r:    12px;
    --r-sm: 7px;
    --r-xs: 4px;
    /* 动画 */
    --ease: 0.22s ease;
    /* 字体 */
    --font: 'PingFang SC','Microsoft YaHei',Arial,sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.loaded { opacity: 1; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--pink); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   顶部通知栏
============================================ */
.topbar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,107,157,0.15);
}
.topbar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.topbar-left { color: rgba(255,255,255,0.48); }
.topbar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.topbar-right a { color: rgba(255,255,255,0.42); transition: color var(--ease); }
.topbar-right a:hover { color: var(--pink-light); }
.topbar-right .divider { color: rgba(255,255,255,0.16); }

/* ============================================
   Header
============================================ */
.header {
    background: var(--bg-dark2);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,107,157,0.12);
}
.header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    padding: 11px 0;
    min-height: 64px;
}

/* Logo */
.logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.logo-text {
    font-size: 19px;
    font-weight: 900;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    line-height: 1.2;
    white-space: nowrap;
}
.logo-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* 搜索 */
.search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.search-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,107,157,0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.search-box:focus-within {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255,107,157,0.14);
    background: rgba(255,255,255,0.09);
}
.search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: var(--font);
}
.search-input::placeholder { color: rgba(255,255,255,0.28); }
.search-btn {
    flex-shrink: 0;
    background: var(--grad-main);
    border: none;
    padding: 9px 18px;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    transition: opacity var(--ease);
    white-space: nowrap;
}
.search-btn:hover { opacity: 0.88; }

.search-hot {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    flex-wrap: nowrap;
}
.search-hot span {
    font-size: 11px;
    color: rgba(255,255,255,0.26);
    flex-shrink: 0;
}
.search-hot a {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    padding: 2px 8px;
    background: rgba(255,107,157,0.1);
    border-radius: 50px;
    white-space: nowrap;
    transition: all var(--ease);
    flex-shrink: 0;
}
.search-hot a:hover { background: var(--pink); color: white; }

/* VIP按钮 */
.header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.btn-vip {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: linear-gradient(135deg,#f59e0b,#f97316);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-vip:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

/* 汉堡 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: all var(--ease);
}

/* ============================================
   主导航
============================================ */
.main-nav {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,107,157,0.1);
    position: sticky;
    top: 64px;
    z-index: 190;
}
.nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item {
    position: relative;
    flex-shrink: 0;
    display: block !important;
    width: auto !important;
}
.nav-item > a {
    display: block !important;
    padding: 11px 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.58);
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.nav-item > a:hover,
.nav-item.active > a {
    color: #ffffff;
    border-bottom-color: var(--pink);
    background: rgba(255,107,157,0.07);
}

/* APP下载高亮 */
.nav-highlight > a {
    color: var(--pink-light) !important;
    font-weight: 700;
}
.nav-highlight > a:hover {
    color: white !important;
    background: var(--pink) !important;
    border-bottom-color: transparent !important;
}

/* 下拉菜单 */
.drop-menu {
    display: none;
    position: absolute !important;
    top: 100%;
    left: 0;
    background: var(--bg-dark2);
    border: 1px solid rgba(255,107,157,0.15);
    border-radius: var(--r-sm);
    min-width: 130px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.45);
    z-index: 9999;
    padding: 6px 0;
    list-style: none;
}
.has-drop:hover .drop-menu { display: block; }
.drop-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.52);
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
}
.drop-menu li a:hover {
    color: white;
    background: rgba(255,107,157,0.15);
    padding-left: 20px;
}

/* ============================================
   Banner
============================================ */
.banner-section {
    padding: 20px 0;
    background: var(--bg);
}
.banner-wrap {
    display: grid;
    grid-template-columns: 1fr 265px;
    gap: 16px;
    align-items: stretch;
}
.banner-main {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    height: 330px;
    box-shadow: var(--shadow-md);
}
.banner-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
    flex-shrink: 0;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 26px 22px;
    background: linear-gradient(transparent, rgba(13,8,24,0.82));
    color: white;
}
.slide-tag {
    display: inline-block;
    background: var(--grad-main);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 9px;
    letter-spacing: 0.5px;
}
.slide-info h2 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 7px;
    line-height: 1.35;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.slide-info p {
    font-size: 13px;
    opacity: 0.78;
    margin-bottom: 13px;
}
.slide-btn {
    display: inline-block;
    background: var(--grad-main);
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all var(--ease);
    text-decoration: none;
    box-shadow: var(--shadow-pink);
}
.slide-btn:hover {
    opacity: 0.88;
    color: white;
    transform: translateY(-1px);
}
.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13,8,24,0.5);
    color: white;
    border: 1px solid rgba(255,107,157,0.25);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
}
.slide-prev:hover, .slide-next:hover {
    background: var(--pink);
    border-color: var(--pink);
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-dots {
    position: absolute;
    bottom: 12px; right: 16px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    z-index: 10;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    cursor: pointer;
    transition: all var(--ease);
}
.dot.active {
    background: var(--pink);
    width: 20px;
    border-radius: 3px;
}

/* 侧边栏 */
.banner-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.side-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-mid);
    padding-bottom: 5px;
    border-bottom: 2px solid var(--pink);
    display: inline-block;
    margin-bottom: 2px;
}
.side-card {
    flex: 1;
    position: relative;
    border-radius: var(--r-sm);
    overflow: hidden;
    display: block;
    min-height: 0;
    transition: transform var(--ease), box-shadow var(--ease);
    box-shadow: var(--shadow-sm);
}
.side-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.side-card img { width: 100%; height: 100%; object-fit: cover; }
.side-mask {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(13,8,24,0.72));
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.side-mask p { font-size: 12px; color: white; font-weight: 600; }
.badge {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.badge.hot  { background: #ef4444; color: white; }
.badge.new  { background: var(--pink); color: white; }
.badge.vip  { background: linear-gradient(135deg,#f59e0b,#f97316); color: white; }
.badge.live { background: var(--purple); color: white; }

/* ============================================
   分类快捷入口
============================================ */
.cat-section {
    padding: 14px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.cat-grid {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 2px;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform var(--ease);
    text-decoration: none;
    min-width: 68px;
}
.cat-item:hover { transform: translateY(-3px); }
.cat-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--ease);
}
.cat-item:hover .cat-icon { box-shadow: var(--shadow-md); }
.cat-item span {
    font-size: 11px;
    color: var(--text-mid);
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

/* ============================================
   通用 Section
============================================ */
.section { padding: 36px 0; }
.bg-dark-soft { background: var(--bg-soft); }

.sec-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.sec-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.sec-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    padding-left: 12px;
    position: relative;
    white-space: nowrap;
    line-height: 1.3;
}
.sec-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    background: var(--grad-main);
    border-radius: 2px;
}
.sec-desc {
    font-size: 12px;
    color: var(--text-light);
    padding-left: 12px;
}
.more-link {
    margin-left: auto;
    font-size: 13px;
    color: var(--pink-dark);
    padding: 5px 14px;
    border: 1.5px solid rgba(255,107,157,0.3);
    border-radius: 50px;
    transition: all var(--ease);
    white-space: nowrap;
    text-decoration: none;
    align-self: center;
    flex-shrink: 0;
}
.more-link:hover {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

/* 筛选标签 */
.tabs {
    display: flex;
    flex-direction: row;
    gap: 6px;
    flex-wrap: wrap;
    align-self: center;
}
.tab {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-mid);
    cursor: pointer;
    transition: all var(--ease);
    font-family: var(--font);
    white-space: nowrap;
}
.tab:hover, .tab.active {
    background: var(--grad-main);
    border-color: var(--pink);
    color: white;
    box-shadow: var(--shadow-pink);
}

/* ============================================
   视频/番剧卡片
============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.vcard {
    background: var(--bg-card);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--ease);
    display: block;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.vcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,107,157,0.35);
    color: inherit;
}
.vthumb {
    position: relative;
    height: 162px;
    overflow: hidden;
    background: var(--bg-soft);
}
.vthumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.vcard:hover .vthumb img { transform: scale(1.07); }
.vplay {
    position: absolute;
    inset: 0;
    background: rgba(13,8,24,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease);
}
.vthumb:hover .vplay { opacity: 1; }
.vdur {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(13,8,24,0.75);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--r-xs);
}
/* 番剧标签 */
.vtag-hot {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(239,68,68,0.9);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--r-xs);
}
.vtag-new {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(255,107,157,0.92);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--r-xs);
}
.vtag-vip {
    position: absolute;
    top: 8px; left: 8px;
    background: linear-gradient(135deg,rgba(245,158,11,0.95),rgba(249,115,22,0.95));
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--r-xs);
}
.vinfo {
    display: flex;
    flex-direction: row;
    gap: 9px;
    padding: 11px 12px 13px;
    align-items: flex-start;
}
.vavatar {
    width: 32px; height: 32px;
    border-radius: var(--r-xs);
    flex-shrink: 0;
    border: 2px solid var(--pink-pale);
    object-fit: cover;
    display: block;
}
.vmeta { flex: 1; min-width: 0; }
.vtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: color var(--ease);
}
.vcard:hover .vtitle { color: var(--pink-dark); }
.vauthor {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.vviews { font-size: 11px; color: var(--text-light); }

/* ============================================
   双栏：排行 + 最新
============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.rank-list {
    background: var(--bg-card);
    border-radius: var(--r);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.rank-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--ease);
    text-decoration: none;
    color: inherit;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: var(--pink-pale); }
.rnum {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
    flex-shrink: 0;
}
.r1 { background: linear-gradient(135deg,#FFD700,#FFA500); color: white; box-shadow: 0 2px 8px rgba(255,165,0,0.4); }
.r2 { background: linear-gradient(135deg,#C0C0C0,#909090); color: white; }
.r3 { background: linear-gradient(135deg,#CD7F32,#A0522D); color: white; }
.rank-item img {
    width: 80px; height: 52px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    display: block;
}
.rinfo { flex: 1; min-width: 0; }
.rtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    transition: color var(--ease);
}
.rank-item:hover .rtitle { color: var(--pink-dark); }
.rmeta { font-size: 11px; color: var(--text-light); }

.new-list {
    background: var(--bg-card);
    border-radius: var(--r);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.new-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--ease);
    text-decoration: none;
    color: inherit;
}
.new-item:last-child { border-bottom: none; }
.new-item:hover { background: var(--pink-pale); }
.new-item img {
    width: 72px; height: 46px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    display: block;
}
.new-info { flex: 1; min-width: 0; }
.new-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    transition: color var(--ease);
}
.new-item:hover .new-title { color: var(--pink-dark); }
.new-meta { font-size: 11px; color: var(--text-light); }

/* ============================================
   文章区
============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.acard {
    background: var(--bg-card);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}
.acard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,107,157,0.3);
    color: inherit;
}
.acard-large {
    grid-column: span 2;
    flex-direction: row;
}
.acard-large .aimg {
    width: 40%;
    flex-shrink: 0;
    min-height: 230px;
    height: auto;
}
.aimg {
    height: 175px;
    overflow: hidden;
    flex-shrink: 0;
}
.aimg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.acard:hover .aimg img { transform: scale(1.04); }
.abody {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ameta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.atag {
    background: var(--pink-pale);
    color: var(--pink-dark);
    border: 1px solid rgba(255,107,157,0.22);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}
.adate { font-size: 12px; color: var(--text-light); margin-left: auto; }
.atitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    transition: color var(--ease);
}
.acard:hover .atitle { color: var(--pink-dark); }
.atext {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.amore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 600;
    margin-top: auto;
    text-decoration: none;
    transition: gap var(--ease);
}
.amore:hover { gap: 8px; color: var(--pink); }

/* ============================================
   页脚
============================================ */
.footer-top {
    background: var(--bg-dark);
    padding: 48px 0 36px;
    border-top: 3px solid transparent;
    border-image: var(--grad-main) 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-brand .f-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-brand .f-logo span {
    font-size: 15px;
    font-weight: 900;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.36);
    line-height: 2;
    margin-bottom: 18px;
}
.f-stats { display: flex; flex-direction: row; gap: 20px; }
.f-stat  { display: flex; flex-direction: column; gap: 2px; }
.f-stat strong {
    font-size: 16px;
    font-weight: 800;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.f-stat span { font-size: 11px; color: rgba(255,255,255,0.28); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,107,157,0.14);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.38);
    transition: all var(--ease);
    text-decoration: none;
    display: inline-block;
}
.footer-col ul li a:hover { color: var(--pink-light); padding-left: 4px; }
.footer-bottom {
    background: rgba(0,0,0,0.4);
    padding: 14px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.22);
    margin-bottom: 4px;
    line-height: 1.8;
}
.footer-bottom a { color: rgba(255,255,255,0.32); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--pink-light); }

/* ============================================
   回到顶部
============================================ */
.back-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 42px; height: 42px;
    background: var(--grad-main);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease);
    box-shadow: var(--shadow-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { opacity: 0.88; transform: translateY(-3px); }

/* ============================================
   响应式
============================================ */
@media screen and (min-width: 769px) {
    .nav-toggle { display: none !important; }
    .main-nav   { display: block !important; }
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .nav-item { display: block !important; width: auto !important; }
    .nav-item > a { display: block !important; white-space: nowrap !important; }
    .drop-menu { position: absolute !important; display: none !important; }
    .has-drop:hover .drop-menu { display: block !important; }
    .has-drop.open  .drop-menu { display: none  !important; }
}
@media screen and (max-width: 1100px) {
    .video-grid   { grid-template-columns: repeat(3, 1fr); }
    .two-col      { grid-template-columns: 1fr 300px; }
    .footer-grid  { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: span 3; }
}
@media screen and (max-width: 900px) {
    .banner-wrap  { grid-template-columns: 1fr; }
    .banner-side  { flex-direction: row; height: 90px; }
    .banner-main  { height: 270px; }
    .two-col      { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .acard-large  { flex-direction: column; grid-column: span 1; }
    .acard-large .aimg { width: 100%; min-height: 185px; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media screen and (max-width: 768px) {
    .topbar         { display: none; }
    .nav-toggle     { display: flex !important; }
    .search-wrap    { max-width: 200px; }
    .search-hot     { display: none; }
    .btn-vip span   { display: none; }
    .btn-vip        { padding: 8px 12px; }
    .logo-sub       { display: none; }
    .main-nav { display: none !important; top: 0; position: static; }
    .main-nav.open  { display: block !important; }
    .nav-list {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
    .nav-item { width: 100% !important; }
    .nav-item > a {
        padding: 12px 18px !important;
        border-bottom: 1px solid rgba(255,107,157,0.08) !important;
        border-left: none !important;
    }
    .drop-menu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: rgba(255,107,157,0.05) !important;
        padding-left: 16px !important;
    }
    .has-drop.open .drop-menu       { display: block !important; }
    .has-drop:hover .drop-menu      { display: none  !important; }
    .has-drop.open:hover .drop-menu { display: block !important; }
    .video-grid   { grid-template-columns: repeat(2, 1fr); }
    .banner-side  { display: none; }
    .sec-head     { flex-wrap: wrap; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media screen and (max-width: 480px) {
    .video-grid    { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; }
    .footer-brand  { grid-column: auto; }
    .search-wrap   { max-width: 140px; }
    .banner-main   { height: 210px; }
    .slide-info h2 { font-size: 16px; }
    .slide-info p  { display: none; }
    .section       { padding: 24px 0; }
    .logo-text     { font-size: 15px; }
    .cat-item      { min-width: 60px; }
    .cat-icon      { width: 42px; height: 42px; font-size: 20px; }
    .f-stats       { gap: 14px; }
}

