/* Base
   Common defaults shared by the whole static website. */
body {
  font-family: sans-serif;
}

/* Shared navigation */
.site-navbar .navbar-brand img {
  max-width: 80px;
}

.site-navbar .nav-link {
  font-size: .95rem;
  font-weight: 700;
}

.nav-download-link {
  color: #ffc107 !important;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 193, 7, .36);
  border-radius: 999px;
  color: #ffd45a;
  background: rgba(255, 193, 7, .08);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(255, 211, 94, .72);
  background: rgba(255, 193, 7, .16);
  transform: translateY(-1px);
}

.language-toggle-nav {
  margin-left: 8px;
}

.ssg-language-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ssg-language-links .language-toggle {
  color: #ffd45a;
  text-decoration: none;
}

.ssg-language-links .language-toggle.is-active {
  border-color: rgba(255, 211, 94, .9);
  background: rgba(255, 193, 7, .2);
}

/* Home page */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  color: white;
}

.hero-marquee {
  display: none;
  overflow: hidden;
  background: #050505;
  color: white;
  border-block: 1px solid rgba(255, 255, 255, .1);
}

.hero-marquee-track {
  display: inline-flex;
  width: max-content;
  min-width: 100%;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.hero-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 32px;
  white-space: nowrap;
  font-size: .94rem;
  font-weight: 800;
}

.hero-marquee span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: #ffc107;
  content: "";
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  max-width: 240px;
}

.hero-title {
  max-width: 760px;
  margin: 18px auto 0;
  color: white;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .48);
}

.hero-tagline {
  margin-top: 16px;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin: 0 0 36px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: #b77900;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.section-title-group {
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-title-group .section-heading {
  margin-bottom: 10px;
}

.section-subtitle {
  margin: 0;
  color: rgba(45, 36, 21, .68);
  font-size: 1rem;
  line-height: 1.7;
}

.card img {
  height: 200px;
  object-fit: cover;
}

.bg-blue {
  background: #b1f8f1;
}

.feature-item-img {
  max-width: 320px;
}

#games h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Inventory-inspired feature cards present reward objects as collectibles. */
#features {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 211, 86, .16), transparent 38%),
    #101925;
  color: white;
}

#features .section-kicker {
  color: #ffd04d;
}

.feature-grid {
  max-width: 1080px;
  margin: 0 auto;
}

.reward-card {
  position: relative;
  height: 100%;
  min-height: 296px;
  padding: 22px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(251, 197, 57, .35);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 185, 43, .12), transparent 38%),
    linear-gradient(180deg, #253247 0%, #121927 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 139, .08), 0 14px 25px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.reward-card::after {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 201, 55, .15);
  transform: rotate(45deg);
  content: "";
}

.reward-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 230, 150, .16) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-45%);
  content: "";
  transition: opacity .2s ease, transform .35s ease;
}

.reward-card:hover,
.reward-card:focus-visible,
.reward-card.is-pressed {
  border-color: rgba(255, 216, 96, .76);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 139, .16), 0 20px 36px rgba(0, 0, 0, .28), 0 0 22px rgba(255, 199, 42, .16);
  transform: translateY(-5px);
}

.reward-card:hover::before,
.reward-card:focus-visible::before,
.reward-card.is-pressed::before {
  opacity: 1;
  transform: translateX(45%);
}

.reward-card:focus-visible,
.machine-card:focus-visible {
  outline: 3px solid #ffd34e;
  outline-offset: 4px;
}

.reward-rarity {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 214, 102, .55);
  border-radius: 999px;
  color: #ffe7a2;
  background: rgba(127, 84, 5, .36);
  font-size: .75rem;
  font-weight: 800;
}

.reward-rarity.featured {
  color: #72d4ff;
  border-color: rgba(79, 190, 255, .55);
  background: rgba(17, 96, 144, .3);
}

.reward-rarity.rare {
  color: #efb8ff;
  border-color: rgba(214, 124, 255, .58);
  background: rgba(110, 35, 145, .32);
}

.reward-icon {
  display: grid;
  place-items: center;
  height: 156px;
  margin: 20px 0 8px;
}

.reward-icon img {
  display: block;
  max-width: min(100%, 210px);
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .34));
  transition: filter .2s ease, transform .2s ease;
}

.reward-card:hover .reward-icon img,
.reward-card:focus-visible .reward-icon img {
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .42)) drop-shadow(0 0 12px rgba(255, 210, 90, .26));
  transform: scale(1.04) rotate(-1deg);
}

#features .reward-card h3 {
  position: relative;
  margin: 8px 0 7px;
  color: #ffe7a2;
  font-size: 1.18rem;
  font-weight: 800;
}

.reward-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
}

/* Member benefits area presents free coins as a player reward program. */
.benefits-section {
  background: #111a29;
}

.benefits-panel {
  position: relative;
  overflow: hidden;
  padding: 42px 46px;
  border: 1px solid rgba(255, 201, 55, .32);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 194, 38, .12), transparent 48%),
    #182333;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.benefits-panel .section-kicker {
  color: #ffc83d;
}

.benefits-panel .section-heading {
  margin-bottom: 18px;
}

.benefits-lead {
  max-width: 600px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.benefit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.benefit-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 211, 94, .17);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  text-align: left;
}

.benefit-step i {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffc107;
  background: rgba(255, 193, 7, .14);
  font-size: 1.05rem;
}

.benefit-step strong {
  display: block;
  color: #ffe29a;
  font-size: .92rem;
}

.benefit-step span {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  line-height: 1.4;
}

.benefits-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  color: #1c1507;
  background: #ffc107;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.benefits-link:hover {
  color: #1c1507;
  background: #ffd34e;
  transform: translateY(-2px);
}

.benefits-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: .82rem;
}

.benefits-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 18px;
}

.benefits-visual span {
  display: inline-block;
  padding: 6px 15px;
  border: 1px solid rgba(255, 206, 67, .38);
  border-radius: 999px;
  color: #ffe091;
  background: rgba(118, 74, 5, .24);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: 0;
  order: 2;
}

@media (min-width: 992px) {
  .benefits-visual span {
    display: none;
  }
}

.benefits-visual img {
  display: block;
  order: 1;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .33));
}

.benefits-visual img + span,
.benefits-visual span {
  margin-top: 14px;
}

/* Cabinet-inspired cards give exclusive game themes a playable feel. */
.games-section {
  background: linear-gradient(180deg, #f7f1df 0%, #fffaf0 100%);
}

.games-section .section-kicker {
  color: #a66a00;
}

.game-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.machine-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #d5aa43;
  border-radius: 8px;
  background: #111a28;
  box-shadow: 0 16px 27px rgba(45, 31, 10, .2);
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}

.machine-card:hover,
.machine-card:focus-visible,
.machine-card.is-pressed {
  transform: translateY(-5px);
  box-shadow: 0 23px 35px rgba(45, 31, 10, .28), 0 0 24px rgba(255, 193, 7, .2);
}

.machine-art {
  position: relative;
  padding: 7px 7px 0;
  background: linear-gradient(180deg, #26364d 0%, #121a27 100%);
}

.machine-art::after {
  position: absolute;
  inset: 7px 7px 0;
  border-radius: 5px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .22), transparent);
  opacity: 0;
  transform: translateX(-60%);
  content: "";
  transition: opacity .2s ease, transform .38s ease;
}

.machine-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  object-fit: cover;
  transition: transform .25s ease;
}

.machine-card:hover .machine-art img,
.machine-card:focus-visible .machine-art img {
  transform: scale(1.035);
}

.machine-card:hover .machine-art::after,
.machine-card:focus-visible .machine-art::after,
.machine-card.is-pressed .machine-art::after {
  opacity: 1;
  transform: translateX(60%);
}

.machine-tag {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 5px 11px;
  border-radius: 4px;
  color: #171109;
  background: #ffc107;
  font-size: .75rem;
  font-weight: 900;
}

.machine-tag.new {
  color: #071a10;
  background: #36c783;
}

.machine-tag.adventure {
  color: white;
  background: #ef6b42;
}

.machine-info {
  padding: 20px 20px 22px;
  color: white;
}

.machine-info h3 {
  margin: 0 0 8px;
  color: #ffe297;
  font-size: 1.3rem;
  font-weight: 800;
}

.machine-info p {
  min-height: 48px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.65;
}

.machine-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 205, 70, .28);
  border-radius: 4px;
  color: #ffd25a;
  background: rgba(255, 193, 7, .08);
  font-size: .83rem;
  font-weight: 700;
}

/* Shared popup treatment for feature and mechanism cards. */
.game-info-modal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(255, 204, 73, .45);
  border-radius: 10px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 193, 7, .16), transparent 45%),
    #111a28;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
}

.game-info-modal .modal-header {
  align-items: flex-start;
  border-bottom-color: rgba(255, 205, 70, .18);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 211, 94, .45);
  border-radius: 12px;
  color: #1a1206;
  background: linear-gradient(135deg, #ffe28a, #ffb300);
  box-shadow: 0 0 24px rgba(255, 193, 7, .22);
  font-size: 1.35rem;
}

.modal-kicker {
  margin: 0 0 6px;
  color: #ffd35a;
  font-size: .82rem;
  font-weight: 900;
}

.game-info-modal .modal-title {
  color: #ffe7a2;
  font-size: 1.55rem;
  font-weight: 900;
}

.game-info-modal .modal-body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.modal-banner {
  display: block;
  width: 100%;
  max-height: 260px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
  object-fit: contain;
}

.modal-action-chip {
  display: none;
  padding: 7px 12px;
  border: 1px solid rgba(255, 211, 94, .34);
  border-radius: 999px;
  color: #ffd35a;
  background: rgba(255, 193, 7, .09);
  font-size: .86rem;
  font-weight: 800;
}

/* Hidden official download entry. Remove d-none in HTML when stores are ready. */
.download-section {
  background: #111;
  color: white;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: linear-gradient(135deg, #171717, #2d2415);
}

.download-kicker {
  margin-bottom: 8px;
  color: #ffc107;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.download-panel h2 {
  margin-bottom: 10px;
  font-weight: 900;
}

/* FAQ page generated from the multilingual Word documents. */
.faq-page {
  padding-top: 78px;
}

.faq-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 216, 89, .22), transparent 30%),
    linear-gradient(180deg, #132135 0%, #0f1724 100%);
  color: white;
}

.faq-hero .section-subtitle {
  color: rgba(255, 255, 255, .74);
}

.faq-content-section {
  background: #f8f3e5;
}

.faq-content {
  max-width: 980px;
  margin: 0 auto;
}

.faq-group-title {
  margin: 34px 0 16px;
  color: #332109;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.35;
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq-item {
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid rgba(95, 66, 12, .13);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(75, 49, 12, .08);
}

.faq-item h3 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.45;
}

.faq-answer p,
.faq-answer li {
  color: rgba(31, 41, 55, .82);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-answer p {
  margin: 0 0 8px;
}

.faq-answer ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin-bottom: 6px;
}

.download-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .76);
}

.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* News card shown below the carousel on the home page. */
.news-card {
  --news-row-height: 72px;
  --news-title-size: 1rem;
  --news-meta-size: .95rem;
  --news-label-size: .85rem;
  background:
    radial-gradient(circle at top, rgba(255, 206, 78, .24), transparent 34%),
    linear-gradient(180deg, #fff8df 0%, #fff 100%);
}

.news-card-layout {
  display: grid;
  grid-template-columns: minmax(340px, 42%) minmax(0, 1fr);
  align-items: stretch;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.news-card-carousel {
  aspect-ratio: 1046 / 593;
  align-self: start;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(68, 42, 0, .18);
}

.news-card-carousel .carousel-inner,
.news-card-carousel .carousel-item {
  height: 100%;
}

.news-banner-link {
  display: block;
  height: 100%;
}

.news-banner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.news-card-arrow {
  width: 54px;
  height: 54px;
  top: 50%;
  margin: 0 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  opacity: 1;
  transform: translateY(-50%);
}

.news-card-indicators {
  margin-bottom: 12px;
}

.news-card-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
}

.news-view {
  margin: 0;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(180, 125, 20, .18);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(80, 48, 0, .08);
  overflow: hidden;
}

.news-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 20px;
  background: #171717;
}

.news-tabs .nav-item {
  flex: 1 1 0;
  min-width: 0;
}

.news-tab {
  width: 100%;
  min-width: 0;
  padding: 17px 20px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: var(--news-title-size);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.news-tab.active,
.news-tab:hover {
  color: #111;
  background: #ffc107;
}

.news-list {
  padding: 0;
}

.news-list .tab-pane {
  max-height: calc(var(--news-row-height) * 3);
  overflow-y: auto;
  scrollbar-color: #d99000 rgba(180, 125, 20, .12);
  scrollbar-width: thin;
}

.news-list .tab-pane::-webkit-scrollbar {
  width: 6px;
}

.news-list .tab-pane::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d99000;
}

.news-content {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  height: var(--news-row-height);
  padding: 0 24px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 125, 20, .16);
  transition: background-color .2s ease;
}

.news-content:hover {
  background: rgba(255, 193, 7, .09);
}

.news-content:last-child {
  border-bottom: 0;
}

.new-label,
.tip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  border-radius: 999px;
  color: white;
  font-size: var(--news-label-size);
  font-weight: 800;
  line-height: 1;
}

.new-label {
  background: #d99000;
}

.tip-label {
  background: #0d6efd;
}

.news-title {
  color: #2d2415;
  font-size: var(--news-title-size);
  font-weight: 700;
  line-height: 1.5;
}

.news-time {
  color: #8a7a5c;
  font-size: var(--news-meta-size);
  font-weight: 700;
  text-align: right;
}

/* Structured member reviews read as sourced feedback rather than chat bubbles. */
.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 198, 44, .05), transparent 24%),
    #111722;
}

.reviews-section .section-kicker {
  color: #ffc83d;
}

.reviews-source {
  margin: -18px auto 36px;
  color: rgba(255, 255, 255, .58);
  font-size: .95rem;
  text-align: center;
}

.review-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.review-card {
  position: relative;
  height: 100%;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 193, 7, .08), transparent 38%),
    #192331;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.review-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, .09);
  font-family: "bootstrap-icons";
  font-size: 2.8rem;
  line-height: 1;
  content: "\F264";
}

.review-card:hover {
  border-color: rgba(255, 200, 61, .42);
  box-shadow: 0 22px 36px rgba(0, 0, 0, .26), 0 0 20px rgba(255, 193, 7, .12);
  transform: translateY(-4px);
}

.review-profile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-profile img {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 200, 61, .5);
  border-radius: 50%;
  object-fit: cover;
  transition: transform .2s ease;
}

.review-card:hover .review-profile img {
  transform: scale(1.06);
}

.review-profile h3 {
  margin: 0 0 3px;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 200, 61, .22);
  border-radius: 999px;
  color: #ffc83d;
  background: rgba(255, 193, 7, .08);
  font-size: .78rem;
  font-weight: 700;
}

.review-rating {
  margin-bottom: 10px;
  color: #ffc107;
  font-size: 1rem;
  letter-spacing: 0;
}

.review-card p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  line-height: 1.75;
}

/* Shared detail layout for individual announcement articles. */
.news-detail-page {
  min-height: 70vh;
  padding: 110px 0 64px;
  color: #221a0e;
  background: linear-gradient(180deg, #fff8df 0%, #fff 340px);
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #8f6000;
  font-weight: 700;
  text-decoration: none;
}

.news-back-link:hover {
  color: #d99000;
}

.news-detail {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(180, 125, 20, .16);
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 45px rgba(68, 42, 0, .12);
}

.news-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 22px;
}

.news-detail-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(143, 96, 0, .2);
  border-radius: 999px;
  color: #6e4b08;
  background: rgba(255, 255, 255, .72);
  font-weight: 800;
  text-decoration: none;
}

.news-detail-tab.active,
.news-detail-tab:hover {
  color: #1f1607;
  background: #ffc107;
  border-color: #ffc107;
}

.news-detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 24px auto 0;
}

.news-detail-page-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(143, 96, 0, .16);
  border-radius: 10px;
  color: #241806;
  background: white;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(80, 48, 0, .08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.news-detail-page-arrow.next {
  justify-content: flex-end;
  text-align: right;
}

.news-detail-page-arrow i {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #1f1607;
  background: #ffc107;
}

.news-detail-page-arrow small {
  display: block;
  color: #8f6000;
  font-size: .78rem;
  font-weight: 900;
}

.news-detail-page-arrow:hover {
  color: #241806;
  border-color: rgba(255, 193, 7, .58);
  box-shadow: 0 18px 34px rgba(80, 48, 0, .14);
  transform: translateY(-2px);
}

.news-detail-loading,
.news-detail-empty {
  margin: 0;
  padding: 60px 40px;
  color: #3f3522;
  text-align: center;
}

.news-detail-empty h1 {
  margin-bottom: 14px;
  font-size: 1.8rem;
  font-weight: 900;
}

.news-detail-header {
  padding: 34px 40px 26px;
}

.news-detail-header h1 {
  margin: 14px 0 10px;
  color: #2d2415;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.news-detail-header time {
  color: #806c47;
  font-weight: 700;
}

.news-detail-banner {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 520px);
  background: #111827;
  object-fit: cover;
  object-position: center;
}

.news-detail-body {
  padding: 34px 40px 48px;
}

.news-detail-body section + section {
  margin-top: 28px;
}

.news-detail-body h2 {
  margin-bottom: 14px;
  color: #9b5f00;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.news-detail-body p {
  margin-bottom: 12px;
  color: #3f3522;
  line-height: 1.9;
}

.news-detail-body ol,
.news-detail-body ul {
  margin: 0 0 16px;
  padding-left: 1.45rem;
  color: #3f3522;
  line-height: 1.9;
}

.news-detail-body li + li {
  margin-top: 6px;
}

/* Legacy announcement content is kept hidden as editable source copy. */
.announcement-section {
  background: #fff8df;
}

.announcement-tabs {
  border-bottom: 2px solid rgba(180, 125, 20, .25);
}

.announcement-tabs .nav-link {
  color: #6f4a00;
  font-weight: 800;
  border: 0;
  border-radius: 8px 8px 0 0;
  padding: 12px 24px;
}

.announcement-tabs .nav-link.active {
  color: #111;
  background: #ffc107;
}

.announcement-panel {
  background: white;
  border: 1px solid rgba(180, 125, 20, .18);
  border-top: 0;
  padding: 32px;
  box-shadow: 0 16px 35px rgba(80, 48, 0, .08);
}

.announcement-panel h3 {
  color: #4d3200;
  font-weight: 900;
}

.announcement-panel h4 {
  margin-top: 28px;
  color: #9b5f00;
  font-weight: 900;
}

.announcement-panel p {
  color: #3f3522;
  line-height: 1.9;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .section {
    padding: 52px 0;
  }

  .section-heading {
    margin-bottom: 28px;
    font-size: 1.7rem;
  }

  .download-panel {
    display: block;
  }

  .download-actions {
    margin-top: 22px;
  }

  .news-card-layout {
    display: block;
  }

  .news-card-carousel {
    min-height: 0;
    margin-bottom: 28px;
  }

  .news-card-carousel .carousel-inner,
  .news-card-carousel .carousel-item {
    height: auto;
  }

  .news-banner {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .news-card-arrow {
    width: 42px;
    height: 42px;
    margin: 0 8px;
  }

  .news-tabs {
    padding: 0;
  }

  .news-tab {
    padding: 14px 8px;
    font-size: .94rem;
  }

  .news-card {
    --news-row-height: 96px;
  }

  .news-content {
    grid-template-columns: 64px 1fr;
    gap: 10px 14px;
    padding: 16px;
  }

  .news-time {
    grid-column: 2;
    text-align: left;
  }

  .news-detail-page {
    padding: 86px 0 36px;
  }

  .news-detail-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .news-detail-tab {
    flex: 0 0 auto;
    min-width: 72px;
  }

  .news-detail-pager {
    grid-template-columns: 1fr;
  }

  .news-detail-page-arrow,
  .news-detail-page-arrow.next {
    justify-content: space-between;
    text-align: left;
  }

  .news-detail-header,
  .news-detail-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .news-detail-banner {
    height: clamp(210px, 58vw, 360px);
  }

  .reward-card {
    min-height: 238px;
    padding: 16px 10px 14px;
  }

  .reward-rarity {
    top: 10px;
    left: 10px;
    padding: 4px 8px;
  }

  .reward-icon {
    height: 118px;
    margin-top: 28px;
  }

  .reward-icon img {
    max-height: 112px;
  }

  #features .reward-card h3 {
    font-size: 1.05rem;
  }

  .reward-card p {
    font-size: .85rem;
    line-height: 1.45;
  }

  .benefits-panel {
    padding: 28px 18px;
  }

  .benefit-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .benefits-visual {
    padding-top: 24px;
  }

  .benefits-visual img {
    max-width: 280px;
  }

  .machine-info p {
    min-height: 0;
  }

  .reviews-source {
    margin-bottom: 26px;
  }

  .review-card {
    padding: 18px;
  }

}

/* Inner pages */
.page-header {
  background: url("../img/zh-tw/banner-wolf.jpg") center center / cover no-repeat;
  height: 300px;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.content-section {
  padding: 72px 15px;
}

/* Pages without a visual header need extra offset for the fixed navigation. */
main.content-section.py-5 {
  padding-top: 112px !important;
  padding-bottom: 72px !important;
}

.about-section {
  padding-top: 112px !important;
}

.content-section h1 {
  margin-bottom: 36px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.content-section h2 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.content-section p {
  color: #ccc;
  line-height: 1.8;
}

/* Mainstream multi-column footer used across all pages. */
.site-footer {
  padding: 56px 0 26px;
  background: #101010;
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-flow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #2dd4bf, #7c3aed, #ffc107);
  background-size: 50% 100%;
  animation: footer-flow 7s linear infinite;
}

@keyframes footer-flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) 1fr 1fr minmax(180px, .8fr);
  gap: 36px;
}

.site-footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}

.site-rating-badges {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.site-footer-brand .site-rating-badge {
  display: block;
  width: auto;
  height: 74px;
  max-width: 118px;
  object-fit: contain;
}

.site-footer-brand p,
.site-footer-notice {
  color: rgba(255, 255, 255, .64);
  line-height: 1.8;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: #ffc107;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer-links,
.site-footer-download {
  display: grid;
  gap: 10px;
}

.site-footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: #ffc107;
}

.site-footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  font-size: 1.1rem;
}

.site-footer-language {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.site-footer-notice {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 44px;
  }

  .site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .site-footer-brand,
  .site-footer-download {
    grid-column: 1 / -1;
  }

  .site-footer-notice {
    display: grid;
    margin-top: 34px;
  }
}

/* About page */
.about-section {
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, .15), transparent 30%),
    linear-gradient(180deg, #0b1020 0%, #111827 100%);
  color: white;
  position: relative;
}

.about-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #ffd54a;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.about-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  text-shadow: 0 0 20px rgba(255, 215, 0, .25);
}

.about-text {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1rem;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #ffe066, #ffb800);
  box-shadow: 0 10px 30px rgba(255, 184, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(255, 184, 0, .5);
  color: #111;
}

.about-character {
  position: relative;
  z-index: 2;
  max-height: 720px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
}

.about-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, .28), transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

@media (max-width: 991px) {
  .about-section {
    text-align: center;
  }

  .about-text {
    line-height: 1.8;
  }

  .about-character {
    max-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reward-card,
  .reward-card::before,
  .reward-icon img,
  .machine-card,
  .machine-art::after,
  .machine-art img,
  .hero-marquee-track,
  .footer-flow-line {
    transition: none;
    animation: none;
  }

  .reward-card:hover,
  .reward-card:focus-visible,
  .reward-card.is-pressed,
  .machine-card:hover,
  .machine-card:focus-visible,
  .machine-card.is-pressed,
  .reward-card:hover .reward-icon img,
  .reward-card:focus-visible .reward-icon img,
  .machine-card:hover .machine-art img,
  .machine-card:focus-visible .machine-art img {
    transform: none;
  }
}
