/* public/css/index.css */
.page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  flex: 1;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero img.poster {
  width: 100%;
  display: block;
  height: auto;
}

/* ===== 浮動按鈕框架 ===== */
.floating-reserve-btn {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
}

/* ===== 按鈕樣式 ===== */
.floating-cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(32, 105, 177, 0.35);
  transform: translateY(0);
  transition:
    background 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.floating-cta-btn:hover {
  background: #1a548f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 63, 106, 0.45);
}

.floating-cta-btn:active {
  transform: translateY(1px);
  background: #143f6a;
  box-shadow: 0 2px 8px rgba(20, 63, 106, 0.3);
}

/* ===== 停用狀態 ===== */
.floating-cta-btn.disabled {
  background: #a9c7e2;
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: none;
}

.floating-cta-btn.disabled:hover,
.floating-cta-btn.disabled:active {
  background: #a9c7e2;
  transform: none;
  box-shadow: none;
}

/* 手機字級微調 */
@media (max-width: 480px) {
  .floating-cta-btn {
    font-size: 16px;
    padding: 12px 16px;
  }
}

/* ===== Announcement Banner ===== */
.announcement-banner {
  margin: 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.announcement-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 8px;
}

.announcement-banner-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.announcement-banner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.15s ease;
  text-decoration: none;
  color: var(--text-main);
}

.announcement-banner-item:hover {
  background: #f5f5f5;
}

.ann-banner-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.ann-banner-title {
  font-size: 14px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}