
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  margin: 0;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
ul,
ol {
  list-style: none;
}

:root {
  --bg: #0d1117;
  --bg-card: #161c2a;
  --bg-card-2: #1c2336;
  --accent: #7c3aed;
  --accent-h: #8b5cf6;
  --accent-bg: rgba(124, 58, 237, 0.14);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.12);
  --orange: #f59e0b;
  --orange-bg: rgba(245, 158, 11, 0.12);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.07);
  --r: 10px;
  --r-sm: 6px;
  --container: 1200px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-h);
}
.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-bg);
}
.btn-success {
  background: var(--green);
  color: #fff;
}
.btn-success:hover {
  opacity: 0.9;
}
.btn-outline-primary {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline-primary:hover {
  background: var(--accent-bg);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0e1a;
  border-bottom: 1px solid var(--border);
}
.header__container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 30px;
  width: auto;
}

.primary_menu_desktop_ver {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
.primary_menu_desktop_ver ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary_menu_desktop_ver ul li a {
  display: block;
  padding: 6px 11px;
  font-size: 13px;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.primary_menu_desktop_ver ul li a:hover,
.primary_menu_desktop_ver ul li.current-menu-item a {
  color: var(--text);
  background: var(--bg-card);
}
.buttons_container .buttons {
  display: flex;
  gap: 8px;
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.offcanvas {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  z-index: 200;
  transition: right 0.3s;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.offcanvas.is-open {
  right: 0;
}
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.menu-close-btn {
  font-size: 26px;
  color: var(--muted);
  line-height: 1;
}
.menu-close-btn:hover {
  color: var(--text);
}
.offcanvas-body {
  padding: 20px;
}
.menu-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.mobile-nav li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav li a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.mobile-nav li a:hover {
  color: var(--text);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 190;
}
.overlay.is-open {
  display: block;
}

.main-content {
  padding: 28px 0 64px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.subsection-title {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 14px;
}

.hero-section {
  margin-bottom: 16px;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.game-title {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.game-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  background: var(--accent-bg);
  color: var(--accent-h);
  border-radius: 20px;
  border: 1px solid var(--accent);
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.game-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
  background: #0a0e1a;
  border: 1px solid var(--border);
}
.game-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  margin-bottom: 0;
}
.provider-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.provider-name-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--accent-bg);
  color: var(--accent-h);
  border-radius: 20px;
  border: 1px solid var(--accent);
}
.live-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.issue-link {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}
.issue-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.play-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, #1a1040, #2d1b69, #1a1040);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: var(--r);
  padding: 18px 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.play-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.play-cta-text strong {
  font-size: 16px;
  font-weight: 700;
}
.play-cta-text span {
  font-size: 13px;
  color: var(--muted);
}

.game-info-section {
  margin-bottom: 36px;
}
.game-info-layout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  gap: 32px;
}
.game-info-image {
  flex-shrink: 0;
  align-self: stretch;
}
.game-cover {
  width: 220px;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-info-table {
  flex: 1;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 5px;
  gap: 10px;
}
.info-row:nth-child(4n + 1),
.info-row:nth-child(4n + 2) {
  background: var(--bg-card-2);
}
.info-label {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.info-value {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.badge-green {
  color: var(--green);
  background: var(--green-bg);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-orange {
  color: var(--orange);
  background: var(--orange-bg);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.calculator-section {
  margin-bottom: 36px;
}
.calc-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r) var(--r) 0 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.calc-params {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.calc-params strong {
  color: var(--text);
}
.calc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
}
.calc-table {
  width: 100%;
  min-width: 580px;
  font-size: 13px;
}
.calc-table th {
  background: var(--bg-card-2);
  padding: 10px 14px;
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
}
.calc-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.calc-table tbody tr:last-child td {
  border-bottom: none;
}
.calc-table tbody tr:nth-child(odd) td {
  background: var(--bg-card);
}
.calc-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.15);
}
.calc-table td:first-child {
  font-weight: 600;
}

.rating-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 36px;
}
.rating-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}
.rating-chart-col {
  flex-shrink: 0;
  background: #f0f2ff;
  border-radius: var(--r);
  padding: 10px;
  line-height: 0;
}
.rating-chart-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 6px;
}
.rating-data-col {
  flex: 1;
  min-width: 0;
}
.rating-overall-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.rating-score-big {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-h);
  letter-spacing: -2px;
}
.rating-stars-row {
  font-size: 22px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 5px;
}
.rating-score-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.rating-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rating-cat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-name {
  font-size: 13px;
  color: var(--muted);
  min-width: 180px;
  flex-shrink: 0;
}
.cat-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-card-2);
  border-radius: 3px;
  overflow: hidden;
}
.cat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-h));
  border-radius: 3px;
}
.cat-score {
  font-size: 13px;
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

.reviews-section {
  margin-bottom: 36px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.reviewer-name {
  font-weight: 600;
  font-size: 14px;
}
.review-stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 1px;
}
.review-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}
.review-date {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.6;
}

.similar-section {
  margin-bottom: 36px;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.similar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
  transition:
    border-color 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.similar-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
}
.similar-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 8px;
  background: #1a1040;
}
.similar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.similar-thumb::after {
  content: 'PLAY';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: var(--r-sm);
}
.similar-card:hover .similar-thumb img {
  transform: scale(1.06);
}
.similar-card:hover .similar-thumb::after {
  opacity: 1;
}
.similar-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
}
.similar-provider {
  font-size: 11px;
  color: var(--muted);
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 36px;
}
.content-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.content-text p:last-child {
  margin-bottom: 0;
}
.content-text strong {
  color: var(--text);
}

.faq-section {
  margin-bottom: 40px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--bg-card-2);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  color: var(--accent-h);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
  padding: 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 0px solid var(--border);
}
.faq-answer p {
  margin-bottom: 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer strong {
  color: var(--text);
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 14px 20px 18px;
  border-top-width: 1px;
}

.author-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.author-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-h));
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--accent);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-body {
  flex: 1;
  min-width: 0;
}
.author-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.author-name {
  font-size: 16px;
  font-weight: 700;
}
.author-role {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.author-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 600px;
}
.author-link {
  font-size: 13px;
  color: var(--accent-h);
  display: inline-block;
}
.author-link:hover {
  text-decoration: underline;
}

.footer {
  background: #080b13;
  border-top: 1px solid var(--border);
  padding: 44px 0 0;
  margin-top: 12px;
}
.custom-logo-link img {
  height: 28px;
  width: auto;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 44px;
}
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-nav-col ul li {
  margin-bottom: 10px;
}
.footer-nav-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav-col ul li a:hover {
  color: var(--text);
}
.footer-badges-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 28px;
}
.footer-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-badge-img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-badge-img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .similar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 768px) {
  .primary_menu_desktop_ver,
  .buttons_container {
    display: none;
  }
  .mobile-menu-button {
    display: flex;
  }
  .game-info-layout {
    flex-direction: column;
  }
  .game-info-image {
    align-self: center;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .rating-inner {
    flex-direction: column;
    gap: 24px;
  }
  .rating-chart-col {
    align-self: center;
  }
  .cat-name {
    min-width: 150px;
  }
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 520px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-title {
    font-size: 21px;
  }
  .section-title {
    font-size: 18px;
  }
  .rating-section {
    padding: 20px;
  }
  .content-block {
    padding: 20px;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-badges-row {
    gap: 14px;
  }
  .footer-badge-img {
    height: 24px;
  }
}
.content-block table {
  display: block !important;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: transparent;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

thead,
tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 600px;
}

tr {
  display: flex;
  width: 100%;
  transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

table th,
table td {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
  color: var(--muted);
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  min-width: 110px;
}

table th:first-child,
table td:first-child {
  justify-content: flex-start;
  text-align: left;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

table thead th {
  background: var(--bg-card-2);
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
table tbody td {
  border-bottom: 1px solid var(--border);
}
.content-block img {
  max-width: 800px;
  margin: 20px auto;
  width: 100%;
  display: block;
  max-height: 800px;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   LIGHT THEME — plinkoxy.net
   Appended as an override block so the donor rules above stay
   untouched and a rollback is one deletion.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-card: #f6f7fb;
  --bg-card-2: #edeff7;
  --accent: #6d28d9;
  --accent-h: #7c3aed;
  --accent-bg: rgba(109, 40, 217, 0.10);
  --green: #047857;
  --green-bg: rgba(4, 120, 87, 0.10);
  --orange: #b45309;
  --orange-bg: rgba(180, 83, 9, 0.12);
  --text: #14161f;
  --muted: #57607a;
  --border: rgba(15, 23, 42, 0.11);
}

body { background: var(--bg); color: var(--text); }

/* chrome that hard-coded a dark background */
.header-container { background: #ffffff; border-bottom: 1px solid var(--border); }
/* Hero key-art banner. Native ratio 5.43:1 — the img carries width/height
   attributes, so width:100% must be paired with height:auto or the box
   presentational hint stretches it (same trap as the logo). */
.hero-banner { margin: 0 0 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.hero-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .hero-banner { margin-bottom: 12px; border-radius: var(--r-sm); } }
/* Same pattern as .hero-banner, for the two static pages. Sits above the
   H1 with edge-focused artwork and an open centre; the heading itself stays
   live HTML so it can differ per locale. Native ratio 3:1. */
.page-banner { margin: 0 0 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.page-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .page-banner { margin-bottom: 12px; border-radius: var(--r-sm); } }
.game-frame-wrap  { background: var(--bg-card-2); }
.play-cta-banner  { background: linear-gradient(90deg, #f3effe, #ece5fd, #f3effe); border: 1px solid var(--border); }
.play-cta-banner strong, .play-cta-banner span { color: var(--text); }
.similar-thumb    { background: var(--bg-card-2); }
.similar-thumb::after { background: rgba(15, 23, 42, 0.50); }
.rating-chart-col { background: var(--bg-card); }
.overlay          { background: rgba(15, 23, 42, 0.40); }
.offcanvas        { background: #ffffff; }

/* zebra striping inverted for a light surface */
.calc-table tbody tr:nth-child(odd) td { background: #ffffff; }
.calc-table tbody tr:nth-child(even) td { background: var(--bg-card); }
.calc-table thead th { background: var(--bg-card-2); color: var(--text); }
tbody tr:nth-child(even) { background-color: var(--bg-card); }
tbody tr:hover { background-color: var(--accent-bg); }

/* cards and panels need a visible edge once the background is white */
.game-info-layout, .review-card, .similar-card, .faq-item,
.author-block, .rating-inner, .content-block, .calc-table-wrap {
  border: 1px solid var(--border);
  background: #ffffff;
}
.review-card, .faq-item { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }

/* footer flips to a light surface */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); color: var(--text); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer-badges-strip { background: transparent; border-top: 1px solid var(--border); }

/* buttons: solid accent on white reads better than a glow */
.btn-primary, .btn-success { background: var(--accent); color: #ffffff; border: 1px solid var(--accent); }
.btn-primary:hover, .btn-success:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-outline, .btn-outline-primary { color: var(--accent); border: 1px solid var(--accent); background: transparent; }
.btn-outline:hover, .btn-outline-primary:hover { background: var(--accent-bg); }

.section-title, .subsection-title, .game-title, .author-name { color: var(--text); }
.info-label, .provider-row, .live-count, .review-date, .similar-provider { color: var(--muted); }
.info-value, .review-text, .content-text p { color: var(--text); }
.cat-bar { background: var(--bg-card-2); }
.cat-fill { background: var(--accent); }
.faq-question { color: var(--text); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch { position: relative; margin-left: auto; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: #ffffff; color: var(--text); font-size: 13px; font-weight: 600;
  line-height: 1; cursor: pointer;
}
.lang-switch-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch-btn .lang-caret { font-size: 10px; color: var(--muted); }
.lang-switch-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 210px; max-height: 340px; overflow-y: auto; z-index: 300;
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); padding: 6px;
}
.lang-switch.is-open .lang-switch-menu { display: block; }
.lang-switch-menu a, .lang-switch-menu span {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 10px; border-radius: var(--r-sm); font-size: 13px; color: var(--text);
}
.lang-switch-menu a:hover { background: var(--accent-bg); color: var(--accent); }
.lang-switch-menu a.is-current { background: var(--accent-bg); color: var(--accent); font-weight: 600; }
.lang-switch-menu span.is-soon { color: #9aa3b6; cursor: default; }
/* Footer dropdown: three columns instead of five once the language list is
   gone, and the menu opens upward so it is not cut off at the page bottom. */
.footer-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lang-switch--up .lang-switch-menu { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
@media (max-width: 767px) {
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-switch--up .lang-switch-menu { max-height: 260px; }
}
.mobile-lang { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.mobile-lang .mobile-lang-heading { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.mobile-lang ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.mobile-lang a, .mobile-lang span {
  display: block; padding: 5px 9px; font-size: 12px;
  border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text);
}
.mobile-lang span.is-soon { color: #9aa3b6; }
@media (max-width: 991px) { .lang-switch { display: none; } }

/* language switcher: place first, language second */
.lang-switch-btn { max-width: 170px; }
.lang-switch-btn > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* header must not push the switcher out of the row */
.header__container { flex-wrap: nowrap; gap: 10px; }
/* The nav is the item allowed to disappear under pressure — never clip its
   text mid-word. Below 1279px it hides entirely (mobile menu takes over)
   instead of truncating labels like "Play Plinko XY" into "Play Plink". */
.primary_menu_desktop_ver { flex-shrink: 0; min-width: 0; }
.primary_menu_desktop_ver ul { flex-wrap: nowrap; }
.primary_menu_desktop_ver li { white-space: nowrap; }
.logo, .lang-switch, .buttons_container { flex-shrink: 0; }
@media (max-width: 1279px) { .primary_menu_desktop_ver { display: none; } }
