/* ==========================================================================
   icon1699 — Imperial Dragon Starlight & Champagne-Antique Gold
   Exact Color Tokens Extracted from https://icon1699.com/
   100% Prototype Parity & Mobile Bounding-Box Safe (minmax(0,1fr))
   ========================================================================== */

:root {
  --bg-espresso: #0D0A07;
  --bg-dark: #140F0B;
  --bg-facet: #1E1710;
  --bg-panel: #1C150E;
  --bg-card: #19130D;
  --bg-footer: #2E2E2E;

  --gold-edge: #CA9541;
  --gold-champagne: #F8D88B;
  --gold-amber: #FBC672;
  --gold-cream: #FFE7C2;
  --gold-brass: #ECBD7B;
  --gold-pulse: #E5BB58;
  --ember-red: #D91E18;
  --ember-orange: #F26522;
  --chrome-silver: #D8DCE0;

  --grad-pill-gold: linear-gradient(180deg, #CA9541 0%, #F8D88B 50%, #CA9541 100%);
  --grad-pill-gold-hover: linear-gradient(180deg, #D9A652 0%, #FFE4A1 50%, #D9A652 100%);
  --grad-table-head: linear-gradient(180deg, #D9A44F 0%, #F4D07F 50%, #BA8534 100%);
  --grad-facet-bar: linear-gradient(135deg, #241C13 0%, #17110B 35%, #271E14 68%, #140F0A 100%);
  --border-glow: linear-gradient(90deg, transparent, #ECBD7B 30%, #ECBD7B 70%, transparent);

  --text-white: #FFFFFF;
  --text-warm: #F5EFE4;
  --text-muted: #D0C4B0;
  --ink-black: #000000;

  --font-heading: 'Kanit', 'Noto Sans Thai', sans-serif;
  --font-body: 'Noto Sans Thai', 'Kanit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 50px;
  --shadow-card: 0 6px 22px rgba(0, 0, 0, 0.55);
  --container-max: 1220px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-espresso);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-warm);
  background-color: var(--bg-espresso);
  background-image:
    radial-gradient(2px 2px at 14% 18%, rgba(248, 216, 139, 0.36), transparent),
    radial-gradient(2px 2px at 84% 26%, rgba(248, 216, 139, 0.32), transparent),
    radial-gradient(1.5px 1.5px at 32% 62%, rgba(251, 198, 114, 0.25), transparent),
    radial-gradient(2px 2px at 72% 78%, rgba(248, 216, 139, 0.28), transparent),
    radial-gradient(1100px 520px at 50% 0%, rgba(202, 149, 65, 0.14), transparent 72%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-amber);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--gold-cream);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-white);
  margin: 0 0 12px;
  line-height: 1.3;
}

p {
  margin: 0 0 15px;
  color: var(--text-warm);
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 3px #FFFFFF, 0 0 9px rgba(229, 187, 88, 0.65), 0 0 16px rgba(229, 187, 88, 0.35);
  }
  50% {
    box-shadow: 0 0 5px #FFFFFF, 0 0 15px rgba(229, 187, 88, 0.85), 0 0 26px rgba(229, 187, 88, 0.55);
  }
}

/* ---------------- Floating Single-Row Header (icon1699.com .nav-h) ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 7, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 189, 123, 0.28);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-crest {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(236, 189, 123, 0.72);
  box-shadow: 0 0 14px rgba(242, 101, 34, 0.28);
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #FFF2CC 0%, #F8D88B 50%, #CA9541 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-amber);
  background: rgba(236, 189, 123, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--gold-brass);
  background: var(--bg-facet);
  color: var(--gold-amber);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: #140F0B;
  border-bottom: 2px solid var(--gold-brass);
  padding: 14px 18px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.mobile-drawer-links a {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-facet);
  border: 1px solid rgba(236, 189, 123, 0.25);
  color: var(--text-white);
  font-family: var(--font-heading);
}

.mobile-drawer-links a.active {
  border-color: var(--gold-amber);
  color: var(--gold-amber);
}

.mobile-drawer-ctas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

/* ---------------- Signature Champagne-Gold Pills (.link-play & .link-in) ---------------- */
.btn-champagne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--grad-pill-gold);
  border: 2px solid var(--gold-cream);
  color: var(--ink-black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  cursor: pointer;
}

.btn-champagne:hover {
  background: var(--grad-pill-gold-hover);
  color: var(--ink-black);
  transform: translateY(-1px);
}

.btn-champagne.pulse-glow {
  animation: goldPulse 2.4s ease-in-out infinite;
}

.btn-amber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1.5px solid var(--gold-amber);
  color: var(--gold-amber);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  cursor: pointer;
}

.btn-amber-outline:hover {
  background: rgba(251, 198, 114, 0.14);
  color: var(--gold-cream);
  border-color: var(--gold-cream);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* ---------------- Full-Bleed 16:9 Imperial Dragon Starlight Hero ---------------- */
.hero-fullbleed {
  position: relative;
  width: 100%;
  min-height: 490px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-espresso);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 10, 7, 0.95) 0%, rgba(13, 10, 7, 0.82) 44%, rgba(13, 10, 7, 0.25) 76%, rgba(13, 10, 7, 0.10) 100%),
    linear-gradient(180deg, rgba(13, 10, 7, 0.20) 0%, transparent 22%, rgba(13, 10, 7, 0.92) 100%);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-copy {
  max-width: 590px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(217, 30, 24, 0.18);
  border: 1px solid rgba(242, 101, 34, 0.58);
  color: var(--gold-cream);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 14px;
}

.amber-accent {
  color: var(--gold-amber);
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--text-warm);
  margin-bottom: 26px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------- Signature Faceted Bronze 4-Column Bar (.bg-tabs) ---------------- */
.faceted-bronze-bar {
  background: var(--grad-facet-bar);
  border-top: 2px solid var(--gold-brass);
  border-bottom: 2px solid var(--gold-brass);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.pillar-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 14px;
  border-right: 1px solid rgba(236, 189, 123, 0.22);
  text-align: left;
}

.pillar-item:last-child {
  border-right: none;
}

.pillar-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(251, 198, 114, 0.12);
  border: 1.5px solid var(--gold-brass);
  color: var(--gold-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-label {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.25;
}

.pillar-sub {
  font-size: 0.78rem;
  color: var(--gold-amber);
}

/* ---------------- Centered Champagne-Gold Pill Headings (.link-play.game-home) ---------------- */
.section-block {
  padding: 44px 0;
}

.section-pill-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-pill-header h2 {
  display: inline-block;
  margin: 0 auto 12px;
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  background: var(--grad-pill-gold);
  border: 2px solid var(--gold-cream);
  color: var(--ink-black);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(229, 187, 88, 0.28);
}

.section-pill-sub {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ---------------- Borderless Trust Columns with Expanding .border-glow ---------------- */
.trust-pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 10px;
}

.trust-pillar-col {
  text-align: center;
  padding: 16px 14px;
}

.trust-pillar-col h3 {
  font-size: 1.14rem;
  color: var(--gold-amber);
  margin-bottom: 10px;
}

.border-glow-line {
  height: 2px;
  width: 48%;
  margin: 0 auto 14px;
  background: var(--border-glow);
  transition: width 0.25s ease;
}

.trust-pillar-col:hover .border-glow-line {
  width: 72%;
}

.trust-pillar-col p {
  font-size: 0.94rem;
  color: var(--text-warm);
  margin: 0;
}

.editorial-center-box {
  max-width: 960px;
  margin: 0 auto 22px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: rgba(28, 21, 14, 0.85);
  border: 1px solid rgba(236, 189, 123, 0.34);
  box-shadow: var(--shadow-card);
}

/* ---------------- Circular Gold-Beveled 27-Provider Medallions (.games-link) ---------------- */
.medallion-group-block {
  margin-bottom: 30px;
}

.medallion-group-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.medallion-group-label h3 {
  margin: 0;
  font-size: 1.06rem;
  color: var(--gold-amber);
  letter-spacing: 0.02em;
}

.medallion-group-line {
  height: 1.5px;
  flex: 1;
  max-width: 140px;
  background: var(--border-glow);
}

.medallion-circle-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
  justify-items: center;
}

.medallion-circle-grid.cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.medallion-circle-grid.cols-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.studio-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 112px;
  text-align: center;
}

.studio-disc {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, #F4ECDC 74%, #DFD1B5 100%);
  border: 3px solid var(--gold-brass);
  box-shadow: 0 0 0 2px #261B0E, 0 6px 16px rgba(0, 0, 0, 0.65), inset 0 2px 5px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.studio-circle-item:hover .studio-disc {
  transform: scale(1.08);
  border-color: var(--gold-cream);
  box-shadow: 0 0 18px rgba(229, 187, 88, 0.45), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.studio-disc img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.studio-label {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  color: var(--text-white);
  line-height: 1.25;
}

/* ---------------- 4-Card Bento Guide Ribbon ---------------- */
.bento-ribbon-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bento-ribbon-4 > * {
  min-width: 0;
  max-width: 100%;
}

.bento-guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(236, 189, 123, 0.36);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bento-guide-card:hover {
  border-color: var(--gold-cream);
  transform: translateY(-3px);
}

.bento-guide-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1.5px solid rgba(236, 189, 123, 0.32);
}

.bento-guide-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ember-orange);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.bento-guide-body h3 {
  font-size: 1.05rem;
  color: var(--gold-amber);
  margin-bottom: 8px;
}

.bento-guide-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

/* ---------------- Champagne Table + 4-Tile Ember Auto Grid + Inverted Mobile Split ---------------- */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gold-brass);
  background: var(--bg-panel);
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  text-align: left;
}

.data-table thead th {
  background: var(--grad-table-head);
  color: var(--ink-black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 16px;
  border-bottom: 1px solid #966824;
}

.data-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(236, 189, 123, 0.18);
  font-size: 0.94rem;
  color: var(--text-warm);
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table td strong {
  color: var(--gold-amber);
}

.ember-tile-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.ember-tile {
  background: linear-gradient(180deg, #241A11 0%, #15100B 100%);
  border: 1px solid rgba(236, 189, 123, 0.35);
  border-top: 3px solid var(--ember-orange);
  border-radius: var(--radius-md);
  padding: 16px;
}

.ember-tile-step {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-amber);
  margin-bottom: 5px;
}

.ember-tile h3 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.ember-tile p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0;
}

.mobile-split-inverted {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
  background: rgba(25, 19, 13, 0.9);
  border: 1px solid rgba(236, 189, 123, 0.36);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.mobile-split-inverted > * {
  min-width: 0;
  max-width: 100%;
}

.mobile-split-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(236, 189, 123, 0.45);
}

.check-list-gold {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
}

.check-list-gold li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 0.94rem;
}

.check-list-gold li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-amber);
}

/* ---------------- Single-Column Sleek Bronze FAQ Accordion ---------------- */
.faq-single-stack {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(236, 189, 123, 0.30);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--gold-cream);
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-brass);
  color: var(--gold-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  background: var(--grad-pill-gold);
  color: var(--ink-black);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(236, 189, 123, 0.2);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------------- Category Page (3-Col Cards + Medallions) & Article Page ---------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cat-article-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.cat-article-grid-3 > * {
  min-width: 0;
  max-width: 100%;
}

.cat-article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1.5px solid rgba(236, 189, 123, 0.38);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cat-article-card:hover {
  border-color: var(--gold-cream);
}

.cat-article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cat-article-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-article-body h3 {
  font-size: 1.08rem;
  color: var(--gold-amber);
  margin-bottom: 8px;
}

.cat-article-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Article 2-Column Layout */
.article-header-centered {
  text-align: center;
  padding: 36px 0 24px;
}

.article-header-centered .breadcrumb {
  justify-content: center;
}

.article-meta-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 18px;
}

.meta-pill {
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-facet);
  border: 1px solid rgba(236, 189, 123, 0.45);
  color: var(--gold-amber);
  font-size: 0.82rem;
}

.meta-pill.ember {
  background: rgba(217, 30, 24, 0.25);
  border-color: var(--ember-red);
  color: #FFD6D4;
}

.article-grid-2col {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}

.article-grid-2col > * {
  min-width: 0;
  max-width: 100%;
}

.article-sheet {
  background: rgba(25, 19, 13, 0.94);
  border: 1.5px solid rgba(236, 189, 123, 0.38);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.article-cover-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(236, 189, 123, 0.45);
  margin-bottom: 22px;
}

.article-sheet h2 {
  font-size: 1.3rem;
  color: var(--gold-amber);
  padding-bottom: 10px;
  margin: 26px 0 14px;
  border-bottom: 1.5px solid rgba(236, 189, 123, 0.35);
}

.article-sheet h2:first-of-type {
  margin-top: 6px;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: rgba(25, 19, 13, 0.94);
  border: 1.5px solid rgba(236, 189, 123, 0.36);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
  font-size: 1.04rem;
  color: var(--gold-amber);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(236, 189, 123, 0.25);
}

.dragon-cta-card {
  text-align: center;
  background: linear-gradient(180deg, #291810 0%, #150E0A 100%);
  border: 1.5px solid var(--gold-brass);
}

.dragon-cta-crest {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  margin: 0 auto 12px;
  border: 1.5px solid var(--gold-brass);
  object-fit: cover;
}

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

.sidebar-link-list li {
  margin-bottom: 8px;
}

.sidebar-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--bg-espresso);
  border: 1px solid rgba(236, 189, 123, 0.22);
  color: var(--text-warm);
  font-size: 0.9rem;
}

.sidebar-link-list a:hover {
  border-color: var(--gold-amber);
  color: var(--gold-amber);
}

/* ---------------- Bottom Imperial Banner & Footer (#2E2E2E accent match) ---------------- */
.imperial-cta-strip {
  background: linear-gradient(135deg, #2A1910 0%, #16100A 100%);
  border: 2px solid var(--gold-brass);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 0 24px rgba(229, 187, 88, 0.2);
}

.imperial-cta-strip h3 {
  font-size: 1.24rem;
  color: var(--gold-amber);
  margin: 0 0 6px;
}

.imperial-cta-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.site-footer {
  background: #1B1714;
  border-top: 2px solid var(--gold-brass);
  padding: 42px 0 26px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 24px;
}

.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

.footer-col h3 {
  font-size: 1rem;
  color: var(--gold-amber);
  margin-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 7px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-cream);
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(236, 189, 123, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ---------------- Floating LINE @pop66 Green + Gold Ring Badge ---------------- */
.floating-line-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 11px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #06C755 0%, #00A142 100%);
  border: 2px solid var(--gold-cream);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65), 0 0 14px rgba(229, 187, 88, 0.42);
  color: #FFFFFF;
  font-family: var(--font-heading);
}

.floating-line-fab:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
}

.fab-line-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fab-line-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.fab-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.fab-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------------- Responsive Breakpoints (1024 / 768 / 390 / 375) ---------------- */
@media (max-width: 1100px) {
  .medallion-circle-grid,
  .medallion-circle-grid.cols-8 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bento-ribbon-4,
  .ember-tile-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-fullbleed {
    min-height: 410px;
  }
  .hero-bg-img {
    object-position: 74% center;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(13, 10, 7, 0.82) 0%, rgba(13, 10, 7, 0.88) 60%, rgba(13, 10, 7, 0.98) 100%);
  }
  .hero-content-wrap {
    padding: 28px 18px 34px;
  }
  .pillar-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillar-item {
    border-bottom: 1px solid rgba(236, 189, 123, 0.2);
  }
  .trust-pillars-3,
  .mobile-split-inverted,
  .cat-article-grid-3,
  .article-grid-2col,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .medallion-circle-grid,
  .medallion-circle-grid.cols-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-content-wrap {
    padding: 24px 16px 32px;
  }
  .pillar-grid-4,
  .bento-ribbon-4,
  .ember-tile-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar-item {
    border-right: none;
    justify-content: flex-start;
    padding: 14px 16px;
  }
  .medallion-circle-grid,
  .medallion-circle-grid.cols-8 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .studio-disc {
    width: 72px;
    height: 72px;
    padding: 10px;
  }
  .editorial-center-box,
  .mobile-split-inverted,
  .article-sheet,
  .sidebar-card {
    padding: 18px;
  }
  .section-pill-header h2 {
    padding: 9px 20px;
    font-size: 1.08rem;
  }
  .floating-line-fab {
    right: 12px;
    bottom: 12px;
    padding: 8px 14px 8px 10px;
  }
}
