/*
Theme Name: Drop the boss casino
Theme URI: https://example.com/
Author: Drop the boss Casino
Author URI: https://example.com/
Description: Dark casino editorial skin: background #051230, text #ffffff, accent #FC7D05. No real-money play UI.
Version: 1.2.3
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: drop-the-boss-casino
Tags: blog, custom-menu, featured-images, flexible-header, threaded-comments, translation-ready

Drop the boss casino — content theme for casino articles and promos.
*/

/* -------------------------------------------------------------------------
   CSS variables & base
------------------------------------------------------------------------- */
:root {
  --fc-bg: #051230;
  --fc-bg-alt: #051230;
  --fc-bg-card: #051230;
  --fc-ink: #ffffff;
  --fc-accent: #fc7d05;
  --fc-accent-bright: #ff9428;
  --fc-on-accent: #ffffff;
  --fc-on-dark: #ffffff;
  --fc-gold: #fc7d05;
  --fc-gold-bright: #ff9428;
  --fc-green: #fc7d05;
  --fc-text: #ffffff;
  --fc-text-muted: rgba(255, 255, 255, 0.78);
  --fc-border: rgba(252, 125, 5, 0.45);
  --fc-glass: rgba(5, 18, 48, 0.94);
  --fc-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --fc-radius: 14px;
  --fc-radius-sm: 10px;
  --fc-font-serif: "Playfair Display", Georgia, serif;
  --fc-font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --fc-transition: 0.25s ease;
  --fc-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(--fc-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fc-text);
  background: var(--fc-bg);
  background-image: none;
  min-height: 100vh;
  padding-top: var(--fc-header-height);
}

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

a:hover,
a:focus-visible {
  color: var(--fc-accent);
}

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

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

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

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

/* Screen reader */
.fc-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,
.fc-heading-serif {
  font-family: var(--fc-font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--fc-text);
}

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

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

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

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

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

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

/* -------------------------------------------------------------------------
   Header (BEM: fc-header)
------------------------------------------------------------------------- */
.fc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--fc-header-height);
  background: #051230;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(252, 125, 5, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: background var(--fc-transition), box-shadow var(--fc-transition);
}

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

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

.fc-header__brand {
  flex-shrink: 0;
  font-family: var(--fc-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fc-on-dark);
  text-decoration: none;
  transition: opacity var(--fc-transition), transform var(--fc-transition);
}

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

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

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

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

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

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

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

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

.fc-header__nav a:hover,
.fc-header__nav .current-menu-item > a,
.fc-header__nav .current_page_item > a {
  color: var(--fc-on-dark);
  background: rgba(252, 125, 5, 0.22);
  box-shadow: none;
}

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

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

.fc-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(252, 125, 5, 0.45);
  border-radius: var(--fc-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color var(--fc-transition), box-shadow var(--fc-transition);
}

.fc-header__burger:hover,
.fc-header__burger:focus-visible {
  border-color: var(--fc-accent);
  box-shadow: 0 0 0 1px rgba(252, 125, 5, 0.35);
}

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

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

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

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

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

/* Мобильное меню (вне .fc-header в разметке из-за backdrop-filter у шапки) */
.fc-header__panel {
  position: fixed;
  top: var(--fc-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: var(--fc-bg);
  border-top: 1px solid rgba(252, 125, 5, 0.25);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  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 .fc-header__panel {
  top: calc(var(--fc-header-height) + var(--fc-admin-offset, 32px));
}

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

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

.fc-header__panel-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(252, 125, 5, 0.35);
  font-family: var(--fc-font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fc-text);
}

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

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

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

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

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

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

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

.fc-header__panel .fc-header__nav--drawer a:hover,
.fc-header__panel .fc-header__nav--drawer a:focus-visible,
.fc-header__panel .fc-header__nav--drawer .current-menu-item > a,
.fc-header__panel .fc-header__nav--drawer .current_page_item > a {
  color: var(--fc-text);
  background: rgba(252, 125, 5, 0.1);
  border-color: rgba(252, 125, 5, 0.45);
  box-shadow: none;
}

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

.fc-header__panel-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(252, 125, 5, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

/* Кнопки в тёмно-синей шапке (десктоп): «Войти» — белый контур */
.fc-header__actions .fc-btn--secondary {
  color: var(--fc-on-dark);
  border-color: rgba(255, 255, 255, 0.85);
}

.fc-header__actions .fc-btn--secondary:hover,
.fc-header__actions .fc-btn--secondary:focus-visible {
  color: #051230;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

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

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

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

.fc-btn--primary {
  color: var(--fc-on-accent);
  background: var(--fc-accent);
  border-color: rgba(252, 125, 5, 0.65);
  box-shadow: 0 4px 20px rgba(252, 125, 5, 0.35);
}

.fc-btn--primary:hover,
.fc-btn--primary:focus-visible {
  color: var(--fc-on-accent);
  background: var(--fc-accent-bright);
  transform: scale(1.03);
  box-shadow: 0 6px 28px rgba(252, 125, 5, 0.45);
}

.fc-btn--secondary {
  color: var(--fc-accent);
  background: transparent;
  border-color: var(--fc-accent);
}

.fc-btn--secondary:hover,
.fc-btn--secondary:focus-visible {
  color: var(--fc-on-accent);
  background: var(--fc-accent);
  border-color: var(--fc-accent);
  transform: scale(1.03);
  box-shadow: 0 0 24px rgba(252, 125, 5, 0.35);
}

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

.fc-btn--ghost:hover,
.fc-btn--ghost:focus-visible {
  color: var(--fc-text);
  background: rgba(252, 125, 5, 0.08);
  border-color: rgba(252, 125, 5, 0.35);
  transform: scale(1.02);
}

.fc-btn--hero {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--fc-radius);
  background: var(--fc-accent);
  color: var(--fc-on-accent);
  border: none;
  box-shadow: 0 8px 32px rgba(252, 125, 5, 0.35);
}

.fc-btn--hero:hover,
.fc-btn--hero:focus-visible {
  color: var(--fc-on-accent);
  background: var(--fc-accent-bright);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 40px rgba(252, 125, 5, 0.45);
}

/* -------------------------------------------------------------------------
   Hero
------------------------------------------------------------------------- */
.fc-hero {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 525px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #051230;
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 18, 48, 0.37) 0%,
      rgba(5, 18, 48, 0.35) 45%,
      rgba(5, 18, 48, 0.37) 100%
    ),
    var(
      --fc-hero-image,
      url("https://images.unsplash.com/photo-1596838132736-28c01d8a8f76?auto=format&fit=crop&w=1920&q=80")
    );
  background-size: cover;
  background-position: center;
}

.fc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(252, 125, 5, 0.04) 2px,
      rgba(252, 125, 5, 0.04) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

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

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

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

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

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

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

.fc-explore__bar {
  background: var(--fc-bg);
  border: 1px solid rgba(252, 125, 5, 0.25);
  border-radius: 16px;
  padding: 12px 8px;
  box-shadow: inset 0 0 0 1px rgba(252, 125, 5, 0.12);
}

.fc-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;
}

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

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

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

.fc-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  background: var(--fc-bg);
  border: 1px solid rgba(252, 125, 5, 0.28);
  border-radius: 12px;
  color: var(--fc-text);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition:
    transform var(--fc-transition),
    box-shadow var(--fc-transition),
    background var(--fc-transition),
    border-color var(--fc-transition);
}

.fc-chip:hover,
.fc-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(252, 125, 5, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  background: var(--fc-bg);
  color: var(--fc-text);
}

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

.fc-chip--hot .fc-chip__icon-wrap {
  color: var(--fc-accent);
}

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

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

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

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

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

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

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

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

.fc-slots__title {
  font-family: var(--fc-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(--fc-border);
  color: var(--fc-text);
  letter-spacing: 0.03em;
}

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

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

.fc-slots__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--fc-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fc-on-accent);
  background: var(--fc-accent);
  border: 1px solid rgba(252, 125, 5, 0.55);
  transition: transform var(--fc-transition), box-shadow var(--fc-transition);
}

.fc-slots__btn:hover,
.fc-slots__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(252, 125, 5, 0.35);
  color: var(--fc-on-accent);
  background: var(--fc-accent-bright);
}

.fc-slots__btn--outline {
  background: transparent;
  color: var(--fc-accent);
  border-color: rgba(252, 125, 5, 0.55);
}

.fc-slots__btn--outline:hover,
.fc-slots__btn--outline:focus-visible {
  background: rgba(252, 125, 5, 0.1);
  color: var(--fc-accent);
}

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

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

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

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

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

.fc-slot-card:hover,
.fc-slot-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(252, 125, 5, 0.38);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

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

.fc-slot-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #071a40, #051230);
  overflow: hidden;
}

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

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

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

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

.fc-slot-card__subtitle {
  display: block;
  font-family: var(--fc-font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  text-align: center;
  color: rgba(252, 125, 5, 0.92);
  text-decoration: none;
}

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

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

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

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

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

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

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

/* -------------------------------------------------------------------------
   FAQ (front page)
------------------------------------------------------------------------- */
.fc-faq {
  margin-top: 12px;
}

.fc-faq .fc-section-title {
  margin-top: 48px;
}

.fc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.fc-faq__item:hover {
  border-color: rgba(252, 125, 5, 0.22);
}

.fc-faq__item[open] {
  border-color: rgba(252, 125, 5, 0.38);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.48);
}

.fc-faq__summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-family: var(--fc-font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fc-text);
  position: relative;
  user-select: none;
}

.fc-faq__summary:focus {
  outline: none;
}

.fc-faq__summary:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: -2px;
}

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

.fc-faq__summary::marker {
  content: "";
}

.fc-faq__summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--fc-accent);
  border-bottom: 2px solid var(--fc-accent);
  transform: rotate(45deg);
  transition: transform var(--fc-transition);
  opacity: 0.9;
}

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

.fc-faq__answer {
  padding: 0 20px 18px;
  border-top: 1px solid rgba(252, 125, 5, 0.18);
}

.fc-faq__answer p {
  margin: 0 0 0.85em;
  font-size: 0.98rem;
  color: var(--fc-text-muted);
  line-height: 1.65;
}

.fc-faq__answer p:last-child {
  margin-bottom: 0;
}

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

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

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

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

.fc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  border-color: rgba(252, 125, 5, 0.35);
}

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

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

.fc-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #051230, #0a2854);
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

/* Skeleton loading */
.fc-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(252, 125, 5, 0.06) 0%, rgba(252, 125, 5, 0.18) 50%, rgba(252, 125, 5, 0.06) 100%);
  background-size: 200% 100%;
  animation: fc-shimmer 1.2s ease-in-out infinite;
}

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

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

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

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

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

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

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

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

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

.fc-entry__content :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--fc-font-serif);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fc-text);
  text-shadow: none;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.fc-entry__content :where(h2, h3) {
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(252, 125, 5, 0.35);
}

.fc-entry__content :where(h4, h5, h6) {
  color: var(--fc-text);
  text-shadow: none;
}

.fc-entry__content a {
  color: var(--fc-text);
  text-decoration: underline;
  text-decoration-color: rgba(252, 125, 5, 0.55);
  text-underline-offset: 3px;
}

.fc-entry__content a:hover,
.fc-entry__content a:focus-visible {
  color: var(--fc-accent);
  text-decoration-color: var(--fc-accent);
}

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

.fc-entry__content blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--fc-gold);
  background: rgba(252, 125, 5, 0.1);
  border-radius: 0 var(--fc-radius-sm) var(--fc-radius-sm) 0;
  font-family: var(--fc-font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fc-text);
}

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

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

.fc-entry__content th {
  background: rgba(252, 125, 5, 0.12);
  color: var(--fc-text);
  font-weight: 600;
}

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

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

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

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

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

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

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

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

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

.fc-related__thumb {
  aspect-ratio: 16 / 9;
  background: #051230;
}

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

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

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

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

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

.fc-pagination a:hover,
.fc-pagination .current {
  color: var(--fc-gold);
  border-color: var(--fc-gold);
  box-shadow: 0 0 16px rgba(252, 125, 5, 0.2);
}

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

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

.fc-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .fc-footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
  }
}

.fc-footer__col-title {
  margin: 0 0 14px;
  font-family: var(--fc-font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fc-text);
}

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

.fc-footer__col--brand .fc-footer__brand-wrap {
  margin-bottom: 4px;
}

.fc-footer__social-title {
  margin: 16px 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-text-muted);
}

.fc-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fc-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fc-ink);
  background: var(--fc-bg-card);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  text-decoration: none;
  transition:
    color var(--fc-transition),
    border-color var(--fc-transition),
    background var(--fc-transition),
    box-shadow var(--fc-transition);
}

.fc-footer__social-link:hover,
.fc-footer__social-link:focus-visible {
  color: var(--fc-accent);
  border-color: rgba(252, 125, 5, 0.55);
  background: rgba(252, 125, 5, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.fc-footer__nav {
  display: block;
  min-width: 0;
}

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

.fc-footer__menu--stack {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
}

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

.fc-footer__menu--stack a {
  padding: 8px 10px 8px 0;
}

.fc-footer__menu a:hover,
.fc-footer__menu a:focus-visible,
.fc-footer__menu .current-menu-item > a,
.fc-footer__menu .current_page_item > a {
  color: var(--fc-gold);
  background: rgba(252, 125, 5, 0.08);
  box-shadow: none;
}

.fc-footer__menu--stack a:hover,
.fc-footer__menu--stack a:focus-visible,
.fc-footer__menu--stack .current-menu-item > a,
.fc-footer__menu--stack .current_page_item > a {
  background: transparent;
  color: var(--fc-accent);
}

.fc-footer__about {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fc-text-muted);
  font-style: normal;
}

.fc-footer__about-line {
  display: block;
  margin-bottom: 8px;
}

.fc-footer__about-line:last-child {
  margin-bottom: 0;
}

.fc-footer__about a {
  font-weight: 600;
}

.fc-footer__nav--extra {
  padding-top: 8px;
  border-top: 1px solid rgba(252, 125, 5, 0.2);
}

.fc-footer__menu--extra {
  gap: 6px 12px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

@media (max-width: 899px) {
  .fc-footer__inner {
    align-items: center;
    text-align: center;
  }

  .fc-footer__grid {
    justify-items: center;
  }

  .fc-footer__col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fc-footer__brand-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .fc-footer__brand--logo .custom-logo-link {
    justify-content: center;
  }

  .fc-footer__social {
    justify-content: center;
  }

  .fc-footer__nav {
    width: 100%;
  }

  .fc-footer__menu {
    justify-content: center;
  }

  .fc-footer__menu--stack {
    align-items: center;
    width: 100%;
  }

  .fc-footer__menu--stack a {
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
  }

  .fc-footer__nav--extra {
    width: 100%;
  }

  .fc-footer__menu--extra {
    justify-content: center;
  }
}

/* Mobile “Claim bonus” bar (see .fc-mobile-cta in footer.php) */
.fc-mobile-cta {
  display: none;
}

@media (max-width: 991px) {
  .fc-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(--fc-font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--fc-gold), var(--fc-gold-bright));
    border: none;
    border-top: 1px solid rgba(252, 125, 5, 0.55);
    box-shadow:
      0 -8px 32px rgba(255, 255, 255, 0.2),
      0 0 24px rgba(252, 125, 5, 0.25);
    transition: filter var(--fc-transition), transform var(--fc-transition);
  }

  .fc-mobile-cta:hover,
  .fc-mobile-cta:focus-visible {
    color: #ffffff;
    filter: brightness(1.05);
  }

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

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

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

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

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

  .fc-hero {
    min-height: 450px;
    padding: 60px 16px;
  }
}

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

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

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

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

@media (max-width: 480px) {
  .fc-hero {
    min-height: 375px;
    padding: 45px 14px;
  }

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

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

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

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

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

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

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

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

  .fc-faq .fc-section-title {
    margin-top: 36px;
  }

  .fc-faq__summary {
    font-size: 0.95rem;
    padding: 14px 40px 14px 16px;
  }

  .fc-faq__summary::after {
    right: 16px;
  }

  .fc-faq__answer {
    padding: 0 16px 14px;
  }
}
