/* 重置和基礎樣式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 防止Vue初始化前的闪烁 */
[v-cloak] {
  display: none !important;
}

/* 确保页面基础样式立即应用 */
#app {
  opacity: 1;
}

body {
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.7;
  color: #1d1d1f;
  background-color: #fbfbfd;
  font-size: 17px;
  font-weight: 400;
  font-display: swap;
}

/* 艾特颜色 */
.at-color {
  color: #f39c12;
}

/* 主题颜色 */
.theme-color {
  color: #1e90ff;
}

/* 红色 */
.red-color {
  color: #ff0000;
}

/* 加粗 */
.bold {
  font-weight: bold;
}

/* 頁面容器 */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 主要內容區域 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  flex: 1;
  align-items: start;
}

/* 左側內容區域 */
.left-content {
  max-width: 100%;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f2f2f7;
}

/* 文章標題區域 */
.article-header {
  margin-bottom: 50px;
  text-align: left;
  position: relative;
}

.main-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.25rem;
  color: #86868b;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
}

.subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 60px;
  height: 4px;
  background: #ff6842;
  border-radius: 2px;
}

/* 文章內容 */
.article-content {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid #f2f2f7;
}

.article-content:last-of-type {
  border-bottom: none;
}

/* 作者信息 */
.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f2f2f7;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f2f2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
}

.publish-date {
  font-size: 0.9rem;
  color: #86868b;
}

/* 文章正文 */
.article-text {
  line-height: 1.8;
}

.article-text p {
  margin-bottom: 24px;
  color: #1d1d1f;
  font-size: 1.05rem;
}

.article-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 40px 0 20px 0;
  letter-spacing: -0.01em;
}

/* 文章圖片 */

.content-image {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.4s ease;
  cursor: pointer;
  margin-bottom: 20px;
}

.content-image:hover {
  transform: scale(1.02);
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #86868b;
  margin-top: 12px;
  font-style: italic;
}

/* 評論區域 */
.comments-section {
  margin-top: 40px;
}

.comments-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

/* 評論輸入表單 */
.comment-form {
  margin-bottom: 40px;
}

.comment-input-wrapper {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.comment-input {
  flex: 1;
  min-height: 80px;
  padding: 16px 20px;
  border: 2px solid #f2f2f7;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.3s ease;
  background: #fbfbfd;
}

.comment-input:focus {
  outline: none;
  border-color: #ff6842;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 104, 66, 0.1);
}

.comment-submit {
  background: linear-gradient(135deg, #ff6842 0%, #ff8a6b 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  height: fit-content;
}

.comment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 104, 66, 0.3);
}

.comment-submit:active {
  transform: translateY(0);
}

/* 評論列表 */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.comment-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  background: #fbfbfd;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  border: 1px solid #f2f2f7;
}

.comment-item:hover {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f2f2f7;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.commenter-name {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 1rem;
}

.comment-time {
  font-size: 0.85rem;
  color: #86868b;
}

.comment-text {
  color: #1d1d1f;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 右側導遊信息卡片 */
.right-sidebar {
  position: sticky;
  top: 40px;
  height: fit-content;
}

.guide-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #f2f2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 50px rgba(0, 0, 0, 0.12);
}

.guide-avatar-section {
  margin-bottom: 30px;
}

.avatar-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ff6842;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid white;
  z-index: 10;
}

.guide-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f2f2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.guide-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.guide-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.guide-title {
  font-size: 1rem;
  color: #86868b;
  margin-bottom: 25px;
}

/* 聯繫詳情 */
.guide-details {
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f2f2f7;
}

.contact-item.wechat {
  border-bottom: none;
}

.contact-item .fa-weixin {
  color: #07c160;
  margin-right: 8px;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 500;
  color: #86868b;
  font-size: 0.95rem;
}

.contact-value {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 0.95rem;
}

/* 二維碼區域 */
.qr-code-section {
  margin-bottom: 30px;
}

.qr-code {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
}

.qr-text {
  font-size: 0.9rem;
  color: #86868b;
}

/* 快速留言按鈕 */
.quick-message-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6842 0%, #ff8a6b 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.quick-message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 104, 66, 0.3);
}

.quick-message-btn:active {
  transform: translateY(0);
}

/* 底部版權 */
.footer {
  background: #1d1d1f;
  color: #f2f2f7;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.copyright,
.address {
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #86868b;
}

.footer-nav {
  font-size: 0.9rem;
}

.footer-nav a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 5px;
}

.footer-nav a:hover {
  color: #ff6842;
}

/* 響應式設計 */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .main-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .left-content {
    padding: 25px;
    border-radius: 0;
  }

  .right-sidebar {
    display: none;
  }

  .comment-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .comment-submit {
    align-self: flex-end;
    width: auto;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  .left-content {
    padding: 20px;
    border-radius: 0;
  }
}

/* 滾動條樣式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f2f2f7;
}

::-webkit-scrollbar-thumb {
  background: #c7c7cc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8ac;
}

/* 平滑滾動 */
html {
  scroll-behavior: smooth;
}

/* 選擇文本樣式 */
::selection {
  background: rgba(255, 104, 66, 0.2);
  color: #1d1d1f;
}

/* 高對比度支持 */
@media (prefers-contrast: high) {
  .comment-input {
    border-color: #1d1d1f;
  }

  .guide-card,
  .article-content,
  .comments-section {
    box-shadow: 0 0 0 2px #1d1d1f;
  }
}

/* 減少動畫支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 導遊名稱高亮樣式 */
.guide-name-highlight {
  color: #ff3b30;
  font-weight: 600;
}

/* 微信號樣式 */
.wechat-id {
  color: #ff3b30;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.wechat-id:hover {
  background-color: #f0f7ff;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.15);
}

/* 查看二維碼按鈕樣式 */
.view-qr-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 8px;
}

.qr-icon {
  max-width: 100px;
  object-fit: contain;
}

/* 弹窗遮罩层 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(5px);
  animation: modalOverlayFadeIn 0.3s ease-out;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: #333;
}

/* 表单样式 */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
}

.required {
  color: #ff3b30;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 14px;
  color: #1d1d1f;
  background: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6842;
  box-shadow: 0 0 0 4px rgba(255, 104, 66, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 联系方式选项 */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: #fff;
}

.radio-group:hover {
  background: #f5f5f7;
}

.radio-group.selected {
  border-color: #ff6842;
  background: rgba(255, 104, 66, 0.05);
}

.radio-group input[type="radio"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #d2d2d7;
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.radio-group input[type="radio"]:checked {
  border-color: #ff6842;
  background: #fff;
}

.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #ff6842;
  border-radius: 50%;
}

.radio-group label {
  font-size: 15px;
  color: #1d1d1f;
  cursor: pointer;
}

/* 提交按钮 */
.submit-btn {
  background: #ff6842;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #e55a3a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 104, 66, 0.3);
}

.submit-btn:disabled {
  background: #d2d2d7;
  color: #86868b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 错误消息样式 */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* 微信复制成功弹窗 */
.copy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: modalOverlayFadeIn 0.3s ease-out;
}

.copy-content {
  position: relative;
  background: white;
  padding: 30px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: modalPop 0.3s ease-out;
}

.copy-header {
  margin-bottom: 16px;
}

.copy-header svg {
  color: #07c160;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 4px rgba(7, 193, 96, 0.2));
  margin-bottom: 12px;
}

.copy-header h3 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.copy-content p {
  color: #666;
  font-size: 16px;
  word-break: break-all;
  margin: 8px 0;
}

.copy-footer {
  display: flex;
  gap: 20px;
  padding: 0 12px;
  margin-top: 20px;
}

.secondary-btn,
.primary-btn {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-btn {
  background: #f5f5f5;
  color: #333;
}

.primary-btn {
  background: #07c160;
  color: white;
  box-shadow: 0 2px 6px rgba(7, 193, 96, 0.2);
}

.secondary-btn:hover {
  background: #ebebeb;
}

.primary-btn:hover {
  background: #06b054;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(7, 193, 96, 0.25);
}

/* 二维码弹窗 */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
  animation: modalOverlayFadeIn 0.3s ease-out;
}

.qr-modal-content {
  background: white;
  width: 90%;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-modal-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.guide-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-guide-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-guide-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-tag {
  font-size: 12px;
  background: #fff4e5;
  color: #ff9500;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.qr-modal-body {
  padding: 24px;
  text-align: center;
}

.modal-qr-code {
  width: 260px;
  height: 260px;
  border-radius: 12px;
}

.qr-modal-footer {
  padding: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}

.qr-modal-footer .secondary-btn {
  padding: 8px 20px;
  background: #f5f5f7;
  color: #666;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qr-modal-footer .primary-btn {
  padding: 8px 20px;
  background: #07c160;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 移动端悬浮按钮 */
.floating-buttons {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
  display: none;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: #666;
}

.floating-buttons .float-btn:first-child svg {
  fill: #07c160;
}

.floating-buttons .float-btn:nth-child(2) svg {
  fill: #ff6842;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* 成功提示弹窗 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
  animation: modalOverlayFadeIn 0.3s ease;
}

.success-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 320px;
  animation: modalFadeIn 0.3s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #34c759;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.3s ease;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.success-content h3 {
  font-size: 20px;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.success-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

.success-btn {
  background: #ff6842;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  background: #e55a3a;
  box-shadow: 0 4px 12px rgba(255, 104, 66, 0.3);
}

/* 通用提示弹窗 */
.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: modalOverlayFadeIn 0.2s ease;
}

.alert-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: modalFadeIn 0.3s ease;
}

.alert-content p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #1d1d1f;
  line-height: 1.4;
}

.alert-content button {
  background: #ff6842;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.alert-content button:hover {
  background: #e55a3a;
  box-shadow: 0 4px 12px rgba(255, 104, 66, 0.3);
}

/* 动画效果 */
@keyframes modalOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .floating-buttons {
    display: flex;
  }

  .qr-modal-content {
    width: 95%;
  }

  .modal-qr-code {
    width: 240px;
    height: 240px;
  }

  .qr-modal-header {
    padding: 16px;
  }

  .qr-modal-body {
    padding: 20px;
  }

  .qr-modal-footer {
    padding: 16px;
  }
}

/* 电话输入框样式 */
#bottom-contact-number,
#modal-contact-number,
#comment-contact-number {
  width: 100%;
}

.iti__selected-flag {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.iti {
  width: 100%;
}

/* 留言弹窗使用二维码弹窗样式 */
.qr-modal .modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.qr-modal .modal-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.qr-modal .contact-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 复制弹窗关闭按钮位置修复 */
.copy-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.copy-close-btn .close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.copy-close-btn .close-btn:hover {
  background: #f5f5f5;
  color: #666;
  transform: rotate(90deg);
}

/* 底部留言模块样式调整 */
.bottom-message-section {
  background: #f8f9ff;
  padding: 40px;
  margin-top: 60px;
  border-radius: 20px;
  border: 1px solid #f2f2f7;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

.bottom-message-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 12px;
}

.bottom-message-section > p {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 评论注册弹窗样式 */
.comment-register-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: modalOverlayFadeIn 0.2s ease;
}

.comment-register-modal .modal-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: modalFadeIn 0.3s ease;
}

.comment-register-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.comment-register-modal .modal-header h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.comment-register-modal .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #86868b;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all 0.2s ease;
}

.comment-register-modal .close-btn:hover {
  color: #1d1d1f;
}

.comment-register-modal .submit-btn {
  width: 100%;
  background: #ff6842;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.comment-register-modal .submit-btn:hover {
  background: #e55a3a;
  box-shadow: 0 4px 12px rgba(255, 104, 66, 0.3);
}

.comment-register-modal .form-group {
  margin-bottom: 16px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 移动端适配更新 */
@media (max-width: 768px) {
  .qr-modal .modal-content {
    width: 95%;
    max-width: none;
  }

  .qr-modal .contact-form {
    padding: 20px;
  }

  .bottom-message-section {
    padding: 24px;
    margin-top: 40px;
  }

  .bottom-message-section h3 {
    font-size: 1.25rem;
  }

  .comment-register-modal .modal-content {
    width: 85%;
    padding: 20px;
  }

  .comment-register-modal .modal-header h4 {
    font-size: 18px;
  }
}

/* 文章内二维码样式 */
.article-qr-section {
  text-align: center;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #f2f2f7;
}

.article-qr-code {
  width: 40%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-qr-code:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .article-qr-code {
    width: 60%;
    max-width: 250px;
  }

  .article-qr-section {
    margin: 20px 0;
    padding: 15px 0;
  }
}
