/* ========================================
   全新網站排版設計 - 2025 現代化版本
   保持內容不變，僅改變 UI 設計
   ======================================== */

/* ===== 全局變量與基礎設定 ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.4);
}

* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: #000000 !important;
}

#home {
  background: transparent !important;
  background-color: transparent !important;
}

/* 確保所有連結可點擊 */
a {
  position: relative;
  z-index: 10;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* ===== 1. 導航欄全新設計 ===== */
header#navbar {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(5px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 1rem 0 !important;
}

header#navbar .logo-text {
  color: #f6d365 !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header#navbar nav a {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
  font-weight: 600 !important;
}

header#navbar nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gold-gradient);
  transition: transform 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

header#navbar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

header#navbar nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* ===== 2. Hero Section 全新設計 ===== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/image/5727d62c6420525fa787892c912158c5.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  filter: brightness(0.7) !important;
  z-index: -20;
  pointer-events: none;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
  z-index: -1;
  pointer-events: none;
}

#home img[src*="home-background"],
#home img[src*="5727d62c6420525fa787892c912158c5"],
#home img[src*="casino"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: -10 !important;
  display: block !important;
  filter: brightness(0.9) saturate(1.1) !important;
  transform: scale(1.02) !important;
  animation: backgroundFloat 20s ease-in-out infinite !important;
}

@keyframes backgroundFloat {
  0%, 100% { transform: scale(1.1) translateY(0); }
  50% { transform: scale(1.15) translateY(-20px); }
}

#home > div:first-of-type {
  position: relative;
  z-index: 10;
  padding: 4rem 1rem;
  pointer-events: auto;
}

#home h1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  margin-bottom: 2rem !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 211, 101, 0.3) !important;
  letter-spacing: -1px;
}

#home h1 span {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 15px rgba(246, 211, 101, 0.4) !important;
}

#home p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
  color: #ffffff !important;
  line-height: 1.8 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  max-width: 800px;
  margin: 0 auto 3rem !important;
  font-weight: 500 !important;
}

#home .flex.flex-col a {
  padding: 1.25rem 2.5rem !important;
  border-radius: 50px !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#home .flex.flex-col a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  z-index: -1;
  pointer-events: none;
}

#home .flex.flex-col a:hover::before {
  left: 100%;
}

#home .flex.flex-col a:first-child {
  background: var(--gold-gradient) !important;
  color: #000 !important;
}

#home .flex.flex-col a:last-child {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  color: #ffffff !important;
}

#home .flex.flex-col a:last-child:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Logo Grid 全新設計 */
#home .grid.grid-cols-2 {
  max-width: 1400px !important;
  padding: 3rem 2rem !important;
  gap: 2rem !important;
}

#home .grid.grid-cols-2 > div a {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(5px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#home .grid.grid-cols-2 > div a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(246, 211, 101, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
  pointer-events: none;
}

#home .grid.grid-cols-2 > div a:hover::before {
  width: 300px;
  height: 300px;
}

#home .grid.grid-cols-2 > div a:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(246, 211, 101, 0.6) !important;
  box-shadow: 0 20px 60px rgba(246, 211, 101, 0.3);
}

#home .grid.grid-cols-2 img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* ===== 3. Bonus Section 全新設計 ===== */
#bonus {
  position: relative;
  background: linear-gradient(135deg, #5b7db8 0%, #7ba3d4 50%, #5b7db8 100%) !important;
  padding: 6rem 0 !important;
  overflow: hidden;
}

#bonus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(246, 211, 101, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

#bonus > div {
  position: relative;
  z-index: 2;
}

#bonus h2 {
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(246, 211, 101, 0.3) !important;
}

#bonus h3 {
  color: #f6d365 !important;
  font-weight: 700 !important;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(5px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 24px !important;
  padding: 1rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  height: fit-content !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div > div {
  margin-bottom: 0 !important;
  height: fit-content !important;
  flex: none !important;
  padding: 0 !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div > div > div {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div a {
  margin-bottom: 0.5rem !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(246, 211, 101, 0.1) 0%, transparent 70%);
  transition: transform 0.6s;
  z-index: -1;
  pointer-events: none;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div:hover::before {
  transform: rotate(180deg);
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(246, 211, 101, 0.6) !important;
  box-shadow: 0 25px 70px rgba(246, 211, 101, 0.3);
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div a {
  color: #f6d365 !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  transition: all 0.3s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

#bonus .grid.md\:grid-cols-1.lg\:grid-cols-2 > div p {
  color: #ffffff !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  font-weight: 400 !important;
}

/* 促銷橫幅 */
#bonus .grid.md\:grid-cols-2:last-of-type > div {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#bonus .grid.md\:grid-cols-2:last-of-type > div:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

#bonus .grid.md\:grid-cols-2:last-of-type img {
  transition: transform 0.6s;
}

#bonus .grid.md\:grid-cols-2:last-of-type > div:hover img {
  transform: scale(1.1);
}

/* ===== 4. Games Section 全新設計 ===== */
#games {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
  padding: 6rem 0 !important;
  position: relative;
}

#games::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.05));
  pointer-events: none;
  z-index: 1;
}

#games h2 {
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 900 !important;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem !important;
}

#games p {
  color: #6b7280 !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
}

#games .game-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

#games .game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

#games .game-card:hover::before {
  opacity: 1;
}

#games .game-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3);
}

#games .game-card img {
  border-radius: 20px 20px 0 0;
  transition: transform 0.6s;
}

#games .game-card:hover img {
  transform: scale(1.1);
}

#games .button-overlay {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.9) 100%) !important;
  border-radius: 20px;
  justify-content: center !important;
  align-items: center !important;
}

#games .button-overlay a {
  background: linear-gradient(135deg, #FB2056 0%, #D50000 100%) !important;
  border-radius: 12px !important;
  padding: 0.875rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  box-shadow: 0 8px 24px rgba(251, 32, 86, 0.4) !important;
  transition: all 0.3s;
  width: 100% !important;
  text-align: center !important;
}

/* 統一所有遊戲按鈕樣式 */
#games .button-overlay a[class*="bg-gradient-to-r"] {
  background: linear-gradient(135deg, #FB2056 0%, #D50000 100%) !important;
  font-weight: 700 !important;
  padding: 0.875rem 1.25rem !important;
  box-shadow: 0 8px 24px rgba(251, 32, 86, 0.4) !important;
  width: 100% !important;
}

#games .button-overlay a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(251, 32, 86, 0.6) !important;
  background: linear-gradient(135deg, #FF5252 0%, #FB2056 100%) !important;
}

#games .button-overlay > div {
  gap: 0.75rem !important;
  width: 100% !important;
  max-width: 200px !important;
}

/* ===== 5. About Section 全新設計 ===== */
#about {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 6rem 0 !important;
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

#about h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 900 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#about h3 {
  color: #f6d365 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin: 2.5rem 0 1.5rem !important;
}

#about p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.125rem !important;
  line-height: 2 !important;
  margin-bottom: 1.5rem !important;
}

#about a {
  color: #f6d365 !important;
  font-weight: 700 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.3s;
}

#about a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(246, 211, 101, 0.8);
}

/* ===== 6. FAQ Section 全新設計 ===== */
#faq {
  background: linear-gradient(135deg, #5b7db8 0%, #7ba3d4 100%) !important;
  padding: 6rem 0 !important;
  position: relative;
}

#faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(246, 211, 101, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

#faq > div {
  position: relative;
  z-index: 2;
}

#faq h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 900 !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#faq > p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  margin-bottom: 3rem !important;
}

#faq div[class*="border"] {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(5px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 20px !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#faq div[class*="border"]:hover {
  border-color: rgba(246, 211, 101, 0.5) !important;
  box-shadow: 0 20px 60px rgba(246, 211, 101, 0.2);
  transform: translateY(-4px);
}

#faq button[aria-expanded] {
  background: transparent !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  padding: 1.5rem 2rem !important;
  transition: all 0.3s;
}

#faq button[aria-expanded]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

#faq svg {
  color: #f6d365 !important;
  transition: transform 0.3s;
}

#faq button[aria-expanded][aria-expanded="true"] svg {
  transform: rotate(45deg);
}

#faq .faq-answer > div {
  background: rgba(255, 255, 255, 0.3) !important;
  border-top: 2px solid rgba(246, 211, 101, 0.5) !important;
  color: #333333 !important;
  padding: 2rem !important;
  line-height: 2 !important;
  font-size: 1rem !important;
}

/* ===== 7. Footer 全新設計 ===== */
#contact,
footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  padding: 4rem 0 2rem !important;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#contact::before,
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 211, 101, 0.5), transparent);
  pointer-events: none;
  z-index: 1;
}

#contact .grid,
footer .grid {
  gap: 3rem !important;
  margin-bottom: 3rem !important;
}

#contact h3,
footer h3 {
  color: #f6d365 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  padding-bottom: 1rem;
}

#contact h3::after,
footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  pointer-events: none;
}

#contact a,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1rem !important;
  transition: all 0.3s;
  display: inline-block;
}

#contact a:hover,
footer a:hover {
  color: #f6d365 !important;
  transform: translateX(5px);
}

#contact li,
footer li {
  margin-bottom: 1rem;
}

.disclaimer-section,
#contact > div:last-child,
footer > div:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem !important;
  margin-top: 2rem;
}

.disclaimer-chinese,
#contact strong,
footer strong {
  color: #f6d365 !important;
  font-size: 1rem !important;
  line-height: 2 !important;
  font-weight: 600 !important;
}

.disclaimer-english,
#contact p:not(:has(strong)),
footer p:not(:has(strong)) {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem !important;
  line-height: 2 !important;
}

/* ===== 8. Articles CTA Section ===== */
#articles-cta {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
  padding: 4rem 0 !important;
  position: relative;
  overflow: hidden;
}

#articles-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

#articles-cta > div {
  position: relative;
  z-index: 2;
}

#articles-cta h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 900 !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#articles-cta p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
}

#articles-cta a {
  background: #ffffff !important;
  color: #f5576c !important;
  padding: 1.25rem 2.5rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

#articles-cta a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ===== 9. 響應式設計優化 ===== */
@media (max-width: 1024px) {
  #home .grid.grid-cols-2 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  #games .grid.grid-cols-2 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  header#navbar {
    padding: 0.75rem 0 !important;
  }
  
  #home {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  #home h1 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  #home p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }
  
  #home .flex.flex-col a {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  #home .grid.grid-cols-2,
  #games .grid.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  #bonus,
  #games,
  #about,
  #faq {
    padding: 3rem 0 !important;
  }
  
  #bonus h2,
  #games h2,
  #about h2,
  #faq h2 {
    font-size: 2rem !important;
  }
  
  #contact .grid,
  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ===== 10. 動畫增強 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== 11. 滾動條美化 ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
}

/* ===== 12. 選擇文本樣式 ===== */
::selection {
  background: rgba(246, 211, 101, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(246, 211, 101, 0.3);
  color: #ffffff;
}
