/* ============================================
   四虎影视 - 虎纹军事风主题样式
   CSS前缀: sv2-
   配色: #1A1A1A / #FF4500 / #FFFFFF / #CCCCCC
   ============================================ */

/* Google Fonts 本地化替代 - 使用系统字体栈 */
@font-face {
  font-family: 'Teko';
  src: local('Teko'), local('Arial Black');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: local('Roboto Condensed'), local('Arial Narrow'), local('Helvetica Neue');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --sv2-primary: #1A1A1A;
  --sv2-accent: #FF4500;
  --sv2-white: #FFFFFF;
  --sv2-text: #CCCCCC;
  --sv2-link: #FF4500;
  --sv2-dark: #111111;
  --sv2-card-bg: #222222;
  --sv2-border: #333333;
  --sv2-gradient-start: #1A1A1A;
  --sv2-gradient-end: #0D0D0D;
}

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

body {
  font-family: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  background-color: var(--sv2-primary);
  color: var(--sv2-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sv2-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF6A33;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Teko', 'Arial Black', 'Impact', sans-serif;
  color: var(--sv2-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

/* ---- 导航栏 ---- */
#sv2-header {
  width: 100%;
  background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%);
  border-bottom: 2px solid var(--sv2-accent);
  z-index: 1000;
  position: relative;
}

.sv2-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.sv2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv2-logo img {
  width: 45px;
  height: 45px;
}

.sv2-logo-text {
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.8rem;
  color: var(--sv2-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}

.sv2-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.sv2-nav-links li a {
  display: block;
  padding: 0 18px;
  height: 70px;
  line-height: 70px;
  color: var(--sv2-text);
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.sv2-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sv2-accent), transparent);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--sv2-accent);
}

.sv2-nav-links li a:hover {
  color: var(--sv2-accent);
}

.sv2-nav-links li a:hover::after {
  width: 80%;
}

.sv2-nav-links li a.sv2-active {
  color: var(--sv2-accent);
}

/* 汉堡菜单 */
.sv2-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.sv2-hamburger span {
  width: 28px;
  height: 3px;
  background: var(--sv2-accent);
  transition: all 0.3s ease;
}

.sv2-hamburger.sv2-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.sv2-hamburger.sv2-open span:nth-child(2) {
  opacity: 0;
}

.sv2-hamburger.sv2-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* 移动端侧边菜单 */
.sv2-mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: repeating-linear-gradient(
    45deg,
    #1A1A1A,
    #1A1A1A 10px,
    #222222 10px,
    #222222 20px
  );
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
  border-left: 3px solid var(--sv2-accent);
  overflow-y: auto;
}

.sv2-mobile-menu.sv2-open {
  right: 0;
}

.sv2-mobile-menu a {
  display: block;
  padding: 15px 0;
  color: var(--sv2-text);
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--sv2-border);
}

.sv2-mobile-menu a:hover {
  color: var(--sv2-accent);
}

.sv2-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--sv2-accent);
  cursor: pointer;
  background: none;
  border: none;
}

.sv2-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  display: none;
}

.sv2-overlay.sv2-open {
  display: block;
}

/* ---- Hero Banner / 紧急军情 ---- */
#sv2-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: var(--sv2-dark);
}

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

.sv2-hero-slide.sv2-active {
  opacity: 1;
}

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

.sv2-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 40px 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.sv2-hero-title {
  font-size: 2.5rem;
  color: var(--sv2-white);
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
  margin-bottom: 10px;
}

.sv2-hero-desc {
  font-size: 1.1rem;
  color: var(--sv2-text);
  max-width: 600px;
}

.sv2-hero-controls {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.sv2-hero-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--sv2-accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.sv2-hero-dot.sv2-active {
  background: var(--sv2-accent);
}

/* ---- 通用模块标题 ---- */
.sv2-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 20px;
}

.sv2-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--sv2-border);
}

.sv2-section-header::before {
  content: '';
  width: 5px;
  height: 35px;
  background: var(--sv2-accent);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}

.sv2-section-title {
  font-size: 1.8rem;
  color: var(--sv2-accent);
}

.sv2-section-subtitle {
  font-size: 0.9rem;
  color: var(--sv2-text);
  opacity: 0.7;
  margin-left: auto;
  font-style: italic;
}

/* ---- 影片卡片 ---- */
.sv2-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.sv2-card {
  background: var(--sv2-card-bg);
  border: 1px solid var(--sv2-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.sv2-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.sv2-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

.sv2-card:hover .sv2-card-img img {
  transform: scale(1.05);
}

.sv2-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 69, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  clip-path: none;
}

.sv2-card:hover .sv2-card-play {
  opacity: 1;
}

.sv2-card-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.sv2-card-info {
  padding: 12px 15px;
}

.sv2-card-title {
  font-size: 1rem;
  color: var(--sv2-white);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sv2-card-meta {
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.7;
}

.sv2-card-badge {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--sv2-accent);
  color: var(--sv2-white);
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

/* ---- 虎啸榜 / 排行 ---- */
.sv2-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sv2-rank-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: var(--sv2-card-bg);
  border-left: 3px solid var(--sv2-border);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.sv2-rank-item:hover {
  border-left-color: var(--sv2-accent);
  background: #2a2a2a;
}

.sv2-rank-num {
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 2rem;
  color: var(--sv2-border);
  min-width: 40px;
  text-align: center;
}

.sv2-rank-item:nth-child(1) .sv2-rank-num,
.sv2-rank-item:nth-child(2) .sv2-rank-num,
.sv2-rank-item:nth-child(3) .sv2-rank-num {
  color: var(--sv2-accent);
}

.sv2-rank-info {
  flex: 1;
}

.sv2-rank-title {
  font-size: 1rem;
  color: var(--sv2-white);
}

.sv2-rank-meta {
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.6;
}

.sv2-rank-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.sv2-rank-tab {
  padding: 8px 20px;
  background: var(--sv2-card-bg);
  color: var(--sv2-text);
  border: 1px solid var(--sv2-border);
  cursor: pointer;
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.sv2-rank-tab.sv2-active {
  background: var(--sv2-accent);
  color: var(--sv2-white);
  border-color: var(--sv2-accent);
}

/* ---- 武器库 / 分类 ---- */
.sv2-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.sv2-category-item {
  background: var(--sv2-card-bg);
  border: 1px solid var(--sv2-border);
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  cursor: pointer;
}

.sv2-category-item:hover {
  border-color: var(--sv2-accent);
  background: #2a2a2a;
  transform: translateY(-3px);
}

.sv2-category-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.sv2-category-name {
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.1rem;
  color: var(--sv2-white);
  text-transform: uppercase;
}

.sv2-category-count {
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.6;
}

/* ---- VIP / 荣耀勋章 ---- */
#sv2-vip {
  background: linear-gradient(135deg, #1A1A1A 0%, #2a1a0a 50%, #1A1A1A 100%);
  border-top: 2px solid var(--sv2-accent);
  border-bottom: 2px solid var(--sv2-accent);
}

.sv2-vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sv2-vip-img {
  flex: 1;
  min-width: 300px;
}

.sv2-vip-info {
  flex: 1;
  min-width: 300px;
}

.sv2-vip-features {
  list-style: none;
  margin-top: 20px;
}

.sv2-vip-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--sv2-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv2-vip-features li::before {
  content: '★';
  color: var(--sv2-accent);
  font-size: 1.2rem;
}

/* ---- 战队集结 / 社区 ---- */
.sv2-community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.sv2-topic-card {
  background: var(--sv2-card-bg);
  border: 1px solid var(--sv2-border);
  padding: 20px;
  transition: border-color 0.3s ease;
}

.sv2-topic-card:hover {
  border-color: var(--sv2-accent);
}

.sv2-topic-tag {
  display: inline-block;
  background: rgba(255, 69, 0, 0.2);
  color: var(--sv2-accent);
  padding: 3px 10px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.sv2-topic-title {
  font-size: 1.1rem;
  color: var(--sv2-white);
  margin-bottom: 8px;
}

.sv2-topic-stats {
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.6;
}

/* ---- 火力支援 / 合作伙伴 ---- */
.sv2-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.sv2-partner-item {
  background: var(--sv2-card-bg);
  border: 1px solid var(--sv2-border);
  padding: 20px;
  text-align: center;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Teko', 'Arial Black', sans-serif;
  color: var(--sv2-text);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.sv2-partner-item:hover {
  border-color: var(--sv2-accent);
}

/* ---- APP下载 / 前线电台 ---- */
.sv2-app-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sv2-app-mockup {
  flex: 0 0 300px;
}

.sv2-app-info {
  flex: 1;
  min-width: 280px;
}

.sv2-app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sv2-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--sv2-accent);
  color: var(--sv2-white);
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  text-align: center;
}

.sv2-btn:hover {
  background: #FF6A33;
  color: var(--sv2-white);
  transform: translateY(-2px);
}

.sv2-btn-outline {
  background: transparent;
  border: 2px solid var(--sv2-accent);
  color: var(--sv2-accent);
}

.sv2-btn-outline:hover {
  background: var(--sv2-accent);
  color: var(--sv2-white);
}

/* ---- 军规 / 公告 ---- */
.sv2-notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sv2-notice-item {
  background: var(--sv2-card-bg);
  border-left: 3px solid var(--sv2-accent);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.sv2-notice-item:hover {
  background: #2a2a2a;
}

.sv2-notice-title {
  color: var(--sv2-white);
  font-size: 1rem;
}

.sv2-notice-date {
  color: var(--sv2-text);
  font-size: 0.8rem;
  opacity: 0.6;
  white-space: nowrap;
  margin-left: 20px;
}

/* ---- 页脚 ---- */
#sv2-footer {
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  border-top: 2px solid var(--sv2-accent);
  padding: 50px 20px 20px;
}

.sv2-footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

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

.sv2-footer-col h3 {
  font-size: 1.2rem;
  color: var(--sv2-accent);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sv2-border);
}

.sv2-footer-col ul {
  list-style: none;
}

.sv2-footer-col ul li {
  margin-bottom: 8px;
}

.sv2-footer-col ul li a {
  color: var(--sv2-text);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.sv2-footer-col ul li a:hover {
  color: var(--sv2-accent);
}

.sv2-footer-bottom {
  border-top: 1px solid var(--sv2-border);
  padding-top: 20px;
  text-align: center;
}

.sv2-footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.sv2-footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.8;
}

.sv2-footer-badge img {
  width: 30px;
  height: 30px;
}

.sv2-footer-cert {
  font-size: 0.8rem;
  color: var(--sv2-text);
  opacity: 0.6;
  margin-bottom: 10px;
}

.sv2-footer-cert a {
  color: var(--sv2-text);
}

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

/* ---- 表单样式 ---- */
.sv2-form-group {
  margin-bottom: 20px;
}

.sv2-form-label {
  display: block;
  color: var(--sv2-accent);
  font-family: 'Teko', 'Arial Black', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sv2-form-input,
.sv2-form-textarea,
.sv2-form-select {
  width: 100%;
  padding: 12px 15px;
  background: var(--sv2-card-bg);
  border: 2px solid var(--sv2-border);
  color: var(--sv2-white);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.sv2-form-input:focus,
.sv2-form-textarea:focus,
.sv2-form-select:focus {
  border-color: var(--sv2-accent);
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
}

.sv2-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---- 内页通用 ---- */
.sv2-page-hero {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1A1A, #0D0D0D);
}

.sv2-page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.sv2-page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  text-align: center;
  text-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
}

.sv2-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ---- 影片详情页 ---- */
.sv2-movie-detail {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.sv2-movie-poster {
  flex: 0 0 300px;
}

.sv2-movie-info {
  flex: 1;
  min-width: 280px;
}

.sv2-movie-meta-table {
  width: 100%;
  margin: 20px 0;
}

.sv2-movie-meta-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--sv2-border);
}

.sv2-movie-meta-table td:first-child {
  color: var(--sv2-accent);
  font-weight: 700;
  width: 100px;
}

.sv2-movie-desc {
  line-height: 1.8;
  margin-top: 20px;
}

.sv2-movie-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

/* ---- 面包屑 ---- */
.sv2-breadcrumb {
  padding: 15px 20px;
  max-width: 1440px;
  margin: 0 auto;
  font-size: 0.85rem;
}

.sv2-breadcrumb a {
  color: var(--sv2-text);
  opacity: 0.7;
}

.sv2-breadcrumb span {
  color: var(--sv2-text);
  opacity: 0.5;
  margin: 0 8px;
}

/* ---- 招募页面 ---- */
.sv2-recruit-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sv2-recruit-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.sv2-recruit-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* ---- 社交图标 ---- */
.sv2-social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.sv2-social-link {
  width: 36px;
  height: 36px;
  background: var(--sv2-card-bg);
  border: 1px solid var(--sv2-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sv2-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.sv2-social-link:hover {
  background: var(--sv2-accent);
  border-color: var(--sv2-accent);
  color: var(--sv2-white);
}

/* ---- 响应式断点 ---- */

/* 1440px */
@media (max-width: 1440px) {
  .sv2-section {
    max-width: 100%;
  }
}

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

  .sv2-hero-title {
    font-size: 2rem;
  }

  .sv2-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* 768px */
@media (max-width: 768px) {
  .sv2-nav-links {
    display: none;
  }

  .sv2-hamburger {
    display: flex;
  }

  .sv2-hero-title {
    font-size: 1.5rem;
  }

  .sv2-hero-desc {
    font-size: 0.9rem;
  }

  #sv2-hero {
    height: 60vh;
    min-height: 350px;
  }

  .sv2-section {
    padding: 30px 15px;
  }

  .sv2-section-title {
    font-size: 1.4rem;
  }

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

  .sv2-vip-content {
    flex-direction: column;
  }

  .sv2-app-section {
    flex-direction: column;
    text-align: center;
  }

  .sv2-app-mockup {
    flex: none;
    width: 250px;
    margin: 0 auto;
  }

  .sv2-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sv2-movie-detail {
    flex-direction: column;
  }

  .sv2-movie-poster {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .sv2-page-hero h1 {
    font-size: 2rem;
  }
}

/* 360px */
@media (max-width: 360px) {
  .sv2-nav-container {
    padding: 0 10px;
    height: 60px;
  }

  .sv2-logo-text {
    font-size: 1.3rem;
  }

  .sv2-hero-title {
    font-size: 1.2rem;
  }

  .sv2-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

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

  .sv2-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .sv2-section-title {
    font-size: 1.2rem;
  }
}

/* ---- 动画 ---- */
@keyframes sv2-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sv2-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(255, 69, 0, 0.2); }
}

.sv2-animate-in {
  animation: sv2-fadeIn 0.6s ease forwards;
}

.sv2-pulse {
  animation: sv2-pulse 2s infinite;
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--sv2-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--sv2-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sv2-accent);
}

/* ---- 确认弹窗 ---- */
.sv2-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.sv2-modal-overlay.sv2-show {
  display: flex;
}

.sv2-modal {
  background: var(--sv2-card-bg);
  border: 2px solid var(--sv2-accent);
  padding: 40px;
  max-width: 500px;
  text-align: center;
}

.sv2-modal h3 {
  color: var(--sv2-accent);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.sv2-modal p {
  margin-bottom: 20px;
}

/* ---- 时间线样式 ---- */
.sv2-timeline {
  position: relative;
  padding-left: 30px;
}

.sv2-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sv2-border);
}

.sv2-timeline-item {
  position: relative;
  padding: 15px 0 15px 20px;
  border-bottom: 1px solid var(--sv2-border);
}

.sv2-timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--sv2-accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.sv2-timeline-date {
  font-size: 0.8rem;
  color: var(--sv2-accent);
  margin-bottom: 5px;
}

.sv2-timeline-title {
  font-size: 1rem;
  color: var(--sv2-white);
}

.sv2-timeline-desc {
  font-size: 0.85rem;
  color: var(--sv2-text);
  opacity: 0.7;
  margin-top: 5px;
}
