:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --bg-primary: #0f1419;
    --bg-secondary: #1a2027;
    --bg-card: #161b22;
    --text-primary: #ffffff;
    --text-secondary: #b0b6be;
    --text-muted: #7d8590;
    --border: #30363d;
    --radius: 8px;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 32px;
}

/* 头部导航 */
.header {
    background: rgba(15, 20, 25, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

.search-box {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-box input {
    background: transparent;
    border: none;
    padding: 10px 16px;
    width: 220px;
    color: var(--text-primary);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: var(--primary);
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* 主内容 */
.main {
    margin-top: 64px;
    padding: 30px 0;
}

/* 轮播区域骨架屏 */
.hero-skeleton {
    height: 450px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 16px;
    margin-bottom: 40px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* 板块标题 */
.section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.more-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.more-link:hover {
    color: var(--primary);
}

/* 影片网格 */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.movie-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.movie-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.08);
}

.movie-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.movie-score {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 193, 7, 0.95);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.movie-info {
    padding: 14px;
}

.movie-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* 合作伙伴链接 */
.partner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-links li {
    margin-bottom: 0;
}

.partner-links a {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    font-size: 12px;
}

.partner-links a:hover {
    background: rgba(255, 107, 53, 0.2);
}

/* 友情链接模块 */
.footer-links-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-links-section h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.friend-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
}

.friend-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

/* 站点地图和订阅链接 */
.footer-sitemap {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.footer-sitemap a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-sitemap a:hover {
    color: var(--primary);
}

.footer-sitemap svg {
    opacity: 0.7;
}

.footer-sitemap a:hover svg {
    opacity: 1;
}

/* 中英文版权声明 */
.copyright-cn,
.copyright-en {
    margin-bottom: 16px;
}

.copyright-cn p:first-child,
.copyright-en p:first-child {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.copyright-en {
    font-size: 12px;
    opacity: 0.8;
}

/* 返回顶部 */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* BossV Team - 新闻模块样式 (2026-01-25) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.news-grid .news-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-grid .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.news-grid .news-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-grid .news-card .news-pic {
    position: relative;
    width: 100%;
    padding-top: 56%;
    overflow: hidden;
}
.news-grid .news-card .news-pic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-grid .news-card .news-info {
    padding: 15px;
}
.news-grid .news-card .news-title {
    font-size: 14px;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
    margin: 0 0 10px;
}
.news-grid .news-card .news-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
}
.news-grid .news-card .news-category {
    color: #00d4aa;
}

/* 响应式 */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .search-box {
        display: none;
    }

    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .hero-section {
        height: 300px;
    }

    .news-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}

@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-info {
        padding: 10px;
    }

    .movie-title {
        font-size: 13px;
    }

    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 视觉隐藏样式 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 轮播区域样式 */
.hero-section {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px;
    gap: 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-poster {
    width: 280px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-meta span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

.hero-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 550px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.carousel-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: white;
    transform: scale(1.3);
}

/* 热播列表 */
.hot-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hot-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.hot-item:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.hot-rank {
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}

.hot-item:nth-child(1) .hot-rank {
    background: #ffc107;
    color: #000;
}

.hot-item:nth-child(2) .hot-rank {
    background: #adb5bd;
    color: #000;
}

.hot-item:nth-child(3) .hot-rank {
    background: #cd7f32;
    color: #fff;
}

.hot-link {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.hot-name {
    color: var(--text-primary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-link:hover .hot-name {
    color: var(--primary);
}

.hot-meta {
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 12px;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 300px;
    }

    .hero-slide {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-poster {
        width: 160px;
        height: 220px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-desc {
        max-width: none;
    }

    .hot-list {
        grid-template-columns: 1fr;
    }
}
