@font-face {
    font-family: "Casino LCD";
    src: url("lcd.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    --space-black: #02030a;
    --deep-space: #070b1c;
    --panel: rgba(10, 16, 39, 0.88);
    --panel-bright: rgba(21, 35, 74, 0.78);
    --glass: rgba(8, 19, 43, 0.72);
    --white: #ffffff;
    --muted: rgba(222, 239, 255, 0.58);
    --cyan: #00f7ff;
    --cyan-soft: #00a8ff;
    --violet: #8a2cff;
    --magenta: #ff00b8;
    --blue: #006dff;
    --yellow: #fff600;
    --danger: #ff557d;
    --shadow: rgba(0, 0, 0, 0.72);
}

html {
    min-height: 100%;
    background: var(--space-black);
}

body {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--white);
    background: transparent;
    font-family: "Casino LCD", monospace;
}

.page-background {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--space-black);
}

.page-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(45, 88, 180, 0.16), transparent 31rem),
        linear-gradient(180deg, rgba(2, 3, 10, 0.18), rgba(2, 3, 10, 0.58));
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body::before {
    opacity: 0.54;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.92) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(105,255,241,0.78) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(168,121,255,0.72) 0 1px, transparent 1.8px);
    background-position: 0 0, 37px 61px, 91px 29px;
    background-size: 113px 113px, 173px 173px, 239px 239px;
    mask-image: linear-gradient(to bottom, black, rgba(0,0,0,0.36) 72%, transparent);
}

body::after {
    background:
        radial-gradient(ellipse at 50% 90%, rgba(105,255,241,0.10), transparent 42%),
        radial-gradient(ellipse at 10% 42%, rgba(168,121,255,0.09), transparent 28%),
        radial-gradient(ellipse at 90% 32%, rgba(255,79,189,0.08), transparent 27%);
}

button,
input,
select,
textarea {
    font-family: "Casino LCD", monospace;
}

button {
    font: inherit;
    cursor: pointer;
}

.horizon-grid {
    position: fixed;
    z-index: 1;
    left: -20vw;
    right: -20vw;
    bottom: -31vh;
    height: 67vh;
    opacity: 0.28;
    background:
        linear-gradient(rgba(105,255,241,0.58) 1px, transparent 1px),
        linear-gradient(90deg, rgba(105,255,241,0.58) 1px, transparent 1px);
    background-size: 70px 46px;
    transform: perspective(520px) rotateX(65deg);
    transform-origin: center top;
    mask-image: linear-gradient(to bottom, transparent, black 19%, black 75%, transparent);
}

.scanlines {
    position: fixed;
    z-index: 50;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.5) 0,
        rgba(255,255,255,0.5) 1px,
        transparent 1px,
        transparent 4px
    );
}

.casino-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
    padding: 32px 0 25px;
}

.casino-header {
    position: relative;
    margin: 0 auto 20px;
    text-align: center;
}

.casino-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(760px, 88vw);
    max-height: 250px;
    margin: 0 auto;
    object-fit: contain;
}

.logo-placeholder {
    position: relative;
    z-index: 1;
    width: min(660px, 86vw);
    margin: 5px auto 0;
    padding: 23px;
    border: 1px solid rgba(105,255,241,0.55);
    border-radius: 22px;
    background: rgba(4, 9, 24, 0.78);
    box-shadow: inset 0 0 28px rgba(105,255,241,0.08), 0 0 28px rgba(105,255,241,0.12);
    color: var(--cyan);
    text-align: center;
    text-transform: uppercase;
}

.logo-placeholder strong {
    display: block;
    font-size: clamp(2rem, 7vw, 5rem);
        letter-spacing: -0.055em;
}

.logo-placeholder span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.machine {
    position: relative;
    isolation: isolate;
    padding: 26px;
    border: 2px solid var(--cyan);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10), transparent 18%),
        linear-gradient(145deg, #15103d 0%, #08051d 54%, #02030a 100%);
    box-shadow:
        0 0 0 4px #050715,
        0 0 0 7px var(--magenta),
        0 0 18px var(--cyan),
        0 0 44px rgba(255,0,184,0.72),
        0 28px 80px rgba(0,0,0,0.80),
        inset 0 0 0 1px rgba(255,255,255,0.16),
        inset 0 0 45px rgba(0,109,255,0.18);
}

.machine::before,
.machine::before {
    inset: 9px;
    border: 1px solid rgba(105,255,241,0.13);
    border-radius: 25px;
}

.machine-top {
    display: grid;
    grid-template-columns: 1fr 2.2fr 1fr;
    gap: 11px;
    margin-bottom: 16px;
}

.display {
    position: relative;
    min-height: 82px;
    overflow: hidden;
    padding: 14px 16px;
    border: 2px solid var(--cyan);
    border-radius: 6px;
    background:
        linear-gradient(rgba(105,255,241,0.035) 1px, transparent 1px) 0 0 / 100% 5px,
        radial-gradient(circle at 50% 0%, rgba(63,117,255,0.16), transparent 72%),
        rgba(3, 12, 27, 0.92);
    box-shadow:
        inset 0 0 24px rgba(0,0,0,0.82),
        inset 0 0 0 1px rgba(255,255,255,0.035),
        0 0 10px var(--cyan), 0 0 24px rgba(0,247,255,0.28);
    text-align: center;
}

.display::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 25%;
    height: 100%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.075), transparent);
}

.display-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(105,255,241,0.58);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.display strong {
    color: var(--cyan);
    font-family: "Casino LCD", monospace;
    font-size: clamp(1.12rem, 3vw, 1.72rem);
    letter-spacing: 0.035em;
    text-shadow: 0 0 3px rgba(255,255,255,0.72), 0 0 7px rgba(0,247,255,0.72);
}

.display-main {
    border-color: rgba(168,121,255,0.48);
}

.display-main strong {
    color: var(--yellow);
    text-shadow: 0 0 3px rgba(255,255,255,0.72), 0 0 7px rgba(255,246,0,0.72);
}

.reel-frame {
    position: relative;
    padding: 37px 18px 18px;
    overflow: hidden;
    border: 2px solid var(--magenta);
    border-radius: 10px;
    background:
        radial-gradient(ellipse at center, rgba(32,65,121,0.25), transparent 67%),
        linear-gradient(145deg, rgba(255,255,255,0.09), transparent 14%),
        rgba(1,4,13,0.94);
    box-shadow:
        inset 0 0 0 5px rgba(11,19,43,0.92),
        inset 0 0 0 6px rgba(0,247,255,0.28),
        inset 0 0 52px rgba(0,0,0,0.92),
        0 0 18px var(--cyan), 0 0 34px rgba(255,0,184,0.42);
}

.reel-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.reel-frame::after {
    inset: 0;
    background: linear-gradient(90deg, rgba(105,255,241,0.035), transparent 12%, transparent 88%, rgba(168,121,255,0.045));
}

.frame-label {
    position: absolute;
    z-index: 3;
    top: 12px;
    color: rgba(214,236,255,0.54);
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.21em;
}

.frame-label-left { left: 20px; }
.frame-label-right { right: 20px; }

.reels {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

.reel {
    display: grid;
    grid-template-rows: repeat(3, minmax(100px, 1fr));
    gap: 7px;
    transition: filter 150ms ease;
}

.symbol {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1 / 0.84;
    overflow: hidden;
    border: 2px solid var(--cyan);
    border-radius: 6px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16), transparent 30%),
        linear-gradient(180deg, rgba(26,50,115,0.98), rgba(5,8,28,1));
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,0.035),
        inset 0 0 25px rgba(0,0,0,0.35),
        0 5px 16px rgba(0,0,0,0.52),
        0 0 10px rgba(0,247,255,0.68), 0 0 18px rgba(255,0,184,0.22);
}

.symbol::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,0.055);
    border-radius: 13px;
    pointer-events: none;
}

.symbol::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(118deg, rgba(255,255,255,0.14), transparent 24%, transparent 75%, rgba(105,255,241,0.05));
}

.symbol img {
    position: relative;
    z-index: 1;
    width: 84%;
    height: 84%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(105,255,241,0.20)) drop-shadow(0 7px 7px rgba(0,0,0,0.46));
}

.symbol-fallback {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    width: 83%;
    height: 83%;
    padding: 7px;
    border: 1px solid rgba(105,255,241,0.46);
    border-radius: 50%;
    color: var(--white);
    font-size: clamp(0.60rem, 1.2vw, 0.90rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset 0 0 20px rgba(105,255,241,0.08), 0 0 14px rgba(105,255,241,0.09);
}

.symbol-fallback small {
    display: block;
    margin-bottom: 4px;
    color: rgba(105,255,241,0.62);
    font-size: 0.56em;
    letter-spacing: 0.13em;
}

.symbol.winner {
    z-index: 2;
    animation: winnerPulse 580ms ease-in-out infinite alternate;
}

.reels.spinning .reel:not(.stopped) {
    animation: reelShake 72ms linear infinite;
    filter: blur(2px) saturate(0.58) contrast(1.25);
    will-change: transform;
}

.reels.spinning .symbol {
    animation: none;
}

.payline-overlay {
    position: absolute;
    z-index: 20;
    inset: 37px 18px 18px;
    pointer-events: none;
}

.payline {
    position: absolute;
    z-index: 21;
    height: 5px;
    border: 1px solid rgba(255,255,255,0.96);
    border-radius: 2px;
    background: #ffffff;
    box-shadow:
        0 0 4px #ffffff,
        0 0 10px var(--cyan),
        0 0 20px var(--magenta),
        0 0 30px var(--magenta);
    transform-origin: left center;
    animation: paylinePulse 650ms ease-in-out infinite alternate;
}

.control-deck {
    display: grid;
    grid-template-columns: minmax(190px, 285px);
    justify-content: center;
    margin-top: 15px;
}

.spin-button {
    position: relative;
    min-height: 76px;
    padding: 12px 28px 11px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.92);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), transparent 42%),
        linear-gradient(135deg, #3f75ff, #7b55df 50%, #dc439d);
    color: white;
    box-shadow:
        0 5px 0 #291650,
        0 10px 24px rgba(0,0,0,0.48),
        0 0 12px var(--cyan),
        0 0 28px var(--magenta),
        inset 0 0 0 5px rgba(15,18,55,0.34),
        inset 0 2px 4px rgba(255,255,255,0.23);
    text-transform: uppercase;
    transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.spin-button span,
.spin-button small {
    position: relative;
    z-index: 1;
    display: block;
}

.spin-button span {
    font-size: 1.36rem;
    font-weight: 1000;
    font-style: italic;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 2px rgba(0,0,0,0.42), 0 0 12px rgba(255,255,255,0.22);
}

.spin-button small {
    margin-top: 2px;
    color: rgba(255,255,255,0.82);
    font-family: "Casino LCD", monospace;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.spin-button:hover:not(:disabled) {
    filter: brightness(1.10) saturate(1.08);
    transform: translateY(-2px);
    box-shadow:
        0 7px 0 #291650,
        0 13px 28px rgba(0,0,0,0.50),
        0 0 32px rgba(105,255,241,0.27),
        0 0 60px rgba(168,121,255,0.24),
        inset 0 0 0 5px rgba(15,18,55,0.34),
        inset 0 2px 4px rgba(255,255,255,0.23);
}

.spin-button:active:not(:disabled) {
    transform: translateY(3px);
    box-shadow:
        0 2px 0 #291650,
        0 8px 20px rgba(0,0,0,0.46),
        0 0 25px rgba(105,255,241,0.22),
        inset 0 0 0 5px rgba(15,18,55,0.34);
}

.spin-button:disabled {
    cursor: wait;
    filter: grayscale(0.58);
    opacity: 0.68;
}



footer {
    padding: 21px 0;
    color: rgba(222,239,255,0.28);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-align: center;
}

@keyframes reelShake {
    0% { transform: translateY(-3px); }
    50% { transform: translateY(3px); }
    100% { transform: translateY(-3px); }
}

@keyframes winnerPulse {
    from {
        border-color: var(--cyan);
        box-shadow: inset 0 0 0 2px rgba(255,255,255,0.035), 0 0 10px rgba(105,255,241,0.45);
    }
    to {
        border-color: var(--magenta);
        box-shadow: inset 0 0 0 2px rgba(255,255,255,0.055), 0 0 30px rgba(255,79,189,0.82);
    }
}

@keyframes paylinePulse {
    from { filter: brightness(0.92); opacity: 0.88; }
    to { filter: brightness(1.32); opacity: 1; }
}

@media (max-width: 780px) {
    .casino-shell {
        width: min(100% - 18px, 1180px);
        padding-top: 23px;
    }

    .casino-logo {
        width: min(640px, 91vw);
        max-height: 185px;
    }

    .machine {
        padding: 16px 11px;
        border-radius: 23px;
    }

    .machine::before {
        inset: 6px;
        border-radius: 17px;
    }

    .machine-top {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .display-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .reel-frame {
        padding: 31px 8px 9px;
        border-radius: 6px;
    }

    .payline-overlay {
        inset: 31px 8px 9px;
    }

    .reels { gap: 4px; }

    .reel {
        grid-template-rows: repeat(3, minmax(61px, 1fr));
        gap: 4px;
    }

    .symbol { border-radius: 10px; }
    .symbol::before { inset: 3px; border-radius: 7px; }

    .symbol-fallback {
        width: 91%;
        height: 91%;
        padding: 2px;
        font-size: clamp(0.42rem, 2.2vw, 0.68rem);
    }

    .control-deck {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 12px;
    }

    .spin-button {
        min-height: 87px;
    }
}

@media (max-width: 430px) {
    .display {
        min-height: 70px;
        padding: 10px 6px;
    }

    .display strong { font-size: 1rem; }

    .frame-label {
        font-size: 0.46rem;
        letter-spacing: 0.11em;
    }

    .spin-button span { font-size: 1.48rem; }
    .spin-button small { font-size: 0.62rem; }
}


@media (max-width: 780px) {
    .machine-top {
        gap: 6px;
        margin-bottom: 10px;
    }

    .frame-label {
        display: none;
    }

    .reel-frame {
        padding-top: 10px;
    }

    .payline-overlay {
        inset: 10px 18px 18px;
    }

    .display {
        min-height: 48px;
        padding: 6px 8px 1px;
        border-width: 1px;
        display: grid;
        align-content: center;
    }

    .display-label {
        margin-bottom: 4px;
        font-size: 0.48rem;
        line-height: 1;
        letter-spacing: 0.10em;
    }

    .display strong {
        font-size: clamp(0.84rem, 4vw, 1.08rem);
        line-height: 1;
        text-shadow: 0 0 3px rgba(255,255,255,0.55), 0 0 6px rgba(0,247,255,0.58);
    }

    .display-main strong {
        text-shadow: 0 0 3px rgba(255,255,255,0.55), 0 0 6px rgba(255,246,0,0.58);
    }

    .control-deck {
        grid-template-columns: minmax(145px, 190px);
        margin-top: 11px;
    }

    .spin-button {
        min-height: 50px;
        padding: 6px 16px 5px;
        border-radius: 2px;
        box-shadow:
            0 3px 0 #291650,
            0 7px 16px rgba(0,0,0,0.48),
            0 0 8px rgba(0,247,255,0.68),
            0 0 15px rgba(255,0,184,0.58),
            inset 0 0 0 2px rgba(15,18,55,0.34);
    }

    .spin-button span {
        font-size: 0.96rem;
        letter-spacing: 0.09em;
    }

    .spin-button small {
        margin-top: 1px;
        font-size: 0.48rem;
        letter-spacing: 0.14em;
    }

    .spin-button:hover:not(:disabled) {
        transform: none;
        box-shadow:
            0 3px 0 #291650,
            0 7px 16px rgba(0,0,0,0.48),
            0 0 8px rgba(0,247,255,0.68),
            0 0 15px rgba(255,0,184,0.58),
            inset 0 0 0 2px rgba(15,18,55,0.34);
    }

    .spin-button:active:not(:disabled) {
        transform: translateY(2px);
        box-shadow:
            0 1px 0 #291650,
            0 4px 10px rgba(0,0,0,0.46),
            0 0 7px rgba(0,247,255,0.56);
    }
}


.symbol.feature-wild {
    border-color: rgba(255, 232, 0, 0.80);
    box-shadow:
        inset 0 0 8px rgba(255, 232, 0, 0.08),
        0 0 4px rgba(255, 232, 0, 0.62),
        0 0 8px rgba(255, 232, 0, 0.28);
}

.symbol.feature-wild img {
    filter: drop-shadow(0 0 3px rgba(255, 232, 0, 0.42));
}

/* A winning wild retains its small yellow identity glow beneath the payout glow. */
.symbol.feature-wild.winner {
    border-color: var(--yellow);
    box-shadow:
        inset 0 0 8px rgba(255, 232, 0, 0.10),
        0 0 4px rgba(255, 232, 0, 0.72),
        0 0 11px var(--cyan),
        0 0 22px var(--magenta),
        0 0 32px rgba(255,255,255,0.30);
}

.symbol.feature-wild.winner img {
    filter:
        drop-shadow(0 0 3px rgba(255, 232, 0, 0.48))
        drop-shadow(0 0 8px rgba(0, 247, 255, 0.68));
}


.reels.spinning .reel.stopped {
    filter: none;
}


/* Final play-button sizing override */
.control-deck {
    grid-template-columns: minmax(220px, 320px);
}

.spin-button {
    min-height: 82px;
    padding: 14px 34px 13px;
    border-radius: 0;
}

.spin-button span {
    font-size: 1.42rem;
    letter-spacing: 0.10em;
}

.spin-button small {
    font-size: 0.58rem;
}

/* Keep it clearly larger on phones too. */
@media (max-width: 780px) {
    .control-deck {
        grid-template-columns: minmax(190px, 245px);
    }

    .spin-button {
        min-height: 64px;
        padding: 10px 22px 9px;
        border-radius: 0;
    }

    .spin-button span {
        font-size: 1.12rem;
    }

    .spin-button small {
        font-size: 0.52rem;
    }
}


.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reset-button {
    appearance: none;
    padding: 3px 8px 2px;
    border: 1px solid rgba(0, 247, 255, 0.72);
    border-radius: 0;
    background: rgba(3, 7, 20, 0.88);
    color: var(--cyan);
    font: inherit;
    font-size: 0.68em;
    letter-spacing: 0.10em;
    cursor: pointer;
    box-shadow:
        inset 0 0 8px rgba(0, 247, 255, 0.10),
        0 0 5px rgba(0, 247, 255, 0.24);
}

.reset-button:hover,
.reset-button:focus-visible {
    color: #ffffff;
    border-color: var(--magenta);
    box-shadow:
        inset 0 0 8px rgba(255, 0, 184, 0.12),
        0 0 7px rgba(255, 0, 184, 0.42);
}

.reset-button:active {
    transform: translateY(1px);
}


.spin-button small[hidden] {
    display: none !important;
}


.symbol-fallback-name {
    display: block;
}

.reels.spinning .reel.stopped {
    animation: none;
    filter: none;
    will-change: auto;
}





/* Keep all three machine displays on the same vertical and typographic grid. */
.machine-top .display {
    display: grid;
    grid-template-rows: auto minmax(1.2em, 1fr);
    align-content: stretch;
    align-items: center;
}

.machine-top .display-label {
    line-height: 1;
}

.machine-top .display strong {
    display: flex;
    width: 100%;
    min-height: 1.2em;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}


@media (max-width: 780px) {
    .symbol.feature-wild img {
        transform: translate(-2%, -3%);
    }
}


.reels:not(.spinning) .reel {
    animation: none;
    filter: none;
    will-change: auto;
}




/*
 * Mobile reel motion:
 * use a one-direction symbol sweep instead of shaking the whole reel.
 * Desktop keeps the original reel-level shake and blur.
 */
@keyframes mobileReelScroll {
    from {
        transform: translateY(-18%);
        opacity: 0.72;
    }
    to {
        transform: translateY(18%);
        opacity: 1;
    }
}

@media (max-width: 780px) {
    .reels.spinning .reel:not(.stopped) {
        animation: none;
        filter: saturate(0.72) contrast(1.12);
        will-change: auto;
    }

    .reels.spinning .reel:not(.stopped) .symbol img,
    .reels.spinning .reel:not(.stopped) .symbol-fallback {
        animation: mobileReelScroll 90ms linear infinite;
        will-change: transform, opacity;
    }

    .reels.spinning .reel.stopped .symbol img,
    .reels.spinning .reel.stopped .symbol-fallback,
    .reels:not(.spinning) .symbol img,
    .reels:not(.spinning) .symbol-fallback {
        animation: none;
        transform: none;
        opacity: 1;
        will-change: auto;
    }
}


/* Permanent blocking goblin cells. */
.symbol.feature-goblin {
    z-index: 3;
    border-color: rgba(102, 255, 74, 0.88);
    background:
        radial-gradient(circle at 50% 45%, rgba(75, 255, 49, 0.12), transparent 66%),
        rgba(2, 10, 4, 0.94);
    box-shadow:
        inset 0 0 12px rgba(75, 255, 49, 0.10),
        0 0 5px rgba(75, 255, 49, 0.66),
        0 0 11px rgba(75, 255, 49, 0.28);
}

.symbol.feature-goblin img {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 4px rgba(75, 255, 49, 0.46));
    will-change: auto !important;
}

/*
 * A reel containing a locked goblin cannot shake as one container, because
 * that would move the goblin. Only its remaining cells animate.
 */
.reels.spinning .reel.has-locked-goblin:not(.stopped) {
    animation: none;
    filter: none;
    will-change: auto;
}

@media (min-width: 781px) {
    .reels.spinning .reel.has-locked-goblin:not(.stopped) .symbol:not(.feature-goblin) {
        animation: reelShake 72ms linear infinite;
        filter: blur(2px) saturate(0.58) contrast(1.25);
        will-change: transform;
    }
}

@media (max-width: 780px) {
    .reels.spinning .reel:not(.stopped) .symbol.feature-goblin img,
    .reels.spinning .reel:not(.stopped) .symbol.feature-goblin .symbol-fallback {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        will-change: auto !important;
    }

    .reels.spinning .reel.has-locked-goblin:not(.stopped) .symbol:not(.feature-goblin) img,
    .reels.spinning .reel.has-locked-goblin:not(.stopped) .symbol:not(.feature-goblin) .symbol-fallback {
        animation: mobileReelScroll 90ms linear infinite;
        will-change: transform, opacity;
    }
}


/* Larger SPIN label only; the button dimensions remain unchanged. */
.spin-button[data-mode="spin"] span {
    font-size: 1.68rem;
    letter-spacing: 0.11em;
}

@media (max-width: 780px) {
    .spin-button[data-mode="spin"] span {
        font-size: 1.34rem;
        letter-spacing: 0.10em;
    }
}


/* Running out of credits drains the complete reel cells to greyscale,
   including goblin/wild borders, glows, and artwork. */
.reels .symbol {
    transition: filter 420ms ease;
}

body.is-out-of-credits .reels .symbol {
    filter: grayscale(1) !important;
}
