/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  color: palegreen;
  background-color: olive;
}

a {
  color: purple;
}

:root {
  --primary: #000000;
  --secondary: ghostwhite;
  --accent: #ff6b35;
  --text: #1a1a1a;
  --text-light: #666666;
  --bg: ghostwhite;
  --border: #000000;
  --shadow: rgba(0, 0, 0, 0.05);
}

body {
  font-family: "IBM Plex Sans JP", "IBM Plex Sans", "IBM Plex Mono",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  overflow-x: hidden;
  font-size: 1.3rem;
  cursor: url("image/eye.png") 12 12, auto;
}

/* 為可點擊元素設定不同的游標 */
/* a,
button,
.workshop-register-btn,
.view-all-workshops-btn,
.language-btn {
  cursor: url("image/Face-Chair.png") 16 16, pointer;
} */

/* 為輸入框設定文字游標 */
input,
textarea {
  cursor: text;
}

/* 為拖拽元素設定抓取游標 */
.draggable {
  cursor: grab;
}

.draggable:active {
  cursor: grabbing;
}

/* Typography */
h1,
h2,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  font-family: "Xiaoyuan-01", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  color: forestgreen;
  text-transform: uppercase;
}
h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 0.8rem;
  color: #666;
}

/* 英文文字使用 IBM Plex Mono */
.english-text {
  font-family: "IBM Plex Mono", monospace;
}

/* 中文文字使用 IBM Plex Sans JP */
.chinese-text {
  font-family: "IBM Plex Sans JP", sans-serif;
}

/* 語言切換器 */
/* .language-switcher {
  display: flex;
  align-items: center;
} */

.language-btn {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 1rem;
  font-weight: 400;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.language-btn:hover {
  color: var(--accent);
}

/* 主容器 */
.container {
  max-width: 99vw;
  margin: 0 auto;
  padding: 0 10px;
}

/* 主要內容區域 - 確保在導航欄下方 */
/* 原本的 main-content 樣式現在由大富翁布局接管 */
.second-content {
  position: relative;
  z-index: 1;
  display: flex; /* 讓三個section並排 */
  align-items: flex-start; /* 從頂部對齊 */
  gap: 16px; /* 三個section之間的間隔調整為16px */
}

/* Event Info 區塊 */
.event-info {
  box-shadow: inset 0 0 10px rgb(255, 55, 0);
  font-size: 1rem;
  position: fixed;
  color: var(--primary);
  background: lightgoldenrodyellow;
  top: 4.4rem;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--border);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 第一個 event-info (Instagram/Facebook) */
.social-links {
  background-color: black;
  height: 1rem;
  box-shadow: none;
  top: 0;
  font-size: 0.8rem;
  position: fixed;
  width: 100vw;
  left: 0px;
}
.social-links p {
  margin-left: 16px;
  text-align: right;
  display: inline-block;
}

/* 社交連結靠右對齊 */
.social-links .event-info-content {
  justify-content: flex-end;
  padding-right: 16px;
}

.social-links .event-info-row:last-child {
  gap: 16px; /* Instagram 和 Facebook 之間的間距 */
}

/* 第二個 event-info (主要活動資訊) */
.event-info:nth-of-type(2) {
  top: 70px; /* 在導航欄下方 (16px + 50px) */
}

.event-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 99vw;
  width: 100%;
  padding: 0 8px;
  gap: 40px;
  height: 2rem;
}

/* Ticket 購票區塊 */
.ticket-info {
  position: absolute;
  width: 15rem;
  right: 0px;
  height: 2.1rem;
  background: orangered;
  color: ghostwhite;
  line-height: 2rem;
  display: flex;
  align-items: center;
  position: relative;
}

.ticket-info .ticket-content {
  flex: 1;
  text-align: center;
  padding: 0.3rem 2rem;
}

.ticket-info .ticket-left-notch,
.ticket-info .ticket-right-notch {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: lightgoldenrodyellow;

  border-radius: 50%;
  top: 53%;
  transform: translateY(-50%);
}

.ticket-info .ticket-left-notch {
  left: -0.5rem;
}

.ticket-info .ticket-right-notch {
  right: -0.5rem;
}

.ticket-info p {
  color: aliceblue;
  margin: 0;
  font-weight: 600;
  width: 12rem;
  font-size: 1rem;
  font-family: "IBM Plex Sans JP", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.event-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-info-row:first-child {
  flex: 1;
  justify-content: flex-start;
}

.event-info-row:nth-child(2) {
  flex: 1;
  justify-content: center;
}

.event-info-row:last-child {
  flex: 1;
  justify-content: flex-end;
  margin-right: 3rem; /* 為右邊的 Ticket 區塊留出空間 */
}

.event-info-content p {
  margin: 0;
  color: var(--primary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3rem;
}

.event-info-item p {
  font-size: 1rem;
  opacity: 0.75;
  font-weight: 300;
}

/* 導航欄 */
.navbar {
  position: fixed;
  top: 16px; /* 在 Instagram/Facebook 行下方 */
  left: 0;
  right: 0;
  background: url("wall2.png");
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px 8px; /* 減少padding讓導航欄更緊湊 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 55px; /* 固定導航欄高度 */
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #ff8c42; /* 日落橘色 */
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 10px;
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: ghostwhite; /* 日落橘色 */
  font-weight: 400;
  transition: color 0.2s ease;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a:hover {
  color: var(--accent);
}

/* TICKET 按鈕樣式 */
.ticket-button a {
  background: forestgreen; /* 綠色 */
  color: var(--primary) !important;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ticket-button a:hover {
  background: var(--primary);
  color: #dda0dd !important;
  border-color: #dda0dd;
}

/* Exhibitors Roller Section */
.exhibitors-roller-section {
  width: 20vw; /* 減少寬度 */
  margin-left: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Multifunction Section */
.multifunction-section {
  border-left: 1px solid black;
  padding: 16px;
  width: 15vw; /* 減少寬度 */
  position: relative;
}

/* 垂直分隔線 - 統一樣式 */
.section-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  z-index: 1;
  pointer-events: none; /* 防止分隔線干擾互動 */
}

.section-divider.left {
  left: -20px;
}

.section-divider.right {
  right: -20px;
}

/* 為不同區域設定分隔線顏色（可選） */
.poster-section .section-divider {
  background: var(--border);
}

.calender-section .section-divider {
  background: var(--border);
}

.multifunction-section .section-divider {
  background: var(--border);
}

/* 移除舊的偽元素分隔線 */
.calender-section::before,
.calender-section::after,
.poster-section::before,
.poster-section::after,
.multifunction-section::before,
.multifunction-section::after {
  display: none;
}

.product-image {
  width: 100%;
  height: auto;
  border: none;
}

/* 響應式設計調整 */
@media (max-width: 768px) {
  /* 平板響應式 - 調整大富翁布局 */
  .monopoly-board {
    min-height: 100vh; /* 平板上保持延伸性 */
    margin-top: 70px; /* 平板上的 margin */
    grid-template-rows: 80px 1fr 80px; /* 適中的邊框尺寸 */
    grid-template-columns: 80px 1fr 80px; /* 適中的邊框尺寸 */
  }

  .book-item {
    font-size: 0.8rem;
    min-height: 60px; /* 保持正方形但較小 */
    padding: 4px;
    aspect-ratio: 1;
  }

  .book-border-left .book-item,
  .book-border-right .book-item {
    min-width: 60px;
    min-height: 60px;
    aspect-ratio: 1;
  }

  .corner {
    font-size: 0.8rem;
  }

  .main-content {
    flex-direction: column; /* 在小螢幕上改為垂直排列 */
    padding: 1rem; /* 適當的內邊距 */
    gap: 1rem; /* 適當的間距 */
    min-height: 60vh; /* 保持足夠高度 */
  }

  .poster-section,
  .calender-section {
    width: 100%;
    min-height: 400px; /* 設定最小高度 */
  }

  .poster-container {
    max-width: 350px; /* 平板上的海報尺寸 */
    aspect-ratio: 3/4; /* 保持比例 */
  }

  .exhibitors-roller-section,
  .poster-section,
  .multifunction-section,
  .calender-section,
  .workshop-section {
    width: 100%;
    margin-bottom: 20px;
  }

  /* 在小螢幕上隱藏所有分隔線 */
  .section-divider {
    display: none;
  }

  .exhibitors-roller-section::after,
  .poster-section::after {
    display: none; /* 在小螢幕上隱藏垂直分隔線 */
  }
}

.workshop-section {
  margin-left: 16px;
  width: 20vw; /* 增加寬度，讓中間區塊大一倍 */
  position: relative;
}

/* 工作坊項目樣式 */
.workshop-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.3s ease;
}

.workshop-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow);
}

.workshop-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workshop-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: "IBM Plex Sans JP", sans-serif;
}

.workshop-time {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 5px;
  font-family: "IBM Plex Mono", monospace;
}

.workshop-location {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
}

.workshop-register-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 1px solid var(--primary);
  font-family: "IBM Plex Mono", monospace;
}

.workshop-register-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.view-all-workshops-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  padding: 12px 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 1px solid var(--accent);
  font-family: "IBM Plex Mono", monospace;
}

.view-all-workshops-btn:hover {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--accent);
}

.calender-section {
  width: 60%; /* 調整寬度 */
  min-height: 600px; /* 設定最小高度 */
  position: relative;
  padding: 1rem; /* 增加內邊距 */
  overflow: visible; /* 允許內容自然延伸 */
  box-sizing: border-box; /* 確保padding包含在寬度內 */
  display: flex;
  flex-direction: column;
}

/* 大富翁式布局 */
.monopoly-board {
  width: 100vw;
  min-height: 100vh; /* 改為最小高度，允許內容延伸 */
  margin-top: 6.5rem; /* 精確計算：social(20) + navbar(71) = 91px */
  position: relative;
  z-index: 1; /* 確保在 navbar 和 footer 下方 */
  background: var(--bg);
  display: grid;
  grid-template-areas:
    "top-left    book-top    top-right"
    "book-left   main-area   book-right"
    "bottom-left book-bottom bottom-right";
  grid-template-rows: 120px 1fr 120px; /* 增加邊框高度，讓書籍格子更大 */
  grid-template-columns: 120px 1fr 120px; /* 增加邊框寬度，讓書籍格子更大 */
  box-sizing: border-box;
  overflow: visible; /* 允許內容溢出 */
}

/* 書籍邊框樣式 */
.book-border {
  display: flex;
  background: var(--primary);
  border: 2px solid var(--border);
}

.book-border-top {
  grid-area: book-top;
  flex-direction: row;
  border-bottom: 2px solid var(--border);
}

.book-border-bottom {
  grid-area: book-bottom;
  flex-direction: row;
  border-top: 2px solid var(--border);
}

.book-border-left {
  grid-area: book-left;
  flex-direction: column;
  border-right: 2px solid var(--border);
}

.book-border-right {
  grid-area: book-right;
  flex-direction: column;
  border-left: 2px solid var(--border);
}

/* 書籍項目樣式 */
.book-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  font-size: 1rem; /* 增大字體 */
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  writing-mode: horizontal-tb;
  text-align: center;
  padding: 8px; /* 增加 padding */
  min-height: 80px; /* 增大最小高度，接近正方形 */
  aspect-ratio: 1; /* 強制正方形比例 */
}

/* 左右邊框的書籍項目使用垂直文字 */
.book-border-left .book-item,
.book-border-right .book-item {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  min-width: 80px; /* 增大最小寬度 */
  min-height: 80px; /* 增大最小高度 */
  aspect-ratio: 1; /* 強制正方形比例 */
}

.book-item:hover {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.05);
}

/* 四個角落 */
.corner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--border);
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.corner-top-left {
  grid-area: top-left;
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
}

.corner-top-right {
  grid-area: top-right;
  border-bottom: 2px solid var(--border);
  border-left: 2px solid var(--border);
}

.corner-bottom-left {
  grid-area: bottom-left;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
}

.corner-bottom-right {
  grid-area: bottom-right;
  border-top: 2px solid var(--border);
  border-left: 2px solid var(--border);
}

/* 主要內容區域調整 */
.main-content {
  grid-area: main-area;
  display: flex;
  width: 100%;
  min-height: 80vh; /* 設定最小高度，給內容更多空間 */
  padding: 2rem; /* 增加內邊距，讓內容有更多呼吸空間 */
  box-sizing: border-box;
  background: var(--bg);
  overflow: auto; /* 允許滾動 */
  gap: 2rem; /* 增加 poster 和 calendar 之間的間距 */
}

/* Poster Section - 調整為新布局 */
.poster-section {
  width: 40%; /* 增加寬度 */
  min-height: 600px; /* 設定最小高度 */
  position: relative;
  padding: 1rem; /* 增加內邊距 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center; /* 水平居中 */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 1) 7%,
    rgba(222, 222, 222, 1) 18%,
    rgba(255, 255, 255, 1) 21%,
    rgba(255, 255, 255, 1) 46%,
    rgba(227, 227, 227, 1) 53%,
    rgba(237, 235, 235, 1) 79%,
    rgba(255, 255, 255, 1) 82%,
    rgba(174, 174, 174, 1) 97%,
    rgba(0, 0, 0, 1) 100%
  );
  border-radius: 20px;
}

#Poster {
  text-align: center;
}

/* 3D翻轉海報容器 */
.poster-container {
  perspective: 1000px;
  width: 100%;
  max-width: 500px; /* 增加最大寬度 */
  aspect-ratio: 3/4; /* 設定海報的標準長寬比 (寬:高 = 3:4) */
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-container::after {
  content: "點擊翻轉 Click to flip";
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
  color: ghostwhite;
  padding: 2px 10px;
  font-size: 14px;
  font-family: "IBM Plex Sans JP", sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

.poster-container:hover::after {
  opacity: 1;
}

.poster-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-card.flipped {
  transform: rotateY(180deg);
}

.poster-front,
.poster-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-back {
  transform: rotateY(180deg);
}

#Poster img,
.poster {
  border-radius: 5px;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 確保圖片填滿容器且保持比例 */
  object-position: center; /* 圖片居中顯示 */
  display: block;
}

/* 滾動指示器 */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s ease;
}

/* 頁腳 */
.footer {
  position: relative;
  padding: 8px 8px;
  text-align: center;
  background: saddlebrown;
  clear: both;
  width: 100%;
}

.footer-content {
  font-size: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  text-align: left;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-text {
  font-size: 1.2rem;
  color: var(--text-light);
  font-family: "IBM Plex Mono", monospace;
  margin: 0;
  padding: 0;
}

.footer-link {
  color: orangered;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

/* EXHIBITOR LOGIN 特殊樣式 */
.exhibitor-login {
  background: forestgreen;
  color: ghostwhite !important;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 10px;
  transition: all 3s ease;
}

/* 動畫效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Newsletter 觸發按鈕 */
.newsletter-trigger {
  position: fixed;
  bottom: 60px;
  right: 20px;
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--border);
  padding: 8px 12px;
  cursor: pointer;
  z-index: 997;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.newsletter-trigger:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Newsletter 彈出視窗 */
.newsletter-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 500px;
  background: var(--primary);
  border: 1px solid var(--secondary);
  z-index: 996;
  display: block;
  font-family: "IBM Plex Mono", monospace;
}

.newsletter-popup.hidden {
  display: none;
}

.year-title {
  font-size: 5rem;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 響應式設計 */
@media (max-width: 768px) {
  body {
    padding-bottom: 35px;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    margin-top: 60px;
    padding: 35px 0;
  }

  .content-section {
    padding: 35px 0;
  }

  .container {
    padding: 0 20px;
  }

  .newsletter-popup {
    width: 400px;
    right: 15px;
    bottom: 100px;
  }
}

@media (max-width: 480px) {
  .hero {
    margin-top: 55px;
    padding: 25px 0;
  }

  .content-section {
    padding: 25px 0;
  }

  .container {
    padding: 0 15px;
  }

  .newsletter-popup {
    width: 300px;
    right: 10px;
    bottom: 90px;
  }
}

/* Newsletter 區塊樣式 */
.newsletter-section {
  margin: 20px 16px;
}

.newsletter-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.newsletter-left h3 {
  margin: 0;
  white-space: nowrap;
}

.newsletter-right {
  flex: 1;
}

.newsletter-description {
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-signup-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 8px;
  border: 1px solid black;
  font-family: inherit;
}

.newsletter-submit-btn {
  padding: 8px 16px;
  background: black;
  color: white;
  border: 1px solid black;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
}

/* 浮動Ticket按鈕樣式 */
.floating-ticket {
  position: fixed;
  width: 15rem;
  height: 3rem;
  background: plum;
  border-radius: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(221, 160, 221, 0.3),
    0 4px 16px rgba(221, 160, 221, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  user-select: none;
  font-family: "Libre Franklin", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  animation: pulse 8s ease-in-out infinite;
}

.floating-ticket span {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.floating-ticket:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(221, 160, 221, 0.4),
    0 6px 20px rgba(221, 160, 221, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  animation: none;
}

/* Hide按鈕樣式 */
.hide-ticket-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 25px;
  height: 25px;
  background: white;
  border: 1px solid black;
  border-radius: 50%;
  color: black;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1001;
  font-family: "IBM Plex Mono", sans-serif;
  text-transform: lowercase;
}

/* 脈衝動畫 */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(221, 160, 221, 0.3),
      0 4px 16px rgba(221, 160, 221, 0.2),
      inset 0 2px 4px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 12px 40px rgba(221, 160, 221, 0.4),
      0 6px 20px rgba(221, 160, 221, 0.3),
      inset 0 2px 4px rgba(255, 255, 255, 0.2);
  }
}

/* Event Photos Section Styles */

.event-photos-section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.event-photos-container {
  width: 100%;
  overflow: hidden;
  border: 1px solid black;
  background: white;
  margin-bottom: 20px;
}

.event-photos-strip {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: slideEventPhotos 60s linear infinite;
  will-change: transform;
  width: max-content;
  height: 240px; /* 固定高度 */
}

.event-photos-strip img {
  height: 100%;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  max-width: none;
  border-right: 1px solid #eee;
}

.event-photos-strip:hover {
  animation-play-state: paused;
}

@keyframes slideEventPhotos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 手機響應式設計 - 大富翁布局 */
@media (max-width: 480px) {
  .monopoly-board {
    min-height: 100vh; /* 手機上保持延伸性 */
    margin-top: 50px; /* 手機上的 margin */
    grid-template-rows: 60px 1fr 60px; /* 手機上的邊框尺寸 */
    grid-template-columns: 60px 1fr 60px; /* 手機上的邊框尺寸 */
  }

  .book-item {
    font-size: 0.6rem;
    min-height: 40px; /* 手機上的正方形尺寸 */
    padding: 2px;
    aspect-ratio: 1;
  }

  .book-border-left .book-item,
  .book-border-right .book-item {
    min-width: 40px;
    min-height: 40px;
    aspect-ratio: 1;
  }

  .corner {
    font-size: 0.6rem;
  }

  .main-content {
    padding: 0.5rem; /* 手機上的內邊距 */
    gap: 0.5rem; /* 手機上的間距 */
    flex-direction: column;
    min-height: 50vh; /* 保持足夠高度 */
  }

  .poster-section,
  .calender-section {
    width: 100%;
    min-height: 300px; /* 手機上的最小高度 */
    padding: 0.5rem;
  }

  .poster-container {
    max-width: 280px; /* 手機上的海報尺寸 */
    aspect-ratio: 3/4; /* 保持比例 */
  }

  /* 手機版特殊調整 */
  .calender-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
}
