/* ============================================
   拟态设计重构样式 - 高端落地页
   ============================================ */

/* 引入拟态设计系统 */
@import url('neumorphism.css');

/* ----------------------------------------
   1. 页面基础布局
   ---------------------------------------- */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--nm-bg-primary);
  color: var(--nm-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* ----------------------------------------
   2. 头部区域 - 拟态设计
   ---------------------------------------- */
.header {
  position: relative;
  background: var(--nm-bg-primary);
  padding: 20px;
  margin: 0;
  box-shadow: var(--nm-raised);
  border-radius: 0 0 var(--nm-radius-lg) var(--nm-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: nm-fade-in 0.8s ease-out;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  max-width: 100%;
  padding: 0 10px;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--nm-text-secondary);
  text-align: center;
  font-weight: 400;
  max-width: 100%;
  padding: 0 10px;
  line-height: 1.4;
}

/* Header Logo 样式 - 圆形美观设计 */
.header .news-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--nm-raised);
  border: 4px solid var(--nm-bg-primary);
  transition: all var(--nm-transition);
}

.header .news-card-image:hover {
  transform: scale(1.05);
  box-shadow: var(--nm-raised-lg);
}

.header .news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ----------------------------------------
   3. 语言选择器 - 拟态设计
   ---------------------------------------- */
.language-selector {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1001;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--nm-bg-primary);
  border: none;
  border-radius: var(--nm-radius);
  cursor: pointer;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
  color: var(--nm-text-primary);
  font-weight: 500;
  font-size: 14px;
}

.language-button:hover {
  box-shadow: var(--nm-raised-lg);
  transform: translateY(-2px);
}

.language-button:active {
  box-shadow: var(--nm-pressed);
  transform: translateY(0);
}

.language-selector.open .language-button {
  box-shadow: var(--nm-pressed);
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.language-arrow {
  font-size: 10px;
  color: var(--nm-text-tertiary);
  transition: transform var(--nm-transition);
}

.language-selector.open .language-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius);
  box-shadow: var(--nm-raised-lg);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--nm-transition);
}

.language-selector.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: var(--nm-radius-sm);
  transition: all var(--nm-transition);
  color: var(--nm-text-primary);
  font-size: 14px;
}

.language-option:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--nm-inset-sm);
}

/* ----------------------------------------
   4. 全球服务国旗区域 - 拟态设计
   ---------------------------------------- */
.global-flags {
  width: 100%;
  max-width: 900px;
  margin: 15px auto 0;
  padding: 20px;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  box-shadow: var(--nm-inset);
  overflow: hidden;
}

.global-services-title {
  color: var(--nm-text-primary) !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  max-width: 100%;
  padding: 0 10px;
  line-height: 1.4;
}

.flags-row {
  position: relative;
  height: 50px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--nm-radius);
  background: var(--nm-bg-primary);
  box-shadow: var(--nm-inset-sm);
}

.flags-container {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  padding: 0 10px;
}

.flags-container--left {
  animation-name: scrollLeft;
  animation-duration: 25s;
}

.flags-container--right {
  animation-name: scrollRight;
  animation-duration: 25s;
}

.flag {
  width: 38px;
  height: 38px;
  display: inline-block;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--nm-bg-primary);
  box-shadow: var(--nm-raised-sm);
  padding: 3px;
  transition: all var(--nm-transition);
}

.flag:hover {
  box-shadow: var(--nm-raised);
  transform: scale(1.1);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ----------------------------------------
   5. 欢迎区域 - 拟态设计
   ---------------------------------------- */
.welcome-section {
  margin-top: 30px;
  padding: 30px;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  box-shadow: var(--nm-raised);
  animation: nm-slide-up 0.8s ease-out 0.2s both;
}

.welcome-title {
  color: var(--nm-text-primary);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}

.content-buttons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.content-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--nm-bg-primary);
  border: none;
  border-radius: var(--nm-radius);
  color: var(--nm-text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
}

.content-button:hover {
  box-shadow: var(--nm-raised-lg);
  transform: translateY(-3px);
}

.content-button:active {
  box-shadow: var(--nm-pressed);
  transform: translateY(0);
}

.button-title {
  flex: 1;
}

.button-arrow {
  font-size: 0.75rem;
  color: var(--nm-accent-gold);
  transition: transform var(--nm-transition);
}

.content-button:hover .button-arrow {
  transform: translateY(2px);
}

/* ----------------------------------------
   6. 抽屉组件 - 拟态设计
   ---------------------------------------- */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--nm-transition);
  z-index: 1000;
}

.drawer-overlay-visible {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-xl) var(--nm-radius-xl) 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.drawer-open {
  transform: translateY(0);
}

.drawer-header {
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--nm-radius-xl) var(--nm-radius-xl) 0 0;
}

.drawer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all var(--nm-transition);
}

.drawer-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.drawer-content {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
  color: var(--nm-text-primary);
  font-size: 1rem;
  line-height: 1.8;
}

.drawer-content h4 {
  color: var(--nm-accent-gold);
  font-size: 1.2rem;
  margin: 24px 0 12px;
  font-weight: 600;
}

.drawer-content p {
  margin-bottom: 16px;
  color: var(--nm-text-secondary);
}

.drawer-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.drawer-content li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--nm-text-secondary);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.drawer-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--nm-accent-gold);
  font-weight: 700;
}

.drawer-content::-webkit-scrollbar {
  width: 6px;
}

.drawer-content::-webkit-scrollbar-track {
  background: var(--nm-bg-primary);
}

.drawer-content::-webkit-scrollbar-thumb {
  background: var(--nm-bg-secondary);
  border-radius: 3px;
}

/* ----------------------------------------
   7. 3D球体画廊 - 拟态设计
   ---------------------------------------- */
.sphere-root {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  margin: 40px auto;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  box-shadow: var(--nm-inset);
  overflow: hidden;
  --radius: 180px;
  --viewer-pad: 40px;
  --circ: calc(var(--radius) * 3.14);
  --segments-x: 16;
  --segments-y: 16;
  --rot-y: calc((360deg / var(--segments-x)) / 2);
  --rot-x: calc((360deg / var(--segments-y)) / 2);
  --item-width: calc(var(--circ) / var(--segments-x));
  --item-height: calc(var(--circ) / var(--segments-y));
  --overlay-blur-color: transparent;
  --tile-radius: 10px;
  --enlarge-radius: 16px;
  --image-filter: none;
}

.sphere-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: unset;
  user-select: none;
  -webkit-user-select: none;
}

.stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  perspective: calc(var(--radius) * 4);
  perspective-origin: 50% 50%;
}

.sphere {
  transform: translateZ(calc(var(--radius) * -1)) translateY(0px);
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.item {
  width: calc(var(--item-width) * var(--item-size-x));
  height: calc(var(--item-height) * var(--item-size-y));
  position: absolute;
  top: -999px;
  bottom: -999px;
  left: -999px;
  right: -999px;
  margin: auto;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  transition: transform 300ms;
  transform: rotateY(calc(var(--rot-y) * (var(--offset-x) + ((var(--item-size-x) - 1) / 2)) + var(--rot-y-delta, 0deg)))
    rotateX(calc(var(--rot-x) * (var(--offset-y) - ((var(--item-size-y) - 1) / 2)) + var(--rot-x-delta, 0deg)))
    translateZ(var(--radius));
}

.item__image {
  position: absolute;
  display: block;
  inset: 6px;
  border-radius: var(--tile-radius, 12px);
  background: var(--nm-bg-primary);
  overflow: hidden;
  backface-visibility: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
  box-shadow: var(--nm-raised-sm);
  transition: all var(--nm-transition);
}

.item__image:hover {
  box-shadow: var(--nm-raised);
}

.item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  filter: var(--image-filter, none);
}

.viewer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--viewer-pad);
}

.viewer .frame {
  height: 100%;
  aspect-ratio: 1;
  border-radius: var(--enlarge-radius, 24px);
  display: flex;
}

.viewer .scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(45, 55, 72, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
  backdrop-filter: blur(5px);
}

.sphere-root[data-enlarging='true'] .viewer .scrim {
  opacity: 1;
  pointer-events: all;
}

.viewer .enlarge {
  position: absolute;
  z-index: 30;
  border-radius: var(--enlarge-radius, 24px);
  overflow: hidden;
  transition: transform 500ms ease, opacity 500ms ease;
  transform-origin: top left;
  box-shadow: var(--nm-raised-lg);
}

.viewer .enlarge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--image-filter, none);
}

/* 悬浮提示框 */
.sphere-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--nm-bg-primary);
  color: var(--nm-text-primary);
  padding: 14px 24px;
  border-radius: var(--nm-radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--nm-raised);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--nm-transition);
  pointer-events: none;
}

.sphere-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* ----------------------------------------
   7.5 统计数据卡片 - 拟态设计
   ---------------------------------------- */
.stats-cards {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 50;
  padding: 0 20px;
}

.stats-card {
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius);
  padding: 16px 24px;
  box-shadow: var(--nm-raised);
  text-align: center;
  min-width: 160px;
  transition: all var(--nm-transition);
}

.stats-card:hover {
  box-shadow: var(--nm-raised-lg);
  transform: translateY(-2px);
}

.stats-label {
  font-size: 0.85rem;
  color: var(--nm-text-tertiary);
  margin-bottom: 6px;
  font-weight: 500;
  white-space: nowrap;
}

.stats-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nm-accent-gold);
  white-space: nowrap;
  font-family: 'Poppins', 'Roboto Mono', monospace;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
  .stats-cards {
    bottom: 15px;
    gap: 12px;
    padding: 0 15px;
  }
  
  .stats-card {
    padding: 12px 16px;
    min-width: 130px;
  }
  
  .stats-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  
  .stats-value {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .stats-cards {
    bottom: 10px;
    gap: 8px;
    padding: 0 10px;
  }
  
  .stats-card {
    padding: 10px 12px;
    min-width: 110px;
  }
  
  .stats-label {
    font-size: 0.7rem;
  }
  
  .stats-value {
    font-size: 1rem;
  }
}

/* ----------------------------------------
   8. 个人资料面板 - 拟态设计
   ---------------------------------------- */
.profile-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--nm-transition);
}

.profile-panel.active {
  opacity: 1;
  visibility: visible;
}

.profile-content {
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  overflow: hidden;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--nm-raised-lg);
  transform: scale(0.9);
  transition: transform var(--nm-transition);
}

.profile-panel.active .profile-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  background: var(--nm-bg-primary);
  border: none;
  border-radius: 50%;
  color: var(--nm-text-primary);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  box-shadow: var(--nm-raised-lg);
  transform: scale(1.1);
  color: var(--nm-error);
}

.close-btn:active {
  box-shadow: var(--nm-pressed);
}

.profile-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--nm-radius-lg) var(--nm-radius-lg) 0 0;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--nm-radius-lg) var(--nm-radius-lg) 0 0;
}

.profile-info {
  padding: 28px;
  background: var(--nm-bg-primary);
  text-align: center;
}

.profile-field {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-label {
  font-weight: 600;
  color: var(--nm-text-tertiary);
  font-size: 0.95rem;
}

.profile-name {
  color: var(--nm-text-primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.occupation {
  color: var(--nm-accent-gold);
  font-weight: 600;
  font-size: 1.05rem;
}

.nationality {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--nm-text-secondary);
  font-weight: 500;
}

.nationality img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ----------------------------------------
   9. 浮动按钮 - 拟态设计
   ---------------------------------------- */
.floating-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--nm-bg-primary);
  color: var(--nm-accent-gold);
  border: none;
  border-radius: var(--nm-radius-full);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--nm-raised-lg);
  transition: all var(--nm-transition);
  z-index: 999;
  animation: nm-bounce 2s infinite ease-in-out;
}

.floating-btn:hover {
  box-shadow: 
    16px 16px 32px var(--nm-shadow-dark),
    -16px -16px 32px var(--nm-shadow-light);
  transform: translateY(-4px) scale(1.02);
}

.floating-btn:active {
  box-shadow: var(--nm-pressed);
  transform: translateY(0);
}

.floating-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes nm-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----------------------------------------
   10. 群聊福利卡片 - 拟态设计
   ---------------------------------------- */
.group-benefit-card {
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  padding: 32px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
}

.group-benefit-card:hover {
  box-shadow: var(--nm-raised-lg);
  transform: translateY(-4px);
}

.group-benefit-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.group-benefit-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius);
  box-shadow: var(--nm-raised);
  color: var(--nm-accent-gold);
  flex-shrink: 0;
}

.group-benefit-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.group-benefit-info {
  flex: 1;
}

.group-benefit-title {
  color: var(--nm-text-primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.group-benefit-description {
  color: var(--nm-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.group-benefit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--nm-radius);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
}

.group-benefit-btn:hover {
  box-shadow: var(--nm-raised-lg);
  transform: translateY(-3px);
}

.group-benefit-btn:active {
  box-shadow: var(--nm-pressed);
  transform: translateY(0);
}

/* ----------------------------------------
   11. 页脚内容 - 拟态设计
   ---------------------------------------- */
.footer-content {
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg) var(--nm-radius-lg) 0 0;
  padding: 50px 30px 180px;
  margin-top: 60px;
  box-shadow: var(--nm-raised);
}

.footer-section {
  max-width: 1000px;
  margin: 0 auto 35px;
  text-align: center;
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--nm-text-primary);
}

.footer-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--nm-text-secondary);
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-section li {
  font-size: 1rem;
  color: var(--nm-text-secondary);
  position: relative;
  padding-left: 24px;
}

.footer-section li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--nm-accent-gold);
}

.scroll-placeholder {
  height: 100px;
}

/* ----------------------------------------
   12. 加载动画 - 拟态设计
   ---------------------------------------- */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--nm-bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: all var(--nm-transition);
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nm-bg-primary);
  box-shadow: var(--nm-raised);
  position: relative;
  animation: nm-pulse 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: var(--nm-accent-gold);
  border-radius: 50%;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.2);
}

.loading p {
  color: var(--nm-text-secondary);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ----------------------------------------
   13. 响应式设计
   ---------------------------------------- */
@media (max-width: 1024px) {
  .sphere-root {
    --radius: 160px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0;
  }
  
  .header {
    padding: 10px 15px 15px 15px;
    gap: 8px;
    margin: 0;
    border-radius: 0;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
  }
  
  .header .news-card-image {
    width: 160px;
    height: 160px;
    border-width: 3px;
  }
  
  .language-selector {
    top: 70px;
    right: 8px;
  }
  
  .language-button {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .global-flags {
    padding: 15px;
    margin-top: 10px;
  }
  
  .global-services-title {
    font-size: 1rem !important;
    margin-bottom: 15px !important;
  }
  
  .flags-row {
    height: 42px;
  }
  
  .flag {
    width: 32px;
    height: 32px;
  }
  
  .welcome-section {
    padding: 22px;
    margin-top: 25px;
  }
  
  .welcome-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .content-buttons-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .content-button {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  .sphere-root {
    --radius: 130px;
    height: 380px;
    margin: 30px auto;
  }
  
  .group-benefit-card {
    padding: 22px;
    margin: 30px 15px;
  }
  
  .group-benefit-content {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }
  
  .group-benefit-icon {
    width: 64px;
    height: 64px;
  }
  
  .group-benefit-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .group-benefit-title {
    font-size: 1.3rem;
  }
  
  .group-benefit-description {
    font-size: 0.95rem;
  }
  
  .floating-btn {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    padding: 14px 24px;
    font-size: 0.9rem;
    animation: none;
  }
  
  .floating-btn:hover {
    transform: translateX(50%) translateY(-4px);
  }
  
  .footer-content {
    padding: 35px 20px 140px;
    margin-top: 40px;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
  }
  
  .footer-section p,
  .footer-section li {
    font-size: 0.95rem;
  }
  
  .drawer {
    max-height: 85vh;
  }
  
  .drawer-header {
    padding: 18px 22px;
  }
  
  .drawer-title {
    font-size: 1.2rem;
  }
  
  .drawer-content {
    padding: 22px;
  }
  
  .profile-content {
    width: 92%;
  }
  
  .profile-photo {
    height: 220px;
  }
  
  .profile-info {
    padding: 22px;
  }
  
  .profile-name {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .subtitle {
    font-size: 0.85rem;
  }
  
  .sphere-root {
    --radius: 100px;
    height: 300px;
  }
  
  .welcome-title {
    font-size: 1.3rem;
  }
  
  .floating-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    gap: 8px;
  }
  
  .floating-btn__icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ----------------------------------------
   14. 滚动条美化
   ---------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nm-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--nm-bg-secondary);
  border-radius: 4px;
  box-shadow: var(--nm-inset-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nm-bg-tertiary);
}

/* ----------------------------------------
   15. 最新資訊輪播卡片區域
   ---------------------------------------- */
.news-carousel-section {
  margin: 40px auto;
  padding: 40px 20px;
  max-width: 1200px;
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  box-shadow: var(--nm-raised);
}

.news-carousel-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--nm-text-primary);
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-carousel-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--nm-text-secondary);
  margin-bottom: 35px;
}

.news-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-carousel-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--nm-radius);
}

.news-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 24px;
}

.news-carousel-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius);
  box-shadow: var(--nm-raised);
  overflow: hidden;
  transition: all var(--nm-transition);
  cursor: pointer;
}

.news-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nm-raised-lg);
}

.news-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-carousel-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-content {
  padding: 20px;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nm-text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1rem;
}

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--nm-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.3rem;
}

.news-card-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--nm-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: all var(--nm-transition);
  font-family: inherit;
}

.news-card-btn:hover {
  box-shadow: var(--nm-raised);
  transform: translateY(-2px);
}

.news-card-btn:active {
  box-shadow: var(--nm-pressed);
  transform: translateY(0);
}

.news-carousel-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nm-bg-primary);
  border: none;
  border-radius: 50%;
  color: var(--nm-accent-gold);
  cursor: pointer;
  box-shadow: var(--nm-raised);
  transition: all var(--nm-transition);
  flex-shrink: 0;
  z-index: 10;
}

.news-carousel-btn:hover {
  box-shadow: var(--nm-raised-lg);
  transform: scale(1.1);
}

.news-carousel-btn:active {
  box-shadow: var(--nm-pressed);
  transform: scale(1);
}

.news-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.news-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nm-bg-secondary);
  box-shadow: var(--nm-inset-sm);
  cursor: pointer;
  transition: all var(--nm-transition);
}

.news-indicator.active {
  background: var(--nm-accent-gold);
  box-shadow: var(--nm-raised-sm);
  transform: scale(1.2);
}

.news-indicator:hover {
  background: var(--nm-accent-gold);
}

/* 新聞詳情彈窗 */
.news-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--nm-transition);
  padding: 20px;
}

.news-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.news-modal-container {
  background: var(--nm-bg-primary);
  border-radius: var(--nm-radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  box-shadow: var(--nm-raised-lg);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-modal-overlay.active .news-modal-container {
  transform: scale(1) translateY(0);
}

.news-modal-header {
  background: linear-gradient(135deg, var(--nm-accent-gold) 0%, var(--nm-accent-gold-dark) 100%);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.news-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  padding-right: 20px;
  line-height: 1.3;
}

.news-modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--nm-transition);
  flex-shrink: 0;
}

.news-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.news-modal-content {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
  color: var(--nm-text-primary);
  line-height: 1.8;
}

.news-modal-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--nm-radius);
  margin-bottom: 24px;
  box-shadow: var(--nm-raised-sm);
}

.news-modal-content p {
  margin-bottom: 16px;
  color: var(--nm-text-secondary);
  font-size: 1rem;
  line-height: 1.9;
}

.news-modal-content h3 {
  color: var(--nm-accent-gold);
  font-size: 1.3rem;
  margin: 24px 0 16px;
  font-weight: 600;
}

.news-modal-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.news-modal-content li {
  color: var(--nm-text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

/* 響應式設計 */
@media (max-width: 1024px) {
  .news-carousel-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .news-carousel-section {
    padding: 30px 15px;
    margin: 30px 15px;
  }
  
  .news-carousel-title {
    font-size: 1.6rem;
  }
  
  .news-carousel-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .news-carousel-container {
    gap: 12px;
  }
  
  .news-carousel-card {
    flex: 0 0 100%;
  }
  
  .news-carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .news-carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .news-card-image {
    height: 200px;
  }
  
  .news-card-content {
    padding: 18px;
  }
  
  .news-card-title {
    font-size: 1.15rem;
  }
  
  .news-modal-container {
    max-height: 90vh;
    margin: 10px;
  }
  
  .news-modal-header {
    padding: 18px 20px;
  }
  
  .news-modal-title {
    font-size: 1.15rem;
  }
  
  .news-modal-content {
    padding: 20px;
  }
  
  .news-modal-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .news-carousel-section {
    padding: 25px 12px;
    margin: 20px 10px;
  }
  
  .news-carousel-title {
    font-size: 1.4rem;
  }
  
  .news-carousel-subtitle {
    font-size: 0.9rem;
  }
  
  .news-card-image {
    height: 170px;
  }
  
  .news-card-content {
    padding: 15px;
  }
  
  .news-card-title {
    font-size: 1rem;
    min-height: 2.8rem;
  }
  
  .news-card-excerpt {
    font-size: 0.85rem;
    min-height: 4rem;
  }
  
  .news-card-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .news-modal-title {
    font-size: 1.1rem;
  }
  
  .news-modal-content {
    padding: 18px;
  }
}
