/* =========================================================
   V1.3.0 视频中心 + 售后中心
   ========================================================= */

.video-center-section,
.after-sales-section {
  padding: 54px 0;
  background: #050812;
}

.video-center-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.video-product-sidebar {
  position: sticky;
  top: 92px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.video-product-sidebar h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
}

.video-product-sidebar a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: rgba(236,243,255,.82);
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.video-product-sidebar a.active,
.video-product-sidebar a:hover {
  color: #2ee8ff;
  background: rgba(46,232,255,.12);
}

.video-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.video-toolbar h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
}

.video-toolbar p {
  margin: 8px 0 0;
  color: rgba(236,243,255,.72);
}

.video-sort {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.video-sort a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(236,243,255,.78);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.video-sort a.active,
.video-sort a:hover {
  color: #2ee8ff;
  background: rgba(46,232,255,.12);
  border-color: rgba(46,232,255,.30);
}

.video-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}

.video-center-card {
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(46,232,255,.055), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.26);
}

.video-center-card .responsive-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #0b1220;
}

.video-center-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-link,
.video-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ee8ff;
  text-decoration: none;
  font-weight: 900;
}

.video-card-body {
  padding: 18px;
}

.video-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.video-card-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #2ee8ff;
  background: rgba(46,232,255,.10);
  border: 1px solid rgba(46,232,255,.20);
  font-size: 12px;
  font-weight: 900;
}

.video-card-body h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.38;
}

.video-card-body p {
  margin: 0;
  color: rgba(236,243,255,.68);
  font-size: 14px;
  line-height: 1.5;
}

.video-empty-card {
  padding: 40px;
  border-radius: 22px;
  color: rgba(236,243,255,.76);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

/* 售后中心 */
.after-sales-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.after-sales-info,
.after-sales-form {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(46,232,255,.055), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.after-sales-info {
  padding: 26px;
}

.after-sales-info h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 26px;
}

.after-sales-info ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: rgba(236,243,255,.80);
  line-height: 1.95;
}

.after-sales-info p {
  margin: 0;
  color: rgba(236,243,255,.82);
  line-height: 1.8;
}

.after-sales-info strong {
  color: #2ee8ff;
}

.after-sales-form {
  padding: 26px;
}

.after-sales-form label {
  display: block;
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.after-sales-form input,
.after-sales-form select,
.after-sales-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #eaf3ff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  outline: none;
}

.after-sales-form input:focus,
.after-sales-form select:focus,
.after-sales-form textarea:focus {
  border-color: rgba(46,232,255,.45);
  box-shadow: 0 0 0 3px rgba(46,232,255,.08);
}

.after-sales-form textarea {
  min-height: 150px;
  resize: vertical;
}

.after-sales-form small {
  display: block;
  margin-top: 7px;
  color: rgba(236,243,255,.58);
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.after-sales-form button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #031018;
  background: #2ee8ff;
  font-weight: 950;
  cursor: pointer;
}

.form-success,
.form-error {
  padding: 13px 15px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 800;
}

.form-success {
  color: #86efac;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.28);
}

.form-error {
  color: #fca5a5;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.28);
}

@media(max-width: 1100px) {
  .video-center-layout,
  .after-sales-layout {
    grid-template-columns: 1fr;
  }

  .video-product-sidebar {
    position: relative;
    top: auto;
  }
}

@media(max-width: 760px) {
  .video-toolbar {
    flex-direction: column;
  }

  .video-sort {
    justify-content: flex-start;
  }

  .video-center-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
