/* 兰州理工大学 2027 博士招生宣讲专题 */
/* 版式参考：EOL 移动端招生专题长图  主色 #4D9AFF */

:root {
  --primary: #4d9aff;
  --primary-deep: #2e7bef;
  --primary-dark: #1d61c6;
  --accent: #ff8a66;
  --ink: #123a68;
  --muted: #6b86a6;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #4d9aff 0%, #4794fb 32%, #3a88ee 68%, #2f79dc 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  display: block;
}

/* ---------- 背景装饰 ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

.bg-blob--1 {
  top: 6%;
  left: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%);
}

.bg-blob--2 {
  top: 26%;
  right: -140px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 60% 40%, rgba(159, 205, 255, 0.55), rgba(159, 205, 255, 0) 70%);
}

.bg-blob--3 {
  top: 58%;
  left: -150px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
}

.bg-blob--4 {
  bottom: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 184, 255, 0.5), rgba(124, 184, 255, 0) 70%);
}

/* ---------- 单列专题容器 ---------- */
.page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 24px), 640px);
  margin: 0 auto;
  padding: 20px 0 54px;
}

/* ---------- 顶部标识 ---------- */
.top-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pill {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.logo-pill--main,
.logo-pill--partner {
  display: flex;
  flex: 1 1 50%;
  min-width: 0;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.24);
}

.logo-pill--main b,
.logo-pill--partner b {
  font-size: 14px;
  letter-spacing: 1px;
}

.logo-pill--main small,
.logo-pill--partner small {
  font-size: 6.5px;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

.logo-pill--partner b {
  letter-spacing: 2px;
}

/* ---------- 首屏与宣讲主题 ---------- */
.hero,
.intro {
  text-align: center;
}

.poster-frame {
  position: relative;
  margin: 22px 8px 0;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 60px rgba(12, 58, 124, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(77, 154, 255, 0.22);
  border-radius: 22px;
  pointer-events: none;
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 18px;
  filter: brightness(1.09) saturate(1.03);
}

.poster-badge {
  position: absolute;
  top: -18px;
  right: -12px;
  display: grid;
  place-content: center;
  width: 74px;
  height: 74px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 12px 26px rgba(23, 79, 160, 0.36);
  transform: rotate(9deg);
}

.poster-badge b {
  font-size: 12px;
}

.poster-cap {
  position: absolute;
  left: -14px;
  bottom: -16px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(23, 79, 160, 0.3);
}

.poster-cap svg {
  width: 26px;
  height: 26px;
}

.date-pill {
  width: max-content;
  max-width: 100%;
  margin: 38px auto 0;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-deep);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 28px rgba(15, 68, 145, 0.22);
}

.date-pill em {
  color: var(--accent);
  font-style: normal;
  padding: 0 4px;
}

.hero-title {
  margin-top: 30px;
  color: var(--white);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 6px 18px rgba(16, 65, 140, 0.28);
}

.hero-title span {
  display: inline;
  font-size: clamp(18px, 4.6vw, 25px);
  font-weight: 600;
}

.hero-title strong {
  display: inline;
  font-size: clamp(25px, 7vw, 36px);
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-sub {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 3px 12px rgba(16, 65, 140, 0.3);
}

.hero-frame {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 350px;
  margin: 16px auto 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.hero-frame i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-deep);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15, 68, 145, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn svg {
  width: 18px;
  height: 18px;
}

.hero-btn-play {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 68, 145, 0.32);
}

.watch-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 68px 0 0;
  position: relative;
  z-index: 4;
}

#videos {
  margin-top: 30px;
}

.watch-cta .hero-btn {
  margin-top: 0;
}

/* ---------- 日程 ---------- */
.schedule {
  position: relative;
  margin: 76px 6px 0;
  padding: 44px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.schedule-titlebar {
  position: absolute;
  top: -17px;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: min(310px, 74%);
  height: 42px;
  padding: 0 14px;
  background: url("../images/title-bg3.png") center center / 100% 100% no-repeat;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 12px rgba(150, 48, 30, 0.28));
}

.schedule h2 {
  position: relative;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(150, 48, 30, 0.45);
}

.quote {
  position: absolute;
  top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.quote--left { left: 8px; }
.quote--right { right: 8px; }

.schedule-list {
  display: grid;
  gap: 8px;
}

.schedule-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, transform 0.25s ease;
}

.schedule-list a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(3px);
}

.schedule-list time {
  font-size: 12px;
  opacity: 0.85;
  white-space: nowrap;
}

.schedule-list b {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

/* ---------- 白底内容卡片 ---------- */
.panel {
  position: relative;
  margin: 60px 6px 0;
  padding-top: 24px;
}

.panel-tab {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  padding: 8px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(180, 70, 45, 0.3);
  transform: translateX(-50%);
}

.panel-body {
  padding: 40px 18px 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(12, 58, 124, 0.22);
}

.honor-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.honor-pills span {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #7db8ff);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.cover-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(31, 99, 201, 0.18);
}

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

.cover-card:hover img {
  transform: scale(1.06);
}

.cover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 42, 84, 0.76), rgba(10, 42, 84, 0.02) 60%);
}

.cover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.3s ease;
}

.cover-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.cover-card:hover .cover-play {
  background: var(--primary-deep);
  transform: translate(-50%, -50%) scale(1.1);
}

.cover-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.cover-caption b {
  font-size: 20px;
  letter-spacing: 2px;
}

.cover-caption small {
  font-size: 11px;
  opacity: 0.85;
}

.panel-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- 学科视频卡片 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.video-card {
  overflow: hidden;
  border: 1px solid #dceafa;
  border-radius: 14px;
  background: #f7fbff;
  box-shadow: 0 8px 20px rgba(31, 99, 201, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(31, 99, 201, 0.16);
}

.video-card.is-flash {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 138, 102, 0.28), 0 16px 30px rgba(31, 99, 201, 0.16);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5f1ff;
}

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

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

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(77, 154, 255, 0.92);
  color: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.video-card:hover .video-play {
  background: var(--primary-deep);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-time {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 48, 92, 0.72);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
}

.video-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 14px;
}

.video-info-text {
  min-width: 0;
}

.video-click {
  flex: 0 0 auto;
  width: 26px;
  height: 34px;
  object-fit: contain;
}

.video-info h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.video-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* ---------- 服务入口 ---------- */
.quick-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 48px 6px 0;
}

.quick-tools a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.quick-tools a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

.quick-tools b {
  font-size: 12px;
}

/* ---------- 点赞引导 ---------- */
.like-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 6px 30px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.6;
}

.like-tip-icon {
  flex: 0 0 auto;
  width: 38px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.like-tip strong {
  color: var(--white);
}

/* ---------- 底部信息 ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin: 46px 0 0;
  padding: 34px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px 24px 0 0;
  background: rgba(12, 56, 116, 0.72);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/footer-bg.jpg") center center / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.7);
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 17px;
  font-weight: 800;
}

.footer-title small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6px;
  opacity: 0.72;
}

.footer-rows {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.65;
}

.footer-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-row b {
  color: #a9cdff;
  font-weight: 600;
}

.footer-row span {
  color: rgba(255, 255, 255, 0.94);
}

.footer-row a {
  color: var(--white);
  font-weight: 600;
}

.footer-row small {
  font-size: 10px;
  opacity: 0.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  opacity: 0.82;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 700;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-deep);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 68, 145, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  background: #eaf3ff;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- 渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 520px) {
  .schedule-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .page { width: min(calc(100% - 16px), 640px); }
  .logo-pill { font-size: 10px; padding: 6px 9px; }
  .poster-frame { margin: 18px 6px 0; padding: 10px; }
  .poster-badge { width: 64px; height: 64px; top: -14px; right: -8px; font-size: 10px; }
  .poster-cap { width: 46px; height: 46px; left: -10px; bottom: -12px; }
  .date-pill { font-size: 14px; padding: 9px 20px; }
  .hero-title span { font-size: 19px; }
  .video-grid { grid-template-columns: 1fr; }
  .quick-tools { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
