/* Modern Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #000000 0%, #000000 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}



.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  transition: var(--transition);
}

header a:hover {
  color: var(--secondary-color);
  transform: translateY(-1px);
}

nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  align-items: center;
}

nav ul li a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  position: relative;
}

nav ul li a:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

nav ul li a:active {
  transform: scale(0.98);
}

/* Modern Section Cards */
section {
  max-width: 1000px;
  margin: 40px auto;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}



section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

section h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  border-bottom: none !important;
  text-align: center;
  /* 暂时注释掉渐变效果来解决下划线问题 */
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
}

/* 专门针对quebra-blocos页面的h1标题 - 完全重写样式 */
#start-play h1 {
  all: unset !important;
  display: block !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  color: #2563eb !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* 确保没有任何伪元素 */
#start-play h1::before,
#start-play h1::after {
  display: none !important;
  content: none !important;
}

section h2 {
  color: var(--primary-color);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  position: relative;
  padding-left: 20px;
}

section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--secondary-color);
  border-radius: 2px;
}

section h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 12px 0;
  position: relative;
}

section ul {
  margin-left: 0;
  margin-bottom: 24px;
  list-style: none;
}

section li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

section li ul {
  margin-top: 8px;
  margin-left: 20px;
}

section li ul li::before {
  content: '•';
  color: var(--accent-color);
}

section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

em {
  color: var(--secondary-color);
  font-style: normal;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 游戏截图样式 */
.featuresimg img {
  width: 100%;
}

/* Modern Game Cards */
.game-card {
  display: inline-block;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin: 0 20px 20px 0;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
}





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

.game-card a {
  text-decoration: none;
  color: inherit;
}

.game-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.game-card:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.game-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 8px;
  transition: var(--transition);
}

.game-card:hover h3 {
  color: var(--secondary-color);
}

/* Modern FAQ Styles */
#faq h2 {
  margin-top: 0;
}

#faq h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px 0;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.05);
  border-left: 4px solid var(--secondary-color);
  border-radius: 0 8px 8px 0;
  position: relative;
}

#faq h3::before {
  content: 'Q';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

#faq p {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 2px solid rgba(37, 99, 235, 0.1);
  position: relative;
}

#faq p::before {
  content: 'A';
  position: absolute;
  left: -12px;
  top: 4px;
  background: var(--accent-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Modern Button Styles */
a.button,
button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  margin-top: 16px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.025em;
}

a.button::before,
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

a.button:hover::before,
button:hover::before {
  left: 100%;
}

a.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--secondary-color);
}

a.button:active,
button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* 游戏容器样式 */
.game-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 32px auto;
}

/* 游戏预览界面 */
.game-preview {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.game-preview:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* 游戏封面图片 */
.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-preview:hover .game-cover {
  transform: scale(1.05);
  filter: brightness(0.8);
}

/* 播放按钮覆盖层 */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition);
}

/* 播放按钮 */
.play-button {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  padding: 20px 32px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.play-button:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.play-button:active {
  transform: scale(1.05);
}

/* 播放图标 */
.play-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.play-button:hover .play-icon {
  transform: translateX(2px);
}

/* 游戏描述文字 */
.game-description {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* 游戏iframe容器 */
.game-iframe-container {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
  position: relative;
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--border-radius);
}

/* 加载动画 */
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(37, 99, 235, 0.2);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 响应式调整 */
@media (max-width: 768px) {

  .game-preview,
  .game-iframe-container {
    height: 350px;
  }

  .play-button {
    padding: 16px 24px;
    font-size: 1.1rem;
  }

  .play-icon {
    width: 20px;
    height: 20px;
  }

  .game-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {

  .game-preview,
  .game-iframe-container {
    height: 280px;
  }

  .play-button {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .play-icon {
    width: 18px;
    height: 18px;
  }

  .game-description {
    font-size: 0.85rem;
    margin-top: 12px;
  }
}

/* Modern Footer */
footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 0 24px 0;
  text-align: center;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}



.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-content a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.footer-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.footer-content a:hover::after {
  width: 100%;
}

.footer-content a:hover {
  color: white;
  transform: translateY(-1px);
}

/* Modern Responsive Design */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
  }

  section {
    margin: 32px 20px;
    padding: 36px 28px;
  }

  section h1 {
    font-size: 2.2rem;
  }

  section h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  nav ul li a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  section {
    margin: 24px 16px;
    padding: 28px 20px;
  }

  section h1 {
    font-size: 1.9rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .game-card {
    margin: 0 12px 16px 0;
    padding: 20px;
  }

  .game-card img {
    width: 100px;
    height: 100px;
  }

  iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 16px 0;
  }

  .header-container {
    padding: 0 12px;
  }

  header a {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 4px;
  }

  nav ul li a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  section {
    margin: 20px 12px;
    padding: 24px 16px;
  }

  section h1 {
    font-size: 1.7rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  section h3 {
    font-size: 1.1rem;
  }

  section li {
    padding-left: 20px;
  }

  .game-card {
    width: 100%;
    margin: 0 0 16px 0;
    padding: 16px;
  }

  .game-card img {
    width: 80px;
    height: 80px;
  }

  iframe {
    height: 280px;
  }

  #faq h3 {
    padding: 12px 16px;
    font-size: 1rem;
  }

  #faq p {
    padding-left: 16px;
  }

  footer {
    padding: 32px 0 20px 0;
  }

  .footer-content {
    padding: 0 16px;
  }

  .footer-content a {
    margin: 0 8px;
    font-size: 0.9rem;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {

  header,
  footer,
  nav,
  iframe {
    display: none;
  }

  section {
    box-shadow: none;
    border: 1px solid #ccc;
    margin: 20px 0;
    page-break-inside: avoid;
  }
}

/* ==
========================================
   游戏评分组件样式 - 新增功能
   ========================================== */

.game-rating-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.game-rating-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* 静态评分显示 */
.static-rating {
  margin-bottom: 25px;
  text-align: center;
}

.static-rating h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stars-display {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
}

.stars {
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.rating-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.rating-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.recommendation {
  color: var(--accent-color);
  font-weight: 600;
}

/* 用户评分交互 */
.user-rating {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 25px;
  text-align: center;
}

.user-rating h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.rating-input {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.star {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  padding: 5px;
  border-radius: 50%;
}

.star:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
  background: rgba(245, 158, 11, 0.1);
}

.star.active {
  color: var(--secondary-color);
}

.star.filled {
  color: var(--secondary-color);
}

.rating-feedback {
  min-height: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.rating-feedback.success {
  color: var(--accent-color);
}

.rating-feedback.thank-you {
  color: var(--primary-color);
  animation: fadeInUp 0.5s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .game-rating-section {
    margin: 20px 15px;
    padding: 20px;
  }

  .stars-display {
    flex-direction: column;
    gap: 10px;
  }

  .rating-info {
    gap: 8px;
  }

  .star {
    font-size: 1.8rem;
    padding: 8px;
  }

  .static-rating h3 {
    font-size: 1.3rem;
  }

  .rating-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .rating-input {
    gap: 5px;
  }

  .star {
    font-size: 1.6rem;
    padding: 6px;
  }

  .stars {
    font-size: 1.3rem;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 评分组件加载动画 */
.game-rating-section {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =======
===================================
   YouTube视频区域样式 - 新增功能
   ========================================== */

#videos {
  background: var(--bg-secondary);
  padding: 60px 0;
  margin-top: 40px;
}

.videos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.videos-container h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.video-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 宽高比 */
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.videos-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.ver-mais-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.ver-mais-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: white;
}

.ver-mais-btn:active {
  transform: translateY(0);
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.ver-mais-btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .videos-container {
    padding: 0 15px;
  }

  .videos-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .video-info {
    padding: 15px;
  }

  .video-info h3 {
    font-size: 1.2rem;
  }

  .videos-footer {
    justify-content: center;
  }

  .ver-mais-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .videos-container h2 {
    font-size: 1.8rem;
  }

  .video-info h3 {
    font-size: 1.1rem;
  }

  .video-info p {
    font-size: 0.9rem;
  }
}

/* 视频加载动画 */
.video-item {
  animation: fadeInUp 0.6s ease-out;
}

.video-item:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 视频悬停效果 */
.video-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition);
  z-index: 1;
  pointer-events: none;
}

.video-item:hover .video-wrapper::before {
  background: rgba(0, 0, 0, 0.05);
}

/* YouTube lite 占位样式 */
.yt-lite {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-playbtn {
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,.6);
  border: 0;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.yt-playbtn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.yt-lite:focus .yt-playbtn,
.yt-lite:hover .yt-playbtn {
  background: rgba(0,0,0,.75);
}