/*
Theme Name: Luckera Casino 2
Theme URI: https://example.com/luckera-casino-2
Author: Luckera
Author URI: https://example.com
Description: Премиальная тёмная тема для статейного сайта о казино, бонусах и играх. Luxury casino UI без функционала азартных игр.
Version: 1.0.24
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luckera-casino-2
Tags: blog, dark, custom-menu, featured-images, flexible-header, threaded-comments, translation-ready

Luckera Casino 2 — контентная тема в стиле премиального казино.
*/

/* -------------------------------------------------------------------------
   CSS variables & base
------------------------------------------------------------------------- */
:root {
  --lc-bg: #0f0f10;
  --lc-bg-alt: #121214;
  --lc-bg-card: #1a1b1f;
  --lc-gold: #c9a96a;
  --lc-gold-bright: #d4af37;
  --lc-green: #2e9f6b;
  --lc-text: #ffffff;
  --lc-text-muted: #b8b8b8;
  --lc-border: rgba(201, 169, 106, 0.22);
  --lc-glass: rgba(26, 27, 31, 0.65);
  --lc-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --lc-radius: 14px;
  --lc-radius-sm: 10px;
  --lc-font-serif: "Playfair Display", Georgia, serif;
  --lc-font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --lc-transition: 0.25s ease;
  --lc-header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  /* Страховка от горизонтального скролла из-за широкого контента / 100vw. */
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--lc-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--lc-text);
  background: var(--lc-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 169, 106, 0.08), transparent 55%),
    linear-gradient(180deg, var(--lc-bg-alt) 0%, var(--lc-bg) 40%);
  min-height: 100vh;
  padding-top: var(--lc-header-height);
}

/* Фиксированная CTA только на мобильных (см. .lc-mobile-cta в конце footer.php) */
@media (max-width: 991px) {
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
}

body.admin-bar {
  --lc-admin-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --lc-admin-offset: 46px;
  }
}

a {
  color: var(--lc-gold);
  text-decoration: none;
  transition: color var(--lc-transition), opacity var(--lc-transition);
}

a:hover,
a:focus-visible {
  color: var(--lc-gold-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Screen reader */
.lc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   Typography
------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
.lc-heading-serif {
  font-family: var(--lc-font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--lc-text);
}

h1,
.lc-h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2,
.lc-h2 {
  font-size: clamp(1.6rem, 3vw, 1.95rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

/* -------------------------------------------------------------------------
   Layout
------------------------------------------------------------------------- */
.lc-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.lc-layout {
  display: grid;
  gap: 32px;
  padding: 32px 0 64px;
}

.lc-main {
  min-width: 0;
}

/* -------------------------------------------------------------------------
   Header (BEM: lc-header)
------------------------------------------------------------------------- */
.lc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--lc-header-height);
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lc-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: background var(--lc-transition), box-shadow var(--lc-transition);
}

.admin-bar .lc-header {
  top: var(--lc-admin-offset, 32px);
}

.lc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.lc-header__brand {
  flex-shrink: 0;
  font-family: var(--lc-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--lc-text) 0%, var(--lc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity var(--lc-transition), transform var(--lc-transition);
}

.lc-header__brand:hover,
.lc-header__brand:focus-visible {
  opacity: 0.92;
  transform: scale(1.02);
}

.lc-header__brand--logo .custom-logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--lc-transition), transform var(--lc-transition);
}

.lc-header__brand--logo .custom-logo-link:hover,
.lc-header__brand--logo .custom-logo-link:focus-visible {
  opacity: 0.92;
  transform: scale(1.02);
}

.lc-header__brand--logo .custom-logo {
  max-height: 44px;
  width: auto;
}

.lc-header__nav-wrap {
  display: none;
  flex: 1;
  justify-content: center;
}

@media (min-width: 992px) {
  .lc-header__nav-wrap {
    display: flex;
  }
}

.lc-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.lc-header__nav a {
  display: block;
  padding: 10px 14px;
  color: var(--lc-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--lc-radius-sm);
  transition:
    color var(--lc-transition),
    background var(--lc-transition),
    box-shadow var(--lc-transition);
}

.lc-header__nav a:hover,
.lc-header__nav .current-menu-item > a,
.lc-header__nav .current_page_item > a {
  color: var(--lc-gold);
  background: rgba(201, 169, 106, 0.1);
  box-shadow: 0 0 20px rgba(201, 169, 106, 0.12);
}

.lc-header__actions {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .lc-header__actions {
    display: flex;
  }
}

.lc-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-sm);
  background: rgba(26, 27, 31, 0.5);
  cursor: pointer;
  transition: border-color var(--lc-transition), box-shadow var(--lc-transition);
}

.lc-header__burger:hover,
.lc-header__burger:focus-visible {
  border-color: var(--lc-gold);
  box-shadow: 0 0 14px rgba(201, 169, 106, 0.2);
}

@media (min-width: 992px) {
  .lc-header__burger {
    display: none;
  }
}

.lc-header__burger span {
  display: block;
  height: 2px;
  background: var(--lc-text);
  border-radius: 1px;
  transition: transform var(--lc-transition), opacity var(--lc-transition);
}

.lc-header.is-open .lc-header__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.lc-header.is-open .lc-header__burger span:nth-child(2) {
  opacity: 0;
}

.lc-header.is-open .lc-header__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню (вне .lc-header в разметке из-за backdrop-filter у шапки) */
.lc-header__panel {
  position: fixed;
  top: var(--lc-header-height);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  bottom: 0;
  min-height: 0;
  max-height: none;
  height: auto;
  padding: 20px 20px max(24px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(12, 12, 14, 0.99) 100%);
  border-top: 1px solid var(--lc-border);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.32s;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.admin-bar .lc-header__panel {
  top: calc(var(--lc-header-height) + var(--lc-admin-offset, 32px));
}

.lc-header.is-open ~ .lc-header__panel {
  transform: translateX(0);
  visibility: visible;
}

@media (min-width: 992px) {
  .lc-header__panel {
    display: none;
  }
}

.lc-header__panel-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.18);
  font-family: var(--lc-font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lc-gold);
}

.lc-header__panel .lc-header__nav--drawer {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  justify-content: flex-start;
}

.lc-header__panel .lc-header__nav--drawer li {
  width: 100%;
  margin: 0;
  list-style: none;
}

.lc-header__panel .lc-header__nav--drawer ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lc-header__panel .lc-header__nav--drawer li::marker {
  content: none;
}

.lc-header__panel .lc-header__nav--drawer .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 8px;
  padding: 4px 0 8px 14px;
}

.lc-header__panel .lc-header__nav--drawer .sub-menu > li {
  width: 100%;
}

.lc-header__panel .lc-header__nav--drawer a {
  display: block;
  padding: 16px 18px;
  font-size: 1.08rem;
  font-family: var(--lc-font-sans);
  font-weight: 500;
  color: var(--lc-text);
  background: rgba(26, 27, 31, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--lc-radius-sm);
  transition:
    color var(--lc-transition),
    background var(--lc-transition),
    border-color var(--lc-transition),
    box-shadow var(--lc-transition);
}

.lc-header__panel .lc-header__nav--drawer a:hover,
.lc-header__panel .lc-header__nav--drawer a:focus-visible,
.lc-header__panel .lc-header__nav--drawer .current-menu-item > a,
.lc-header__panel .lc-header__nav--drawer .current_page_item > a {
  color: var(--lc-gold);
  background: rgba(201, 169, 106, 0.1);
  border-color: rgba(201, 169, 106, 0.35);
  box-shadow: 0 0 22px rgba(201, 169, 106, 0.12);
}

.lc-header__panel .lc-header__nav--drawer .sub-menu a {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 1rem;
  font-weight: 500;
}

.lc-header__panel-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 106, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-header__panel-actions .lc-btn {
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .lc-header__panel {
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   Buttons (BEM: lc-btn)
------------------------------------------------------------------------- */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--lc-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--lc-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--lc-transition),
    box-shadow var(--lc-transition),
    background var(--lc-transition),
    border-color var(--lc-transition),
    color var(--lc-transition);
}

.lc-btn:focus-visible {
  outline: 2px solid var(--lc-gold);
  outline-offset: 2px;
}

.lc-btn--primary {
  color: #fff;
  background: linear-gradient(145deg, #35b67d 0%, var(--lc-green) 45%, #247a55 100%);
  border-color: rgba(46, 159, 107, 0.5);
  box-shadow: 0 4px 20px rgba(46, 159, 107, 0.35);
}

.lc-btn--primary:hover,
.lc-btn--primary:focus-visible {
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 6px 28px rgba(46, 159, 107, 0.5);
}

.lc-btn--secondary {
  color: var(--lc-gold);
  background: transparent;
  border-color: var(--lc-gold);
}

.lc-btn--secondary:hover,
.lc-btn--secondary:focus-visible {
  color: var(--lc-bg);
  background: linear-gradient(135deg, var(--lc-gold) 0%, var(--lc-gold-bright) 100%);
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.lc-btn--ghost {
  color: var(--lc-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.lc-btn--ghost:hover,
.lc-btn--ghost:focus-visible {
  color: var(--lc-text);
  background: rgba(201, 169, 106, 0.12);
  border-color: var(--lc-border);
  transform: scale(1.02);
}

.lc-btn--hero {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--lc-radius);
  background: linear-gradient(135deg, var(--lc-gold) 0%, var(--lc-gold-bright) 55%, #a8864a 100%);
  color: var(--lc-bg);
  border: none;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

.lc-btn--hero:hover,
.lc-btn--hero:focus-visible {
  color: var(--lc-bg);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.55);
}

/* -------------------------------------------------------------------------
   Hero
------------------------------------------------------------------------- */
.lc-hero {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
  overflow: hidden;
  background-color: #0a0a0b;
  background-image:
    linear-gradient(120deg, rgba(15, 15, 16, 0.92) 0%, rgba(18, 18, 20, 0.78) 50%, rgba(15, 15, 16, 0.92) 100%),
    var(
      --lc-hero-image,
      url("https://images.unsplash.com/photo-1596838132736-28c01d8a8f76?auto=format&fit=crop&w=1920&q=80")
    );
  background-size: cover;
  background-position: center;
}

.lc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(201, 169, 106, 0.03) 2px,
      rgba(201, 169, 106, 0.03) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

.lc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.lc-hero__title {
  font-family: var(--lc-font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.lc-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--lc-text-muted);
  margin: 0 0 28px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.lc-hero__accent {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--lc-gold);
  margin-bottom: 16px;
  font-family: var(--lc-font-sans);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Explore — одна линия, свайп / scroll-snap
------------------------------------------------------------------------- */
.lc-explore {
  margin: 28px 0 16px;
}

.lc-explore__title {
  font-family: var(--lc-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--lc-text-muted);
  margin: 0 0 12px;
}

.lc-explore__bar {
  background: linear-gradient(180deg, #222024 0%, #19181b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lc-explore__track {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 4px 4px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.lc-explore__track:active {
  cursor: grabbing;
}

.lc-explore__track::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.lc-explore__track .lc-chip {
  -webkit-user-drag: none;
  user-select: none;
}

.lc-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  background: #3a3836;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  color: var(--lc-text);
  text-decoration: none;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition:
    transform var(--lc-transition),
    box-shadow var(--lc-transition),
    background var(--lc-transition),
    border-color var(--lc-transition);
}

.lc-chip:hover,
.lc-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 169, 106, 0.42);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(201, 169, 106, 0.12);
  background: #45423e;
}

.lc-chip:focus-visible {
  outline: 2px solid var(--lc-gold);
  outline-offset: 2px;
}

.lc-chip--hot .lc-chip__icon-wrap {
  color: #34b892;
}

.lc-chip__icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-gold);
}

.lc-chip__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.lc-chip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lc-chip__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  line-height: 1.15;
  text-align: left;
}

.lc-chip__line1,
.lc-chip__line2 {
  font-family: var(--lc-font-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.lc-chip__text--single {
  justify-content: center;
}

.lc-chip__text--single .lc-chip__line1 {
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
   Slots (статическая сетка 2×5 на широких экранах)
------------------------------------------------------------------------- */
.lc-slots {
  margin: 36px 0 16px;
}

.lc-slots__title {
  font-family: var(--lc-font-serif);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 600;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lc-border);
  color: var(--lc-text);
  letter-spacing: 0.03em;
}

.lc-slots__intro {
  margin: -8px 0 18px;
  font-family: var(--lc-font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lc-text-muted, rgba(255, 255, 255, 0.82));
  letter-spacing: 0.04em;
}

.lc-slots__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.lc-slots__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--lc-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #1a1b1f;
  background: linear-gradient(135deg, var(--lc-gold), #e8d5a8);
  border: 1px solid rgba(201, 169, 106, 0.45);
  transition: transform var(--lc-transition), box-shadow var(--lc-transition);
}

.lc-slots__btn:hover,
.lc-slots__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 169, 106, 0.22);
  color: #1a1b1f;
}

.lc-slots__btn--outline {
  background: transparent;
  color: var(--lc-gold);
  border-color: rgba(201, 169, 106, 0.55);
}

.lc-slots__btn--outline:hover,
.lc-slots__btn--outline:focus-visible {
  background: rgba(201, 169, 106, 0.12);
  color: var(--lc-gold);
}

.lc-slots__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
}

@media (min-width: 576px) {
  .lc-slots__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 14px;
  }
}

@media (min-width: 768px) {
  .lc-slots__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .lc-slots__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 16px;
  }
}

.lc-slot-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--lc-shadow);
  color: inherit;
  text-decoration: none;
  text-decoration-line: none;
  transition:
    transform var(--lc-transition),
    box-shadow var(--lc-transition),
    border-color var(--lc-transition);
}

.lc-slot-card:hover,
.lc-slot-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 106, 0.38);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.52),
    0 0 28px rgba(201, 169, 106, 0.12);
}

.lc-slot-card:focus-visible {
  outline: 2px solid var(--lc-gold);
  outline-offset: 3px;
}

.lc-slot-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #2a2b30, #1a1b1f);
  overflow: hidden;
}

.lc-slot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lc-slot-card:hover .lc-slot-card__media img {
  transform: scale(1.06);
}

.lc-slot-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 12px 14px;
  gap: 4px;
}

.lc-slot-card__title {
  display: block;
  font-family: var(--lc-font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  margin: 0;
  text-align: center;
  color: var(--lc-text);
  text-decoration: none;
}

.lc-slot-card__subtitle {
  display: block;
  font-family: var(--lc-font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  text-align: center;
  color: rgba(201, 169, 106, 0.88);
  text-decoration: none;
}

@media (max-width: 480px) {
  .lc-slots {
    margin: 28px 0 12px;
  }

  .lc-slots__title {
    margin-bottom: 16px;
    font-size: 1.35rem;
  }

  .lc-slots__grid {
    gap: 12px 10px;
  }

  .lc-slot-card__body {
    padding: 10px 8px 12px;
    gap: 3px;
  }

  .lc-slot-card__title {
    font-size: 0.9375rem;
  }

  .lc-slot-card__subtitle {
    font-size: 0.75rem;
  }
}

/* -------------------------------------------------------------------------
   Cards & posts grid
------------------------------------------------------------------------- */
.lc-section-title {
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lc-border);
}

.lc-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .lc-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .lc-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.lc-card {
  background: var(--lc-bg-card);
  border-radius: var(--lc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--lc-shadow);
  transition:
    transform var(--lc-transition),
    box-shadow var(--lc-transition),
    border-color var(--lc-transition);
}

.lc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  border-color: rgba(201, 169, 106, 0.35);
}

.lc-card__link {
  color: inherit;
  display: block;
}

.lc-card__link:hover {
  color: inherit;
}

.lc-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #25262b, #1a1b1f);
  overflow: hidden;
}

.lc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lc-card:hover .lc-card__thumb img {
  transform: scale(1.06);
}

.lc-card__body {
  padding: 20px 22px 22px;
}

.lc-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lc-gold);
  margin-bottom: 8px;
}

.lc-card__title {
  font-family: var(--lc-font-serif);
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.3;
}

.lc-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--lc-transition);
}

.lc-card__title a:hover,
.lc-card__title a:focus-visible {
  color: var(--lc-gold);
}

.lc-card__excerpt {
  color: var(--lc-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.lc-card__footer {
  margin-top: auto;
}

/* Skeleton loading */
.lc-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #1a1b1f 0%, #25262b 50%, #1a1b1f 100%);
  background-size: 200% 100%;
  animation: lc-shimmer 1.2s ease-in-out infinite;
}

@keyframes lc-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.lc-card.is-loading .lc-card__thumb,
.lc-card.is-loading .lc-card__body {
  min-height: 80px;
  border-radius: var(--lc-radius-sm);
}

/* -------------------------------------------------------------------------
   Entry (single & page)
------------------------------------------------------------------------- */
.lc-entry {
  max-width: 800px;
  margin: 0 auto;
}

.lc-entry__header {
  margin-bottom: 28px;
}

.lc-entry__meta {
  font-size: 0.9rem;
  color: var(--lc-text-muted);
  margin-bottom: 12px;
}

.lc-entry__meta span + span::before {
  content: "·";
  margin: 0 8px;
  opacity: 0.5;
}

.lc-entry__thumb {
  margin-bottom: 28px;
  border-radius: var(--lc-radius);
  overflow: hidden;
  border: 1px solid var(--lc-border);
  box-shadow: var(--lc-shadow);
}

.lc-entry__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--lc-text-muted);
}

.lc-entry__content > *:first-child {
  margin-top: 0;
}

.lc-entry__content :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--lc-font-serif);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--lc-gold);
  text-shadow: 0 2px 28px rgba(201, 169, 106, 0.16);
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.lc-entry__content :where(h2, h3) {
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(201, 169, 106, 0.28);
}

.lc-entry__content :where(h4, h5, h6) {
  color: var(--lc-gold-bright);
  text-shadow: 0 1px 20px rgba(212, 175, 55, 0.12);
}

.lc-entry__content a {
  color: var(--lc-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Карточки слотов — ссылка без подчёркивания (общее правило для ссылок в записи). */
.lc-entry__content a.lc-slot-card,
.lc-entry__content a.lc-slot-card:hover,
.lc-entry__content a.lc-slot-card:focus,
.lc-entry__content a.lc-slot-card:focus-visible,
.lc-entry__content a.lc-slot-card:visited {
  text-decoration: none;
  text-underline-offset: unset;
}

.lc-entry__content blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--lc-gold);
  background: rgba(201, 169, 106, 0.08);
  border-radius: 0 var(--lc-radius-sm) var(--lc-radius-sm) 0;
  font-family: var(--lc-font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lc-text);
}

.lc-entry__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}

.lc-entry__content th,
.lc-entry__content td {
  border: 1px solid var(--lc-border);
  padding: 12px 14px;
  text-align: left;
}

.lc-entry__content th {
  background: rgba(201, 169, 106, 0.12);
  color: var(--lc-text);
  font-weight: 600;
}

.lc-entry__content ul,
.lc-entry__content ol {
  padding-left: 1.25em;
  margin: 1em 0;
}

.lc-entry__content li {
  margin-bottom: 0.4em;
}

/* Related */
.lc-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--lc-border);
}

.lc-related__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .lc-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lc-related__item {
  background: var(--lc-bg-card);
  border-radius: var(--lc-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color var(--lc-transition), transform var(--lc-transition);
}

.lc-related__item:hover {
  border-color: var(--lc-border);
  transform: translateY(-4px);
}

.lc-related__item a {
  color: inherit;
  display: block;
  padding: 14px 16px;
}

.lc-related__item a:hover {
  color: var(--lc-gold);
}

.lc-related__thumb {
  aspect-ratio: 16 / 9;
  background: #25262b;
}

.lc-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------------------------
   Archive / search header
------------------------------------------------------------------------- */
.lc-page-header {
  margin-bottom: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--lc-border);
}

.lc-page-header__desc {
  color: var(--lc-text-muted);
  margin-top: 8px;
}

/* -------------------------------------------------------------------------
   Pagination
------------------------------------------------------------------------- */
nav.lc-pagination,
.navigation.lc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 40px 0 0;
}

.lc-pagination a,
.lc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--lc-radius-sm);
  background: var(--lc-bg-card);
  border: 1px solid var(--lc-border);
  color: var(--lc-text-muted);
  font-weight: 500;
}

.lc-pagination a:hover,
.lc-pagination .current {
  color: var(--lc-gold);
  border-color: var(--lc-gold);
  box-shadow: 0 0 16px rgba(201, 169, 106, 0.15);
}

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.lc-footer {
  margin-top: auto;
  padding: 48px 0 32px;
  border-top: 1px solid var(--lc-border);
  background: linear-gradient(180deg, transparent, rgba(26, 27, 31, 0.5));
}

.lc-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.lc-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .lc-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.lc-footer__brand-wrap {
  flex-shrink: 0;
}

.lc-footer__brand {
  display: inline-block;
  font-family: var(--lc-font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--lc-text) 0%, var(--lc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: opacity var(--lc-transition);
}

.lc-footer__brand:hover,
.lc-footer__brand:focus-visible {
  opacity: 0.9;
}

.lc-footer__brand--logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--lc-transition);
}

.lc-footer__brand--logo .custom-logo-link:hover,
.lc-footer__brand--logo .custom-logo-link:focus-visible {
  opacity: 0.9;
}

.lc-footer__brand--logo .custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.lc-footer__nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .lc-footer__nav {
    justify-content: flex-end;
  }
}

.lc-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

@media (min-width: 768px) {
  .lc-footer__menu {
    justify-content: flex-end;
  }
}

.lc-footer__menu a {
  display: block;
  padding: 8px 12px;
  color: var(--lc-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--lc-radius-sm);
  text-decoration: none;
  transition:
    color var(--lc-transition),
    background var(--lc-transition),
    box-shadow var(--lc-transition);
}

.lc-footer__menu a:hover,
.lc-footer__menu a:focus-visible,
.lc-footer__menu .current-menu-item > a,
.lc-footer__menu .current_page_item > a {
  color: var(--lc-gold);
  background: rgba(201, 169, 106, 0.08);
  box-shadow: 0 0 16px rgba(201, 169, 106, 0.1);
}

.lc-footer__nav--extra {
  padding-top: 8px;
  border-top: 1px solid rgba(201, 169, 106, 0.12);
}

.lc-footer__menu--extra {
  gap: 6px 12px;
}

.lc-footer__menu--extra a {
  font-size: 0.85rem;
  padding: 6px 10px;
}

.lc-footer__copy {
  font-size: 0.85rem;
  color: var(--lc-text-muted);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  line-height: 1.55;
}

/* Мобильная кнопка «Zdobądź bonus» — ссылка на главную */
.lc-mobile-cta {
  display: none;
}

@media (max-width: 991px) {
  .lc-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    font-family: var(--lc-font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1b1f;
    background: linear-gradient(135deg, var(--lc-gold), var(--lc-gold-bright));
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow:
      0 -8px 32px rgba(0, 0, 0, 0.45),
      0 0 24px rgba(201, 169, 106, 0.2);
    transition: filter var(--lc-transition), transform var(--lc-transition);
  }

  .lc-mobile-cta:hover,
  .lc-mobile-cta:focus-visible {
    color: #1a1b1f;
    filter: brightness(1.05);
  }

  .lc-mobile-cta:focus-visible {
    outline: 2px solid var(--lc-gold-bright);
    outline-offset: 2px;
  }

  .lc-mobile-cta:active {
    transform: scale(0.99);
  }
}

/* -------------------------------------------------------------------------
   Utilities
------------------------------------------------------------------------- */
.lc-no-posts {
  padding: 48px 24px;
  text-align: center;
  background: var(--lc-bg-card);
  border-radius: var(--lc-radius);
  border: 1px solid var(--lc-border);
  color: var(--lc-text-muted);
}

/* -------------------------------------------------------------------------
   Breakpoints (1200 / 992 / 768 / 480)
------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .lc-wrap,
  .lc-header__inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 992px) {
  .lc-layout {
    padding-bottom: 48px;
  }

  .lc-hero {
    min-height: 360px;
    padding: 48px 16px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    --lc-header-height: 64px;
  }

  .lc-section-title {
    margin-top: 28px;
  }

  .lc-card__body {
    padding: 16px 18px 18px;
  }

  .lc-entry__content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .lc-hero {
    min-height: 300px;
    padding: 36px 14px;
  }

  .lc-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .lc-explore__bar {
    padding: 10px 6px;
    border-radius: 14px;
  }

  .lc-explore__track {
    gap: 10px;
    padding: 2px 2px 6px;
  }

  .lc-chip {
    padding: 8px 14px 8px 12px;
    min-height: 52px;
    gap: 10px;
  }

  .lc-chip__icon-wrap {
    width: 36px;
    height: 36px;
  }

  .lc-chip__icon {
    width: 30px;
    height: 30px;
  }

  .lc-chip__line1,
  .lc-chip__line2 {
    font-size: 0.75rem;
  }

  .lc-chip__text--single .lc-chip__line1 {
    font-size: 0.8125rem;
  }
}

/* -------------------------------------------------------------------------
   FAQ anchor (content sections; JSON-LD uses #faq)
------------------------------------------------------------------------- */
.lc-entry__content h3[id="faq"],
.lc-entry__content h3:target {
  scroll-margin-top: 96px;
}
/* -------------------------------------------------------------------------
   FAQ accordion (visible; matches FAQPage JSON-LD)
------------------------------------------------------------------------- */
.lc-faq {
  width: 100%;
  max-width: 800px;
  margin: 48px auto 24px;
}

.lc-faq__title {
  font-family: var(--lc-font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lc-border);
  color: var(--lc-text);
}

.lc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lc-faq__item {
  border-radius: var(--lc-radius-sm);
  border: 1px solid var(--lc-border);
  background: var(--lc-bg-card);
  overflow: hidden;
}

.lc-faq__summary {
  display: flex;
  align-items: center;
  padding: 14px 40px 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--lc-text);
  position: relative;
}

.lc-faq__summary::-webkit-details-marker {
  display: none;
}

.lc-faq__summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid var(--lc-gold);
  border-bottom: 2px solid var(--lc-gold);
  transform: rotate(45deg);
  transition: transform var(--lc-transition);
}

.lc-faq__item[open] .lc-faq__summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.lc-faq__answer {
  padding: 0 16px 16px;
  border-top: 1px solid var(--lc-border);
}

.lc-faq__answer p {
  margin: 12px 0 0;
  color: var(--lc-text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}