/* TOPOPC Shared Styles */

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

/* ===== 打勾图片格式 - 校长样板样式 ===== */
/* 深色背景区块（星空/深蓝渐变） */
.check-format-section {
  background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #0a0a2a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* 星空动画背景 */
.check-format-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent),
    radial-gradient(2px 2px at 160px 30px, #fff, transparent);
  background-size: 200px 200px;
  animation: starfield 200s linear infinite;
  opacity: 0.3;
  z-index: 0;
}

@keyframes starfield {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* 白框圆角卡片（金色边框） */
.check-format-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

/* 卡片标题（左上角，白色文字） */
.check-format-card .card-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid #ffd700;
}

/* 底部2图网格 */
.check-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* 图片容器（相对定位，用于文字叠加） */
.check-format-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.check-format-img-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* 文字叠加（底部渐变背景 + 白色文字） */
.check-format-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
  padding: 20px 16px 16px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .check-format-section {
    padding: 40px 0;
  }
  
  .check-format-card {
    padding: 20px;
    margin-bottom: 24px;
  }
  
  .check-format-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .check-format-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .check-format-img-wrapper img {
    height: 180px;
  }
  
  .check-format-overlay {
    padding: 16px 12px 12px;
    font-size: 0.85rem;
  }
}
