/* Joy Casino — тёмный steampunk рейтинг (layout rejting2026) */
body.landing-rating-only.hero-layout-rejting2026,
body.has-landing-hero.hero-layout-rejting2026 {
  background: #141414 !important;
}

body.landing-rating-only.hero-layout-rejting2026 .back-to-top,
body.has-landing-hero.hero-layout-rejting2026 .back-to-top {
  display: none !important;
}

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

.hr-r26--joy {
  --joy-bg: #141414;
  --joy-bg2: #1c1c1c;
  --joy-panel: #252525;
  --joy-panel2: #2e2e2e;
  --joy-orange: #f07a1a;
  --joy-orange-dark: #c45f0a;
  --joy-orange-bar: #e8680c;
  --joy-green: #3d9b2e;
  --joy-green-hi: #5bc948;
  --joy-gold: #e8c060;
  --joy-text: #f2f2f2;
  --joy-muted: #a8a8a8;
  --joy-border: rgba(255, 255, 255, 0.08);
  --joy-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--joy-text);
  background: var(--joy-bg) url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%23141414'/%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23222222' stroke-width='1'/%3E%3C/svg%3E");
  min-height: 100vh;
}

.hr-r26 a {
  color: var(--joy-gold);
  text-decoration: none;
}

.hr-r26__shell {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

/* Верхняя полоска как на Joy */
.hr-r26__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(180deg, #2a2a2a, #1f1f1f);
  border-bottom: 1px solid #000;
  font-size: 0.75rem;
  color: var(--joy-muted);
}

.hr-r26__topbar-user {
  font-weight: 600;
  color: #ddd;
}

.hr-r26__topbar-links {
  display: flex;
  gap: 1rem;
}

.hr-r26__topbar-links a {
  color: var(--joy-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.hr-r26__topbar-links a:hover {
  color: #fff;
}

/* Лого по центру */
.hr-r26__masthead {
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 0.5rem;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
}

.hr-r26__logo {
  display: inline-flex;
  justify-content: center;
}

.hr-rating-logo__img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.hr-rating-logo__joy {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(340px, 90vw);
}

.hr-rating-logo__r26 {
  display: block;
  height: clamp(52px, 12vw, 72px);
  width: auto;
  max-width: min(420px, 92vw);
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

/* Оранжевая навигация */
.hr-r26__row {
  scroll-margin-top: 5rem;
}

.hr-r26__joy-nav {
  background: linear-gradient(180deg, var(--joy-orange-bar) 0%, var(--joy-orange-dark) 100%);
  border-top: 1px solid #ff9a40;
  border-bottom: 2px solid #8a4000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hr-r26__joy-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1020px;
  margin-inline: auto;
}

.hr-r26__joy-nav li {
  flex: 1 1 auto;
  min-width: 0;
}

.hr-r26__joy-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-align: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  transition: background 0.15s;
}

.hr-r26__joy-nav li:last-child a {
  border-right: none;
}

.hr-r26__joy-nav a:hover {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

/* Баннер */
.hr-r26__banner {
  position: relative;
  margin: 1rem 1rem 1.25rem;
  padding: 1.5rem 1.25rem 1.35rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #252018 40%, #1a1a1a 100%);
  border: 1px solid var(--joy-border);
  border-radius: var(--joy-radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hr-r26__banner-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(240, 122, 26, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(61, 155, 46, 0.12), transparent 50%);
  pointer-events: none;
}

.hr-r26__banner-inner {
  position: relative;
  z-index: 1;
}

.hr-r26__banner-tag {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--joy-gold);
}

.hr-r26__banner h1 {
  margin: 0 0 0.65rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hr-r26__banner-lead {
  margin: 0 0 1rem;
  max-width: 640px;
  color: var(--joy-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hr-r26__banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, var(--joy-green-hi) 0%, var(--joy-green) 45%, #2d7a22 100%);
  border: 1px solid #1e5a16;
  box-shadow: 0 0 12px rgba(61, 155, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hr-r26__banner-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* Список казино */
.hr-r26__table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 1rem;
}

.hr-r26__row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 128px 1fr 72px 52px;
  gap: 12px;
  align-items: center;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, var(--joy-panel2) 0%, var(--joy-panel) 100%);
  border: 1px solid #333;
  border-radius: var(--joy-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hr-r26__row--top {
  border-color: #6a4a20;
  box-shadow: 0 0 0 1px rgba(232, 192, 96, 0.25), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hr-r26__row--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--joy-orange), var(--joy-gold));
  border-radius: var(--joy-radius) var(--joy-radius) 0 0;
}

.hr-r26__rank {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.95rem;
  background: #1a1a1a;
  color: var(--joy-muted);
  border: 1px solid #444;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hr-r26__row--top .hr-r26__rank {
  background: linear-gradient(180deg, var(--joy-orange-bar), var(--joy-orange-dark));
  color: #fff;
  border-color: #a05010;
}

.hr-r26__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hr-r26__brand-logo {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  padding: 6px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hr-r26__brand-logo img {
  max-height: 42px;
  max-width: 110px;
  object-fit: contain;
}

.hr-r26__brand-fallback {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--joy-gold);
}

.hr-r26__brand-name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--joy-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hr-r26__details h2 {
  margin: 0 0 0.35rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.hr-r26__bonus {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  color: var(--joy-orange);
  font-weight: 600;
}

.hr-r26__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--joy-muted);
}

.hr-r26__tags span {
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  background: #1a1a1a;
  border: 1px solid #404040;
}

.hr-r26__score {
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--joy-gold);
}

.hr-r26__score-stars {
  display: block;
  font-size: 0.62rem;
  color: var(--joy-orange);
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.hr-r26__score small {
  display: block;
  font-size: 0.65rem;
  color: var(--joy-muted);
}

/* Зелёная play-кнопка (как «Подробнее» на Joy) */
.hr-r26__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--joy-green-hi), var(--joy-green) 50%, #2a7020);
  border: 2px solid #1a5012;
  box-shadow: 0 0 14px rgba(61, 155, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hr-r26__play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.hr-r26__play:hover {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(91, 201, 72, 0.55);
  color: #fff;
}

.hr-r26__note {
  margin: 1.25rem 1rem 0;
  text-align: center;
  font-size: 0.72rem;
  color: #666;
}

.hr-r26 .cm-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.72rem;
  border: 1px dashed var(--joy-gold);
  border-radius: 3px;
  background: #1a1a1a;
  cursor: pointer;
  color: var(--joy-text);
}

.hr-r26 .cm-promo__code {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--joy-gold);
}

/* Mobile */
@media (max-width: 820px) {
  .hr-r26__joy-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .hr-r26__joy-nav li {
    flex: 0 0 auto;
  }

  .hr-r26__joy-nav a {
    white-space: nowrap;
    padding: 0.6rem 1rem;
  }

  .hr-r26__banner {
    margin: 0.75rem 0.65rem 1rem;
  }

  .hr-r26__table {
    padding: 0 0.65rem;
  }

  .hr-r26__row {
    grid-template-columns: 1fr 48px;
    grid-template-areas:
      'brand play'
      'details play'
      'meta play';
    gap: 10px 12px;
    padding: 0.85rem 0.75rem 0.85rem 0.85rem;
    padding-top: 0.7rem;
  }

  .hr-r26__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
    z-index: 2;
  }

  .hr-r26__brand {
    grid-area: brand;
    padding-top: 0.25rem;
  }

  .hr-r26__brand-logo {
    height: 62px;
  }

  .hr-r26__brand-logo img {
    max-height: 50px;
    max-width: 180px;
  }

  .hr-r26__details {
    grid-area: details;
  }

  .hr-r26__details h2 {
    padding-right: 1.5rem;
    font-size: 0.92rem;
  }

  .hr-r26__score {
    grid-area: meta;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
  }

  .hr-r26__score-stars {
    display: inline;
  }

  .hr-r26__score small {
    display: inline;
  }

  .hr-r26__play {
    grid-area: play;
    align-self: start;
    margin-top: 1.5rem;
  }

  .hr-r26__masthead {
    padding: 0.75rem 0.5rem 0.35rem;
  }

  .hr-rating-logo__joy {
    height: 50px;
  }
}
