/* ============================================
   二次元少女影视模板 - 原创CSS样式
   mytheme v1.0.0
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #ff6b9d;
  --primary-dark: #e84393;
  --secondary: #a29bfe;
  --accent: #fd79a8;
  --bg-dark: #0a0a1a;
  --bg-card: rgba(20, 20, 40, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --text-main: #f0e6ff;
  --text-muted: #a0a0c0;
  --text-bright: #ffffff;
  --border-glow: rgba(255, 107, 157, 0.3);
  --shadow-pink: 0 0 20px rgba(255, 107, 157, 0.2);
  --shadow-purple: 0 0 20px rgba(162, 155, 254, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- 二次元少女背景特效 Canvas --- */
#anime-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- 樱花飘落粒子层 --- */
#sakura-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(ellipse at center, #ffb8d4 0%, #ff6b9d 50%, transparent 70%);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: sakuraFall linear infinite;
}

@keyframes sakuraFall {
  0% {
    opacity: 0;
    transform: translateY(-10vh) rotate(0deg) scale(0.5);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) rotate(720deg) scale(0.3);
  }
}

/* --- 星光闪烁背景 --- */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(162, 155, 254, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255, 107, 157, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 50%, rgba(253, 121, 168, 0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 10% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 90%, rgba(162, 155, 254, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 184, 212, 0.6) 0%, transparent 100%);
  animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* --- 开场动画遮罩 --- */
#anime-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#anime-splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 少女剪影 SVG 动画 */
.splash-girl {
  width: 200px;
  height: 280px;
  position: relative;
  animation: girlFloat 2s ease-in-out infinite;
}

@keyframes girlFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.splash-girl-silhouette {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px var(--primary)) drop-shadow(0 0 60px var(--secondary));
}

/* 魔法阵旋转 */
.magic-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 107, 157, 0.3);
  border-radius: 50%;
  animation: magicSpin 4s linear infinite;
}

.magic-circle::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid rgba(162, 155, 254, 0.2);
  border-radius: 50%;
  animation: magicSpin 6s linear infinite reverse;
}

.magic-circle::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(253, 121, 168, 0.3);
  border-radius: 50%;
  animation: magicSpin 3s linear infinite;
}

@keyframes magicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 开场文字 */
.splash-title {
  margin-top: 30px;
  font-size: 1.5rem;
  color: var(--text-bright);
  letter-spacing: 4px;
  opacity: 0;
  animation: splashTextIn 1s ease forwards 0.5s;
  text-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary);
}

.splash-loading {
  margin-top: 15px;
  display: flex;
  gap: 6px;
}

.splash-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: loadDot 1.2s ease-in-out infinite;
}

.splash-loading span:nth-child(2) { animation-delay: 0.2s; }
.splash-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadDot {
  0%, 100% { transform: scale(0.5); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes splashTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 光线扫过效果 --- */
.light-sweep {
  position: fixed;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.03), transparent);
  z-index: -1;
  animation: lightSweep 12s linear infinite;
  pointer-events: none;
}

@keyframes lightSweep {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  min-height: calc(100vh - 200px);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0 20px;
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-pink);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 10px var(--primary); }
  50% { box-shadow: 0 0 25px var(--primary), 0 0 50px var(--secondary); }
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: var(--text-bright);
  background: var(--bg-glass);
}

.nav-menu a:hover::before {
  width: 80%;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Search box in header */
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 6px 15px;
  transition: all var(--transition);
}

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

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 150px;
}

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

.header-search button {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 5px;
}

/* --- Banner / Carousel --- */
.banner-section {
  position: relative;
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

.banner-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius);
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-item.active {
  opacity: 1;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 40px 30px;
  background: linear-gradient(transparent, rgba(10, 10, 26, 0.95));
}

.banner-overlay h2 {
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  max-width: 600px;
}

.banner-btns {
  display: flex;
  gap: 12px;
}

.banner-btns a {
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-play {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
  color: #fff;
}

.btn-detail {
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
}

.btn-detail:hover {
  background: rgba(255, 107, 157, 0.1);
  color: var(--text-bright);
}

/* Banner dots */
.banner-dots {
  position: absolute;
  bottom: 15px;
  right: 30px;
  display: flex;
  gap: 8px;
}

.banner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.banner-dots span.active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transform: scale(1.3);
}

/* --- Section Titles --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.section-header h2 {
  font-size: 1.3rem;
  color: var(--text-bright);
  position: relative;
  padding-left: 15px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header .more-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 12px;
  border: 1px solid rgba(255, 107, 157, 0.2);
  border-radius: 15px;
  transition: all var(--transition);
}

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

/* --- Video Card Grid --- */
.vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.vod-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 107, 157, 0.08);
  transition: all var(--transition);
}

.vod-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-pink);
}

.vod-card .card-thumb {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.vod-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vod-card:hover .card-thumb img {
  transform: scale(1.08);
}

.vod-card .card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
}

.vod-card .card-info {
  padding: 12px;
}

.vod-card .card-info h3 {
  font-size: 0.9rem;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.vod-card .card-info .card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Category / Filter Page --- */
.filter-bar {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-row .filter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-width: 60px;
}

.filter-row a {
  font-size: 0.8rem;
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 15px;
  transition: all var(--transition);
}

.filter-row a:hover,
.filter-row a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

/* --- Detail Page --- */
.detail-hero {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding: 30px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.detail-poster {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-pink);
}

.detail-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.detail-info {
  flex: 1;
}

.detail-info h1 {
  font-size: 1.8rem;
  color: var(--text-bright);
  margin-bottom: 15px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.detail-meta .meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-meta .meta-item span {
  color: var(--text-main);
}

.detail-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 15px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.detail-actions .btn {
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 107, 157, 0.1);
  color: var(--text-bright);
}

/* --- Play Page --- */
.player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.player-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.player-error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  font-size: 1rem;
  background: #111;
}

/* Episode list */
.episode-list {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.episode-list h2 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 15px;
}

.episode-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.episode-grid a {
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-main);
  background: var(--bg-glass);
  border: 1px solid rgba(255, 107, 157, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.episode-grid a:hover,
.episode-grid a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.faq-section h2 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid var(--primary);
}

.faq-item {
  margin-bottom: 15px;
  padding: 15px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 107, 157, 0.05);
}

.faq-item .faq-q {
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faq-item .faq-a {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* --- Reviews / Comments Section --- */
.reviews-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.reviews-section h2 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid var(--secondary);
}

.review-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  margin-bottom: 12px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(162, 155, 254, 0.05);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-body {
  flex: 1;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.review-username {
  font-size: 0.85rem;
  color: var(--text-bright);
  font-weight: 500;
}

.review-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: #ffd700;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.review-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 30px 0;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid rgba(255, 107, 157, 0.1);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 26, 0.95);
  border-top: 1px solid var(--border-glow);
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Search Page --- */
.search-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
  text-align: center;
}

.search-form-wrap form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.search-form-wrap input[type="text"] {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-glow);
  border-radius: 25px 0 0 25px;
  background: var(--bg-glass);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.search-form-wrap input[type="text"]:focus {
  border-color: var(--primary);
}

.search-form-wrap button {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.search-form-wrap button:hover {
  box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .sep {
  color: rgba(255, 107, 157, 0.3);
}

/* --- Map Page --- */
.map-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 107, 157, 0.08);
}

.map-section h2 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 15px;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-links a {
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 107, 157, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: all var(--transition);
}

.map-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .vod-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 5px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border-glow);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-search {
    display: none;
  }

  .banner-slider {
    height: 280px;
  }

  .banner-overlay h2 {
    font-size: 1.3rem;
  }

  .detail-hero {
    flex-direction: column;
    padding: 20px;
  }

  .detail-poster {
    width: 160px;
    margin: 0 auto;
  }

  .vod-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .splash-girl {
    width: 150px;
    height: 210px;
  }

  .magic-circle {
    width: 220px;
    height: 220px;
  }
}

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

  .vod-card .card-info {
    padding: 8px;
  }

  .vod-card .card-info h3 {
    font-size: 0.8rem;
  }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
