/* ==========================================================================
   Em777 Signature Grey Mobile App-Shell Design System Architecture
   ========================================================================== */

:root {
  /* Theme Tokens */
  --backdrop: #1a1a1a;
  --bg: #2b2b2b;
  --surface: #383838;
  --surface2: #444444;
  --surface3: #4f4f4f;
  --border: #4a4a4a;
  --border-light: #5a5a5a;
  
  /* Brand Accent Tokens */
  --gold: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
  --gold-solid: #FDB931;
  --gold-hover: #e5a726;
  --gold-ink: #1a1206;
  
  --red-cta: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  --red-solid: #DC2626;
  --red-hover: #b91c1c;
  
  --blue-brand: #2563EB;
  --green-verified: #10B981;
  
  /* Typography Tokens */
  --text: #f0f0f0;
  --muted: #a0a0aa;
  --subtle: #71717a;
  --white: #ffffff;
  
  /* Geometry & Elevation */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-shell: 0 0 35px rgba(0, 0, 0, 0.95);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 15px rgba(253, 185, 49, 0.35);
  
  /* Layout Sizing */
  --shell-max: 430px;
  --hdr-height: 58px;
  --nav-height: 64px;
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--backdrop);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Centered Mobile App Shell */
.app-shell {
  width: 100%;
  max-width: var(--shell-max);
  min-height: 100vh;
  background-color: var(--bg);
  box-shadow: var(--shadow-shell);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--hdr-height);
  padding-bottom: calc(var(--nav-height) + 16px);
  overflow-x: hidden;
}

/* Sticky Top Header */
.hdr {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max);
  height: var(--hdr-height);
  background-color: rgba(43, 43, 43, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 900;
}

.hdr-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hdr-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

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

.btn-hdr-login {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hdr-login:hover {
  background-color: var(--surface);
  border-color: var(--gold-solid);
}

.btn-hdr-reg {
  background: var(--gold);
  color: var(--gold-ink);
  border: none;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(253, 185, 49, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-hdr-reg:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Ticker / Notice Bar (Styled with <div> and <p>, NEVER headings) */
.notice-bar {
  background: #222222;
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold-solid);
}

.notice-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.notice-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e4e4e7;
  font-weight: 500;
}

/* Hero Container */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0.4) 0%, rgba(43, 43, 43, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220, 38, 38, 0.9);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* DOM Rule: First heading in document */
h1.hero-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 14px;
  line-height: 1.45;
}

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

.btn-primary-glow {
  flex: 1;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease;
}

.btn-primary-glow:hover {
  transform: scale(1.02);
}

.btn-secondary-ghost {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Quick Category Filter Chips */
.filter-chips-container {
  padding: 12px 14px 4px 14px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 8px;
}

.filter-chips-container::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chip-btn.active, .chip-btn:hover {
  background: var(--gold-solid);
  color: var(--gold-ink);
  border-color: var(--gold-solid);
  font-weight: 700;
}

/* Multi-Studio Provider Colorway Badges */
.badge-studio {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.badge-jili {
  background: linear-gradient(135deg, #E11D48 0%, #F59E0B 100%);
}

.badge-fc {
  background: linear-gradient(135deg, #D97706 0%, #059669 100%);
}

.badge-pp {
  background: linear-gradient(135deg, #EA580C 0%, #7C3AED 100%);
}

.badge-pg {
  background: linear-gradient(135deg, #8B5CF6 0%, #FB923C 100%);
}

.badge-live {
  background: linear-gradient(135deg, #2563EB 0%, #64748B 100%);
}

/* 3x2 Game Grid Box Container */
.grid-section {
  padding: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

h2.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-subtext {
  font-size: 12px;
  color: var(--gold-solid);
  text-decoration: none;
  font-weight: 600;
}

.game-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Game Placecard */
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--surface2);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-studio-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
}

.card-rtp-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold-solid);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  z-index: 2;
}

.card-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}

/* Button A: Play Now (Gold Gradient) */
.btn-play-now {
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 6px 0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  display: block;
  box-shadow: 0 2px 6px rgba(253, 185, 49, 0.25);
}

.btn-play-now:hover {
  filter: brightness(1.08);
}

/* Button B: Read Guide (Ghost Outline) */
.btn-read-guide {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-light);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: block;
}

.btn-read-guide:hover {
  color: var(--white);
  border-color: var(--gold-solid);
  background: rgba(255, 255, 255, 0.05);
}

/* Pagination Controls */
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.page-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn.active {
  background: var(--gold-solid);
  color: var(--gold-ink);
  font-weight: 700;
  border-color: var(--gold-solid);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Content Container & Guide Reading Styling */
.guide-container {
  padding: 16px;
  background: var(--bg);
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.guide-card h2, .guide-card h3 {
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.guide-card h2 {
  font-size: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.guide-card h3 {
  font-size: 15px;
  color: var(--gold-solid);
}

.guide-card p {
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.guide-card ul, .guide-card ol {
  padding-left: 20px;
  margin-bottom: 12px;
  color: #d4d4d8;
  font-size: 14px;
}

.guide-card li {
  margin-bottom: 6px;
}

.guide-card a {
  color: var(--gold-solid);
  text-decoration: underline;
}

/* Featured & Contextual Media */
.guide-media {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 12px 0;
  border: 1px solid var(--border);
  overflow: hidden;
}

.guide-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Payment Matrix Cards */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.payment-badge-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.payment-badge-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 6px;
}

.payment-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.payment-desc {
  font-size: 11px;
  color: var(--muted);
}

/* FAQ Accordions */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 16px;
  color: var(--gold-solid);
  font-weight: bold;
  transition: transform 0.2s;
}

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

.faq-answer {
  display: none;
  padding: 0 14px 12px 14px;
  font-size: 13px;
  color: #d4d4d8;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* E-E-A-T & Trust Signals */
.eeat-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.eeat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface3);
  border: 2px solid var(--gold-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.eeat-info {
  flex: 1;
}

.eeat-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.eeat-role {
  font-size: 11px;
  color: var(--gold-solid);
  margin-bottom: 4px;
}

.eeat-text {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

/* Mandatory Responsible Gaming Footer */
.compliance-footer {
  background: #1e1e1e;
  border-top: 1px solid var(--border);
  padding: 20px 16px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.age-badge-21 {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.compliance-text {
  margin-bottom: 12px;
  line-height: 1.5;
}

.compliance-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.compliance-links a {
  color: var(--gold-solid);
  text-decoration: none;
}

/* Fixed Bottom Navigation (5 Sticky Tabs) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max);
  height: var(--nav-height);
  background: rgba(35, 35, 35, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 950;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: color 0.15s ease;
}

.nav-icon {
  font-size: 19px;
  line-height: 1;
}

.nav-tab:hover, .nav-tab.active {
  color: var(--gold-solid);
}

/* 21+ Age Verification Modal (DOM Compliant: uses <div class="modal-title">, NEVER <h1>-<h6>) */
.age-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-modal-overlay.active {
  display: flex;
}

.age-modal-card {
  background: #252525;
  border: 1px solid var(--gold-solid);
  border-radius: var(--radius-lg);
  max-width: 360px;
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.modal-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  border: 2px solid #fff;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 18px;
}

.modal-btn-row {
  display: flex;
  gap: 10px;
}

.btn-modal-proceed {
  flex: 1;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 0;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
}

.btn-modal-exit {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Responsive Mobile Data Tables, Code Blocks & Dual CTA Boxes
   ========================================================================== */

.guide-card {
  overflow-x: hidden;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* Responsive Scrollable Table Container */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #242424;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.data-table th {
  background: #1f1f1f;
  color: var(--gold-solid);
  font-weight: 700;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table th.table-banner-header {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #1f1f1f 0%, #2d2618 50%, #1f1f1f 100%);
  color: var(--gold-solid);
  white-space: normal;
}

.data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  vertical-align: top;
}

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

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

.data-table td.td-label {
  font-weight: 700;
  color: var(--white);
  width: 38%;
  background: rgba(0, 0, 0, 0.15);
}

.data-table td.td-val {
  color: #d4d4d8;
  word-break: break-word;
}

/* Fallback Pre / ASCII Flow Box (strictly contained inside 430px shell) */
.ascii-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 12px 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  color: var(--gold-solid);
  white-space: pre;
}

/* Inline Article Dual CTA Box */
.cta-dual-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.guide-card a.btn-primary,
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--gold-ink) !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 2px 8px rgba(253, 185, 49, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.guide-card a.btn-primary:hover,
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.guide-card a.btn-secondary,
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white) !important;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  text-align: center;
  transition: all 0.15s ease;
}

.guide-card a.btn-secondary:hover,
.btn-secondary:hover {
  border-color: var(--gold-solid);
  color: var(--gold-solid) !important;
}

.guide-card a.btn-read-guide {
  text-decoration: none !important;
}

.guide-quote {
  border-left: 3px solid var(--gold-solid);
  background: rgba(253, 185, 49, 0.06);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 12px 0;
  font-size: 13px;
  color: #e4e4e7;
}

/* ==========================================================================
   21+ Responsible Gaming Compliance Card (Upgraded UI)
   ========================================================================== */

.rg-alert-card {
  background: linear-gradient(145deg, #251c1d 0%, #1e1e1e 100%);
  border: 1px solid rgba(220, 38, 38, 0.45);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.rg-alert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rg-badge-pill {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
  flex-shrink: 0;
}

.rg-alert-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.2px;
}

.rg-alert-lead {
  font-size: 12.5px !important;
  color: #fca5a5 !important;
  font-weight: 600;
  margin-bottom: 12px !important;
  line-height: 1.45 !important;
}

.rg-helpline-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-card a.rg-helpline-item,
.rg-helpline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-card a.rg-helpline-item:hover,
.rg-helpline-item:hover {
  border-color: var(--gold-solid);
  background: rgba(253, 185, 49, 0.06);
}

.rg-helpline-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.rg-helpline-label {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.rg-helpline-val {
  display: block;
  font-size: 12.5px;
  color: var(--gold-solid);
  font-weight: 700;
}

/* ==========================================================================
   3-Step Visual Quick-Start Stepper
   ========================================================================== */

.steps-visual-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.step-visual-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-solid);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.step-num-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(253, 185, 49, 0.15);
  color: var(--gold-solid);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.step-card-title {
  font-size: 13.5px;
  color: var(--white);
  font-weight: 700;
}

.step-card-sub {
  font-size: 12px;
  color: #d4d4d8;
}


