/* --- Arcade Machine Link (Cabinet preview on homepage) --- */
.arcade-cabinet-link {
    position: absolute;
    bottom: 35px;
    right: 20px;
    width: 60px;
    cursor: pointer;
}

.arcade-cabinet-link a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.arcade-top {
    background-color: #CC0000;
    color: #FFFF00;
    font-size: 8px;
    font-family: monospace;
    font-weight: bold;
    text-align: center;
    border: 2px outset var(--neon-red);
    border-radius: 5px 5px 0 0;
    padding: 2px 0;
}

.arcade-screen {
    background-color: #000;
    border: 3px inset #666;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arcade-screen .blinking-text {
    color: #00FF00;
    font-size: 10px;
    font-family: monospace;
    font-weight: bold;
    animation: blinker 2.5s linear infinite;
}

.arcade-panel {
    background-color: #888;
    border: 2px outset #AAA;
    height: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 5px;
}

.joystick {
    width: 4px;
    height: 8px;
    background-color: #333;
    position: relative;
    border-radius: 2px;
}

.joystick::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -2px;
    width: 8px;
    height: 8px;
    background-color: #FF0000;
    border-radius: 50%;
}

.button {
    width: 6px;
    height: 6px;
    background-color: #0000FF;
    border-radius: 50%;
    border: 1px solid #000;
}

.arcade-bottom {
    background-color: #333;
    height: 15px;
    border: 2px outset #555;
    border-top: none;
}

.arcade-cabinet-link:hover {
    transform: scale(1.05);
}

.arcade-cabinet-link:active {
    transform: scale(0.95);
}

/* Homepage preview on smaller screens. */
@media (max-width: 768px) {
    .arcade-cabinet-link {
        position: static;
        margin: 20px 0 0 auto;
    }
}
