/* RealMoneyCasinoHK.net 2026 Master Stylesheet — Imperial Obsidian Crimson & Champagne Rose-Gold */
:root {
  --bg-obsidian: #0b070e;
  --bg-velvet: #140c1c;
  --bg-panel: #1d1128;
  --bg-elevated: #271736;
  --ruby: #f43f5e;
  --ruby-deep: #be123c;
  --champagne: #f6d365;
  --champagne-dark: #d99b26;
  --mint: #2dd4bf;
  --sky: #38bdf8;
  --txt-primary: #fdf8ff;
  --txt-secondary: #decfe8;
  --txt-muted: #a695b5;
  --border-gold: rgba(246, 211, 101, 0.22);
  --border-ruby: rgba(244, 63, 94, 0.28);
  --border-soft: rgba(255, 255, 255, 0.09);
  --radius-xl: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-luxe: 0 14px 36px rgba(0, 0, 0, 0.62);
  --font-main: 'PingFang HK', 'Microsoft JhengHei', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--txt-primary);
}

body {
  font-family: var(--font-main);
  line-height: 1.72;
  color: var(--txt-primary);
  background: radial-gradient(ellipse at 50% 0%, #261132 0%, #0b070e 68%);
  min-height: 100vh;
  padding-bottom: 86px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--champagne);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: #ffe89e;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Telemetry Command Ribbon */
.telemetry-bar {
  background: linear-gradient(90deg, #16091e 0%, #2a0e24 50%, #16091e 100%);
  border-bottom: 1px solid rgba(244, 63, 94, 0.25);
  font-size: 0.78rem;
  color: var(--txt-secondary);
  padding: 6px 0;
}

.telemetry-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  margin-right: 6px;
}

/* Sticky Command Header */
.site-hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 7, 14, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
}

.hdr-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-crest {
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.cmd-nav {
  display: none;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.cmd-nav a {
  color: var(--txt-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none !important;
}

.cmd-nav a:hover, .cmd-nav a.active {
  background: linear-gradient(135deg, var(--ruby), var(--ruby-deep));
  color: #ffffff;
}

@media (min-width: 1024px) {
  .cmd-nav { display: flex; }
}

.hdr-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ruby, .btn-champagne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-ruby {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #ffffff !important;
  box-shadow: 0 5px 18px rgba(244, 63, 94, 0.38);
}

.btn-champagne {
  background: linear-gradient(135deg, #f6d365 0%, #d99b26 100%);
  color: #140a1d !important;
  box-shadow: 0 5px 18px rgba(246, 211, 101, 0.3);
}

.btn-ruby:hover, .btn-champagne:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

/* Breadcrumb & Silo Ribbon */
.crumb-strip {
  background: rgba(20, 12, 28, 0.82);
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 0;
  font-size: 0.84rem;
  color: var(--txt-muted);
}

.crumb-ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.crumb-ol li + li::before {
  content: "»";
  margin-right: 6px;
  color: var(--ruby);
}

.silo-ribbon {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  margin-bottom: 8px;
  scrollbar-width: thin;
}

.ribbon-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  background: var(--bg-velvet);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--txt-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}

.ribbon-tag:hover {
  border-color: var(--ruby);
  color: var(--champagne);
}

/* Bento Hero Section */
.bento-hero {
  background: linear-gradient(145deg, #1d1029 0%, #100818 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin: 14px 0 26px;
  box-shadow: var(--shadow-luxe);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@media (min-width: 880px) {
  .bento-hero {
    grid-template-columns: 1.12fr 0.88fr;
    padding: 32px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.bento-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  line-height: 1.28;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-lead {
  color: var(--txt-secondary);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
}

.kpi-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.kpi-cell strong {
  display: block;
  color: var(--champagne);
  font-size: 1.05rem;
}

.kpi-cell span {
  font-size: 0.75rem;
  color: var(--txt-muted);
}

.hero-art-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-ruby);
  background: #09050d;
}

.hero-art-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 860 / 480;
  object-fit: cover;
}

/* =========================================================================
   10-BRAND PARTNER LEADERBOARD COLUMN (Exact Match to Uploaded Image)
   ========================================================================= */
.partner-leaderboard {
  margin: 22px 0 30px;
}

.leaderboard-hdr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.leaderboard-hdr h2 {
  font-size: clamp(1.22rem, 2.3vw, 1.55rem);
  color: var(--champagne);
  font-weight: 800;
}

.leaderboard-hdr span {
  font-size: 0.84rem;
  color: var(--txt-muted);
}

.partner-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.partner-card-row {
  background: linear-gradient(145deg, #21152b 0%, #170f21 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.partner-card-row:hover {
  border-color: rgba(246, 211, 101, 0.5);
  transform: translateY(-2px);
}

@media (min-width: 820px) {
  .partner-card-row {
    grid-template-columns: 280px 1fr 270px;
    padding: 20px 26px;
  }
}

.p-col-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-rank-num {
  width: 40px;
  height: 44px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.p-rank-num.gold-rank {
  background: linear-gradient(135deg, #f3d078, #dfb14b);
  color: #16101e;
  box-shadow: 0 4px 12px rgba(243, 208, 120, 0.32);
}

.p-rank-num.dark-rank {
  background: #2f223b;
  color: #e2d8ed;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.p-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.p-logo-wide {
  width: 190px;
  height: 65px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 6px;
}

.p-logo-sq {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 6px;
}

.p-brand-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.25;
}

.p-brand-tag {
  color: #a395b4;
  font-size: 0.78rem;
  margin-top: 2px;
}

.p-col-mid {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

@media (min-width: 820px) {
  .p-col-mid {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0;
    padding-left: 24px;
  }
}

.p-offer-kicker {
  color: #b5a6c7;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.p-offer-headline {
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}

.p-offer-desc {
  color: #b5a6c7;
  font-size: 0.84rem;
  line-height: 1.48;
}

.p-col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-gold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 245px;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5d77f 0%, #e4b953 100%);
  color: #17101e !important;
  font-weight: 800;
  font-size: 0.96rem;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(245, 215, 127, 0.26);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-gold-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.p-aff-sub {
  color: #9c8dae;
  font-size: 0.76rem;
  margin-top: 7px;
  text-align: center;
}

/* Interior Layout Grid & Sticky Executive Rail */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 980px) {
  .page-grid.variant-executive-rail {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.vip-rail {
  background: var(--bg-velvet);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 20px;
  position: sticky;
  top: 84px;
}

.vip-rail h3 {
  color: var(--champagne);
  font-size: 1.04rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.rail-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.rail-links a {
  display: block;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--txt-secondary);
  font-size: 0.87rem;
}

.rail-links a:hover {
  border-color: var(--ruby);
  color: var(--champagne);
}

/* Article Typography & E-E-A-T Blocks */
.eeat-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.11), rgba(20, 12, 28, 0.96));
  border-left: 4px solid var(--ruby);
  border-top: 1px solid var(--border-ruby);
  border-right: 1px solid var(--border-ruby);
  border-bottom: 1px solid var(--border-ruby);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.eeat-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.eeat-pill {
  background: var(--ruby);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
}

.eeat-meta {
  color: var(--txt-muted);
  font-size: 0.8rem;
}

.eeat-card p {
  margin-bottom: 6px;
  color: var(--txt-secondary);
}

.tldr-panel {
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.12), rgba(29, 17, 40, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
}

.tldr-hdr {
  color: var(--champagne);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.intro-prose p, .art-sec p {
  margin-bottom: 14px;
  color: var(--txt-secondary);
  font-size: 1rem;
}

.art-sec {
  background: var(--bg-velvet);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin-bottom: 22px;
}

.art-sec h2 {
  font-size: clamp(1.22rem, 2.2vw, 1.5rem);
  color: var(--champagne);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.capsule-box {
  background: rgba(45, 212, 191, 0.08);
  border-left: 3px solid var(--mint);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  color: var(--txt-primary);
  font-size: 0.95rem;
}

.alert-warn {
  background: rgba(244, 63, 94, 0.1);
  border-left: 4px solid var(--ruby);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 14px 0;
  font-size: 0.92rem;
}

.alert-pro {
  background: rgba(246, 211, 101, 0.1);
  border-left: 4px solid var(--champagne);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 14px 0;
  font-size: 0.92rem;
}

/* In-Content Figures & Captions */
.art-figure {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-panel);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.art-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 420;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.art-figure img:hover {
  transform: scale(1.015);
}

.art-figure figcaption {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--txt-secondary);
  background: rgba(14, 8, 22, 0.92);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-figure figcaption::before {
  content: "📷";
  font-size: 0.95rem;
}

/* Responsive Data Table */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--bg-panel);
  font-size: 0.9rem;
}

.spec-table th {
  background: rgba(244, 63, 94, 0.18);
  color: var(--champagne);
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-gold);
}

.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--txt-secondary);
}

.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.num-col {
  color: var(--mint) !important;
  font-weight: 700;
}

.tbl-badge {
  display: inline-block;
  background: rgba(246, 211, 101, 0.14);
  color: var(--champagne);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.num-steps {
  padding-left: 20px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--txt-secondary);
}

.inline-cta-card {
  background: linear-gradient(135deg, #28112b 0%, #160a1e 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.inline-cta-info strong {
  display: block;
  color: var(--champagne);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.inline-cta-info span {
  font-size: 0.86rem;
  color: var(--txt-secondary);
}

.inline-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ Accordions */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.faq-q {
  cursor: pointer;
  font-weight: 800;
  color: #ffffff;
  font-size: 0.96rem;
}

.faq-a {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

/* Visual Feature Cards & Full-Mesh Silo Grid */
.mesh-block {
  margin: 26px 0;
}

.mesh-block h2 {
  font-size: 1.32rem;
  color: var(--champagne);
  margin-bottom: 14px;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.f-card {
  background: var(--bg-velvet);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.f-card img {
  width: 100%;
  aspect-ratio: 640 / 380;
  object-fit: cover;
}

.f-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-card-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
}

.mesh-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 10px;
}

.mesh-tile {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: var(--bg-velvet);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
}

.mesh-tile:hover {
  border-color: var(--ruby);
  background: var(--bg-panel);
}

.mesh-tile strong {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.mesh-tile span {
  color: var(--txt-muted);
  font-size: 0.77rem;
}

/* Compliance Trust Bar */
.compliance-trust-bar {
  margin: 24px 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--txt-muted);
}

.compliance-trust-bar a {
  color: var(--txt-secondary);
  text-decoration: underline;
  margin: 0 6px;
}

/* Directory Band Footer */
.luxe-footer {
  background: #07040a;
  border-top: 1px solid var(--border-gold);
  padding: 38px 0 28px;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--txt-muted);
}

.ftr-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.ftr-col h3 {
  color: var(--champagne);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.ftr-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ftr-col a {
  color: var(--txt-secondary);
  font-size: 0.84rem;
}

/* Sticky Mobile Action Bar */
.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 7, 14, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 68px;
  padding: 6px 8px;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--txt-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none !important;
  min-width: 56px;
  min-height: 48px;
  padding: 4px 6px;
  border-radius: 10px;
}

.dock-item.dock-cta {
  background: linear-gradient(135deg, var(--ruby), var(--ruby-deep));
  color: #ffffff !important;
  font-weight: 800;
  padding: 6px 14px;
}
