.rtp-neon-toolbar {
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.rtp-neon-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.45rem, 2vw, 0.75rem);
    width: 100%;
}

.rtp-neon-item {
    position: relative;
    margin: 0;
    padding: clamp(0.55rem, 2.4vw, 0.85rem) clamp(0.7rem, 3vw, 1rem);
    padding-left: clamp(0.95rem, 3.8vw, 1.25rem);
    border-radius: 10px;
    background: linear-gradient(
        125deg,
        rgba(0, 245, 255, 0.07) 0%,
        rgba(212, 175, 55, 0.1) 48%,
        rgba(255, 0, 170, 0.06) 100%
    );
    border: 1px solid rgba(0, 245, 255, 0.28);
    box-shadow:
        0 0 14px rgba(0, 245, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.rtp-neon-item::before {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 68%;
    border-radius: 4px;
    background: linear-gradient(180deg, #00f5ff 0%, #ffd700 52%, #ff00aa 100%);
    box-shadow: 0 0 8px #00f5ff, 0 0 14px rgba(255, 215, 0, 0.55);
}

.rtp-neon-update {
    border-color: rgba(0, 245, 255, 0.38);
}

.rtp-neon-title {
    border-color: rgba(255, 215, 0, 0.42);
    box-shadow:
        0 0 16px rgba(255, 215, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rtp-neon-rating {
    border-color: rgba(255, 105, 180, 0.38);
    box-shadow:
        0 0 14px rgba(255, 105, 180, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rtp-neon-line {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.45rem;
    line-height: 1.35;
}

.rtp-neon-badge {
    display: inline-block;
    font-size: clamp(0.58rem, 2vw, 0.68rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff006e 0%, #ff8500 50%, #ffbe0b 100%);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.rtp-neon-icon {
    color: #00f5ff;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.75);
    flex-shrink: 0;
}

.rtp-neon-update-text {
    color: #8afcff;
    font-size: clamp(0.72rem, 2.8vw, 0.92rem);
    font-weight: 600;
    text-shadow:
        0 0 8px rgba(0, 245, 255, 0.65),
        0 0 18px rgba(0, 245, 255, 0.28);
}

.rtp-neon-heading,
.title-game.rtp-neon-heading {
    margin: 0;
    font-size: clamp(1rem, 4.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.28;
    text-transform: uppercase;
    background: linear-gradient(
        92deg,
        #fff4a3 0%,
        #ffd700 28%,
        #00f5ff 62%,
        #ff6ec7 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
    animation: rtp-neon-title-glow 3.2s ease-in-out infinite;
}

@keyframes rtp-neon-title-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.42));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(0, 245, 255, 0.55));
    }
}

.rtp-neon-rating-line {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.45rem;
    font-size: clamp(0.72rem, 2.6vw, 0.95rem);
    line-height: 1.35;
}

.rtp-neon-rating-label {
    color: #ffb8e8;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 110, 199, 0.55);
}

.rtp-neon-stars {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.1rem;
}

.rtp-neon-stars .lni-star-fill {
    color: #ffd700;
    font-size: clamp(0.82rem, 3vw, 1.05rem);
    text-shadow:
        0 0 6px #ffd700,
        0 0 12px rgba(255, 215, 0, 0.55);
}

.rtp-neon-theme-toggle {
    padding-top: 0.15rem;
}

body.rtp-light .rtp-neon-item {
    background: linear-gradient(
        125deg,
        rgba(0, 180, 200, 0.12) 0%,
        rgba(212, 175, 55, 0.14) 50%,
        rgba(200, 60, 140, 0.1) 100%
    );
    border-color: rgba(0, 140, 160, 0.35);
}

body.rtp-light .rtp-neon-update-text {
    color: #007a8a;
    text-shadow: 0 0 6px rgba(0, 180, 200, 0.35);
}

body.rtp-light .rtp-neon-heading,
body.rtp-light .title-game.rtp-neon-heading {
    background: linear-gradient(92deg, #8b6914 0%, #c9a227 35%, #0088aa 68%, #aa3388 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.rtp-light .rtp-neon-rating-label {
    color: #aa4488;
    text-shadow: none;
}

@media screen and (max-width: 576px) {
    .rtp-neon-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .rtp-neon-theme-toggle {
        align-self: flex-end;
        margin-top: -0.25rem;
    }

    .rtp-neon-item::before {
        height: 62%;
    }
}

@media screen and (max-width: 380px) {
    .rtp-neon-heading,
    .title-game.rtp-neon-heading {
        letter-spacing: 0.03em;
        font-size: clamp(0.92rem, 4.8vw, 1.1rem);
    }

    .rtp-neon-badge {
        letter-spacing: 0.08em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rtp-neon-heading,
    .title-game.rtp-neon-heading {
        animation: none;
    }
}
