@charset "UTF-8";
/* === 基本設定 === */
:root {
  --bg-main: #050608;
  --bg-card: #ffffff;
  --bg-card-soft: #ffffff;
  --accent: #ffb400;
  --accent-soft: #ffde85;
  --text-main: #ffffff;
  --text-sub: #ffffff;
  --danger: #ff6b3d;
  --radius-lg: 16px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "PingFang SC", "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei", sans-serif;
  background: #000000;
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrapper {
  background-image: url("../../images/top_bg.jpg"), url("../../images/bottom_bg.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom;
  background-size: contain, contain;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 16px 12px 40px;
}
@media (min-width: 768px) {
  .page-wrapper {
    max-width: 1920px;
    padding: 24px 24px 64px;
  }
}

header {
  padding-top: 12px;
  padding-bottom: 24px;
}

.logo {
  height: 24px;
  margin: 0 auto;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .logo {
    height: 40px;
    margin: 0 0 24px 0;
  }
}

.line1 {
  height: 24px;
  margin: 0 auto;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .line1 {
    height: 50px;
    margin: 0 auto 40px;
  }
}

.line2 {
  height: 24px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .line2 {
    height: 50px;
    margin: 40px auto 40px;
  }
}

.with-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.icon_fire {
  width: 40px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .icon_fire {
    width: 50px;
  }
}

.section-title--with-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
}

.icon_slot {
  width: 40px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .icon_slot {
    width: 50px;
  }
}

.icon_clock {
  height: 24px;
  margin-right: 1px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .icon_clock {
    height: 30px;
    margin-bottom: 15px;
  }
}

.icon_cube {
  height: 20px;
  margin-right: 1px;
  margin-bottom: 0;
}

.icon_bag {
  height: 44px;
  margin: 0 auto;
}

.icon_crown {
  height: 40px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .icon_crown {
    height: 40px;
  }
}

.icon_gift {
  height: 40px;
  margin: 0 auto;
}

.icon_left {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 18%;
          flex: 0 0 18%;
  text-align: center;
}
@media (min-width: 768px) {
  .icon_left {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 15%;
            flex: 0 0 15%;
  }
}

.icon_right {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 82%;
          flex: 0 0 82%;
  text-align: left;
}
@media (min-width: 768px) {
  .icon_right {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 85%;
            flex: 0 0 85%;
  }
}

.banner img {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  max-width: 100%;
}
@media (max-width: 1023px) {
  .banner img {
    margin-top: -0.4rem;
    max-width: 92%;
  }
}
@media (max-width: 915px) {
  .banner img {
    max-width: 88%;
  }
}
@media (max-width: 844px) {
  .banner img {
    max-width: 85%;
  }
}

.hero {
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #3b2100, #8b4a00);
  min-height: 160px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.hero__content {
  text-align: center;
  padding: 24px 16px;
}
.hero__badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: var(--accent-soft);
  margin-bottom: 8px;
}
.hero__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero__subtitle {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 6px;
}
.hero__cta {
  margin-top: 18px;
}

.btn-primary {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb400, #ff6b3d);
  color: #3b1300;
  font-weight: 700;
  font-size: 30px;
  cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff6b3d, #ffb400);
  -webkit-filter: brightness(1.05);
          filter: brightness(1.05);
}

section {
  margin-top: 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 0;
}

.section-heading--center {
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}

.section-title {
  font-size: 30px;
  margin-top: 4px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc800;
  text-align: center;
  font-weight: bolder;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 44px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

.section-title2 {
  font-size: 22px;
  margin-top: 4px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc800;
  text-align: center;
  font-weight: bolder;
}
@media (min-width: 768px) {
  .section-title2 {
    font-size: 44px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

.section-desc {
  font-size: 20px;
  color: #ffffff;
  max-width: 1000px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .section-desc {
    font-size: 24px;
    margin: 0 auto;
    text-align: center;
    max-width: 810px;
    margin-bottom: 60px;
  }
}

.section-desc_2 {
  font-size: 14px;
  color: #ffffff;
  max-width: 1000px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .section-desc_2 {
    font-size: 16px;
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 30px;
  }
}

.section-desc--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.card_box {
  padding: 40px 18px;
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
  border: 1px solid rgba(255, 200, 0, 0.5019607843);
}

.card--soft {
  padding: 20px 18px;
  background: #2a2a2a;
  border-radius: 10px;
  margin-top: 12px;
  border-bottom: 2px solid #ffc800;
}

.card + .card {
  margin-top: 12px;
}

.card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
  color: #ffffff;
}

.card-header_yellow {
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 18px;
  color: #ffc800;
}
@media (min-width: 768px) {
  .card-header_yellow {
    font-size: 26px;
  }
}

.card-header_white {
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
  color: #ffffff;
}
@media (min-width: 768px) {
  .card-header_white {
    font-size: 20px;
  }
}

.highlight {
  color: #27cc41;
}

.highlight-red {
  color: #cc2727;
}

.highlight-purple {
  color: #b81bb8;
}

.highlight-blue {
  color: #4646ff;
}

.highlight-green {
  color: #008814;
}

.card-label {
  font-size: 12px;
  color: var(--accent-soft);
}

.card-text {
  font-size: 14px;
}

.pill {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--accent-soft);
}

.event-details {
  margin-top: 12px;
  color: var(--text-sub);
}

@media (min-width: 640px) {
  .event-detail-row {
    grid-template-columns: 140px minmax(0, 1fr);
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.event-detail-label {
  font-size: 18px;
  color: #ff8201;
  font-weight: bolder;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .event-detail-label {
    font-size: 20px;
    color: #ff8201;
    font-weight: bolder;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
}

.event-detail-content {
  color: white;
  font-size: 18px;
  margin-left: 28px;
  margin-bottom: 10px;
  font-weight: bolder;
}
@media (min-width: 768px) {
  .event-detail-content {
    color: white;
    font-size: 20px;
    margin-left: 36px;
    margin-bottom: 10px;
    font-weight: bolder;
  }
}

.event-highlight {
  font-weight: 700;
  color: var(--accent);
}

.games-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 600px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-card {
  border-radius: 14px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.game-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.game-card__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  margin-left: 0px;
}
@media (min-width: 768px) {
  .game-card__info {
    margin-left: 60px;
  }
}
.game-card__num {
  margin-top: 0;
  line-height: 1.5;
  font-size: 16px;
  color: #ffd000;
  min-width: 30px;
}
@media (min-width: 768px) {
  .game-card__num {
    font-size: 18px;
    min-width: 30px;
  }
}
.game-card__title {
  margin-top: 0;
  line-height: 1.5;
  font-size: 16px;
  color: #fff;
  max-width: 340px;
}
@media (min-width: 768px) {
  .game-card__title {
    font-size: 18px;
  }
}
.game-card__title2 {
  margin-top: 12px;
  line-height: 1.2;
  font-size: 18px;
  color: #fff;
  max-width: 340px;
}
@media (min-width: 768px) {
  .game-card__title2 {
    font-size: 18px;
  }
}

.game-card__num,
.game-card__title {
  display: inline-block; /* 讓區塊元素像文字一樣排列 */
  vertical-align: middle; /* 確保對齊 */
}

.footer-cta {
  text-align: center;
  margin-top: 40px;
}

.footer-cta__text {
  font-size: 18px;
  font-weight: bolder;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 30px;
}
@media (min-width: 768px) {
  .footer-cta__text {
    font-size: 26px;
    max-width: 800px;
    margin: 0 auto 30px;
  }
}

footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #dbdbdb;
  margin: 20px auto 0;
}
@media (min-width: 768px) {
  footer {
    font-size: 18px;
    max-width: 800px;
    margin: 30px auto 10px;
  }
}

.bg-double {
  background-image: url("../../images/bottom_bg.jpg"), url("../../images/top_bg.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom;
  background-size: contain, contain;
  min-height: 100vh;
}

.btn-play {
  padding: 14px 40px;
  font-size: 22px;
  font-weight: 800;
  color: #ffea8a;
  background: -webkit-gradient(linear, left top, left bottom, from(#d10000), to(#ff7a00));
  background: linear-gradient(#d10000, #ff7a00);
  border: 3px solid #ffb400;
  border-radius: 50px;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 -4px 10px rgba(0, 0, 0, 0.4), inset 0 4px 10px rgba(255, 255, 255, 0.2);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 -4px 10px rgba(0, 0, 0, 0.4), inset 0 4px 10px rgba(255, 255, 255, 0.2);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.btn-play:hover {
  background: -webkit-gradient(linear, left top, left bottom, from(#ff4b00), to(#ff9a00));
  background: linear-gradient(#ff4b00, #ff9a00);
  -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 -3px 8px rgba(0, 0, 0, 0.4), inset 0 4px 12px rgba(255, 255, 255, 0.3);
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 -3px 8px rgba(0, 0, 0, 0.4), inset 0 4px 12px rgba(255, 255, 255, 0.3);
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.btn-play:active {
  -webkit-transform: scale(0.97);
          transform: scale(0.97);
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.2);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.2);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
  gap: 80px;
  background-color: #000;
  padding: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    padding: 20px;
    margin-bottom: 0px;
  }
}
.teatucard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.teatucard img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.teatucard .title {
  color: white;
  margin-top: 12px;
  font-family: sans-serif;
}

#lang-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
}

.lang-select {
  max-width: 180px;
  color: #fff89c;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #dbb300;
  background: rgb(0, 0, 0);
  cursor: pointer;
  font-size: 14px;
}

@media (max-width: 768px) {
  #lang-switcher {
    top: 10px;
    right: 10px;
  }
  .lang-select {
    max-width: 120px;
    padding: 8px 8px;
    font-size: 14px;
  }
}