/* ========== 基础设置 ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --tr-primary: #6b7280;         /* 主紫色 */
  --tr-primary-soft: #f4e8ff;    /* 淡紫背景 */
  --tr-bg: #ffffff;
  --tr-text: #111827;
  --tr-muted: #6b7280;
  --tr-border: #e5e7eb;
  --tr-radius-card: 18px;
  --tr-shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--tr-text);
  background: var(--tr-bg);
}

section {
  width: 100%;
}

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

/* 让 WP 的容器全宽展示 */
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
.wp-block-group,
.wp-block-group__inner-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ========== 通用组件 ========== */
.tr-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.tr-section {
  padding: 64px 0;
}

.tr-title-center {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 24px;
}

.tr-subtitle-center {
  text-align: center;
  color: var(--tr-muted);
  font-size: 14px;
}

.tr-card {
  background: #ffffff;
  border-radius: var(--tr-radius-card);
  box-shadow: var(--tr-shadow-soft);
}

/* 按钮 */
.tr-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  background: #fbbf24;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border: none;
}

.tr-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--tr-primary);
  background: #ffffff;
  color: var(--tr-primary);
  font-weight: 600;
  font-size: 14px;
}

.tr-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* 覆盖你在 HTML 里写的绿色 inline-style，统一改成紫色 */
.tr-earn-card--purple .tr-btn-small,
.tr-rating-layout .tr-btn-small {
  background: var(--tr-primary) !important;
  color: #fff !important;
}

/* ========== HERO 顶部 ========== */
.tr-hero {
  background: radial-gradient(circle at top left, #FF0000, var(--tr-primary));
  color: #ffffff;
  padding: 32px 0 56px;
}

.tr-logo-bar {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.tr-logo-text {
  margin-left: 8px;
  font-weight: 700;
  font-size: 16px;
}

.tr-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.tr-hero-left {
  flex: 1 1 320px;
  min-width: 280px;
}

.tr-hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

.tr-hero-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin: 0 0 24px;
}

.tr-hero-bonus {
  font-size: 14px;
  color: #fde68a;
  margin-top: 12px;
}

.tr-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
}

.tr-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  display: inline-block;
  margin-right: 4px;
}

.tr-hero-right {
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
}

.tr-hero-banner {
  max-width: 360px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.45);
}

/* ========== 提现方式 ========== */
.tr-withdraw {
  background: #ffffff;
  border-bottom: 1px solid var(--tr-border);
}

.tr-withdraw-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.tr-withdraw-methods {
  display: flex;
  gap: 40px;
  align-items: center;
}

.tr-withdraw-item {
  text-align: center;
  font-size: 12px;
  color: var(--tr-muted);
}

.tr-withdraw-item img {
  max-height: 30px;
  margin-bottom: 6px;
}

/* ========== 平台特色卡片 ========== */
.tr-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tr-feature-card {
  padding: 24px 24px 20px;
  border-radius: var(--tr-radius-card);
  border: 1px solid var(--tr-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  background: #ffffff;
}

.tr-feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tr-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--tr-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tr-feature-title {
  font-size: 16px;
  font-weight: 700;
}

.tr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--tr-muted);
}

/* ========== Top Games 标题区 ========== */
.tr-topgames-header {
  padding: 40px 0 20px;
  text-align: center;
}

.tr-topgames-header .tr-btn-primary {
  margin-top: 8px;
}

/* ========== Best Gaming Experience ========== */
.tr-experience-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.tr-experience-text {
  flex: 1 1 280px;
}

.tr-experience-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
}

.tr-experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 20px;
}

.tr-experience-image {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.tr-experience-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
}

/* ========== Earn more ========== */
.tr-earn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tr-earn-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--tr-radius-card);
}

.tr-earn-card img {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
}

/* 背景色改为更“紫”一点的风格 */
.tr-earn-card--purple {
  background: #f6e8ff;
}

.tr-earn-card--yellow {
  background: #fff5d1;
}

/* ========== 评分区 ========== */
.tr-rating-layout {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px;
}

.tr-rating-box {
  min-width: 160px;
}

.tr-rating-score {
  font-size: 28px;
  font-weight: 700;
}

.tr-rating-stars {
  color: #fbbf24;
  font-size: 18px;
  margin: 8px 0;
}

.tr-testimonial {
  flex: 1;
}

.tr-testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tr-testi-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tr-testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.tr-testimonial-body {
  font-size: 14px;
  color: #4b5563;
}

/* ========== 下载 Play.Win.Earn ========== */
.tr-download {
  text-align: center;
}

.tr-download-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}

.tr-download-icon-item {
  font-size: 14px;
}

.tr-download-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.tr-download-bonus {
  margin-top: 16px;
  font-size: 13px;
  color: #f97316;
}

/* ========== Read more 游戏列表 ========== */
.tr-readmore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 32px;
}

.tr-readmore-main {
  font-size: 14px;
  color: #374151;
}

.tr-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tr-article-item {
  display: flex;
  gap: 10px;
}

.tr-article-thumb {
  width: 90px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

/* ========== Footer ========== */
.tr-footer {
  background: #050816;
  color: #e5e7eb;
  padding-top: 32px;
}

.tr-footer-top {
  padding-bottom: 20px;
}

.tr-footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: flex-start;
}

.tr-footer-col h5 {
  margin: 0 0 8px;
  font-size: 14px;
}

.tr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.tr-footer-links li + li {
  margin-top: 4px;
}

.tr-footer-links a {
  color: #9ca3af;
}

.tr-footer-bottom {
  padding: 16px 0 24px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #111827;
  margin-top: 12px;
}

.tr-footer-download-bar {
  margin-top: 20px;
  padding: 12px 16px;
  background: #020617;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ========== 手机底部悬浮下载条 ========== */
.mobile-download-bar {
  display: none;
}

/* ========= 响应式：大屏到中屏 ========= */
@media (max-width: 960px) {
  .tr-features-grid,
  .tr-earn-grid {
    grid-template-columns: 1fr;
  }

  .tr-footer-row {
    grid-template-columns: 1fr 1fr;
  }

  .tr-readmore-grid {
    grid-template-columns: 1fr;
  }
}

/* ========= 响应式：手机 ========= */
@media (max-width: 768px) {
  .tr-section {
    padding: 40px 0;
  }

  .tr-hero-inner,
  .tr-withdraw-inner,
  .tr-experience-inner,
  .tr-rating-layout {
    flex-direction: column;
  }

  .tr-logo-bar {
    justify-content: center;
  }

  .tr-hero-title {
    font-size: 28px;
    text-align: center;
  }

  .tr-hero-subtitle,
  .tr-hero-bonus,
  .tr-hero-meta {
    text-align: center;
  }

  .tr-hero-meta {
    flex-direction: column;
    align-items: center;
  }

  .tr-hero-right {
    order: -1;            /* 手机先看到图，再看到文案，接近原站 */
  }

  .tr-experience-text,
  .tr-experience-inner {
    text-align: center;
  }

  .tr-experience-list {
    justify-items: center;
  }

  .tr-article-list {
    grid-template-columns: 1fr;
  }

  .tr-footer-row {
    grid-template-columns: 1fr;
  }

  .tr-footer-download-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* 手机底部下载条 */
  .mobile-download-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 14px;
    z-index: 9999;
  }

  .download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .download-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .download-text {
    font-size: 12px;
    color: #374151;
  }

  .download-text .d-title {
    font-weight: 600;
  }

  .download-text .d-bonus {
    font-size: 11px;
    color: #f97316;
  }

  .download-btn {
    background: var(--tr-primary);
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .tr-hero-left {
    text-align: center !important;
  }

  .tr-btn-center {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}
/* =======================
   移动端固定下载栏
   ======================= */

.tr-sticky-download {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0C0621;
  padding: 10px 14px;
  z-index: 9999;
  display: none; /* 默认桌面端隐藏 */
}

.tr-sticky-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tr-sticky-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tr-sticky-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.tr-sticky-text {
  color: white;
}

.tr-sticky-title {
  font-size: 15px;
  font-weight: 600;
}

.tr-sticky-sub {
  font-size: 12px;
  opacity: 0.7;
}

.tr-sticky-btn {
  background: linear-gradient(90deg, #10b981, #22c55e);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* 仅移动端显示 */
@media (max-width: 768px) {
  .tr-sticky-download {
    display: block;
  }
}
/* 修复 Footer 链接颜色：禁止 WordPress 默认紫色 */
footer a {
  color: #ffffff !important;
  opacity: 0.8;
  text-decoration: none !important;
}

footer a:hover {
  opacity: 1 !important;
  color: #ffffff !important;
}

/* 覆盖 visited 链接颜色 */
footer a:visited {
  color: #ffffff !important;
}

/* ========================
   Ratings + User Reviews
   ======================== */

.tr-review-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
}

/* Review Card */
.tr-review-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.review-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tr-rating-score {
  font-size: 42px;
  font-weight: 800;
  color: #111827;
}

.tr-rating-stars {
  font-size: 20px;
  color: #fbbf24;
}

.tr-rating-count {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
}

/* Rating bars */
.tr-rating-bars {
  margin-top: 14px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.rating-row span {
  width: 32px;
}

.bar {
  flex: 1;
  height: 6px;
  border-radius: 4px;
  background: #e5e7eb;
  position: relative;
}

.bar::after {
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 4px;
  background: #10b981;
}

.bar-5::after { width: 92%; }
.bar-4::after { width: 70%; }
.bar-3::after { width: 42%; }
.bar-2::after { width: 24%; }
.bar-1::after { width: 10%; }

/* User Review */
.tr-review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.tr-review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.tr-user-name {
  font-size: 16px;
  font-weight: 700;
}

.tr-user-win {
  font-size: 13px;
  color: #6b7280;
}

.tr-user-rating {
  background: #22c55e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-left: auto;
}

.tr-review-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Review dots */
.tr-review-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  border-radius: 999px;
}
.dot.active {
  background: #111827;
}

/* Mobile */
@media (max-width:768px) {
  .tr-review-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Top Real Cash Games Section 
   ========================= */

.tr-top-games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 20px;
  margin-bottom: 30px;
  justify-items: center;
}

.tr-game-icon-card {
  text-align: center;
  font-size: 14px;
  color: #111827;
  font-weight: 600;
}

.tr-game-icon-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 6px;
  transition: transform 0.2s;
}

.tr-game-icon-card img:hover {
  transform: scale(1.07);
}

.tr-top-games-btn-wrapper {
  text-align: center;
  margin-top: 10px;
}

.tr-top-games-btn {
  padding: 14px 32px;
  font-size: 18px;
  display: inline-block;
}

/* Mobile */
@media (max-width:768px) {
  .tr-top-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .tr-game-icon-card img {
    width: 60px;
    height: 60px;
  }
}
/* =======================
   Simple Read More List
   ======================= */

.tr-readmore-simple .tr-readmore-intro h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.tr-readmore-simple .tr-readmore-intro p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
}

.tr-readmore-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tr-readmore-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.tr-rm-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.tr-readmore-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tr-readmore-item p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.45;
}

.tr-readmore-item a {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.tr-readmore-item a:hover {
  text-decoration: underline;
}

/* Mobile spacing */
@media (max-width:768px) {
  .tr-readmore-item {
    gap: 12px;
  }
  .tr-rm-thumb {
    width: 60px;
    height: 60px;
  }
}
/* 整体区域 */
.tr-readmore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    margin-top: 24px;
}

/* 每个文章项 */
.tr-readmore-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 480px;
}

/* 缩略图 */
.tr-rm-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

/* 标题 */
.tr-readmore-item h4 {
    font-size: 17px;
    margin: 0 0 4px;
    font-weight: 600;
}

/* 描述文字 */
.tr-rm-text {
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
    margin-bottom: 6px;
    max-width: 360px;
}

/* Read More 链接 */
.tr-rm-toggle {
    font-size: 14px;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.tr-rm-toggle:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .tr-readmore-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tr-readmore-item {
        max-width: 100%;
    }

    .tr-rm-thumb {
        width: 64px;
        height: 64px;
    }
}
/* ============================
   FAQ Accordion Styles
   ============================ */
.faq-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
  color: #111;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  border: none;
  background: none;
  padding: 10px 0;
  cursor: pointer;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #0a7cff;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.faq-question.active::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 10px 0 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* ============================
   Our Gaming Expertise Section
   ============================ */

.expertise-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.expertise-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.expertise-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-list li {
  background: #f8f9fa;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  border: 1px solid #eee;
}