* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  color: #7a4a5f;
  background: #ffeef5;
  min-width: 1200px;
}

a {
  text-decoration: none;
  color: #7a4a5f;
}

img {
  border: 0;
  display: block;
}

.clear {
  clear: both;
}

.top {
  width: 100%;
  height: 36px;
  background: #ff6fa5;
}

.top-box {
  width: 1200px;
  height: 36px;
  margin: 0 auto;
}

.top-l {
  width: 600px;
  float: left;
  font-size: 14px;
  line-height: 36px;
  color: #fff;
}

.top-r {
  width: 400px;
  float: right;
  font-size: 14px;
  line-height: 36px;
  text-align: right;
  color: #fff;
}

.header {
  width: 100%;
  height: 84px;
  background: #fff;
  border-bottom: 4px solid #ffd1e0;
}

.header-box {
  width: 1200px;
  height: 84px;
  margin: 0 auto;
}

.logo {
  width: 300px;
  height: 84px;
  float: left;
}

.logo-img {
  width: 56px;
  height: 56px;
  float: left;
  margin: 14px 10px 0 0;
  border-radius: 50%;
  transition: transform .4s;
}

.logo-img:hover {
  transform: scale(1.1) rotate(8deg);
}

.logo-txt {
  float: left;
  font-size: 28px;
  line-height: 84px;
  color: #ff6fa5;
}

.nav {
  width: 600px;
  height: 84px;
  float: right;
}

.nav-a {
  display: block;
  width: 150px;
  height: 84px;
  float: left;
  font-size: 18px;
  line-height: 84px;
  text-align: center;
  color: #8a4a63;
  transition: background .3s, color .3s;
}

.nav-a:hover {
  background: #ff6fa5;
  color: #fff;
}

.banner {
  width: 1200px;
  height: 420px;
  margin: 24px auto 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.banner-img {
  width: 1200px;
  height: 420px;
  transition: transform .6s;
}

.banner-img:hover {
  transform: scale(1.04);
}

.banner-text {
  width: 700px;
  position: absolute;
  left: 70px;
  top: 120px;
  padding: 24px 30px;
  background: rgba(255, 255, 255, .55);
  border-radius: 24px;
}

.banner-title {
  font-size: 42px;
  font-weight: bold;
  color: #ff5f9e;
}

.banner-sub {
  margin-top: 12px;
  font-size: 18px;
  color: #c96a8b;
}

.main {
  width: 1200px;
  margin: 24px auto 0;
}

.about {
  padding: 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 24px;
}

.title {
  margin-bottom: 30px;
  padding-left: 16px;
  font-size: 30px;
  color: #ff6fa5;
  border-left: 8px solid #ff9ec7;
}

.about-pic {
  width: 320px;
  float: left;
  border-radius: 16px;
  overflow: hidden;
}

.about-img {
  width: 320px;
  height: 400px;
  transition: transform .5s;
}

.about-img:hover {
  transform: scale(1.08);
}

.about-text {
  width: 760px;
  float: right;
}

.info {
  list-style: none;
}

.info li {
  width: 360px;
  float: left;
  margin: 0 40px 18px 0;
  font-size: 16px;
}

.info li:nth-child(2n) {
  margin-right: 0;
}

.info-l {
  display: inline-block;
  width: 90px;
  height: 34px;
  line-height: 34px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #ff6fa5;
  background: #ffe9f3;
  border-radius: 8px;
}

.info-r {
  display: inline-block;
  margin-left: 10px;
  line-height: 34px;
}

.intro {
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
  color: #8a5a6e;
}

.intro p {
  margin-bottom: 12px;
}

.intro p:last-child {
  margin-bottom: 0;
}

.more-txt {
  margin: -12px 0 24px 0;
  font-size: 16px;
  line-height: 26px;
  color: #a08090;
}

.tag-box {
  margin-top: 20px;
}

.tag {
  float: left;
  display: block;
  margin: 0 12px 0 0;
  padding: 6px 18px;
  font-size: 14px;
  color: #ff6fa5;
  background: #fff0f6;
  border-radius: 20px;
}

.works {
  padding: 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 24px;
}

.work-item {
  width: 360px;
  float: left;
  margin: 0 20px 0 0;
  padding-bottom: 16px;
  text-align: center;
  background: #fff8fb;
  border-radius: 16px;
}

.work-item:nth-child(3n) {
  margin-right: 0;
}

.work-img {
  width: 360px;
  height: 270px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.work-pic {
  width: 360px;
  height: 270px;
  transition: transform .5s;
}

.work-pic:hover {
  transform: scale(1.12);
}

.work-name {
  margin-top: 14px;
  font-size: 18px;
  color: #ff6fa5;
}

.work-txt {
  margin-top: 6px;
  font-size: 14px;
  color: #a08090;
}

.daily {
  padding: 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 24px;
}

.daily-item {
  width: 265px;
  float: left;
  margin: 0 20px 0 0;
  padding-bottom: 12px;
  text-align: center;
  background: #fff8fb;
  border-radius: 16px;
}

.daily-item:nth-child(4n) {
  margin-right: 0;
}

.daily-img {
  width: 265px;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.daily-pic {
  width: 265px;
  height: 200px;
  transition: transform .5s;
}

.daily-pic:hover {
  transform: scale(1.12);
}

.daily-txt {
  margin-top: 10px;
  font-size: 15px;
  color: #8a5a6e;
}

/* 生活碎片页：3列大图网格 */
.daily-grid .daily-item {
  width: 360px;
  margin: 0 20px 0 0;
}

.daily-grid .daily-item:nth-child(3n) {
  margin-right: 0;
}

.daily-grid .daily-img {
  width: 360px;
  height: 480px;
}

.daily-grid .daily-pic {
  width: 360px;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

.footer {
  width: 100%;
  margin-top: 24px;
  background: #ffc9de;
}

.footer-box {
  width: 1200px;
  height: 90px;
  margin: 0 auto;
  text-align: center;
}

.footer-txt {
  padding-top: 22px;
  font-size: 15px;
  line-height: 24px;
  color: #a04a68;
}

.footer-txt2 {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: #c06a88;
}

/* 导航当前页高亮 */
.nav-a.on {
  background: #ff6fa5;
  color: #fff;
}

/* ========== 子页面横幅 ========== */
.page-banner {
  width: 1200px;
  margin: 24px auto 0;
  padding: 52px 40px;
  text-align: center;
  background: #ffd9e8;
  border-radius: 24px;
}

.page-banner-title {
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 8px;
  color: #ff5f9e;
}

.page-banner-sub {
  margin-top: 14px;
  font-size: 17px;
  letter-spacing: 2px;
  color: #b05a7c;
}

/* ========== 作品集页 ========== */
.skill {
  padding: 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 24px;
}

.skill-item {
  width: 265px;
  float: left;
  margin: 0 20px 0 0;
  padding: 30px 20px 26px;
  text-align: center;
  background: #fff8fb;
  border-radius: 16px;
  transition: transform .3s, box-shadow .3s;
}

.skill-item:nth-child(4n) {
  margin-right: 0;
}

.skill-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(255, 111, 165, .18);
}

.skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ffe9f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon svg {
  width: 32px;
  height: 32px;
  stroke: #ff6fa5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skill-name {
  font-size: 20px;
  font-weight: bold;
  color: #ff5f9e;
}

.skill-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 22px;
  color: #a08090;
}

/* ========== 生活碎片页 ========== */
.mood {
  padding: 40px;
  margin-bottom: 24px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
}

.mood-heart {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 26px;
  color: #ff6fa5;
  animation: beat 1.6s ease-in-out infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.mood-txt {
  font-size: 19px;
  line-height: 34px;
  color: #8a5a6e;
}

.mood-tag {
  display: inline-block;
  margin: 16px 8px 0;
  padding: 6px 18px;
  font-size: 14px;
  color: #ff6fa5;
  background: #fff0f6;
  border-radius: 20px;
}

/* ========== 联系我页 ========== */
.contact-wrap {
  width: 760px;
  margin: 24px auto 0;
}

.contact-form {
  width: 100%;
  box-sizing: border-box;
  padding: 36px 40px 40px;
  background: #fff;
  border-radius: 24px;
}

.form-row {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #7a4a5f;
}

.form-label .req {
  color: #ff5f9e;
}

.form-half {
  width: 48%;
  float: left;
}

.form-half.left {
  margin-right: 4%;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 2px solid #ffd9e6;
  border-radius: 12px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  color: #7a4a5f;
  background: #fffafc;
  outline: none;
  transition: border-color .3s, background .3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #ff6fa5;
  background: #fff;
}

.form-textarea {
  height: 140px;
  line-height: 24px;
  resize: vertical;
}

.radio-line,
.check-line {
  display: flex;
  flex-wrap: wrap;
}

.radio-line label,
.check-line label {
  display: flex;
  align-items: center;
  margin: 0 22px 8px 0;
  padding: 8px 16px;
  font-size: 15px;
  color: #8a5a6e;
  background: #fff8fb;
  border-radius: 20px;
  cursor: pointer;
  transition: background .3s, color .3s;
}

.radio-line label:hover,
.check-line label:hover {
  background: #ffe9f3;
}

.radio-line input,
.check-line input {
  margin-right: 6px;
  accent-color: #ff6fa5;
  width: 17px;
  height: 17px;
}

.word-count {
  margin-top: 6px;
  font-size: 13px;
  text-align: right;
  color: #c99ab0;
}

.form-btn {
  display: inline-block;
  padding: 12px 44px;
  border: 0;
  border-radius: 30px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 17px;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}

.form-btn:hover {
  transform: translateY(-2px);
}

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

.form-btn-submit {
  margin-right: 14px;
  background: #ff6fa5;
  color: #fff;
}

.form-btn-submit:hover {
  background: #ff5f9e;
}

.form-btn-reset {
  background: #ffe9f3;
  color: #ff6fa5;
}

.form-btn-reset:hover {
  background: #ffd9e6;
}

.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-90px);
  padding: 14px 30px;
  background: #ff6fa5;
  color: #fff;
  font-size: 16px;
  border-radius: 30px;
  opacity: 0;
  box-shadow: 0 8px 24px rgba(255, 111, 165, .35);
  transition: all .35s;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1280px) {
  body {
    min-width: 1200px;
  }
}

/* ========== 视频作品 ========== */
.video {
  padding: 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 24px;
}

.video-item {
  width: 360px;
  float: left;
  margin: 0 20px 0 0;
  padding-bottom: 16px;
  text-align: center;
  background: #fff8fb;
  border-radius: 16px;
}

.video-item:nth-child(3n) {
  margin-right: 0;
}

.video-box {
  width: 360px;
  height: 480px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #ffeef5;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-name {
  margin-top: 14px;
  font-size: 18px;
  color: #ff6fa5;
}

.video-txt {
  margin-top: 6px;
  font-size: 14px;
  color: #a08090;
}
