/* ==========================================================================
   TopCasino dark theme styles
   ========================================================================== */

:root {
  --container-width: 1100px;

  --color-bg-body: #f2f3f7;
  --color-bg-header: #5c2d91;
  --color-bg-main: #f7f8fc;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f0f3ff;
  --color-bg-logo: transparent;

  --color-card-border: #d8dcea;

  --color-accent: #008995;
  --color-accent-hover: #00a8b8;

  --color-text-main: #222222;
  --color-text-muted: #666a78;
  --color-text-soft: #9ea3b3;

  --color-badge-bg: #008995;
  --color-badge-text: #ffffff;

  --color-table-header-bg: #f0f3ff;
  --color-table-border: #d8dcea;
  --color-tag-bg: #f7f2ff;
  --color-tag-border: #e0d0ff;

  --shadow-soft: 0 10px 30px rgba(32, 44, 80, 0.08);
  --radius-card: 16px;
}

/* Base reset */

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

a {
  text-decoration: none;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #111827 0, #020308 55%, #000000 100%);
  color: var(--color-text-main);
}

/* Layout */

.content-outer {
  background: transparent;
}

.content-inner {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.main-outer {
  background: transparent;
}

.main-inner {
  padding-top: 8px;
}

/* Header */

.site-header {
  background: var(--color-bg-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 18px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}


/* Typography */

.page-title {
  margin: 24px 0 12px;
  font-size: 24px;
  font-weight: 800;
  text-align: left;
  color: #ffffff;
}

.page-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.section-title {
  margin: 32px 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.content-section.post {
  background: rgba(10, 16, 26, 0.8);
  border-radius: 16px;
  padding: 20px 18px 22px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  margin-bottom: 22px;
}

.content-section.post p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.content-section.post ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.content-section.post li {
  margin-bottom: 6px;
}

/* Casino cards list */

.casino-list {
  margin-top: 18px;
}

/* Card */

.casino-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
}

.casino-card:hover {
  background: var(--color-bg-card-hover);
}

/* Rank badge */

.casino-rank {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}

.casino-rank-badge {
  min-width: 46px;
  height: 62px;
  border-radius: 10px;
  background: red;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.casino-rank-number {
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
}

/* Logo */

.casino-logo {
  flex: 0 0 190px;
  border-radius: 12px;
  background: var(--color-bg-logo);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Main info */

.casino-main {
  flex: 1 1 auto;
  min-width: 0;
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

/* Flag imitation */

.casino-flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
}

.flag-ru {
  background: linear-gradient(to bottom,
    #ffffff 0 33%,
    #0039a6 33% 66%,
    #d52b1e 66% 100%);
}

.casino-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.casino-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.casino-place {
  font-size: 12px;
  color: var(--color-text-soft);
}

.casino-bonus {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Buttons */

.casino-action {
  flex: 0 0 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease,
    opacity 0.15s ease;
}

.btn-action {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}

.btn-bonus {
  background: linear-gradient(90deg, #00d55f 0%, #22ff86 100%);
}

.btn-play {
  background: linear-gradient(90deg, #f50f72 0%, #c20b54 100%);
}

.btn-mirror {
  background: linear-gradient(90deg, #00b2ff 0%, #006cff 100%);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* Columns in text sections */

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.column h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Footer */

.site-footer {
  background: #05070b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  padding: 16px 16px 24px;
}

.footer-text {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-soft);
  text-align: center;
}

.logo {
  font-size: 40px;
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700px;
}
/* Responsive */

@media (max-width: 900px) {
  .container {
    padding-inline: 12px;
  }

  .casino-card {
    flex-direction: column;
    align-items: stretch;
  }

  .casino-logo {
    width: 100%;
  }

  .casino-action {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .btn-action {
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 12px;
  }

  .page-title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .page-title {
    font-size: 20px;
  }

  .page-lead {
    font-size: 14px;
  }

  .content-section.post {
    padding: 16px 14px 18px;
  }

  .casino-card {
    padding: 12px 12px 13px;
  }

  .casino-logo {
    padding-inline: 8px;
  }
}

/* ==========================================================================
   Light redesign overrides (Wayback-inspired) - 2025-12-11
   ========================================================================== */

body {
  background: var(--color-bg-body);
  color: var(--color-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: #0b7ac1;
  text-decoration: none;
}

a:hover {
  color: #9b2fa7;
  text-decoration: underline;
}

.content-outer {
  background: var(--color-bg-body);
}

.main-outer {
  background: var(--color-bg-main);
  box-shadow: 0 0 40px rgba(32, 44, 80, 0.08);
}

.container {
  max-width: var(--container-width);
  padding: 0 16px;
}

.header-outer {
  border-bottom: none;
}

.site-header {
  background: linear-gradient(90deg, #5c2d91 0%, #007c8a 100%);
}

.header-inner {
  justify-content: flex-start;
  padding: 18px 0 20px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.logo:hover {
  opacity: .9;
}

.main-inner {
  padding: 32px 0 48px;
}

.page-title {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 16px;
}

.page-lead {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.section-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--color-text-main);
}

/* Article blocks */

.content-section.post {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 20px 22px 22px;
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-soft);
}

.content-section.post + .content-section.post {
  margin-top: 24px;
}

.content-section.post h2,
.content-section.post h3,
.content-section.post h4 {
  color: var(--color-text-main);
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-section.post p {
  margin: 0 0 12px;
}

.content-section.post ul,
.content-section.post ol {
  padding-left: 20px;
  margin: 0 0 12px;
}

.content-section.post li {
  margin-bottom: 4px;
}

/* Casino cards */

.casino-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-soft);
  color: var(--color-text-main);
}

.casino-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.casino-logo {
  background: #f7f8fc;
}

.casino-name {
  color: var(--color-text-main);
}

.casino-badge {
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
}

.casino-rating,
.casino-meta {
  color: var(--color-text-muted);
}

.btn-action {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-action:hover {
  background: var(--color-accent-hover);
}

/* Tables */

.content-section.post table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.content-section.post th,
.content-section.post td {
  padding: 10px 12px;
  border: 1px solid var(--color-table-border);
}

.content-section.post thead th {
  background: var(--color-table-header-bg);
  font-weight: 600;
}

/* Footer */

.site-footer {
  background: #0c3854;
  color: #e1e5f0;
  padding: 18px 0 22px;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.footer-text {
  color: inherit;
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .main-inner {
    padding: 24px 0 36px;
  }

  .content-section.post {
    padding: 18px 16px 20px;
  }

  .page-title {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 12px;
  }

  .page-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   Mobile layout + table scroll fixes (2025-12-11)
   ========================================================================== */

/* Make article tables horizontally scrollable on small screens without extra wrappers */
.content-section.post table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

.content-section.post thead,
.content-section.post tbody,
.content-section.post tr {
  width: 100%;
}

/* Mobile adjustments to keep layout neat */
@media (max-width: 900px) {
  .content-inner,
  .main-outer {
    box-shadow: none;
  }

  .container {
    max-width: 100%;
    padding-inline: 12px;
  }

  .main-inner {
    padding: 24px 0 32px;
  }

  .casino-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .casino-logo {
    width: 100%;
    justify-content: flex-start;
  }

  .casino-action {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-action {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding-block: 12px 14px;
  }

  .container {
    padding-inline: 10px;
  }

  .main-inner {
    padding: 20px 0 26px;
  }

  .page-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Oil shop redesign overrides (MasloPerm-inspired) - 2025-12-11
   ========================================================================== */

/* New palette for oil shop */
:root {
  --container-width: 1180px;

  --color-bg-body: #e3e3e3;
  --color-bg-main: #f4f4f4;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #fff9f2;
  --color-bg-logo: transparent;

  --color-card-border: #d1d1d1;

  --color-accent: red;           /* orange */
  --color-accent-hover: red;

  --color-text-main: #222222;
  --color-text-muted: #555555;
  --color-text-soft: #888888;

  --color-badge-bg: #3aa44a;        /* green ribbon */
  --color-badge-text: #ffffff;

  --color-table-header-bg: #ffe7d0;
  --color-table-border: #d8d8d8;

  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
  --radius-card: 10px;
}

/* Body + global */
body {
  background: var(--color-bg-body);
  color: var(--color-text-main);
}

/* Wrapper */
.content-outer {
  background: var(--color-bg-body);
}

.main-outer {
  background: var(--color-bg-main);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

/* Header similar to masloperm: light grey bar with orange bottom border */
.site-header {
  background: #f7f7f7;
  border-bottom: 4px solid #f26522;
  color: #111111;
}

.header-inner {
  padding-block: 14px 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.03em;
  color: #111111;
}

/* Main text styles */
.page-title {
  font-size: 30px;
  font-weight: 700;
  margin: 12px 0 18px;
}

.page-lead {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Article blocks */
.content-section.post {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-soft);
}

/* Product cards (reuse .casino-card) */
.casino-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  /* top-left orange stripe */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3aa44a 0%, #56c161 45%, #a5e49f 100%);
  transform: translate(-30%, -40%) rotate(-45deg);
  opacity: 0.9;
}

/* Green label text positioned to match ribbon vibe */
.casino-label {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

/* Product image */
.casino-logo {
  background: #f2f2f2;
  border-radius: 6px;
  border: 1px solid #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

/* Right content area */
.casino-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.casino-header {
  margin-bottom: 6px;
}

.casino-name {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
}

.casino-meta,
.casino-rating {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Price/badge */
.casino-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: 12px;
  font-weight: 700;
}

/* Action buttons */
.casino-action {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  border-radius: 999px;
  padding-inline: 18px;
}

.btn-action:hover,
.btn-action:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-secondary {
  background: #f2f2f2;
  border-color: #cccccc;
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background: #e5e5e5;
}

/* Sections & headings */
.section-title {
  font-size: 22px;
  margin-top: 34px;
  margin-bottom: 16px;
}

/* Tables in content (keep scroll logic added earlier, only recolor header) */
.content-section.post thead th {
  background: var(--color-table-header-bg);
}

/* Footer */
.site-footer {
  background: #3c3c3c;
  color: #f3f3f3;
}

.footer-text {
  color: #f3f3f3;
}

/* Responsive layout for product cards */
@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .casino-logo {
    max-width: 260px;
    margin: 0 auto;
  }

  .casino-action {
    flex-direction: column;
  }

  .btn-action,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .page-title {
    font-size: 24px;
  }

  .content-section.post {
    padding: 16px 14px 18px;
  }

  .casino-card {
    padding: 14px 14px 12px;
  }
}

/* ==========================================================================
   Oil shop card fine-tuning to better match reference (2025-12-11 tweak)
   ========================================================================== */

/* Card background a bit warmer, subtle border */
.casino-card {
  background: #fff7ef;
  border-color: #f3c8aa;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* inner "image zone" feel */
.casino-logo {
  background: #f3f3f3;
  border-color: #dbdbdb;
}

/* Green corner ribbon */
.casino-card::before {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3fb24e 0%, #55c862 40%, #a6ee9f 100%);
  transform: translate(-38%, -50%) rotate(-45deg);
}

/* Orange rank badge in top-left */
.casino-label {
  position: absolute;
  top: 18px;
  left: 26px;
  min-width: 44px;
  height: 52px;
  padding: 6px 10px 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff8c3a 0%, #f26522 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Card typography tweaks */
.casino-name {
  font-size: 17px;
  margin-bottom: 4px;
}

.casino-meta,
.casino-rating {
  font-size: 13px;
  line-height: 1.5;
}

/* Action buttons column on the right */
.casino-action {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-action,
.btn-secondary {
  min-width: 200px;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  padding: 10px 26px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Hover state a bit stronger */
.btn-action:hover,
.btn-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Mobile: buttons full width */
@media (max-width: 900px) {
  .casino-action {
    align-items: stretch;
  }

  .btn-action,
  .btn-secondary {
    width: 100%;
  }
}

/* ==========================================================================
   Revert cards to standard layout, keep oil color scheme + logo image (2025-12-11)
   ========================================================================== */

/* Стандартные карточки, как в казино-дизайне */
.casino-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  position: relative;
}

/* Убираем угловые ленточки и номера */
.casino-card::before {
  content: none;
}

.casino-label {
  display: none;
}

/* Левая колонка с логотипом */
.casino-logo {
  flex: 0 0 180px;
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: #f2f2f2;
  border-radius: 6px;
  border: 1px solid #dbdbdb;
}

/* Правая часть — контент */
.casino-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.casino-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.casino-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
}

.casino-meta,
.casino-rating {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Блок с кнопками — стандартный */
.casino-action {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-action:hover,
.btn-action:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-secondary {
  background: #f2f2f2;
  border-color: #cccccc;
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background: #e5e5e5;
}

/* Логотип-site как картинка: текст прячем, фон — под картинку */
.site-header .logo {
    position: relative;
    display: inline-block;
    min-height: 60px;
    line-height: 60px;
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
}

/* Если нужно полностью скрыть текст и оставить только картинку */
.site-header .logo--image-only {
  text-indent: -9999px;
}

a, a:hover {
  text-decoration: none;
}



.casino-bonus {
    font-size: 24px;
    color: #000000;
    display: flex;
    width: 100%;
    justify-content: center;
}

.casino-main {
    flex: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.casino-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
}

.casino-flag {
    width: 33px;
    height: 33px;
    border-radius: 3px;
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
}

.casino-place {
    font-size: 18px;
    color: var(--color-text-soft);
}

.casino-rating{
  margin-top: 6px;
  line-height: 1;
}

.casino-stars{
  position: relative;
  display: inline-block;
  font-size: 18px;      /* размер звёзд */
  letter-spacing: 2px;
}

.casino-stars-back{
  color: rgba(0,0,0,.18); /* “пустые” звёзды */
}

.casino-stars-front{
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #FFC107;       /* “заполненные” */
}

.casino-rating{
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.casino-rating-value{
  font-size: 13px;
  font-weight: 600;
  opacity: .75;
}



/* Мобайл: логотип и карточки по ширине */
@media (max-width: 900px) {
  .casino-card {
    flex-direction: column;
    align-items: stretch;
  }

  .casino-logo {
    max-width: 100%;
    margin: 0 auto 6px;
  }

  .casino-action {
      flex: 0 0 10px;
  }

  .casino-action {
    width: 100%;
  }

  .btn-action,
  .btn-secondary {
    flex: 1 1 auto;
    justify-content: center;
  }

  .site-header .logo {
    padding-left: 140px;
    font-size: 18px;
    line-height: 1.4;
  }

  .casino-logo img {
      width: 100%;
  }
  h1 {
      text-align: center;
  }
  .casino-rank {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
  .casino-bonus {
    font-size: 24px;
    color: #000000;
    display: flex;
    width: 100%;
  }
  .casino-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
  }
      .casino-title-wrap {
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
  .site-header .logo {
    padding-left: 120px;
    font-size: 16px;
  }
}
