/* PHBET Philippines (ph-bet2.com) | Official Gold & Obsidian Mobile Stylesheet */
:root {
  --trhc-outer-bg: #1a1a1a;
  --trhc-shell-bg: #2b2b2b;
  --trhc-surface: #383838;
  --trhc-elevated: #444444;
  --trhc-accent1: #FFD700;
  --trhc-accent2: #FDB931;
  --trhc-glow: rgba(255, 215, 0, 0.15);
  --trhc-border: rgba(255, 215, 0, 0.30);
  --trhc-green: #4ade80;
  --trhc-green-bg: rgba(34, 197, 94, 0.15);
  --trhc-blue: #60a5fa;
  --trhc-blue-bg: rgba(59, 130, 246, 0.12);
  --trhc-txt-main: #f0f0f0;
  --trhc-txt-sub: #d4d4d8;
  --trhc-txt-muted: #a0a0aa;
  --trhc-max-w: 456px;
  --trhc-hero-h: 228px;
  --trhc-carousel-h: 188px;
  --trhc-radius: 11px;
  --trhc-gap: 11px;
  --trhc-feat-sz: 40px;
  --trhc-step-sz: 28px;
  --trhc-prov-sz: 48px;
  --trhc-blur: 13px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--trhc-outer-bg);
  color: var(--trhc-txt-main);
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.trhc-shell {
  width: 100%;
  max-width: var(--trhc-max-w);
  min-height: 100vh;
  padding-bottom: 84px;
  position: relative;
  background-color: var(--trhc-shell-bg);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.92);
  overflow-x: hidden;
}

/* Sticky Frosted-Glass Header */
.trhc-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(var(--trhc-blur));
  -webkit-backdrop-filter: blur(var(--trhc-blur));
  background: rgba(31, 31, 31, 0.94);
  border-bottom: 1px solid rgba(255, 215, 0, 0.24);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

.trhc-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trhc-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.trhc-hdr-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--trhc-green);
  background: var(--trhc-green-bg);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 6px;
  padding: 2px 6px;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.trhc-logo-img {
  display: block;
  height: 32px;
  width: auto;
}

.trhc-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trhc-pill-outline {
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 16px;
  text-decoration: none;
  border: 1px solid var(--trhc-accent1);
  color: var(--trhc-accent1);
  background: rgba(255, 215, 0, 0.06);
  transition: all 0.2s ease;
}

.trhc-pill-solid {
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 18px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--trhc-accent1), var(--trhc-accent2));
  color: #000000;
  border: none;
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.3);
  transition: all 0.2s ease;
}

.trhc-pill-outline:hover,
.trhc-pill-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(255, 215, 0, 0.42);
}

/* Hero Banner */
.trhc-hero-wrap {
  position: relative;
  width: 100%;
  height: var(--trhc-hero-h);
  overflow: hidden;
  background: #141414;
}

.trhc-hero-img {
  width: 100%;
  height: var(--trhc-hero-h);
  object-fit: cover;
  display: block;
}

.trhc-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--trhc-shell-bg) 0%, rgba(43, 43, 43, 0.18) 38%, transparent 100%);
  pointer-events: none;
}

/* Main Content Wrapper */
.trhc-main {
  padding: 6px 16px 18px;
}

/* Breadcrumbs */
.trhc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--trhc-txt-muted);
  margin: 0 0 12px 0;
  padding: 4px 0;
}

.trhc-crumbs a {
  color: var(--trhc-txt-sub);
  text-decoration: none;
  font-weight: 600;
}

.trhc-crumbs a:hover {
  color: var(--trhc-accent1);
}

.trhc-crumb-sep {
  color: var(--trhc-txt-muted);
}

.trhc-crumb-cur {
  color: var(--trhc-accent1);
  font-weight: 600;
}

/* Glowing Tinted Quick Summary Box */
.trhc-digest-box {
  background: var(--trhc-glow);
  border: 1px solid var(--trhc-border);
  border-radius: var(--trhc-radius);
  padding: 14px 16px;
  margin: 12px 0 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.trhc-digest-tag {
  color: var(--trhc-accent1);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.trhc-digest-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--trhc-txt-main);
  line-height: 1.55;
}

/* Centered Page Title & E-E-A-T Block */
.trhc-title-zone {
  text-align: center;
  margin: 16px 0 20px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trhc-h1 {
  font-weight: 800;
  color: var(--trhc-accent1);
  font-size: 1.38rem;
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.trhc-byline {
  font-size: 0.78rem;
  color: var(--trhc-txt-muted);
  margin: 0 0 8px 0;
}

.trhc-badge-21 {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--trhc-green);
  background: var(--trhc-green-bg);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Typography & Sections */
.trhc-sec {
  margin: 24px 0;
}

.trhc-h2 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--trhc-txt-main);
  margin: 0 0 12px 0;
  line-height: 1.3;
  padding: 2px 0 8px 10px;
  border-left: 3px solid var(--trhc-accent1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
}

.trhc-h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--trhc-accent1);
  margin: 14px 0 6px 0;
  line-height: 1.35;
}

.trhc-p {
  font-size: 0.91rem;
  color: var(--trhc-txt-sub);
  margin: 0 0 12px 0;
  line-height: 1.64;
}

.trhc-p a {
  color: var(--trhc-accent1);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* 1. 3-Card Vertical Icon Feature Stack */
.trhc-feature-stack {
  display: flex;
  flex-direction: column;
  gap: var(--trhc-gap);
  margin: 16px 0;
}

.trhc-feature-row {
  background: var(--trhc-surface);
  border-radius: var(--trhc-radius);
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.trhc-feature-row:hover {
  border-color: rgba(255, 215, 0, 0.32);
}

.trhc-feature-icon {
  width: var(--trhc-feat-sz);
  height: var(--trhc-feat-sz);
  min-width: var(--trhc-feat-sz);
  border-radius: 10px;
  background: var(--trhc-glow);
  border: 1px solid var(--trhc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trhc-accent1);
  font-weight: 800;
  font-size: 1.25rem;
}

.trhc-feature-body {
  flex: 1;
}

.trhc-feature-title {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--trhc-txt-main);
  display: block;
  margin-bottom: 4px;
}

.trhc-feature-BodyText {
  margin: 0;
  font-size: 0.84rem;
  color: var(--trhc-txt-muted);
  line-height: 1.48;
}

/* 2. Pure-CSS 3-Slide Auto-Carousel */
.trhc-slider-viewport {
  width: 100%;
  height: var(--trhc-carousel-h);
  border-radius: var(--trhc-radius);
  overflow: hidden;
  position: relative;
  margin: 18px 0;
  border: 1px solid rgba(255, 215, 0, 0.22);
  background: var(--trhc-surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.trhc-slider-track {
  width: 300%;
  height: var(--trhc-carousel-h);
  display: flex;
  animation: trhcAutoCarousel 13s infinite ease-in-out;
}

.trhc-slide-item {
  width: 33.333333%;
  height: var(--trhc-carousel-h);
  flex-shrink: 0;
}

.trhc-slide-img {
  width: 100%;
  height: var(--trhc-carousel-h);
  object-fit: cover;
  display: block;
}

@keyframes trhcAutoCarousel {
  0%, 24% {
    transform: translateX(0%);
  }
  28%, 60% {
    transform: translateX(-33.333333%);
  }
  65%, 93% {
    transform: translateX(-66.666667%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* 3. Dual-Button Conversion Box + 2-Column Spec Table */
.trhc-cta-panel {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.11), rgba(253, 185, 49, 0.03));
  border: 1px solid var(--trhc-border);
  border-radius: var(--trhc-radius);
  padding: 20px 16px;
  margin: 18px 0;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.trhc-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--trhc-green-bg);
  color: var(--trhc-green);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.trhc-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.trhc-btn-full-solid {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--trhc-accent1), var(--trhc-accent2));
  color: #000000;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trhc-btn-full-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 215, 0, 0.42);
}

.trhc-btn-full-outline {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--trhc-accent1);
  color: var(--trhc-accent1);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.trhc-btn-full-outline:hover {
  background: rgba(255, 215, 0, 0.12);
  color: #ffffff;
}

/* 2-Column Key-Value Specification Table */
.trhc-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--trhc-surface);
  border-radius: var(--trhc-radius);
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.trhc-spec-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trhc-spec-table tr:last-child {
  border-bottom: none;
}

.trhc-spec-key {
  width: 40%;
  padding: 11px 14px;
  font-size: 0.83rem;
  color: var(--trhc-txt-muted);
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}

.trhc-spec-val {
  width: 60%;
  padding: 11px 14px;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 800;
  text-align: right;
  vertical-align: middle;
}

/* Responsible Gaming Helpline Box */
.trhc-helpline-box {
  background: var(--trhc-blue-bg);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: var(--trhc-radius);
  padding: 15px 16px;
  margin: 18px 0;
}

.trhc-helpline-title {
  color: var(--trhc-blue);
  font-weight: 800;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
}

.trhc-helpline-box p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--trhc-txt-main);
  line-height: 1.54;
}

.trhc-helpline-box a {
  color: var(--trhc-accent1);
  font-weight: 800;
  text-decoration: underline;
}

/* 4. CSS-Counter Circular Stepper */
.trhc-stepper-list {
  counter-reset: trhc-step-counter;
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: var(--trhc-gap);
}

.trhc-step-item {
  background: var(--trhc-surface);
  border-radius: var(--trhc-radius);
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trhc-step-item::before {
  counter-increment: trhc-step-counter;
  content: counter(trhc-step-counter);
  width: var(--trhc-step-sz);
  height: var(--trhc-step-sz);
  min-width: var(--trhc-step-sz);
  border-radius: 50%;
  background: var(--trhc-glow);
  border: 1px solid var(--trhc-border);
  color: var(--trhc-accent1);
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.trhc-step-content {
  flex: 1;
}

.trhc-step-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--trhc-txt-main);
  display: block;
  margin-bottom: 4px;
}

.trhc-step-desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--trhc-txt-muted);
  line-height: 1.5;
}

/* 5. 2-Column Thumbnail Card Grid */
.trhc-silo-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--trhc-gap);
  margin: 16px 0;
}

.trhc-silo-tile {
  background: var(--trhc-surface);
  border-radius: var(--trhc-radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.trhc-silo-tile:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
}

.trhc-silo-thumb {
  width: 100%;
  height: 102px;
  object-fit: cover;
  display: block;
}

.trhc-silo-caption {
  display: block;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--trhc-txt-main);
}

/* 6. Flex-Wrap Studio Provider Logo Grid */
.trhc-studio-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 16px 0;
}

.trhc-studio-box {
  width: var(--trhc-prov-sz);
  height: var(--trhc-prov-sz);
  border-radius: 10px;
  background: var(--trhc-elevated);
  border: 1px solid rgba(255, 215, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trhc-studio-img {
  width: var(--trhc-prov-sz);
  height: var(--trhc-prov-sz);
  object-fit: cover;
  display: block;
}

/* 7. Native <details>/<summary> Accordion FAQ List */
.trhc-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.trhc-faq-item {
  background: var(--trhc-surface);
  border-radius: var(--trhc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.trhc-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.89rem;
  color: var(--trhc-txt-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trhc-faq-q::-webkit-details-marker {
  display: none;
}

.trhc-faq-q::after {
  content: '+';
  color: var(--trhc-accent1);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.trhc-faq-item[open] > .trhc-faq-q::after {
  content: '−';
}

.trhc-faq-a {
  padding: 0 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trhc-faq-a p {
  margin: 10px 0 0 0;
  font-size: 0.85rem;
  color: var(--trhc-txt-sub);
  line-height: 1.56;
}

/* Compliance Footer */
.trhc-foot {
  text-align: center;
  padding: 28px 16px 34px;
  background: #1f1f1f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 28px;
}

.trhc-foot-logo {
  opacity: 0.45;
  height: 28px;
  width: auto;
  margin-bottom: 10px;
}

.trhc-foot-notice {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--trhc-accent1);
  margin: 0 0 8px 0;
}

.trhc-foot-text {
  font-size: 0.74rem;
  color: var(--trhc-txt-muted);
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.trhc-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 12px 0;
}

.trhc-foot-links a {
  font-size: 0.76rem;
  color: var(--trhc-accent1);
  text-decoration: none;
  font-weight: 600;
}

.trhc-foot-links a:hover {
  text-decoration: underline;
}

/* Fixed 5-Tab Bottom App Navigation Bar */
.trhc-dock-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--trhc-max-w);
  backdrop-filter: blur(var(--trhc-blur));
  -webkit-backdrop-filter: blur(var(--trhc-blur));
  background: rgba(31, 31, 31, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 12px;
}

.trhc-dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--trhc-txt-muted);
  font-size: 0.69rem;
  font-weight: 600;
  gap: 2px;
  padding: 2px 8px;
  transition: color 0.2s ease;
}

.trhc-dock-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.trhc-dock-active,
.trhc-dock-tab:hover {
  color: var(--trhc-accent1);
  font-weight: 800;
}
