/*
Theme Name: ChickenRoadSlot Gaming Intelligence
Theme URI: https://chickenroadslot.games/theme
Author: ChickenRoadSlot Dev Team
Author URI: https://chickenroadslot.games/author
Description: Custom coded, SEO-optimized, Schema-ready premium gaming publication theme for Chicken Road slots. Fast pre-compiling with custom widgets and dashboard feels.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chickenroadslot
Tags: gaming, slots, crash-games, translation-ready, full-width, clean-layout, custom-menu, post-formats
*/

/* Custom root styles to map Tailwind utility directives inside WordPress templates */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --color-slate-950: #0b1120;
  --color-slate-900: #172033;
  --color-slate-800: #1e293b;
  --color-emerald-500: #FF7A1A;
  --color-amber-500: #f59e0b;
}

body {
  background-color: var(--color-slate-950);
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}

.game-page {
  padding: 2rem 1rem 3rem;
}

.game-page-inner {
  margin: 0 auto;
  max-width: 1000px;
}

.game-hero-card,
.game-section-card {
  background: #172033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #FF7A1A;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.game-hero-card {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 122, 26, 0.04), rgba(255, 122, 26, 0)),
    #172033;
}

.game-hero-layout,
.game-pros-cons,
.game-related-grid,
.game-info-grid,
.game-features-grid,
.game-casino-grid,
.game-steps-grid,
.game-facts-grid,
.game-metrics-grid {
  display: grid;
  gap: 1rem;
}

.game-hero-layout {
  align-items: center;
}

.game-gallery-item img,
.game-related-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.game-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-meta-row,
.game-rating-row,
.game-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.game-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-badge {
  background: rgba(255, 122, 26, 0.08);
  border: 1px solid rgba(255, 122, 26, 0.18);
  border-radius: 999px;
  color: #ffd8b8;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
}

.game-badge-strong {
  background: rgba(255, 122, 26, 0.18);
  color: #fff;
}

.game-meta-row {
  color: #94a3b8;
  font-size: 0.92rem;
}

.game-meta-row span:not(:last-child)::after,
.game-rating-row span:not(:last-child)::after {
  color: #64748b;
  content: "•";
  margin-left: 0.75rem;
}

.game-hero-copy h1,
.game-section-card h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.75rem 0 0;
}

.game-rating-row {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
}

.game-stars {
  color: #FFB27E;
  letter-spacing: 0.14em;
}

.game-summary {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 58rem;
}

.game-hero-actions {
  margin-top: 1.5rem;
}

.game-cta-primary,
.game-cta-secondary {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.game-cta-primary {
  background: #FF7A1A;
  border: 1px solid #FF7A1A;
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.22);
  color: #fff;
}

.game-cta-primary:hover {
  background: #e86a0f;
  border-color: #e86a0f;
  color: #fff;
  transform: translateY(-1px);
}

.game-cta-secondary {
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.35);
  color: #fff;
}

.game-cta-secondary:hover {
  background: rgba(255, 122, 26, 0.2);
  border-color: rgba(255, 122, 26, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.game-metrics-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.game-metric-card,
.game-casino-card,
.game-info-card,
.game-fact-card,
.game-step-card,
.game-faq-card,
.game-related-card,
.game-demo-empty {
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.game-metric-card,
.game-casino-card,
.game-info-card,
.game-step-card,
.game-demo-empty {
  padding: 1rem;
}

.game-fact-card,
.game-faq-card,
.game-related-card {
  padding: 1rem;
}

.game-metric-card {
  border-color: rgba(255, 122, 26, 0.16);
  padding: 1.15rem;
}

.game-metric-label,
.game-section-kicker,
.game-step-label,
.game-fact-card p:first-child {
  color: #FF7A1A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.game-metric-value,
.game-info-value {
  color: #fff;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.5rem 0 0;
}

.game-metric-card-highlight {
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.08), rgba(255, 122, 26, 0)), #10192b;
  border-color: rgba(255, 122, 26, 0.3);
}

.game-metric-text,
.game-info-card p,
.game-step-card p,
.game-faq-card p,
.game-related-card p,
.game-casino-bonus,
.game-demo-empty p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0.75rem 0 0;
}

.game-casino-grid,
.game-facts-grid,
.game-related-grid,
.game-features-grid,
.game-info-grid,
.game-pros-cons,
.game-steps-grid {
  margin-top: 1.25rem;
}

.game-casino-card {
  border-color: rgba(255, 122, 26, 0.18);
  border-top: 3px solid #FF7A1A;
}

.game-casino-card h3,
.game-info-card h3,
.game-step-card h3,
.game-faq-card h3,
.game-related-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.game-casino-meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.game-casino-meta div {
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.game-casino-meta span {
  color: #94a3b8;
}

.game-casino-meta strong,
.game-fact-card strong {
  color: #fff;
}

.game-demo-stage,
.game-demo-live-frame,
.game-demo-live iframe,
.game-demo-live embed {
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: 24px;
  min-height: 340px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.game-demo-preview-image,
.game-demo-live-frame,
.game-demo-live iframe,
.game-demo-live embed {
  border: 0;
  display: block;
  min-height: 340px;
  object-fit: cover;
  width: 100%;
}

.game-demo-preview-image {
  filter: blur(10px) saturate(0.8);
  opacity: 0.95;
  pointer-events: none;
  transform: scale(1.03);
}

.game-demo-preview-fallback {
  align-items: center;
  background: linear-gradient(145deg, #1a2438, #0b1120);
  color: #ffd8b8;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 340px;
  text-transform: uppercase;
}

.game-demo-overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.18), rgba(11, 17, 32, 0.72));
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

.game-demo-empty {
  border-color: rgba(255, 122, 26, 0.16);
  padding: 1.5rem;
  text-align: center;
}

.game-demo-empty h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
}

.game-demo-empty .game-cta-primary {
  margin-top: 1rem;
}

.game-step-card {
  border-color: rgba(255, 122, 26, 0.12);
}

.game-step-heading {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.game-step-icon {
  align-items: center;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.2);
  border-radius: 14px;
  display: inline-flex;
  font-size: 1.25rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.game-step-label {
  margin-top: 0.85rem;
}

.game-page-content {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}

.game-page-content h1,
.game-page-content h2,
.game-page-content h3,
.game-page-content h4,
.game-page-content h5,
.game-page-content h6 {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  margin: 1.25rem 0 0.75rem;
}

.game-page-content h2 {
  font-size: 1.55rem;
}

.game-page-content h3 {
  font-size: 1.25rem;
}

.game-page-content p,
.game-page-content ul,
.game-page-content ol,
.game-page-content blockquote {
  margin-top: 0.75rem;
}

.game-page-content ul,
.game-page-content ol {
  margin-left: 1.25rem;
}

.game-page-content ul {
  list-style: disc;
}

.game-page-content ol {
  list-style: decimal;
}

.game-page-content li {
  margin-top: 0.4rem;
}

.game-page-content a {
  color: #FF7A1A;
}

.game-gallery-showcase {
  align-items: stretch;
  background:
    radial-gradient(circle at top, rgba(255, 122, 26, 0.12), transparent 45%),
    linear-gradient(90deg, rgba(92, 30, 88, 0.45), rgba(24, 35, 62, 0.82), rgba(92, 30, 88, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.game-gallery-panel {
  background: rgba(16, 25, 43, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.game-gallery-panel img {
  display: block;
  height: 100%;
  max-height: 460px;
  min-height: 300px;
  object-fit: cover;
  width: 100%;
}

.game-gallery-panel.is-active,
.game-gallery-panel:hover {
  border-color: rgba(255, 122, 26, 0.5);
  transform: translateY(-2px);
}

.game-gallery-lightbox {
  inset: 0;
  position: fixed;
  z-index: 60;
}

.game-gallery-lightbox-backdrop {
  background: rgba(2, 6, 23, 0.86);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}

.game-gallery-lightbox-dialog {
  left: 50%;
  max-height: 88vh;
  max-width: 92vw;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.game-gallery-lightbox-dialog img {
  border-radius: 18px;
  display: block;
  max-height: 88vh;
  max-width: 92vw;
}

.game-gallery-lightbox-close {
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  height: 2.5rem;
  justify-content: center;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 2.5rem;
}

.game-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.game-list li {
  align-items: flex-start;
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
}

.game-list li span:first-child {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
}

.game-list-positive span:first-child {
  color: #32D583;
}

.game-list-negative span:first-child {
  color: #F97066;
}

.game-list-positive {
  border-left: 4px solid #22c55e;
}

.game-list-negative {
  border-left: 4px solid #ef4444;
}

.game-list-feature span:first-child {
  color: #FF7A1A;
}

.game-faq-list,
.game-related-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.game-faq-card {
  padding: 0;
}

.game-faq-card summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.05rem;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 1rem 1.1rem;
}

.game-faq-card summary::-webkit-details-marker {
  display: none;
}

.game-faq-card summary::after {
  color: #FFB27E;
  content: "▾";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.game-faq-card[open] summary::after {
  transform: rotate(180deg);
}

.game-faq-answer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 1.1rem 1rem;
}

.game-related-card {
  display: flex;
  gap: 1rem;
}

.game-related-card img {
  border-radius: 16px;
  flex-shrink: 0;
  height: 80px;
  width: 80px;
}

.game-related-card a {
  color: #fff;
  text-decoration: none;
}

.game-related-card .game-cta-secondary {
  margin-top: 0.75rem;
}

.game-fact-card span {
  color: #94a3b8;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.game-brand-bridge {
  display: grid;
  gap: 1.5rem;
}

.game-brand-bridge-copy p,
.game-brand-bridge-grid li {
  color: #cbd5e1;
  line-height: 1.7;
}

.game-brand-bridge-grid {
  display: grid;
  gap: 1.25rem;
}

.game-brand-bridge-grid h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.game-brand-bridge-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-brand-bridge-grid li {
  margin-top: 0.45rem;
}

.casino-hero-top {
  align-items: center;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.casino-logo-wrap {
  align-items: center;
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  display: inline-flex;
  justify-content: center;
  max-width: 120px;
  padding: 1rem;
}

.casino-logo {
  display: block;
  max-height: 72px;
  max-width: 72px;
  object-fit: contain;
  width: 100%;
}

.casino-trust-row,
.casino-payments-row,
.casino-hero-stats,
.casino-details-grid,
.casino-trust-indicators {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.casino-trust-row {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.casino-bonus-banner {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.08), rgba(255, 122, 26, 0)), #10192b;
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: 22px;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.casino-bonus-label {
  color: #FF7A1A;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.casino-bonus-banner h2 {
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0.45rem 0 0;
}

.casino-trust-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
}

.casino-payment-pill {
  align-items: center;
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
}

.casino-payments-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.casino-hero-stats,
.casino-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.casino-screenshot-wrap {
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  margin-top: 1rem;
  overflow: hidden;
}

.casino-screenshot {
  display: block;
  max-height: 460px;
  object-fit: cover;
  width: 100%;
}

.casino-related-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.casino-related-card {
  background: #10192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.casino-related-logo-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: inline-flex;
  flex-shrink: 0;
  height: 72px;
  justify-content: center;
  padding: 0.5rem;
  width: 72px;
}

.casino-related-logo {
  display: block;
  max-height: 56px;
  max-width: 56px;
  object-fit: contain;
  width: 100%;
}

.casino-related-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
}

.casino-related-card p {
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0.55rem 0 0;
}

.casino-related-rating {
  color: #94a3b8;
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .game-page {
    padding: 2.5rem 1.25rem 4rem;
  }

  .game-hero-layout,
  .game-pros-cons,
  .game-related-grid,
  .game-features-grid,
  .game-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-hero-layout {
    grid-template-columns: 1fr;
  }

  .game-casino-grid,
  .game-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-steps-grid,
  .game-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-gallery-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .game-metric-value {
    font-size: 2.75rem;
  }

  .game-brand-bridge {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .game-brand-bridge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .casino-hero-top {
    grid-template-columns: auto 1fr;
  }

  .casino-bonus-banner {
    grid-template-columns: 1.2fr auto;
  }

  .casino-trust-row {
    grid-template-columns: repeat(3, max-content);
    gap: 1rem;
  }

  .casino-payments-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .casino-hero-stats,
  .casino-details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .casino-trust-indicators,
  .casino-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .game-gallery-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-gallery-panel img {
    max-height: 320px;
    min-height: 220px;
  }

  .game-hero-copy h1,
  .game-section-card h2 {
    font-size: 1.85rem;
  }

  .game-meta-row span:not(:last-child)::after,
  .game-rating-row span:not(:last-child)::after {
    display: none;
  }
}
