body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.7;
  margin: 0;
  background: #ffffff;
  color: #222;
}

a { color: #0a58ca; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== 响应式导航栏 ===== */
.nav-wrapper {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}

/* Logo样式 */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a365d;
  margin: 0;
}

.logo-subtext {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

/* 主导航菜单 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 顶级菜单项 */
.nav-item {
  position: relative;
}

.nav-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-trigger:hover {
  background: #f0f7ff;
  color: #0a58ca;
}

.nav-trigger::after {
  content: "▼";
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-trigger::after {
  transform: rotate(180deg);
}

/* 桌面端下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: #f0f7ff;
  color: #0a58ca;
  border-left-color: #0a58ca;
  padding-left: 25px;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 10px;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .main-nav.active {
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-item {
    border-bottom: 1px solid #f0f0f0;
    position: static;
  }
  
  .nav-trigger {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 0;
    font-size: 1rem;
  }
  
  .nav-trigger::after {
    content: "›";
    font-size: 1rem;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
  
  .nav-item.active .nav-trigger::after {
    transform: rotate(-90deg);
  }
  
  /* 移动端下拉菜单 */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
    border-radius: 0;
    padding: 0;
    min-width: 100%;
    display: block !important; /* 确保显示 */
  }
  
  .dropdown-menu.active {
    max-height: 900px;
  }
  
  .dropdown-menu li {
    border-bottom: 1px solid #eee;
  }
  
  .dropdown-menu li:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu a {
    padding: 14px 30px;
    border-left: none;
    font-size: 0.95rem;
  }
  
  .dropdown-menu a:hover {
    padding-left: 30px;
    border-left: none;
  }
  
  /* 禁用桌面端的悬停效果 */
  .nav-item:hover .dropdown-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .logo-subtext {
    display: none;
  }
}

/* ===== Header热门国家区域 ===== */
.header-countries {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
  padding: 16px 0;
  margin-bottom: 30px;
}

.header-countries .container {
  padding-top: 0;
  padding-bottom: 0;
}

.countries-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
  padding: 0;
  list-style: none;
}

.countries-list li {
  margin: 0;
}

.countries-list a {
  color: #0a58ca;
  font-weight: 500;
  padding: 6px 12px;
  background: white;
  border-radius: 20px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.countries-list a:hover {
  background: #0a58ca;
  color: white;
  border-color: #0a58ca;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10, 88, 202, 0.2);
}

.countries-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.countries-view-all:hover {
  color: #0a58ca;
  background: rgba(10, 88, 202, 0.05);
  text-decoration: none;
}

.countries-view-all::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.countries-view-all:hover::after {
  transform: translateX(3px);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .header-countries {
    padding: 12px 0;
    margin-bottom: 20px;
  }
  
  .countries-list {
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .countries-list a {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
  
  .countries-title {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  .countries-view-all {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .countries-list {
    gap: 6px;
  }
  
  .countries-list a {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  
  .countries-title {
    font-size: 0.8rem;
  }
}

/* 页面原有样式保持 */
header {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  margin-top: 0;
  padding-top: 20px;
}
/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: 960px;
  margin: 12px auto 0;
  font-size: 0.85rem;
  color: #666;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "＞";
  margin: 0 6px;
  color: #999;
}
.site-name {
  font-weight: bold;
  font-size: 1.15rem;
}
header h1 {
  font-size: 1.6rem;
  margin: 10px 0;
}
header p {
  margin: 0;
  color: #555;
}

section {
  margin-top: 48px;
}
section h2 {
  font-size: 1.3rem;
  border-left: 4px solid #0a58ca;
  padding-left: 10px;
  margin-bottom: 12px;
}

.link-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.link-list li {
  margin-bottom: 14px;
}

footer {
  border-top: 1px solid #eee;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: 40px;
}
