:root {
    --ld-bg: #030714;
    --ld-bg-2: #071126;
    --ld-card: #0A1730;
    --ld-card-2: #0D1E3F;
    --ld-blue: #1E5BFF;
    --ld-blue-soft: #62A8FF;
    --ld-text: #DDE8FF;
    --ld-white: #FFFFFF;
    --ld-muted: #A9B7D6;
    --ld-gold: #BFA36A;
    --ld-border: rgba(138, 176, 255, 0.25);
    --ld-border-strong: rgba(80, 140, 255, 0.55);
    --ld-shadow: 0 18px 70px rgba(0, 35, 110, 0.38);
    --ld-font-title: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --ld-font-text: "Manrope", "Inter", Arial, sans-serif;
    --ld-container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 82% 8%, rgba(30, 91, 255, 0.18), transparent 26rem),
        radial-gradient(circle at 8% 30%, rgba(98, 168, 255, 0.08), transparent 22rem),
        linear-gradient(180deg, var(--ld-bg) 0%, #041026 42%, var(--ld-bg) 100%);
    color: var(--ld-text);
    font-family: var(--ld-font-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.38) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(98,168,255,.24) 0 1px, transparent 2px);
    background-size: 180px 180px, 280px 280px;
    background-position: 20px 70px, 90px 20px;
    opacity: .22;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3,7,20,.92) 0%, rgba(3,7,20,.2) 45%, rgba(3,7,20,.88) 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ld-blue-soft); }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }

.ld-container { width: min(calc(100% - 72px), var(--ld-container)); margin: 0 auto; }
.screen-reader-text, .skip-link {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    margin: 12px;
    padding: 10px 14px;
    z-index: 9999;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
}

.ld-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(3,7,20,.82), rgba(3,7,20,.44));
    border-bottom: 1px solid rgba(138,176,255,.12);
    backdrop-filter: blur(8px);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ld-site-header.is-scrolled {
    background: rgba(3,7,20,.82);
    border-color: rgba(98,168,255,.22);
    box-shadow: 0 10px 36px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}
.ld-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.ld-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ld-logo-mark {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(191,163,106,.55);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: inset 0 0 18px rgba(98,168,255,.22), 0 0 22px rgba(98,168,255,.16);
}
.ld-logo-mark::before { content: "☾"; color: var(--ld-text); font-size: 28px; transform: rotate(-18deg); }
.ld-logo-mark::after {
    content: "✦";
    position: absolute;
    color: var(--ld-blue-soft);
    font-size: 12px;
    right: 10px;
    top: 8px;
}
.ld-brand-text { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.ld-brand-text strong { font-family: var(--ld-font-title); font-size: 21px; font-weight: 700; color: var(--ld-white); text-shadow: 0 0 18px rgba(98,168,255,.25); }
.ld-brand-text em { margin-top: 5px; font-size: 11px; color: var(--ld-muted); font-style: normal; letter-spacing: .28em; }

.ld-primary-nav { justify-self: center; }
.ld-menu { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 32px; }
.ld-menu a {
    color: var(--ld-text);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    opacity: .94;
}
.ld-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ld-text), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.ld-menu a:hover::after,
.ld-menu .current-menu-item > a::after { transform: scaleX(1); }

.ld-socials { display: inline-flex; align-items: center; gap: 12px; }
.ld-socials a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(138,176,255,.45);
    display: grid;
    place-items: center;
    color: var(--ld-text);
    font-weight: 800;
    letter-spacing: -.03em;
    background: rgba(7,17,38,.42);
    box-shadow: inset 0 0 18px rgba(98,168,255,.08);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ld-socials a:hover { transform: translateY(-2px); border-color: var(--ld-blue-soft); box-shadow: 0 0 26px rgba(98,168,255,.25); }
.ld-burger { display: none; width: 46px; height: 42px; border: 1px solid var(--ld-border); border-radius: 14px; background: rgba(10,23,48,.68); padding: 10px; cursor: pointer; }
.ld-burger span { display: block; height: 2px; background: var(--ld-text); margin: 5px 0; border-radius: 4px; transition: transform .2s ease, opacity .2s ease; }
body.ld-menu-open .ld-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.ld-menu-open .ld-burger span:nth-child(2) { opacity: 0; }
body.ld-menu-open .ld-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ld-section { padding: 56px 0; position: relative; }
.ld-section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.ld-title-line { display: flex; align-items: center; gap: 24px; min-width: 0; flex: 1; }
.ld-section h2,
.ld-page-hero h1,
.ld-single h1,
.ld-not-found h1 {
    font-family: var(--ld-font-title);
    font-weight: 700;
    color: var(--ld-white);
    letter-spacing: .02em;
    line-height: .95;
    margin: 0;
}
.ld-section h2 { font-size: clamp(30px, 2.7vw, 42px); color: var(--ld-gold); text-transform: uppercase; }
.ld-ornament {
    height: 1px;
    flex: 1;
    min-width: 120px;
    background: linear-gradient(90deg, rgba(191,163,106,.8), rgba(98,168,255,.65), transparent);
    position: relative;
}
.ld-ornament::before { content: "◆"; position: absolute; left: 44%; top: 50%; transform: translate(-50%, -50%); color: var(--ld-blue-soft); font-size: 10px; text-shadow: 0 0 10px var(--ld-blue-soft); }
.ld-section-link { color: #8eb6ff; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.ld-section-link span { margin-left: 8px; }
.ld-kicker { margin: 0 0 12px; color: var(--ld-muted); text-transform: uppercase; letter-spacing: .16em; font-size: 16px; }
.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid var(--ld-border);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ld-btn span { margin-left: 10px; }
.ld-btn-primary { background: linear-gradient(135deg, #1E5BFF, #173ed7); color: var(--ld-white); box-shadow: 0 0 34px rgba(30,91,255,.48), inset 0 0 12px rgba(255,255,255,.16); border-color: rgba(98,168,255,.72); }
.ld-btn-ghost { background: rgba(10,23,48,.42); color: var(--ld-text); border-color: rgba(191,163,106,.6); }
.ld-btn:hover { color: var(--ld-white); transform: translateY(-2px); box-shadow: 0 0 34px rgba(98,168,255,.24); border-color: var(--ld-blue-soft); }

.ld-card-badge, .ld-card-time {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    background: rgba(3,7,20,.72);
    border: 1px solid rgba(138,176,255,.3);
    color: var(--ld-text);
    font-weight: 800;
    font-size: 12px;
    padding: 3px 8px;
    backdrop-filter: blur(10px);
}
.ld-card-badge { left: 12px; top: 12px; }
.ld-card-time { right: 12px; bottom: 12px; }
.ld-play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(221,232,255,.48);
    background: rgba(3,7,20,.58);
    box-shadow: 0 0 32px rgba(98,168,255,.28);
    backdrop-filter: blur(10px);
}
.ld-play::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 23px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--ld-text);
}
.ld-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.ld-reveal.is-visible { opacity: 1; transform: translateY(0); }

.ld-page-hero, .ld-not-found { padding-top: 154px; padding-bottom: 44px; }
.ld-page-hero h1, .ld-not-found h1 { font-size: clamp(48px, 6vw, 92px); text-transform: uppercase; }
.ld-page-hero p, .ld-not-found p { max-width: 720px; color: var(--ld-muted); font-size: 18px; }
.ld-empty { color: var(--ld-muted); border: 1px solid var(--ld-border); background: rgba(10,23,48,.48); border-radius: 22px; padding: 24px; }
.navigation.pagination { margin: 38px 0 20px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.page-numbers { border: 1px solid var(--ld-border); border-radius: 12px; padding: 8px 13px; background: rgba(10,23,48,.48); }
.page-numbers.current { background: var(--ld-blue); color: var(--ld-white); }


.ld-site-footer { margin-top: 22px; border-top: 1px solid rgba(98,168,255,.18); background: linear-gradient(180deg, rgba(7,17,38,.98), rgba(3,7,20,1)); }
.ld-footer-top { display: grid; grid-template-columns: 1.35fr 1fr .95fr 1.25fr; gap: 42px; padding: 36px 0 30px; }
.ld-footer-brand p, .ld-footer-column p { color: var(--ld-muted); margin: 16px 0 0; font-size: 14px; }
.ld-footer-column h3 { margin: 0 0 14px; color: var(--ld-text); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.ld-footer-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.ld-footer-list li { break-inside: avoid; margin-bottom: 8px; }
.ld-footer-list a { color: var(--ld-muted); font-size: 14px; }
.ld-subscribe-form { display: grid; grid-template-columns: 1fr 48px; gap: 8px; margin-top: 16px; }
.ld-subscribe-form input { min-width: 0; height: 48px; border-radius: 14px; border: 1px solid var(--ld-border); background: rgba(3,7,20,.48); color: var(--ld-text); padding: 0 15px; outline: none; }
.ld-subscribe-form button { border: 1px solid var(--ld-border-strong); background: linear-gradient(135deg, #1E5BFF, #173ed7); color: #fff; border-radius: 14px; cursor: pointer; }
.ld-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; color: rgba(169,183,214,.72); font-size: 13px; border-top: 1px solid rgba(138,176,255,.1); }
.ld-not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ld-popup { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 2000; display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.ld-popup img { max-width: min(96vw, 1200px); max-height: 92vh; border-radius: 16px; border: 1px solid var(--ld-border); box-shadow: 0 0 60px rgba(98,168,255,.25); }

.ld-search-form { display:grid; grid-template-columns:1fr auto; gap:10px; margin-bottom:28px; max-width:640px; }
.ld-search-form input { height:52px; border-radius:16px; border:1px solid var(--ld-border); background:rgba(10,23,48,.62); color:var(--ld-text); padding:0 16px; outline:none; }
.ld-search-form button { height:52px; border-radius:16px; border:1px solid var(--ld-border-strong); background:linear-gradient(135deg,#1E5BFF,#173ed7); color:#fff; padding:0 22px; cursor:pointer; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }

/* === v1.1 pixel-match correction for selected Lunny Dvorec mockup === */
:root { --ld-container: 1180px; }
.ld-container { width: min(calc(100% - 90px), var(--ld-container)); }

.ld-site-header {
    background: linear-gradient(180deg, rgba(3,7,20,.64), rgba(3,7,20,.10));
    border-bottom: 0;
    backdrop-filter: blur(4px);
}
body.admin-bar .ld-site-header { top: 32px; }
.ld-site-header.is-scrolled {
    background: rgba(3,7,20,.78);
    border-bottom: 1px solid rgba(138,176,255,.14);
    backdrop-filter: blur(18px);
}
.ld-header-inner { min-height: 92px; gap: 28px; }
.ld-brand { gap: 11px; }
.ld-logo-mark {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    border-color: rgba(191,163,106,.42);
    background:
        radial-gradient(circle at center, rgba(98,168,255,.22), transparent 45%),
        rgba(5,12,28,.18);
}
.ld-logo-mark::before { content: "☾"; font-size: 29px; color: #dfeaff; text-shadow: 0 0 10px rgba(98,168,255,.72); }
.ld-logo-mark::after { content: "✦"; right: 11px; top: 8px; color: #62A8FF; }
.ld-brand-text strong { font-size: 23px; letter-spacing: .065em; }
.ld-brand-text em { font-size: 12px; letter-spacing: .31em; margin-top: 6px; }
.ld-menu { gap: 34px; }
.ld-menu a { font-size: 14px; font-weight: 600; color: rgba(245,248,255,.94); }
.ld-menu a::after { bottom: -14px; background: linear-gradient(90deg, transparent, #fff, transparent); }
.ld-socials a { width: 50px; height: 50px; font-size: 15px; background: rgba(7,17,38,.24); border-color: rgba(177,198,255,.58); }

.ld-section { padding: 46px 0; }
.ld-section-head { margin-bottom: 24px; gap: 20px; }
.ld-title-line { gap: 22px; }
.ld-section h2 { font-size: clamp(27px, 2.25vw, 34px); letter-spacing: .03em; color: #c7a86d; }
.ld-ornament { min-width: 120px; background: linear-gradient(90deg, rgba(191,163,106,.8), rgba(98,168,255,.68) 42%, rgba(138,176,255,.24), transparent); }
.ld-ornament::before { left: 30%; }
.ld-section-link { font-size: 12px; letter-spacing: .08em; color: #91b9ff; }
.ld-btn { min-height: 46px; padding: 0 25px; border-radius: 16px; font-size: 13px; }
.ld-btn-primary { background: linear-gradient(135deg, #276bff, #163fd1); box-shadow: 0 0 28px rgba(30,91,255,.54), inset 0 0 12px rgba(255,255,255,.16); }
.ld-btn-ghost { background: rgba(6,13,29,.52); border-color: rgba(191,163,106,.62); color: #dce7ff; }

.ld-site-footer { margin-top: 0; background: linear-gradient(180deg, #071426, #030714 90%); border-top: 1px solid rgba(98,168,255,.22); }
.ld-footer-top { grid-template-columns: 1.45fr 1.15fr .98fr 1.35fr; padding: 34px 0 26px; gap: 48px; }
.ld-footer-brand p, .ld-footer-column p { font-size: 13px; line-height: 1.55; }
.ld-footer-column h3 { color: #dfe8ff; font-size: 13px; letter-spacing: .13em; }
.ld-footer-list { columns: 2; }
.ld-footer-list a { font-size: 13px; }
.ld-footer-bottom { padding: 16px 0 24px; font-size: 12px; }

/* === v1.2 exact mockup correction: logo from selected layout === */
.ld-brand--image {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.ld-brand--image img {
    display: block;
    width: 340px;
    height: auto;
    max-width: none;
}
.ld-brand--footer-image img {
    width: 260px;
}
.ld-header-inner {
    min-height: 86px;
}
.ld-menu {
    gap: 32px;
}
.ld-socials a {
    width: 48px;
    height: 48px;
}

/* === v2.0 header-over-hero mockup correction ===
   Only the top header area is changed: the separate dark strip is removed,
   the header becomes an overlay over the Hero background, and the logo no longer sits on a dark rectangle. */
.ld-site-header {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.ld-site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3,7,20,.34) 0%, rgba(3,7,20,.18) 54%, rgba(3,7,20,0) 100%);
}
.ld-site-header.is-scrolled {
    background: rgba(3,7,20,.42) !important;
    border-bottom: 1px solid rgba(138,176,255,.10) !important;
    box-shadow: 0 10px 32px rgba(0,0,0,.16) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
.ld-site-header.is-scrolled::before {
    background: linear-gradient(180deg, rgba(3,7,20,.18) 0%, rgba(3,7,20,0) 100%);
}
.ld-header-inner {
    position: relative;
    z-index: 2;
}
.ld-brand--image img {
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0 12px rgba(98,168,255,.18));
}


/* === v2.1 transparent header block correction ===
   The header area is made fully transparent over the Hero, matching the mockup.
   The dark logo rectangle is removed by using the transparent logo asset. */
.ld-site-header,
.ld-site-header:not(.is-scrolled) {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.ld-site-header::before,
.ld-site-header:not(.is-scrolled)::before {
    display: none !important;
    background: transparent !important;
}
.ld-site-header.is-scrolled {
    background: rgba(3,7,20,.38) !important;
    border-bottom: 1px solid rgba(138,176,255,.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.ld-site-header.is-scrolled::before {
    display: none !important;
}
.ld-brand--image img {
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0 10px rgba(98,168,255,.20));
}


/* === v2.7.0 single VK fantasy icon ===
   Header/footer now use one larger custom VK icon and the Telegram icon is removed from templates. */
.ld-header-socials--single,
.ld-footer-socials--single {
    gap: 0;
}
.ld-socials .ld-vk-fantasy-link {
    width: 128px;
    height: 128px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 50%;
}
.ld-socials .ld-vk-fantasy-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(98,168,255,.46));
    transition: transform .22s ease, filter .22s ease;
}
.ld-socials .ld-vk-fantasy-link:hover {
    transform: translateY(-2px) scale(1.04);
    border: 0;
    box-shadow: none;
}
.ld-socials .ld-vk-fantasy-link:hover img {
    filter: drop-shadow(0 0 17px rgba(98,168,255,.72));
}
.ld-footer-socials .ld-vk-fantasy-link {
    width: 108px;
    height: 108px;
}


/* === v2.9.15 premium footer cleanup ===
   Make the footer match the finished landing sections:
   larger Moon Palace logo, stronger thematic text, no newsletter block,
   and a larger VK emblem. */
.ld-footer-top {
    grid-template-columns: 1.35fr 1.35fr 1fr !important;
    gap: 64px !important;
    align-items: start !important;
    padding-top: 42px !important;
    padding-bottom: 34px !important;
}

.ld-footer-brand {
    max-width: 360px;
}

.ld-brand--footer-image img {
    width: 330px !important;
    max-width: 100% !important;
}

.ld-footer-brand p {
    margin-top: 18px !important;
    color: #c8d5f3 !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    max-width: 350px;
}

.ld-footer-column h3 {
    color: #e8efff !important;
    font-size: 14px !important;
    letter-spacing: .14em !important;
    margin-bottom: 18px !important;
}

.ld-footer-list {
    columns: 2 !important;
    column-gap: 46px !important;
}

.ld-footer-list li {
    margin-bottom: 12px !important;
}

.ld-footer-list a {
    font-size: 14px !important;
    color: #b8c6e5 !important;
}

.ld-footer-list a:hover {
    color: #ffffff !important;
}

.ld-footer-socials .ld-vk-fantasy-link {
    width: 138px !important;
    height: 138px !important;
}

.ld-footer-column .ld-footer-socials + p,
.ld-footer-column p {
    color: #c4d1ef !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
}

.ld-subscribe {
    display: none !important;
}

.ld-footer-bottom {
    padding-top: 20px !important;
    padding-bottom: 28px !important;
}


/* === v2.9.16 footer polish ===
   Compact the social/VK column, improve copy tone, and add livelier navigation hover. */
.ld-footer-top {
    grid-template-columns: 1.3fr 1.15fr .9fr !important;
    gap: 48px !important;
    align-items: start !important;
}

.ld-footer-brand {
    max-width: 380px !important;
}

.ld-footer-brand p {
    max-width: 360px !important;
    font-size: 15px !important;
    line-height: 1.78 !important;
}

.ld-footer-column--nav {
    max-width: 350px;
}

.ld-footer-list {
    column-gap: 56px !important;
}

.ld-footer-list a {
    position: relative;
    display: inline-block;
    transition: color .22s ease, transform .22s ease, text-shadow .22s ease;
}

.ld-footer-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(191,163,106,.92), rgba(98,168,255,.92));
    transition: width .22s ease;
    opacity: .92;
}

.ld-footer-list a:hover {
    color: #ffffff !important;
    transform: translateX(2px);
    text-shadow: 0 0 10px rgba(98,168,255,.18);
}

.ld-footer-list a:hover::after {
    width: 100%;
}

.ld-footer-column--social {
    max-width: 280px;
}

.ld-footer-column--social h3 {
    margin-bottom: 14px !important;
}

.ld-footer-socials {
    margin-bottom: 10px !important;
}

.ld-footer-socials .ld-vk-fantasy-link {
    width: 148px !important;
    height: 148px !important;
}

.ld-footer-column--social p {
    margin-top: 8px !important;
    max-width: 245px;
    font-size: 14px !important;
    line-height: 1.56 !important;
}


/* === v2.9.17 footer castle background ===
   Add the selected exterior Moon Palace artwork as a decorative right-side
   footer background spanning the full footer height, with a soft dark blend
   toward the center so text remains readable. */
.ld-site-footer {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: linear-gradient(180deg, rgba(7,17,38,.98), rgba(3,7,20,1)) !important;
}

.ld-site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,10,26,1) 0%, rgba(4,10,26,.98) 24%, rgba(4,10,26,.94) 38%, rgba(4,10,26,.82) 50%, rgba(4,10,26,.58) 60%, rgba(4,10,26,.24) 70%, rgba(4,10,26,.06) 82%, rgba(4,10,26,0) 100%),
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%);
    z-index: 0;
    pointer-events: none;
}

.ld-site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(54%, 820px);
    background-image: url('../img/footer-castle-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: .82;
    z-index: -1;
    pointer-events: none;
}

.ld-site-footer .ld-container,
.ld-site-footer .ld-footer-top,
.ld-site-footer .ld-footer-bottom {
    position: relative;
    z-index: 1;
}

.ld-footer-top {
    position: relative;
    z-index: 1;
}


/* === v2.9.18 compact left footer columns ===
   Compress the Navigation and Social columns and pull them closer to the left,
   leaving more clean decorative space for the castle background on the right. */
@media (min-width: 1024px) {
    .ld-footer-top {
        grid-template-columns: 380px 300px 245px !important;
        gap: 34px !important;
        justify-content: start !important;
        align-items: start !important;
    }

    .ld-footer-brand {
        max-width: 380px !important;
    }

    .ld-footer-column--nav {
        max-width: 300px !important;
    }

    .ld-footer-list {
        columns: 2 !important;
        column-gap: 30px !important;
    }

    .ld-footer-list li {
        margin-bottom: 10px !important;
    }

    .ld-footer-column--social {
        max-width: 245px !important;
    }

    .ld-footer-column--social h3 {
        margin-bottom: 10px !important;
    }

    .ld-footer-socials {
        margin-bottom: 6px !important;
    }

    .ld-footer-column--social p {
        margin-top: 4px !important;
        max-width: 220px !important;
    }
}


/* === v2.9.19 center footer navigation title ===
   Center only the "Навигация" title inside its footer column. */
.ld-footer-column--nav h3 {
    text-align: center !important;
    width: 100% !important;
}


/* === v2.9.20 footer navigation title slight left shift ===
   Move only the "Навигация" heading a little to the left. */
.ld-footer-column--nav h3 {
    transform: translateX(-18px) !important;
}


/* === v2.9.21 footer navigation title more left ===
   Move only the "Навигация" heading a little further left. */
.ld-footer-column--nav h3 {
    transform: translateX(-34px) !important;
}
