@charset "utf-8";
/* MacCMS Conch-Style Theme - Clean Rewrite */
@import "../fonts/iconfont.css";

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body, html { width: 100%; }
body { font-size: 14px; font-family: Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.5; background: #f5f6fa; color: #333; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover { color: #ff5500; }
ul, ol, li { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
input, button, select, textarea { outline: none; font-family: inherit; font-size: inherit; border-radius: 0; -webkit-appearance: none; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Grid System */
.row { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.row > [class*="col-"] { padding: 0 6px; }
.col-2 { width: 16.666%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-12 { width: 100%; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: #999; }
.text-conch { color: #ff5500; }
.bg-conch { background: linear-gradient(90deg, #ff5500, #ff8800); }
.hidden { display: none !important; }
.lc-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Header */
.site-header { background: #2c3e50; position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; height: 60px; }
.site-logo { font-size: 22px; font-weight: bold; color: #fff; margin-right: 30px; }
.site-logo:hover { color: #fff; }
.site-nav { display: flex; flex: 1; }
.site-nav a { color: rgba(255,255,255,.8); padding: 8px 15px; font-size: 14px; border-radius: 4px; transition: all .3s; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.site-search { margin-left: auto; }
.site-search form { display: flex; }
.site-search input { width: 200px; height: 36px; padding: 0 12px; border: none; border-radius: 4px 0 0 4px; background: rgba(255,255,255,.15); color: #fff; }
.site-search input::placeholder { color: rgba(255,255,255,.5); }
.site-search button { height: 36px; padding: 0 15px; border: none; border-radius: 0 4px 4px 0; background: #ff5500; color: #fff; cursor: pointer; }
.site-search button:hover { background: #e64d00; }

/* Banner/Slider */
.site-banner { padding: 20px 0; }
.banner-wrap { position: relative; border-radius: 8px; overflow: hidden; }
.banner-item { display: block; position: relative; padding-bottom: 35%; background-size: cover; background-position: center; border-radius: 8px; }
.banner-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.banner-text h3 { font-size: 20px; margin-bottom: 5px; }
.banner-text .remarks { font-size: 12px; opacity: .8; }

/* Section */
.section { padding: 15px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.section-title { font-size: 18px; font-weight: 600; color: #333; }
.section-title i { margin-right: 6px; color: #ff5500; }
.section-more { color: #999; font-size: 13px; }
.section-more:hover { color: #ff5500; }

/* Video Card */
.vod-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.vod-item { position: relative; }
.vod-item .vod-thumb { display: block; position: relative; padding-bottom: 140%; border-radius: 6px; overflow: hidden; background: #eee; }
.vod-item .vod-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vod-item:hover .vod-thumb img { transform: scale(1.05); }
.vod-item .vod-remarks { position: absolute; bottom: 0; left: 0; right: 0; padding: 4px 8px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: 12px; text-align: right; }
.vod-item .vod-title { margin-top: 8px; font-size: 13px; color: #333; }
.vod-item .vod-title:hover { color: #ff5500; }
.vod-item .vod-sub { font-size: 12px; color: #999; margin-top: 3px; }
.vod-item .vod-score { color: #ff5500; font-weight: bold; font-size: 12px; }
.vod-item .vod-tag { position: absolute; top: 6px; left: 6px; padding: 2px 6px; background: #ff5500; color: #fff; font-size: 10px; border-radius: 3px; }

/* Video Detail */
.detail-wrap { display: flex; gap: 20px; padding: 20px 0; }
.detail-pic { width: 220px; flex-shrink: 0; }
.detail-pic img { width: 100%; border-radius: 8px; }
.detail-info { flex: 1; }
.detail-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.detail-meta { margin-bottom: 12px; }
.detail-meta p { margin-bottom: 6px; color: #666; font-size: 13px; }
.detail-meta span { color: #333; }
.detail-btn { display: inline-block; padding: 10px 30px; border-radius: 6px; color: #fff; font-size: 15px; margin-top: 10px; }
.detail-blurb { margin-top: 15px; color: #666; font-size: 13px; line-height: 1.8; }

/* Play Source */
.play-source { margin: 20px 0; }
.play-tabs { display: flex; gap: 10px; margin-bottom: 12px; }
.play-tabs a { padding: 6px 16px; background: #f0f0f0; border-radius: 4px; font-size: 13px; color: #666; }
.play-tabs a.active { background: #ff5500; color: #fff; }
.play-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.play-list a { display: block; text-align: center; padding: 8px; background: #f5f6fa; border-radius: 4px; font-size: 12px; color: #555; border: 1px solid #e8e8e8; transition: all .2s; }
.play-list a:hover, .play-list a.active { background: #ff5500; color: #fff; border-color: #ff5500; }

/* Player */
.player-wrap { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; border-radius: 8px; overflow: hidden; }
.player-wrap iframe, .player-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Pagination */
.page-wrap { display: flex; justify-content: center; gap: 5px; margin: 25px 0; }
.page-wrap a, .page-wrap span { display: inline-block; padding: 6px 12px; background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; font-size: 13px; color: #666; }
.page-wrap a:hover { border-color: #ff5500; color: #ff5500; }
.page-wrap span.current { background: #ff5500; color: #fff; border-color: #ff5500; }

/* Filter */
.filter-wrap { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.filter-row { display: flex; align-items: center; margin-bottom: 8px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { width: 60px; color: #999; font-size: 13px; flex-shrink: 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-list a { padding: 4px 12px; font-size: 13px; color: #666; border-radius: 4px; transition: all .2s; }
.filter-list a:hover, .filter-list a.active { background: #ff5500; color: #fff; }

/* Footer */
.site-footer { background: #2c3e50; padding: 30px 0; margin-top: 30px; color: rgba(255,255,255,.6); font-size: 13px; text-align: center; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.footer-links { margin-bottom: 10px; }
.footer-links a { margin: 0 10px; }

/* Dark Mode */
body.dark { background: #1a1a2e; color: #e0e0e0; }
body.dark .site-header { background: #16213e; }
body.dark .vod-item .vod-title { color: #e0e0e0; }
body.dark .filter-wrap { background: #16213e; }
body.dark .play-list a { background: #16213e; border-color: #2a2a4a; color: #ccc; }
body.dark .page-wrap a, body.dark .page-wrap span { background: #16213e; border-color: #2a2a4a; color: #ccc; }
body.dark .section-title { color: #e0e0e0; }

/* Responsive */
@media (max-width: 1200px) { .vod-list { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 992px) {
    .vod-list { grid-template-columns: repeat(4, 1fr); }
    .col-md-9 { width: 100%; }
    .col-md-3 { width: 100%; }
}
@media (max-width: 768px) {
    .vod-list { grid-template-columns: repeat(3, 1fr); }
    .site-nav { display: none; }
    .site-search input { width: 140px; }
    .detail-wrap { flex-direction: column; }
    .detail-pic { width: 100%; max-width: 200px; }
    .banner-item { padding-bottom: 50%; }
}
@media (max-width: 480px) { .vod-list { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
