/* Fantasy stone-and-brass calls to action, matched to the Lubelski OTS artwork. */
.lubelski-home-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 530px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 4px;
    padding: 0;
}

.lubelski-home-action {
    display: inline-flex;
    position: relative;
    min-width: 0;
    min-height: 64px;
    flex: 1;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 23px;
    border: 0;
    border-radius: 0;
    color: #e3c77f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 2px 1px #090807, 0 0 8px rgba(239, 197, 102, .22);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .62));
    animation: lubelski-cta-glow 3s ease-in-out infinite, lubelski-cta-float 3.4s ease-in-out infinite;
    transition: transform 180ms ease, filter 180ms ease, color 180ms ease;
    overflow: visible;
    isolation: isolate;
}

.lubelski-home-action--register { animation-delay: 1.5s, .7s; }

.lubelski-home-action::before {
    display: none;
}

.lubelski-home-action::after {
    position: relative;
    z-index: 2;
    color: #f0d384;
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1;
    text-shadow: 0 2px 2px #000, 0 0 7px rgba(255, 206, 94, .35);
    transition: transform 220ms ease;
}

.lubelski-home-action__label { position: relative; z-index: 2; }
.lubelski-home-action--play .lubelski-home-action__label { transform: translateX(6%); }
.lubelski-home-action--register .lubelski-home-action__label { transform: translateX(-8%); }

.lubelski-home-action--play {
    background-color: transparent;
    background-image: url("../images/layout/lubelski-home-button-play.png");
    background-size: 100% 100%;
}

.lubelski-home-action--play::after {
    content: none;
}

.lubelski-home-action--register {
    background-color: transparent;
    background-image: url("../images/layout/lubelski-home-button-register.png");
    background-size: 100% 100%;
}

.lubelski-home-action--register::after {
    content: none;
}

.lubelski-home-action__burst {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: visible;
    pointer-events: none;
}

.lubelski-home-action__burst::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    border: 2px solid #ffe9a4;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.25);
}

.lubelski-home-action__burst i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffe9a4;
    box-shadow: 0 0 9px 3px rgba(255, 177, 55, .85);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
}

.lubelski-home-action__burst i:nth-child(1) { --spark-x: -108px; --spark-y: -40px; }
.lubelski-home-action__burst i:nth-child(2) { --spark-x: -70px; --spark-y: -57px; }
.lubelski-home-action__burst i:nth-child(3) { --spark-x: 0px; --spark-y: -72px; }
.lubelski-home-action__burst i:nth-child(4) { --spark-x: 70px; --spark-y: -57px; }
.lubelski-home-action__burst i:nth-child(5) { --spark-x: 108px; --spark-y: -40px; }
.lubelski-home-action__burst i:nth-child(6) { --spark-x: 88px; --spark-y: 25px; }
.lubelski-home-action__burst i:nth-child(7) { --spark-x: -88px; --spark-y: 25px; }
.lubelski-home-action__burst i:nth-child(8) { --spark-x: 0px; --spark-y: 48px; }

.lubelski-home-action:hover,
.lubelski-home-action:focus-visible {
    z-index: 5;
    color: #fff0ba;
    transform: translateY(-3px) scale(1.025);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .7)) drop-shadow(0 0 13px rgba(255, 190, 65, .72));
    animation: none;
}

.lubelski-home-action:hover::after,
.lubelski-home-action:focus-visible::after { transform: scale(1.22) rotate(-9deg); animation: none; }

.lubelski-home-action--play:hover .lubelski-home-action__burst::before,
.lubelski-home-action--play:focus-visible .lubelski-home-action__burst::before { animation: lubelski-cta-ring 750ms ease-out both; }

.lubelski-home-action--play:hover .lubelski-home-action__burst i,
.lubelski-home-action--play:focus-visible .lubelski-home-action__burst i { animation: lubelski-cta-spark 750ms cubic-bezier(.15, .7, .25, 1) both; }

.lubelski-home-action:focus-visible { outline: 2px solid #f4d98e; outline-offset: 4px; }

@keyframes lubelski-cta-glow {
    0%, 100% { filter: drop-shadow(0 3px 4px rgba(0,0,0,.62)); }
    50% { filter: drop-shadow(0 3px 4px rgba(0,0,0,.62)) drop-shadow(0 0 8px rgba(233,185,76,.38)); }
}

@keyframes lubelski-cta-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes lubelski-cta-icon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes lubelski-cta-ring { 0% { opacity: .95; transform: translate(-50%,-50%) scale(.25); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(5); } }
@keyframes lubelski-cta-spark { 0% { opacity: 1; transform: translate(-50%,-50%) scale(.25); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)),calc(-50% + var(--spark-y))) scale(0); } }

@media (prefers-reduced-motion: reduce) {
    .lubelski-home-action,
    .lubelski-home-action::after,
    .lubelski-home-action__burst::before,
    .lubelski-home-action__burst i { animation: none; transition: none; }
}

@media (max-width: 520px) {
    .lubelski-home-actions { gap: 3px; }
    .lubelski-home-action { min-width: 0; min-height: 50px; flex: 1; gap: 6px; padding: 8px 5px; font-size: 12px; letter-spacing: .025em; }
}
