/* 移动端优先的响应式样式 */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 30px;
  }

  .navbar-nav {
    margin-top: 10px;
  }

  .nav-item {
    margin: 5px 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  html {
    font-size: 14px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }
}

/* 响应式图片 */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* 移动端隐藏元素 */
.mobile-hide {
  display: block;
}
@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
}

/* 通用间距优化 */
.section-padding {
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .section-padding {
    padding: 1rem 0;
  }
}

/* 呼吸光效動畫 */
@keyframes glowPulse {
  0%   { opacity: 0.15; transform: scale(1); }
  50%  { opacity: 0.4; transform: scale(1.15); }
  100% { opacity: 0.15; transform: scale(1); }
}

/* 公告内容块（主体结构） */
.announcement-block {
  background: #0d0d0d;
  padding: 30px 20px;
  text-align: center;
  color: #eee;
  font-family: "Microsoft YaHei", sans-serif;
}

/* LOGO 包裹區域 */
.announcement-block .intro-logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto 10px;
  width: 120px;
  height: 120px;
}

/* 背後呼吸光環 */
.announcement-block .intro-logo-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ff88 10%, transparent 70%);
  z-index: 0;
  animation: glowPulse 2.5s infinite ease-in-out;
}

/* LOGO 圖像本體 */
.announcement-block .intro-logo {
  position: relative;
  z-index: 1;
  max-width: 100px;
  height: auto;
  display: block;
}

/* 標題 */
.announcement-block .intro-title {
  font-size: 22px;
  color: #00ff88;
  margin: 20px 0 10px;
}

/* 副標與文字說明 */
.announcement-block .intro-p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
  max-width: 640px;
  margin: 0 auto 15px;
}
.announcement-block .intro-p strong {
  color: #ffffff;
}

/* 小提示（如：首次訪問、綁定設備提示） */
.announcement-block .intro-tip {
  font-size: 14px;
  color: #00ff88;
  margin-top: 10px;
}

/* 主按鈕 */
.announcement-block a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #00ff66;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* 公告模态框样式（Bootstrap弹窗內容體） */
.modal-content {
  max-width: 600px;
  margin: auto;
  border-radius: 12px;
  padding: 20px;
  background: #0d0d0d;
  color: #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.announcement-content h2,
.announcement-content p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.announcement-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}
