body {
  font-family: Arial, sans-serif;
  text-align: center;
  color: #fff;
  padding: 50px;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(270deg, #ff4757, #1e90ff, #2ed573, #ffa502);
  background-size: 800% 800%;
  animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  font-size: 40px;
  margin: 20px 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.logo {
  width: 200px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

.slogan {
  font-size: 22px;
  margin: 20px 0;
  color: #ffdd59;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  margin-top: 30px;
  font-size: 20px;
  font-weight: bold;
  background: #111;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  cursor: pointer;
}

.btn:hover {
  background: #ff4757;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,71,87,0.8);
}

.counter {
  font-size: 24px;
  margin-top: 25px;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* 功能列 */
.topbar {
  position: fixed;
  top: 10px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.dropbtn {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.dropbtn:hover {
  background: #ff4757;
}

/* 彈窗背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

/* 彈窗內容 */
.modal-content {
  background-color: #222;
  margin: 15% auto;
  padding: 20px;
  border: 2px solid #ffdd59;
  width: 60%;
  border-radius: 12px;
  text-align: left;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  font-size: 18px;
}

.close {
  color: #ff4757;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #fff;
}

/* 🔥 統一連結顏色 */
a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  color: #ffdd59;
}

/* 下拉選單 */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #111;
  padding: 10px;
  border-radius: 10px;
}
