/* Beef Casino–style лендинг (maksstroy54.ru). Работает с Bootstrap 5 grid из темы. */

:root {
  --beef-bg: #13151f;
  --beef-nav-border: rgba(255, 255, 255, 0.06);
  --beef-text: #e8eaef;
  --beef-muted: #9aa3b5;
  --beef-accent: #ff335c;
  --beef-accent-hover: #e62d54;
  --beef-green: #5bc146;
  --beef-banner-bg: linear-gradient(135deg, #1e2233 0%, #252a3d 50%, #1a1e2e 100%);
  --beef-chip: #5b87f7;
  --beef-slot-radius: 12px;
}

.beef-mellstroy-layout {
  margin: 0;
  min-height: 100vh;
  background: #0f1118;
  color: var(--beef-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
}

.beef-mellstroy-layout .container {
  max-width: 1140px;
}

/* --- Header / navbar --- */
.beef-header .beef-navbar {
  background: var(--beef-bg);
  border-bottom: 1px solid var(--beef-nav-border);
  padding: 0;
}

.beef-navbar .navbar-top {
  width: 100%;
  padding: 0.65rem 0;
}

.beef-navbar .navbar-top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  justify-content: space-between;
}

.beef-navbar .logo img {
  max-height: 52px;
  width: auto;
  max-width: min(280px, 55vw);
  height: auto;
}

.beef-navbar .navbar-search a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--beef-muted);
  text-decoration: none;
  font-size: 0.85rem;
  max-width: 220px;
}

.beef-navbar .navbar-search input {
  background: transparent;
  border: none;
  color: var(--beef-text);
  flex: 1;
  min-width: 0;
  outline: none;
  pointer-events: none;
}

.beef-navbar .navbar-menu__quick ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.beef-navbar .navbar-menu__quick button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(91, 135, 247, 0.12);
  border: 1px solid rgba(91, 135, 247, 0.35);
  color: var(--beef-chip);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.beef-navbar .navbar-menu__quick svg {
  flex-shrink: 0;
}

.beef-navbar .navbar-auth {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.beef-navbar .auth-reg__link {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.beef-navbar .auth-reg .auth-reg__link {
  background: var(--beef-green);
  color: #fff;
}

.beef-navbar .auth-login .auth-reg__link {
  background: var(--beef-accent);
  color: #fff;
}

.beef-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--beef-text);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
}

.beef-collapsible {
  width: 100%;
}

@media (max-width: 991.98px) {
  .beef-navbar .navbar-menu__quick,
  .beef-navbar .navbar-search {
    width: 100%;
    order: 10;
  }

  .beef-navbar .navbar-search a {
    max-width: none;
    width: 100%;
  }

  .beef-navbar .navbar-menu__quick ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .beef-navbar .navbar-auth.d-none.d-sm-flex {
    display: none !important;
  }

  .beef-navbar .navbar-auth.d-sm-none {
    display: flex !important;
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.25rem;
  }
}

/* --- Promo banner under nav --- */
.beef-header-banner {
  background: var(--beef-banner-bg);
  border-bottom: 1px solid var(--beef-nav-border);
}

.beef-header-banner .header-banner__content {
  padding: 1.25rem 0 1.5rem;
  text-align: center;
}

.beef-header-banner .banner-row + .banner-row {
  margin-top: 0.5rem;
}

.beef-header-banner .banner-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #fff;
}

.beef-header-banner .banner-value {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--beef-muted);
}

.beef-header-banner .btn-white {
  margin-top: 0.75rem;
  background: #fff;
  color: #1a1d29;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.75rem;
  cursor: pointer;
}

.beef-header-banner .btn-white:hover {
  filter: brightness(0.95);
}

/* --- Main --- */
.beef-main-wrapper {
  background: #f4f5f8;
  color: #333;
  padding-bottom: 3rem;
}

.beef-main-wrapper .content.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.beef-main-wrapper .content h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #1a1d29;
  margin-bottom: 1rem;
}

.beef-main-wrapper .content .beef-intro-extra h2,
.beef-main-wrapper .content.beef-content-rest h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 0.75rem;
}

.beef-main-wrapper .content .beef-intro-extra p,
.beef-main-wrapper .content.beef-content-rest p {
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 1rem;
}

.beef-main-wrapper .content .beef-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
}

/* --- Slots --- */
.beef-slots {
  padding-bottom: 2rem;
}

.beef-slots .slots-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.beef-slots .slots-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1d29;
}

.beef-slots .slots-more__link {
  background: linear-gradient(180deg, #ff8c00 0%, #ff6b00 100%);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.beef-slot-item {
  margin-bottom: 1rem;
}

.beef-slot-item__inner {
  background: #fff;
  border-radius: var(--beef-slot-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beef-slot-item__inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.beef-slot-item__permalink {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.beef-slot-item__img {
  width: 100%;
  aspect-ratio: 190 / 140;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.beef-slot-item__permalink .beef-slot-item__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.beef-slot-item__inner:hover .beef-slot-item__content {
  opacity: 1;
}

.beef-slot-item__play img {
  width: 44px;
  height: 44px;
}

.beef-slot-item__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  padding: 0 0.25rem;
}

.beef-main-wrapper .anchors-block {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- Footer (отступы payments/soft — как beef-reference-style.min.css) --- */
.footer {
  /* фон — beef-reference-style: var(--bg-color) #131313 */
  color: var(--beef-muted);
}

.footer .payments-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 70px;
  row-gap: 25px;
  padding: 55px 0;
}

.footer .soft-items,
.footer .soft-items--sprite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 70px;
  row-gap: 25px;
}

.footer .payment-item,
.footer .soft-item {
  display: flex;
  align-items: center;
  height: 36px;
  box-sizing: border-box;
}

.footer .payment-item img,
.footer .soft-item img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.85;
}

/* CSS sprite: один файл soft-grid, координаты в data/soft_sprite.yaml */
.footer .soft-item--sprite,
.footer .soft-items--sprite .soft-item--sprite {
  display: inline-block;
  flex-shrink: 0;
  background-image: var(--soft-sprite-fallback);
  background-image: var(--soft-sprite);
  background-repeat: no-repeat;
  background-size: var(--soft-sprite-w) var(--soft-sprite-h);
  opacity: 0.85;
}

@media screen and (max-width: 768px) {
  .footer .payments-items,
  .footer .soft-items,
  .footer .soft-items--sprite {
    column-gap: 10px;
    row-gap: 10px;
  }

  .footer .payment-item {
    padding: 15px;
    height: 50px;
  }
}

.footer .footer-navbar {
  padding: 48px 0;
}

.footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .footer-nav a {
  color: var(--beef-muted);
  text-decoration: underline;
  font-size: 0.9rem;
}

.footer .footer-nav a:hover {
  color: #fff;
}

.footer .footer-content .ftext {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto;
}

.footer .footer-copyright {
  font-size: 0.85rem;
}

.footer .footer-copyright__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer .footer-copyright__images ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.footer .footer-copyright__images img {
  height: 28px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .footer .footer-navbar {
    padding: 20px 0;
  }
}

/* --- Extra MD content --- */
.beef-mellstroy-prose {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 2rem;
  color: #444;
}

.beef-mellstroy-prose h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

/* --- Reference layout (.header-banner): override broken url(./img/bg/) in beef-reference-style.min.css --- */
.header .header-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--mellstroy-banner-bg-image) !important;
}
