body {
  background-color: #e8f0fb;
  margin: 0;
  padding: 0;
  padding-top: 60px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
}

/* 導航列 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

/* 漢堡選單按鈕 */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s;
}

.hamburger:hover span {
  background-color: #5a8fde;
}

/* 語言切換按鈕 */
.lang-switcher {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s;
}

.lang-switcher:hover {
  transform: scale(1.1);
}

/* 側邊選單 */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.sidebar-close:hover {
  color: #333;
}

.sidebar-menu {
  list-style: none;
  padding: 60px 0 20px;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid #eee;
}

.sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.sidebar-menu a:hover {
  background-color: #f5f5f5;
  color: #5a8fde;
}

/* 語言選單 */
.lang-menu {
  position: fixed;
  top: 60px;
  right: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.lang-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.lang-menu a:hover {
  background-color: #f5f5f5;
  color: #5a8fde;
}

/* 遮罩層 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

#logo {
  margin: auto;
  text-align: center;
}

#main {
  max-width: 400px;
  width: 90%;
  margin: 0 auto 30px;
  border: 2px solid #5a8fde;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.desc {
  background-color: #5a8fde;
  text-align: center;
  padding: 12px;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.content {
  padding: 20px;
  color: #444;
  line-height: 1.6;
}

.content p a {
  color: #2a9d8f;
  text-decoration: none;
}
.content p a:hover {
  color: #21867a;
}

.content p.info {
  font-size: 13px;
  color: #666;
}

.content p.center {
  text-align: center;
  color: #2a9d8f;
}

.exchange {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #d1d9f0;
  border-radius: 6px;
  background: #f9fbfe;
}

.exchange h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2a3f78;
}

.exchange p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #ff7a00;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #e36c00;
}

.list {
  margin: 15px;
  text-align: center;
  color: #5a5a5a;
  font-size: 14px;
}

.domp {
  background-color: #2a9d8f;
  padding: 12px;
  text-align: center;
  color: white;
  font-size: 13px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.domp a {
  color: white;
  text-decoration: none;
}
.domp a:hover {
  text-decoration: underline;
}
.exchange h4 {
  display: flex;
  align-items: center;
  gap: 6px; /* 標題文字跟按鈕之間的間距 */
  font-size: 1.1em;
}

.copy-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #666; /* icon 顏色，可以調整 */
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.copy-btn:hover {
  color: #000; /* hover 時變深色 */
}

.copy-btn:focus {
  outline: 2px solid #888; /* 可及時改善可存取性 */
  outline-offset: 2px;
}