/* ==========================================================================
   JILIAPP.996 STYLESHEET - HIGH-CTR LUXURY UMBER & COPPER DESIGN SYSTEM
   Archetype: 3px Luxury Cinzel + Lora / Brand Prefix: j888-
   ========================================================================== */

:root {
  --bg: #120e0b;
  --bg-gradient: radial-gradient(circle at 50% 0%, #221710 0%, #120e0b 70%);
  --surface: #18120e;
  --surface-card: #201712;
  --surface-hover: #291d16;
  --surface-glass: rgba(26, 19, 14, 0.85);
  --border: #38271c;
  --border-light: rgba(217, 119, 54, 0.25);
  --border-strong: #d97736;
  --primary: #d97736;
  --primary-hover: #ea8a48;
  --accent-copper: #f2ab6d;
  --accent-gold: #f7ca97;
  --text: #f7f3ee;
  --text-muted: #c7baa9;
  --text-subtle: #8a7c6e;
  --success: #38a169;
  --success-glow: rgba(56, 161, 105, 0.35);
  --warning: #dd6b20;
  --danger: #e53e3e;
  --radius: 3px;
  --font-heading: 'Cinzel', 'Times New Roman', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 74px; /* space for mobile fab dock */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-copper);
  text-shadow: 0 0 8px rgba(242, 171, 109, 0.4);
}

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

/* ==========================================================================
   1. TOP REGULATORY COMPLIANCE BAR
   ========================================================================== */
.top-regulatory-bar {
  background: #0a0705;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.3px;
}

.top-regulatory-bar a {
  color: var(--accent-copper);
  text-decoration: underline;
}

/* ==========================================================================
   2. BRANDED STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 10, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 119, 54, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-link img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-signin {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.2s ease;
}

.btn-signin:hover {
  border-color: var(--primary);
  color: var(--accent-copper);
  background: var(--surface-hover);
}

.btn-play {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 800;
  color: #120e0b !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7ca97 0%, #d97736 50%, #b85a1a 100%);
  box-shadow: 0 3px 12px rgba(217, 119, 54, 0.45);
  transition: all 0.25s ease;
  letter-spacing: 0.4px;
}

.btn-play:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 5px 18px rgba(217, 119, 54, 0.65);
}

/* Master Primary and Secondary Buttons */
.btn-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  color: #120e0b !important;
  padding: 13px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7ca97 0%, #d97736 50%, #b85a1a 100%);
  box-shadow: 0 4px 18px rgba(217, 119, 54, 0.45);
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 26px rgba(217, 119, 54, 0.7);
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--surface-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--accent-copper);
  background: var(--surface-hover);
}

/* ==========================================================================
   3. HORIZONTAL CATEGORY CHIPS
   ========================================================================== */
.j888-chips-nav {
  background: #150f0c;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.j888-chips-nav::-webkit-scrollbar {
  display: none;
}

.chips-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.chip-item {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 14px;
  transition: all 0.2s ease;
}

.chip-item:hover, .chip-item.active {
  color: #fff;
  background: linear-gradient(135deg, #2e2017 0%, #201712 100%);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(217, 119, 54, 0.2);
}

/* ==========================================================================
   4. LIVE MARQUEE TICKER
   ========================================================================== */
.j888-ticker-wrap {
  background: #0c0806;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 7px 0;
}

.j888-ticker-inner {
  display: inline-block;
  padding-left: 100%;
  animation: j888Ticker 35s linear infinite;
}

.ticker-item {
  display: inline-block;
  margin-right: 40px;
}

.ticker-badge {
  color: var(--accent-gold);
  font-weight: 800;
  margin-right: 6px;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: rgba(217, 119, 54, 0.15);
  border: 1px solid rgba(217, 119, 54, 0.35);
  padding: 2px 6px;
  border-radius: 2px;
}

.ticker-speed {
  color: var(--success);
  font-weight: 700;
}

@keyframes j888Ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   5. HERO FEATURE CAROUSEL
   ========================================================================== */
.hero-carousel-container {
  max-width: var(--max-width);
  margin: 18px auto;
  padding: 0 16px;
  position: relative;
}

.carousel-slide {
  position: relative;
  background: var(--surface-card);
  border: 1px solid rgba(217, 119, 54, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-img-wrap {
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 440px;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-slide:hover .hero-img-wrap img {
  transform: scale(1.02);
}

.hero-caption-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12, 8, 6, 0.96) 0%, rgba(12, 8, 6, 0.8) 60%, transparent 100%);
  padding: 28px 22px 18px;
}

.hero-badge-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(217, 119, 54, 0.2);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 3px 10px;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
}

.hero-title-box {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

@media (min-width: 769px) {
  .hero-title-box {
    font-size: 1.85rem;
  }
}

.hero-sub-text {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. 4-CARD QUICK ACTION LAUNCHPAD
   ========================================================================== */
.j888-cards-container {
  max-width: var(--max-width);
  margin: 22px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 769px) {
  .j888-cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.action-card {
  background: linear-gradient(145deg, #1f1712 0%, #17110d 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.action-card:hover {
  border-color: var(--primary);
  background: linear-gradient(145deg, #281d16 0%, #1c140f 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 119, 54, 0.25);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--accent-copper);
}

.card-title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.card-desc {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   7. FEATURED GAME ROSTER
   ========================================================================== */
.j888-gallery-container {
  max-width: var(--max-width);
  margin: 32px auto;
  padding: 0 16px;
}

.section-label-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(217, 119, 54, 0.3);
  padding-bottom: 10px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.section-sublink {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background: var(--surface-card);
  border: 1px solid rgba(217, 119, 54, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(217, 119, 54, 0.3);
}

.game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0f0a07;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-badge-rtp {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 10, 8, 0.9);
  border: 1px solid var(--primary);
  color: var(--accent-gold);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.game-badge-vol {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(14, 10, 8, 0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
}

.game-details {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.game-studio {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--accent-copper);
  margin-bottom: 12px;
}

.game-action {
  margin-top: auto;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.game-card:hover .game-action {
  color: var(--accent-gold);
}

/* ==========================================================================
   8. SEMANTIC BODY CONTAINER & TYPOGRAPHY
   ========================================================================== */
.content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.content-container img {
  border-radius: var(--radius);
  border: 1px solid rgba(217, 119, 54, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin: 24px auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.content-container img:hover {
  border-color: var(--primary);
  transform: scale(1.008);
}

h1 {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #f7f3ee 65%, #f2ab6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

@media (min-width: 769px) {
  h1 {
    font-size: 2.45rem;
  }
}

.author-byline {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--accent-copper);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-top: 42px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-copper);
  margin-top: 26px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 18px;
  color: #ded5cb;
}

/* ==========================================================================
   MOBILE-FIRST SCANNABILITY ANCHORS
   ========================================================================== */
.takeaway-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 28px;
}

@media (min-width: 600px) {
  .takeaway-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.takeaway-chip {
  background: linear-gradient(145deg, #1f1712 0%, #16110d 100%);
  border: 1px solid rgba(217, 119, 54, 0.25);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.takeaway-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.takeaway-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  margin-bottom: 3px;
  font-weight: 700;
}

.takeaway-val {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fce0c5;
}

.callout {
  background: linear-gradient(135deg, rgba(32, 22, 16, 0.8) 0%, rgba(18, 13, 9, 0.95) 100%);
  border: 1px solid rgba(217, 119, 54, 0.3);
  border-radius: var(--radius);
  padding: 18px;
  margin: 24px 0;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.4);
}

.callout-warning {
  border-left: 4px solid var(--danger);
  border-color: rgba(229, 62, 62, 0.4);
}

.callout-tip {
  border-left: 4px solid var(--primary);
  border-color: rgba(217, 119, 54, 0.4);
}

.callout-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-warning .callout-title {
  color: #ff9b9b;
}

.callout-tip .callout-title {
  color: var(--accent-gold);
}

.callout p {
  font-size: 0.96rem;
  margin-bottom: 0;
  color: #ccc2b6;
  line-height: 1.65;
}

/* Key-Value Tables (Thumb-Friendly, Mobile-Optimized) */
.kv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  background: #17110d;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.kv-table th {
  background: linear-gradient(90deg, #241913 0%, #1a120d 100%);
  color: var(--accent-gold);
  font-weight: 800;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(217, 119, 54, 0.3);
  letter-spacing: 0.4px;
}

.kv-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #f7f3ee;
  vertical-align: top;
}

.kv-table tr:hover td {
  background: rgba(217, 119, 54, 0.05);
}

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

.kv-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 38%;
  border-right: 1px solid var(--border);
}

/* Numbered Step Sequences & Feature Lists */
.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 24px 0;
  padding: 0;
}

.step-list li {
  position: relative;
  counter-increment: step-counter;
  padding-left: 46px;
  margin-bottom: 18px;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #2b1d16 0%, #1c130d 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--accent-gold);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.feature-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "■";
  position: absolute;
  left: 4px;
  top: 1px;
  color: var(--primary);
  font-size: 0.75rem;
}

/* 6-Point Safety Checklist */
.safety-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 26px 0;
}

@media (min-width: 769px) {
  .safety-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checklist-card {
  background: linear-gradient(145deg, #1f1712 0%, #16110d 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.checklist-card-num {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.checklist-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.checklist-card-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   CLIENT-SIDE CALCULATORS & SIMULATORS (HIGH-CTR DASHBOARD)
   ========================================================================== */
.tool-box {
  background: linear-gradient(145deg, #1d1510 0%, #130d09 100%);
  border: 1px solid rgba(217, 119, 54, 0.45);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(242, 171, 109, 0.15);
}

.tool-header {
  border-bottom: 1px solid rgba(217, 119, 54, 0.25);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.tool-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.tool-subtitle {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tool-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 600px) {
  .tool-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-group input, .form-group select {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  background: #110c08;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(217, 119, 54, 0.35);
}

.tool-result {
  background: #110c09;
  border: 1px solid rgba(217, 119, 54, 0.25);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.res-item-title {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.res-item-val {
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   GAME SHOWCASE HERO CARD (HIGH-CTR FEATURE CARD)
   ========================================================================== */
.game-showcase-hero {
  background: linear-gradient(145deg, rgba(32, 23, 17, 0.95) 0%, rgba(18, 13, 9, 0.98) 100%);
  border: 1px solid rgba(217, 119, 54, 0.45);
  border-radius: var(--radius);
  margin: 26px 0 32px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(217, 119, 54, 0.15);
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .game-showcase-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 22px;
    padding: 22px;
    align-items: center;
  }
}

.showcase-visual-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(217, 119, 54, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.showcase-visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  transition: transform 0.5s ease;
}

.game-showcase-hero:hover .showcase-visual-frame img {
  transform: scale(1.03);
}

.showcase-glow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(18, 14, 11, 0.6) 100%);
  pointer-events: none;
}

.showcase-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 10, 8, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--primary);
  color: var(--accent-gold);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.showcase-meta-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 769px) {
  .showcase-meta-board {
    margin-top: 0;
  }
}

.showcase-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 540px) {
  .showcase-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-cell {
  background: rgba(16, 11, 8, 0.7);
  border: 1px solid rgba(217, 119, 54, 0.25);
  border-radius: 2px;
  padding: 8px 10px;
  text-align: center;
}

.metric-cell .m-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.metric-cell .m-val {
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.metric-cell .text-gold {
  color: var(--accent-gold) !important;
}

.showcase-cta-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 540px) {
  .showcase-cta-cluster {
    flex-direction: row;
  }
}

.showcase-btn-primary {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f7ca97 0%, #d97736 50%, #b85a1a 100%);
  color: #120e0b !important;
  font-family: var(--font-ui);
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(217, 119, 54, 0.45);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.showcase-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 6px 24px rgba(217, 119, 54, 0.65);
}

.showcase-btn-primary .btn-main-txt {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.showcase-btn-primary .btn-sub-txt {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.showcase-btn-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.showcase-btn-demo:hover {
  border-color: var(--primary);
  color: var(--accent-copper);
  background: var(--surface-hover);
}

.showcase-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  color: var(--text-muted);
  padding-top: 4px;
}

.showcase-trust-tags .trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   CONVERSION CALLOUT BOX (HIGH-CTR ENGINE)
   ========================================================================== */
.conversion-box {
  background: linear-gradient(135deg, #2b1c13 0%, #16100c 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 8px 36px rgba(217, 119, 54, 0.3), inset 0 1px 0 rgba(242, 171, 109, 0.2);
  position: relative;
  overflow: hidden;
}

.conversion-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f7ca97, transparent);
}

.conv-trust-ribbon {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.trust-badge {
  background: rgba(14, 10, 8, 0.8);
  border: 1px solid rgba(217, 119, 54, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-copper);
}

.conv-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.conv-desc {
  font-size: 0.98rem;
  color: #d6ccbf;
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.65;
}

.conv-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  margin: 8px 0 16px;
  min-width: 280px;
}

.btn-main-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.btn-sub-label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.2px;
  margin-top: 3px;
}

.conv-guarantee-note {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   DESKTOP STICKY FLOATING CONVERSION RIBBON (>768px)
   ========================================================================== */
.desktop-conversion-ribbon {
  display: none;
}

@media (min-width: 769px) {
  .desktop-conversion-ribbon {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(12, 8, 6, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(217, 119, 54, 0.4);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.7);
    padding: 10px 24px;
  }

  .ribbon-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .ribbon-brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--text);
  }

  .ribbon-brand-info strong {
    color: var(--accent-gold);
  }

  .ribbon-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: liveDotPulse 2s infinite ease-in-out;
  }

  @keyframes liveDotPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.35); opacity: 0.5; }
  }

  .ribbon-btn {
    padding: 9px 24px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  margin: 42px 0;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(217, 119, 54, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #ccc2b6;
  border-top: 1px solid rgba(217, 119, 54, 0.15);
  padding-top: 14px;
}

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

/* ==========================================================================
   9. VERIFIED COMPLIANCE FOOTER
   ========================================================================== */
.site-footer {
  background: #090605;
  border-top: 1px solid var(--border);
  padding: 40px 16px;
  margin-top: 54px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-disclaimer {
  max-width: 740px;
  margin: 0 auto 22px;
  line-height: 1.65;
  color: var(--text-subtle);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

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

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

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   10. MOBILE THUMB NAVIGATION DOCK (BOTTOM FAB DOCK)
   ========================================================================== */
.bottom-fab-dock {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(12, 8, 6, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(217, 119, 54, 0.35);
  justify-content: space-around;
  align-items: center;
  padding: 7px 0 9px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}

@media (min-width: 769px) {
  .bottom-fab-dock {
    display: none;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  gap: 3px;
  padding: 4px 10px;
}

.dock-item.active, .dock-item:hover {
  color: var(--accent-gold);
}

.dock-icon {
  font-size: 1.25rem;
}

@keyframes pulsePlay {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 54, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(217, 119, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 54, 0); }
}

.dock-play {
  background: linear-gradient(135deg, #f7ca97 0%, #d97736 50%, #b85a1a 100%);
  color: #120e0b !important;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  box-shadow: 0 4px 18px rgba(217, 119, 54, 0.6);
  font-weight: 900;
  letter-spacing: 0.5px;
  animation: pulsePlay 2.5s infinite;
}
