.lucky-hour {
    position: relative;
    overflow: hidden;
    margin: 0 0 8px;
    min-height: 0;
    padding: 6px 8px;
    border: 1px solid #fcd330;
    background:
        radial-gradient(ellipse at 50% 130%, rgba(252, 211, 48, 0.35), transparent 58%),
        linear-gradient(180deg, #3a2c08 0%, #141006 100%);
    box-shadow: inset 0 0 22px rgba(252, 211, 48, 0.16), 0 0 14px rgba(252, 211, 48, 0.2);
    text-align: center;
}

.lucky-hour__sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.lucky-hour__chip {
    position: absolute;
    bottom: 8px;
    left: var(--x);
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fff6c8;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.02em;
    text-shadow: 0 0 6px rgba(252, 211, 48, 0.9);
    opacity: 0;
    animation: lucky-hour-float var(--dur) linear infinite;
    animation-delay: var(--delay);
}

.lucky-hour__chip img {
    width: 12px;
    height: 12px;
    image-rendering: pixelated;
}

.lucky-hour__body {
    position: relative;
    z-index: 1;
}

.lucky-hour__body::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: -8px;
    bottom: -4px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(8, 6, 2, 0.78), transparent 74%);
}

.lucky-hour__line {
    margin: 0;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.3;
}

.lucky-hour__bonus {
    color: #f6e7a8;
    font-size: 11px;
    font-weight: bold;
}

.lucky-hour__bonus span {
    color: #fff8d4;
    font-size: 14px;
    text-shadow: 0 0 8px #fcd330, 0 0 16px rgba(252, 211, 48, 0.85);
    animation: lucky-hour-pulse 1.7s ease-in-out infinite;
    display: inline-block;
}

.lucky-hour__meta {
    margin-left: 6px;
    color: #f6e7a8;
    font-size: 11px;
}

.lucky-hour .live-timer {
    color: #fff6c8;
    font-weight: bold;
}

@keyframes lucky-hour-float {
    0% {
        transform: translate3d(0, 8px, 0);
        opacity: 0;
    }
    14% {
        opacity: 0.95;
    }
    100% {
        transform: translate3d(var(--drift), -42px, 0);
        opacity: 0;
    }
}

@keyframes lucky-hour-pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 8px #fcd330, 0 0 16px rgba(252, 211, 48, 0.7);
    }
    50% {
        transform: scale(1.07);
        text-shadow: 0 0 12px #fff1a8, 0 0 26px rgba(252, 211, 48, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lucky-hour__sky {
        display: none;
    }

    .lucky-hour__bonus span {
        animation: none;
    }
}
